/* ============================================================
   LAYOUT.CSS — Components, Sections & Animations
   Wanderland Reisen — Premium Deutschland Travel
   ============================================================ */

/* ============================================================
   CONTAINER
   ============================================================ */
.container       { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.container--sm   { max-width: 820px; }
.container--wide { max-width: 1440px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.82rem 1.9rem; border-radius: var(--r-pill);
  font-family: var(--f-body); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.01em; line-height: 1; cursor: pointer;
  transition: all var(--tr-base); border: 2px solid transparent;
  white-space: nowrap; text-decoration: none; position: relative; overflow: hidden;
}
.btn--accent {
  background: var(--g-accent); color: var(--c-bg-dark);
  border-color: transparent; box-shadow: var(--sh-acc);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,162,74,.45); }
.btn--accent:active { transform: translateY(0); }
.btn--primary { background: var(--c-primary); color: var(--c-text-light); border-color: var(--c-primary); }
.btn--primary:hover { background: #264857; transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--outline { background: transparent; color: var(--c-text-light); border-color: rgba(225,232,234,.3); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: rgba(225,232,234,.6); }
.btn--outline-dark { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline-dark:hover { background: var(--c-primary); color: var(--c-text-light); }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.84rem; }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header--center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }

.section-label {
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem;
}
.section-label::before {
  content: ''; display: block; width: 22px; height: 1px; background: var(--c-accent);
}

.section-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 3rem); line-height: 1.1;
  letter-spacing: -0.022em; color: var(--c-text);
}
.section-title--light { color: var(--c-text-light); }

.section-desc {
  margin-top: 1rem; font-size: 1.05rem;
  color: var(--c-text-muted); max-width: 580px; line-height: 1.72;
}
.section-desc--light { color: rgba(225,232,234,.72); }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  padding: 1.2rem 0;
  transition: background var(--tr-base), box-shadow var(--tr-base), padding var(--tr-base);
  overflow-x: hidden; max-width: 100vw;
}
.site-header.scrolled {
  background: rgba(27, 46, 55, 0.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 36px rgba(0,0,0,.28); padding: 0.65rem 0;
}

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Logo */
.header__logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.logo-text { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--c-text-light); line-height: 1; }
.logo-dot  { color: var(--c-accent); }
.logo-accent { color: var(--c-accent); }

/* Nav */
.header__nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.5rem); }
.nav__link {
  font-family: var(--f-body); font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.01em; color: rgba(225,232,234,.82);
  text-decoration: none; position: relative; transition: color var(--tr-fast);
}
.nav__link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: var(--c-accent); transition: width var(--tr-base);
}
.nav__link:hover { color: var(--c-text-light); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--c-accent); }

/* Header Actions */
.header__actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

