@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

:root {
  --rice-paper: #FDFCFB;
  --washi-white: #F8F6F3;
  --soft-stone: #EFEBE5;
  --muted-clay: #B8A090;
  --muted-clay-dark: #A08F7E;
  --sumo-black: #2D2A26;
  --washi-gray: #8C8680;
  --washi-gray-light: #A8A29E;
  --border-light: #EBE7E1;
  --border-medium: #E5E0D8;
  --shadow-soft: 0 4px 24px rgba(0,0,0,0.02), 0 12px 48px rgba(0,0,0,0.01);
  --shadow-hover: 0 16px 40px rgba(0,0,0,0.05);
  --shadow-medium: 0 8px 32px rgba(0,0,0,0.03);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  background-color: var(--rice-paper);
  color: var(--sumo-black);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

strong, p {
  color: inherit;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  z-index: 10001;
  transition: box-shadow 0.35s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.025);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--sumo-black);
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 14px;
  color: var(--washi-gray);
  letter-spacing: 0.03em;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--muted-clay);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--muted-clay);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--sumo-black);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--rice-paper);
  opacity: 0.98;
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.mobile-menu .nav-link {
  font-size: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-menu.active .nav-link {
  opacity: 1;
  transform: translateY(0);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(184,160,144,0.02) 0%, rgba(255,255,255,0) 100%);
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transform: translateY(calc(var(--scroll) * 0.3px));
  opacity: 0.7;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 120px 40px;
  position: relative;
  z-index: 1;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,160,144,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-size: 48px;
  font-weight: 500;
  color: var(--sumo-black);
  margin-bottom: 24px;
  transform: translateY(40px);
  opacity: 0;
  animation: slideUp 0.8s ease forwards;
}

.hero-line {
  width: 1px;
  height: 0;
  background: var(--muted-clay);
  margin: 0 auto;
  animation: lineGrow 0.6s ease 0.4s forwards;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--washi-white);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  margin-top: 24px;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease 0.6s forwards;
}

.hero-cta {
  display: inline-block;
  margin-top: 40px;
  padding: 18px 36px;
  background: var(--muted-clay);
  color: #FFFFFF;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease 0.8s forwards;
}

.hero-cta:hover {
  background: var(--muted-clay-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(184,160,144,0.25);
}

.hero-cta:active {
  transform: translateY(0);
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes lineGrow {
  to {
    height: 36px;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero {
  min-height: 320px;
  padding: 140px 40px 60px;
  background: var(--soft-stone);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.breadcrumbs {
  font-size: 12px;
  color: var(--washi-gray-light);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.page-title {
  font-size: 40px;
  color: var(--sumo-black);
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideFromLeft 0.7s ease forwards;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--muted-clay);
  animation: drawLine 0.6s ease 0.5s forwards;
}

@keyframes slideFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes drawLine {
  to {
    width: 60px;
  }
}

.section {
  padding: 120px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-bg {
  background: var(--soft-stone);
  max-width: 100%;
}

.section-title {
  font-size: 32px;
  color: var(--sumo-black);
  margin-bottom: 60px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 48px;
}

.service-card {
  background: #FFFFFF;
  border-radius: 2px;
  padding: 44px;
  border: 1px solid var(--border-medium);
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover .service-icon {
  stroke: var(--muted-clay);
  fill: rgba(184,160,144,0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  stroke: var(--washi-gray);
  stroke-width: 1.5;
  fill: none;
  transition: all 0.35s ease;
}

.service-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--sumo-black);
  margin-top: 28px;
}

.service-text {
  font-size: 15px;
  color: #6B6560;
  margin-top: 16px;
  line-height: 1.75;
}

.service-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--washi-gray);
  margin-top: 20px;
}

.about-section {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: center;
  padding: 160px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 32px;
  color: var(--sumo-black);
  margin-bottom: 32px;
}

.about-text p {
  font-size: 17px;
  color: #5A5550;
  line-height: 1.9;
  margin-bottom: 2em;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.about-img {
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.04);
}

.about-img:first-child {
  margin-left: -24px;
  margin-bottom: -24px;
}

.about-img:last-child {
  margin-top: -24px;
}

.process-section {
  background: var(--soft-stone);
  padding: 160px 40px;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
}

.process-title {
  font-size: 32px;
  color: var(--sumo-black);
  text-align: center;
  margin-bottom: 80px;
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: #D8D2C8;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

.process-number {
  width: 52px;
  height: 52px;
  background: var(--rice-paper);
  border: 1.5px solid var(--muted-clay);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--muted-clay);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.process-card {
  background: #FFFFFF;
  border-radius: 2px;
  padding: 26px;
  max-width: 200px;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s ease;
}

.process-card:hover {
  border-left: 3px solid var(--muted-clay);
  box-shadow: var(--shadow-hover);
}

.process-step-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--sumo-black);
  margin-bottom: 8px;
}

.process-step-text {
  font-size: 14px;
  color: var(--washi-gray);
  line-height: 1.6;
}

.advantages-section {
  background: var(--rice-paper);
  padding: 160px 40px;
  position: relative;
}

.advantages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48'%3E%3Cpath fill='%23EFEBE5' d='M0,48 L0,24 C120,48 360,48 480,24 C600,0 720,48 840,24 C960,0 1080,48 1200,24 C1320,0 1380,24 1440,24 L1440,48 Z'/%3E%3C/svg%3E") no-repeat center top;
  background-size: cover;
  transform: rotate(180deg);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.advantage-item {
  text-align: center;
}

.advantage-icon {
  width: 52px;
  height: 52px;
  background: #FAF8F5;
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.35s ease;
}

.advantage-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--washi-gray);
  transition: all 0.35s ease;
}

.advantage-item:hover .advantage-icon {
  border-color: var(--muted-clay);
  transform: rotate(90deg);
}

.advantage-item:hover .advantage-icon svg {
  stroke: var(--muted-clay);
}

.advantage-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--sumo-black);
  margin-bottom: 8px;
}