/* Burger */
.burger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; width: 44px; height: 44px;
  border-radius: var(--r-md); cursor: pointer; transition: background var(--tr-fast);
}
.burger:hover { background: rgba(255,255,255,.1); }
.burger span { display: block; width: 22px; height: 2px; background: var(--c-text-light); border-radius: 2px; transition: all var(--tr-base); transform-origin: center; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27, 46, 55, 0.98);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  z-index: calc(var(--z-header) - 1);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 2rem; opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--tr-slow), visibility var(--tr-slow), transform var(--tr-slow);
  overflow: hidden; max-width: 100vw;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav { width: 100%; max-width: 400px; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.mobile-nav ul { width: 100%; display: flex; flex-direction: column; margin-bottom: 2rem; }
.mobile-nav__link {
  display: block; padding: 1.05rem 1.5rem;
  font-family: var(--f-display); font-weight: 600; font-size: 1.45rem;
  letter-spacing: -0.015em; color: var(--c-text-light);
  text-align: center; text-decoration: none; transition: color var(--tr-fast);
  border-bottom: 1px solid rgba(225,232,234,.08);
}
.mobile-nav__link:hover { color: var(--c-accent); }
.mobile-cta { width: 100%; margin-top: 1rem; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; max-width: 100%;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  display: block;
}
.hero__overlay {
  position: absolute; inset: 0; background: var(--g-hero); opacity: 0.80; z-index: 1;
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  opacity: 0.35; z-index: 2; pointer-events: none;
}
.hero__content {
  position: relative; z-index: 3; text-align: center;
  padding: var(--container-pad); max-width: 880px; margin: 0 auto;
}
.hero__eyebrow {
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 0.8rem; margin-bottom: 1.6rem;
  opacity: 0; animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ''; display: block; height: 1px; width: 30px; background: var(--c-accent);
}
.hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1.05;
  letter-spacing: -0.03em; color: var(--c-text-light);
  margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.9s 0.5s ease forwards;
}
.hero__title em { font-style: normal; color: var(--c-accent); }
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem); color: rgba(225,232,234,.78);
  line-height: 1.68; max-width: 560px; margin: 0 auto 2.5rem; font-weight: 400;
  opacity: 0; animation: fadeUp 0.9s 0.7s ease forwards;
}
.hero__form {
  display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto 2.5rem;
  opacity: 0; animation: fadeUp 0.9s 0.9s ease forwards;
}
.hero__input {
  flex: 1; padding: 0.9rem 1.4rem; border-radius: var(--r-pill);
  border: 1px solid rgba(225,232,234,.22); background: rgba(255,255,255,.1);
  color: var(--c-text-light); font-size: 0.95rem;
  backdrop-filter: blur(8px); transition: border-color var(--tr-fast), background var(--tr-fast);
}
.hero__input::placeholder { color: rgba(225,232,234,.48); }
.hero__input:focus { border-color: var(--c-accent); background: rgba(255,255,255,.15); }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeUp 0.9s 1.2s ease forwards;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
.hero__scroll-text {
  font-family: var(--f-mono); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(225,232,234,.5);
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--c-primary); padding: var(--sp-8) 0;
  border-bottom: 1px solid rgba(201,162,74,.18);
  overflow: hidden; max-width: 100%;
}
.trust-strip__inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem);
}
.trust-item { display: flex; align-items: center; gap: 0.8rem; }
.trust-item__icon {
  width: 38px; height: 38px; background: var(--c-accent-12);
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  border: 1px solid var(--c-accent-30);
}
.trust-item__icon svg { width: 18px; height: 18px; stroke: var(--c-accent); fill: none; stroke-width: 1.5; }
.trust-item__text { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(225,232,234,.7); line-height: 1.45; }
.trust-item__text strong { display: block; color: var(--c-accent); font-weight: 500; margin-bottom: 0.1rem; }

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview { padding: var(--section-py) 0; background: var(--c-bg); overflow: hidden; max-width: 100%; }
.about-preview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.about-preview__image { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl); }
.about-preview__image img { width: 100%; height: 520px; object-fit: cover; transition: transform 0.9s ease; }
.about-preview__image:hover img { transform: scale(1.04); }
.about-preview__badge {
  position: absolute; bottom: 2rem; right: -1.2rem;
  background: var(--c-accent); color: var(--c-bg-dark);
  padding: 1.1rem 1.5rem; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); text-align: center; min-width: 120px;
}
.about-preview__badge-num { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; display: block; }
.about-preview__badge-text { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-top: 0.25rem; }
.about-preview__content { padding: 1rem 0; }
.about-preview__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag {
  display: inline-flex; align-items: center; padding: 0.35rem 1rem;
  border-radius: var(--r-pill); font-family: var(--f-mono); font-size: 0.65rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--c-border); color: var(--c-text-muted);
  transition: all var(--tr-fast);
}
.tag:hover { border-color: var(--c-accent); color: var(--c-primary); }
.tag--accent { background: var(--c-accent-12); border-color: var(--c-accent); color: var(--c-primary); }
.about-preview__cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services { padding: var(--section-py) 0; background: var(--c-secondary); overflow: hidden; max-width: 100%; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }

.service-card {
  background: var(--g-card-dark); border: 1px solid rgba(201,162,74,.1);
  border-radius: var(--r-xl); padding: 2rem; cursor: pointer;
  transition: transform var(--tr-base), box-shadow var(--tr-base), border-color var(--tr-base);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--g-accent); transform: scaleX(0); transition: transform var(--tr-base);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); border-color: rgba(201,162,74,.28); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 52px; height: 52px; background: var(--c-accent-12); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
  transition: background var(--tr-base); border: 1px solid var(--c-accent-30);
}
.service-card:hover .service-card__icon { background: var(--c-accent-20); }
.service-card__icon svg { width: 24px; height: 24px; stroke: var(--c-accent); fill: none; stroke-width: 1.5; }
.service-card__number { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; color: rgba(201,162,74,.45); text-transform: uppercase; margin-bottom: 0.55rem; }
.service-card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; color: var(--c-text-light); margin-bottom: 0.7rem; letter-spacing: -0.01em; line-height: 1.3; }
.service-card__desc { font-size: 0.88rem; color: rgba(225,232,234,.62); line-height: 1.65; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem;
  font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-accent); transition: gap var(--tr-fast);
}
.service-card__link:hover { gap: 0.75rem; }
.service-card__link svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { padding: var(--section-py) 0; background: var(--g-light); overflow: hidden; max-width: 100%; }
.why-us__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.why-card {
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-xl);
  padding: 2rem; display: flex; gap: 1.5rem; align-items: flex-start;
  transition: transform var(--tr-base), box-shadow var(--tr-base); box-shadow: var(--sh-sm);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.why-card__num { font-family: var(--f-mono); font-size: 2rem; font-weight: 400; color: var(--c-accent); line-height: 1; flex-shrink: 0; min-width: 3rem; }
.why-card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--c-primary); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.why-card__text { font-size: 0.88rem; color: var(--c-text-muted); line-height: 1.65; }

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio { padding: var(--section-py) 0; background: var(--c-bg-dark); overflow: hidden; max-width: 100%; }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }

.portfolio-card { border-radius: var(--r-xl); overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--sh-md); }
.portfolio-card__img-wrap { position: relative; height: 300px; overflow: hidden; }
.portfolio-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; display: block; }
.portfolio-card:hover .portfolio-card__img { transform: scale(1.08); }
.portfolio-card__overlay { position: absolute; inset: 0; background: var(--g-overlay); transition: opacity var(--tr-base); }
.portfolio-card:hover .portfolio-card__overlay { opacity: 1.05; }
.portfolio-card__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; }
.portfolio-card__region { font-family: var(--f-mono); font-size: 0.63rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 0.35rem; }
.portfolio-card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--c-text-light); letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.portfolio-card__subtitle { font-size: 0.82rem; color: rgba(225,232,234,.65); }
.portfolio-card__arrow {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(201,162,74,.18); border: 1px solid rgba(201,162,74,.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px); transition: all var(--tr-base);
}
.portfolio-card:hover .portfolio-card__arrow { opacity: 1; transform: translateY(0); }
.portfolio-card__arrow svg { width: 13px; height: 13px; stroke: var(--c-accent); fill: none; stroke-width: 2; }

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.achievements { padding: var(--section-py) 0; background: var(--g-accent); overflow: hidden; max-width: 100%; }
.achievements__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.stat-card { text-align: center; padding: 1.5rem; border-right: 1px solid rgba(46,34,8,.14); }
.stat-card:last-child { border-right: none; }
.stat-card__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 4vw, 3.5rem); color: var(--c-bg-dark); line-height: 1; letter-spacing: -0.03em; }
.stat-card__suffix { font-weight: 800; color: var(--c-bg-dark); }
.stat-card__label { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(43,52,54,.68); margin-top: 0.5rem; }
.stat-card__desc { font-size: 0.82rem; color: rgba(43,52,54,.55); margin-top: 0.2rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: var(--section-py) 0; background: var(--c-bg); overflow: hidden; max-width: 100%; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; position: relative; }
.process__steps::before {
  content: ''; position: absolute; top: 2.4rem; left: 12%; right: 12%;
  height: 1px; background: linear-gradient(to right, transparent, var(--c-accent), transparent);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-bg); border: 1.5px solid var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-family: var(--f-mono); font-weight: 500;
  font-size: 0.88rem; color: var(--c-accent);
  transition: background var(--tr-base), color var(--tr-base);
}
.process-step:hover .process-step__num { background: var(--c-accent); color: var(--c-bg-dark); }
.process-step__title { font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--c-primary); margin-bottom: 0.5rem; }
.process-step__text { font-size: 0.875rem; color: var(--c-text-muted); line-height: 1.62; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: var(--section-py) 0; background: var(--c-primary); overflow: hidden; max-width: 100%; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(225,232,234,.1);
  border-radius: var(--r-xl); padding: 2rem;
  transition: transform var(--tr-base), background var(--tr-base);
}
.testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.testimonial-card__quote { font-size: 2.8rem; color: var(--c-accent); line-height: 1; margin-bottom: 1rem; font-family: Georgia, serif; }
.testimonial-card__text { font-size: 0.93rem; color: rgba(225,232,234,.78); line-height: 1.72; margin-bottom: 1.75rem; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 1rem; }
.testimonial-card__avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--g-forest);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  color: var(--c-text-light); flex-shrink: 0;
}
.testimonial-card__name { font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; color: var(--c-text-light); }
.testimonial-card__role { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.09em; color: var(--c-accent); text-transform: uppercase; margin-top: 0.15rem; }
.testimonial-card__stars { display: flex; gap: 3px; margin-top: 0.45rem; }
.testimonial-card__stars span { color: var(--c-accent); font-size: 0.82rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--section-py) 0; background: var(--g-light); overflow: hidden; max-width: 100%; }
.faq__list { max-width: 780px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-item__trigger {
  width: 100%; padding: 1.4rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  cursor: pointer; background: none; border: none; text-align: left;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem;
  color: var(--c-primary); letter-spacing: -0.01em; transition: color var(--tr-fast);
}
.faq-item__trigger:hover { color: var(--c-accent); }
.faq-item__icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--c-border); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--tr-base);
}
.faq-item__icon svg { width: 12px; height: 12px; stroke: var(--c-primary); fill: none; stroke-width: 2; transition: transform var(--tr-base); }
.faq-item.open .faq-item__icon { background: var(--c-accent); border-color: var(--c-accent); }
.faq-item.open .faq-item__icon svg { stroke: var(--c-bg-dark); transform: rotate(45deg); }
.faq-item__body { overflow: hidden; max-height: 0; transition: max-height 0.42s cubic-bezier(0.16,1,0.3,1); }
.faq-item__content { padding-bottom: 1.4rem; font-size: 0.94rem; color: var(--c-text-muted); line-height: 1.72; }

/* ============================================================
   KEYWORDS SECTION
   ============================================================ */
.keywords-section { padding: var(--section-py) 0; background: var(--c-bg-dark); overflow: hidden; max-width: 100%; }
.keywords-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.keywords-section__badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.badge-kw {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.2rem;
  border-radius: var(--r-pill); background: var(--c-accent-12); border: 1px solid var(--c-accent-30);
  color: var(--c-accent); font-family: var(--f-mono); font-size: 0.7rem;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.badge-kw svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.keywords-highlight {
  font-family: var(--f-display); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700;
  color: var(--c-accent); letter-spacing: -0.02em; line-height: 1.22; margin-bottom: 1.5rem;
}
.keywords-section__text-content { font-size: 0.95rem; color: rgba(225,232,234,.68); line-height: 1.78; }
.keywords-cta { margin-top: 2rem; }

/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.contact-section { padding: var(--section-py) 0; background: var(--g-light); overflow: hidden; max-width: 100%; }
.contact-section__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 4rem; align-items: start; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--c-border); }
.contact-info__item:last-child { border-bottom: none; }
.contact-info__icon { width: 44px; height: 44px; background: var(--c-primary-08); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info__icon svg { width: 20px; height: 20px; stroke: var(--c-primary); fill: none; stroke-width: 1.5; }
.contact-info__label { font-family: var(--f-mono); font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-soft); margin-bottom: 0.22rem; }
.contact-info__value { font-size: 0.94rem; color: var(--c-text); font-weight: 500; }