.advantage-text {
  font-size: 14px;
  color: var(--washi-gray);
}

.stats-section {
  background: var(--rice-paper);
  padding: 120px 40px;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 32px,
    #F4F2EF 32px,
    #F4F2EF 33px
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 68px;
  font-weight: 700;
  color: var(--muted-clay);
  line-height: 1;
}

.stat-item:hover .stat-number {
  transform: scale(1.05);
  text-shadow: 0 0 15px rgba(184,160,144,0.3);
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--washi-gray);
  text-transform: uppercase;
  margin-top: 16px;
}

.stat-line {
  width: 36px;
  height: 1px;
  background: #D8D2C8;
  margin: 16px auto 0;
}

.team-section {
  background: var(--soft-stone);
  padding: 160px 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: #FFFFFF;
  border-radius: 2px;
  padding: 36px;
  text-align: center;
  transition: all 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 14px;
  object-fit: cover;
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-soft);
  margin: 0 auto 20px;
  transition: all 0.35s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
}

.team-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--sumo-black);
}

.team-role {
  font-size: 12px;
  color: var(--washi-gray);
  text-transform: uppercase;
  margin-top: 4px;
}

.team-experience {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--washi-gray-light);
  margin-top: 8px;
}

.testimonials-section {
  background: var(--soft-stone);
  padding: 160px 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: 2px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all 0.35s ease;
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

.testimonial-quote {
  font-size: 56px;
  color: var(--border-medium);
  position: absolute;
  top: 0;
  left: 16px;
  line-height: 1;
}

.testimonial-text {
  font-size: 17px;
  color: #5A5550;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--sumo-black);
}

.testimonial-company {
  font-size: 13px;
  color: var(--washi-gray-light);
}

.faq-section {
  padding: 160px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-size: 32px;
  color: var(--sumo-black);
  text-align: center;
  margin-bottom: 60px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--muted-clay);
}

.faq-question.active {
  background: #F4F2EF;
  margin: 0 -20px;
  padding: 28px 20px;
}

.faq-question-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--sumo-black);
}

.faq-icon {
  font-size: 20px;
  color: var(--washi-gray);
  transition: transform 0.45s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.faq-answer-content {
  padding-bottom: 28px;
  font-size: 15px;
  color: #6B6560;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.contact-section {
  padding: 160px 40px;
  background: var(--rice-paper);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  border-left: 1px solid var(--border-medium);
  padding-left: 80px;
}

.contact-form h3 {
  font-size: 24px;
  color: var(--sumo-black);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  font-size: 14px;
  color: var(--washi-gray);
  position: absolute;
  top: 16px;
  left: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid var(--border-medium);
  font-size: 16px;
  font-family: inherit;
  background: transparent;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--muted-clay);
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: -8px;
  font-size: 12px;
  color: var(--muted-clay);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  padding: 18px 36px;
  background: var(--muted-clay);
  color: #FFFFFF;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--muted-clay-dark);
  transform: translateY(-2px);
}

.contact-info h3 {
  font-size: 24px;
  color: var(--sumo-black);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  stroke: var(--muted-clay);
  stroke-width: 1.5;
  flex-shrink: 0;
}

.contact-text {
  font-size: 16px;
  color: #5A5550;
}

.contact-map {
  margin-top: 40px;
  border-radius: 2px;
  overflow: hidden;
  filter: grayscale(90%);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.footer {
  background: var(--sumo-black);
  color: #FFFFFF;
  padding: 80px 40px 40px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--muted-clay);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--muted-clay);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 24px;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 9998;
  display: block;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--sumo-black);
  margin-bottom: 12px;
}

.cookie-text {
  font-size: 13px;
  color: var(--washi-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-accept, .cookie-decline {
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--muted-clay);
  color: #FFFFFF;
  border: none;
}

.cookie-accept:hover {
  background: var(--muted-clay-dark);
}

.cookie-decline {
  background: transparent;
  color: var(--washi-gray);
  border: 1px solid var(--border-medium);
}

.cookie-decline:hover {
  border-color: var(--muted-clay);
  color: var(--muted-clay);
}

.thanks-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  background: var(--rice-paper);
}

.thanks-content {
  text-align: center;
  max-width: 600px;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
}

.thanks-title {
  font-size: 36px;
  color: var(--sumo-black);
  margin-bottom: 16px;
}

.thanks-text {
  font-size: 18px;
  color: var(--washi-gray);
  margin-bottom: 40px;
}

.thanks-link {
  display: inline-block;
  padding: 16px 32px;
  background: var(--muted-clay);
  color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.thanks-link:hover {
  background: var(--muted-clay-dark);
}

.legal-section {
  padding: 160px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-title {
  font-size: 32px;
  color: var(--sumo-black);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 20px;
  color: var(--sumo-black);
  margin: 40px 0 16px;
}

.legal-content p {
  font-size: 15px;
  color: #5A5550;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 15px;
  color: #5A5550;
  line-height: 1.8;
  margin-bottom: 8px;
}

.portfolio-section {
  padding: 160px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-title {
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
}

.portfolio-category {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.reveal-up {
  opacity: 0;
  transform: translateY(44px);
  transition: all 0.85s ease-out;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: all 0.85s ease-out;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .about-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-images {
    order: -1;
  }
  
  .process-timeline {
    flex-direction: column;
    gap: 40px;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 24px;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    border-left: none;
    padding-left: 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 20px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .page-title {
    font-size: 28px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 48px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .cookie-banner {
    left: 10px;
    right: 10px;
    max-width: none;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
}