.form-card { background: var(--c-white); border-radius: var(--r-2xl); padding: 2.5rem; box-shadow: var(--sh-lg); border: 1px solid var(--c-border); }
.form__group { margin-bottom: 1.4rem; }
.form__label { display: block; font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 0.55rem; }
.form__input, .form__textarea {
  width: 100%; padding: 0.9rem 1.2rem; border-radius: var(--r-md);
  border: 1.5px solid var(--c-border); background: var(--c-bg); color: var(--c-text);
  font-size: 0.94rem; transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.form__input:focus, .form__textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-08); }
.form__textarea { min-height: 130px; resize: vertical; }
.form__submit { width: 100%; }
.form__privacy { font-size: 0.78rem; color: var(--c-text-soft); margin-top: 1rem; text-align: center; line-height: 1.5; }
.form__privacy a { color: var(--c-primary); text-decoration: underline; }

/* ============================================================
   MARQUEE
   ============================================================ */
.js-marquee-wrap {
  overflow: hidden; max-width: 100vw;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  background: var(--c-primary);
  border-top: 1px solid rgba(201,162,74,.12);
  border-bottom: 1px solid rgba(201,162,74,.12);
}
.js-mq-row {
  display: flex; align-items: center; white-space: nowrap;
  overflow: hidden; max-width: 100%;
}
.js-mq-row.fwd { animation: mqFwd 45s linear infinite; margin-bottom: 0.6rem; }
.js-mq-row.rev { animation: mqRev 45s linear infinite; }
.mq-inner { display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem; flex-shrink: 0; }
.mq-item {
  font-family: var(--f-display); font-size: clamp(20px, 3vw, 38px);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em;
  color: rgba(225,232,234,0.11); flex-shrink: 0;
}
.mq-sep { width: 7px; height: 7px; border-radius: 50%; background: rgba(201,162,74,.18); flex-shrink: 0; }

@keyframes mqFwd { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mqRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--c-bg-dark); padding: var(--sp-24) 0 var(--sp-8); overflow: hidden; max-width: 100%; }
.footer__top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: var(--sp-16); border-bottom: 1px solid var(--c-border-light); }
.footer__brand-desc { font-size: 0.88rem; color: rgba(225,232,234,.5); line-height: 1.72; max-width: 280px; margin-top: 1rem; }
.footer__social { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.footer__social a { width: 38px; height: 38px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid var(--c-border-light); display: flex; align-items: center; justify-content: center; transition: all var(--tr-fast); }
.footer__social a:hover { background: var(--c-accent-12); border-color: var(--c-accent-30); }
.footer__social svg { width: 16px; height: 16px; stroke: rgba(225,232,234,.55); fill: none; stroke-width: 1.5; }
.footer__col-title { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__link { font-size: 0.88rem; color: rgba(225,232,234,.5); text-decoration: none; transition: color var(--tr-fast); }
.footer__link:hover { color: var(--c-text-light); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: var(--sp-8); flex-wrap: wrap; gap: 1rem; }
.footer__copyright { font-size: 0.82rem; color: rgba(225,232,234,.3); }
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a { font-size: 0.8rem; color: rgba(225,232,234,.3); text-decoration: none; transition: color var(--tr-fast); }
.footer__legal a:hover { color: rgba(225,232,234,.65); }

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  background: var(--g-hero);
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(3.5rem, 6vw, 5rem);
  position: relative; overflow: hidden; max-width: 100%;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px; background: linear-gradient(to bottom, transparent, var(--c-bg));
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__breadcrumb {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(225,232,234,.45); margin-bottom: 1.5rem;
}
.page-hero__breadcrumb a { color: inherit; text-decoration: none; transition: color var(--tr-fast); }
.page-hero__breadcrumb a:hover { color: var(--c-accent); }
.page-hero__breadcrumb span { color: var(--c-accent); }
.page-hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem); color: var(--c-text-light);
  letter-spacing: -0.025em; line-height: 1.08; max-width: 720px;
}
.page-hero__desc { font-size: clamp(1rem, 1.5vw, 1.12rem); color: rgba(225,232,234,.7); line-height: 1.68; max-width: 580px; margin-top: 1.2rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: var(--section-py) 0; background: var(--g-forest); text-align: center; overflow: hidden; max-width: 100%; }
.cta-section__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--c-text-light); letter-spacing: -0.025em; line-height: 1.1; max-width: 680px; margin: 0 auto 1.5rem; }
.cta-section__desc { font-size: 1.05rem; color: rgba(225,232,234,.7); margin: 0 auto 2.5rem; max-width: 480px; line-height: 1.72; }
.cta-section__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { padding: var(--section-py) 0; background: var(--c-bg); overflow: hidden; max-width: 100%; }
.about-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-story__img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl); }
.about-story__img img { width: 100%; height: 500px; object-fit: cover; }

.about-values { padding: var(--section-py) 0; background: var(--c-secondary); overflow: hidden; max-width: 100%; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card { background: rgba(255,255,255,.06); border: 1px solid rgba(225,232,234,.1); border-radius: var(--r-xl); padding: 2rem; transition: transform var(--tr-base); }
.value-card:hover { transform: translateY(-4px); }
.value-card__icon { width: 48px; height: 48px; background: var(--c-accent-12); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.value-card__icon svg { width: 22px; height: 22px; stroke: var(--c-accent); fill: none; stroke-width: 1.5; }
.value-card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--c-text-light); margin-bottom: 0.5rem; }
.value-card__text { font-size: 0.875rem; color: rgba(225,232,234,.6); line-height: 1.65; }

/* ============================================================
   SERVICES FULL PAGE
   ============================================================ */
.services-full { padding: var(--section-py) 0; background: var(--c-bg); overflow: hidden; max-width: 100%; }
.services-full__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3rem; }
.service-full-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-sm); transition: transform var(--tr-base), box-shadow var(--tr-base); }
.service-full-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.service-full-card__img { height: 200px; overflow: hidden; }
.service-full-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.service-full-card:hover .service-full-card__img img { transform: scale(1.06); }
.service-full-card__no-img { height: 200px; background: var(--g-forest); display: flex; align-items: center; justify-content: center; }
.service-full-card__no-img svg { width: 52px; height: 52px; stroke: rgba(225,232,234,.3); fill: none; stroke-width: 1; }
.service-full-card__body { padding: 1.75rem; }
.service-full-card__tag { display: inline-block; padding: 0.25rem 0.8rem; border-radius: var(--r-pill); background: var(--c-accent-12); color: var(--c-primary); font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.service-full-card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--c-primary); letter-spacing: -0.01em; margin-bottom: 0.6rem; line-height: 1.3; }
.service-full-card__desc { font-size: 0.88rem; color: var(--c-text-muted); line-height: 1.65; }
.service-full-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--c-border); }
.price-label { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-soft); }
.price-val { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--c-accent); }

/* ============================================================
   PORTFOLIO FULL PAGE
   ============================================================ */
.portfolio-full { padding: var(--section-py) 0; background: var(--c-bg); overflow: hidden; max-width: 100%; }
.portfolio-full__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3rem; }
.portfolio-full-card { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); transition: transform var(--tr-base), box-shadow var(--tr-base); }
.portfolio-full-card:hover { transform: translateY(-5px); box-shadow: var(--sh-xl); }
.portfolio-full-card__img { height: 260px; overflow: hidden; position: relative; }
.portfolio-full-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; display: block; }
.portfolio-full-card:hover .portfolio-full-card__img img { transform: scale(1.06); }
.portfolio-full-card__no-img { height: 260px; background: var(--g-hero); display: flex; align-items: center; justify-content: center; }
.portfolio-full-card__body { background: var(--c-white); padding: 1.5rem; border: 1px solid var(--c-border); border-top: none; }
.portfolio-full-card__region { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 0.35rem; }
.portfolio-full-card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; color: var(--c-primary); margin-bottom: 0.45rem; }
.portfolio-full-card__desc { font-size: 0.86rem; color: var(--c-text-muted); line-height: 1.62; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: var(--section-py) 0; background: var(--c-bg); overflow: hidden; max-width: 100%; }
.contact-page__grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 4rem; align-items: start; }
.contact-page__map { margin-top: 2rem; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.contact-page__map iframe { width: 100%; height: 380px; display: block; border: none; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { padding: var(--section-py) 0; background: var(--c-bg); overflow: hidden; max-width: 100%; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--c-primary); letter-spacing: -0.015em; margin: 2.5rem 0 1rem; }
.legal-content h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; color: var(--c-primary); letter-spacing: -0.01em; margin: 2rem 0 0.75rem; }
.legal-content p { font-size: 0.94rem; color: var(--c-text-muted); line-height: 1.82; margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { font-size: 0.94rem; color: var(--c-text-muted); line-height: 1.78; margin-bottom: 0.4rem; }
.legal-content a { color: var(--c-primary); text-decoration: underline; }
.legal-content strong { color: var(--c-text); font-weight: 600; }
.legal-meta { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--c-text-soft); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--c-border); }

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks-page { min-height: 100vh; background: var(--g-hero); display: flex; align-items: center; justify-content: center; padding: 2rem; overflow: hidden; max-width: 100%; }
.thanks-card { background: rgba(255,255,255,.07); border: 1px solid rgba(225,232,234,.12); border-radius: var(--r-2xl); padding: clamp(2.5rem, 6vw, 5rem); text-align: center; max-width: 580px; width: 100%; backdrop-filter: blur(18px); }
.thanks-icon { width: 80px; height: 80px; background: var(--c-accent-12); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; border: 1px solid var(--c-accent-30); }
.thanks-icon svg { width: 36px; height: 36px; stroke: var(--c-accent); fill: none; stroke-width: 1.5; }
.thanks-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--c-text-light); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 1rem; }
.thanks-desc { font-size: 1rem; color: rgba(225,232,234,.7); line-height: 1.72; margin-bottom: 2.5rem; }

/* ============================================================
   ANIMATED UNDERLINE
   ============================================================ */
.anim-underline { position: relative; display: inline; }
.anim-underline::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px; background: var(--c-accent); transition: width var(--tr-base); }
.anim-underline:hover::after { width: 100%; }

/* ============================================================
   UNIVERSAL SECTION OVERFLOW
   ============================================================ */
section, header, footer { overflow-x: hidden; max-width: 100%; box-sizing: border-box; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .burger { display: flex; }
  .header__actions .btn--sm { display: none; }
  .about-preview__grid { grid-template-columns: 1fr; }
  .about-preview__badge { right: 2rem; }
  .keywords-section__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-section__grid { grid-template-columns: 1fr; }
  .contact-page__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .achievements__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
  .about-story__grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .why-us__grid { grid-template-columns: 1fr; }
  .services-full__grid { grid-template-columns: 1fr; }
  .portfolio-full__grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .achievements__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(46,34,8,.14); padding-bottom: 1.5rem; }
  .stat-card:last-child { border-bottom: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__form { flex-direction: column; }
  .hero__form .btn { width: 100%; }
  .process__steps { grid-template-columns: 1fr; }
  .trust-strip__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .about-preview__badge { position: static; display: inline-flex; flex-direction: row; gap: 1rem; align-items: center; margin-top: 1.5rem; }
  .about-preview__badge-num { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .achievements__grid { grid-template-columns: 1fr; }
  .cta-section__buttons { flex-direction: column; }
  .cta-section__buttons .btn { width: 100%; justify-content: center; }
}

/* Parallax: desktop only */
@media (min-width: 1025px) {
  .hero__img.js-parallax { will-change: transform; }
}

/* Hover/tilt: mouse devices only */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover  { transform: translateY(-6px); }
  .why-card:hover      { transform: translateY(-4px); }
  .value-card:hover    { transform: translateY(-4px); }
}

/* ============================================================
   FINAL SAFETY NET
   ============================================================ */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
