/* ==========================================================================
   Steger Visuals — Hochzeitsfotografie Würzburg
   Design tokens
   ========================================================================== */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-italic-500.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #faf6f0;
  --ivory-deep: #f2ebe1;
  --paper: #fffdfa;
  --ink: #211d1a;
  --ink-soft: #4a433d;
  --ink-faint: #8a8078;
  --line: #e4dbcd;
  --clay: #a9542f;
  --clay-dark: #8a4326;
  --clay-light: #f2ddd0;
  --sage: #6b7a5e;
  --white: #ffffff;

  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 24px;

  --shadow-soft: 0 20px 60px -25px rgba(33, 29, 26, 0.35);
  --shadow-card: 0 10px 30px -15px rgba(33, 29, 26, 0.25);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-m: 0.6s;
  --dur-l: 1.1s;

  --container: 1240px;
}

:root[data-theme="dark"] {
  --ivory: #17140f;
  --ivory-deep: #1e1a15;
  --paper: #1c1813;
  --ink: #f3ede3;
  --ink-soft: #d7cec1;
  --ink-faint: #94897c;
  --line: #322c24;
  --clay: #d97a4c;
  --clay-dark: #e69269;
  --clay-light: #3a2a20;
  --white: #221d17;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
::selection { background: var(--clay); color: var(--white); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (max-width: 640px) {
  .container { padding-inline: var(--space-3); }
}
.section { padding-block: var(--space-7); position: relative; }
@media (max-width: 820px) {
  .section { padding-block: var(--space-6); }
}
.section-head {
  max-width: 680px;
  margin-bottom: var(--space-5);
}
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--clay);
}
h2.h-lg { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3.h-md { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px;
  background: var(--ink); color: var(--paper);
  padding: 0.8em 1.4em; border-radius: var(--radius-s);
  z-index: 999; transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1em 2em;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), color 0.4s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--clay-dark);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.btn-primary span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.6em; }
.btn-primary:hover::before,
.btn-primary:focus-visible::before { transform: translateY(0); }
.btn-primary:hover, .btn-primary:focus-visible { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--clay);
  color: var(--clay);
}
.btn-arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ==========================================================================
   Decoration: dividers, blobs, line-art
   ========================================================================== */
.deco-line {
  width: 1px;
  background: linear-gradient(var(--line), transparent);
}
.deco-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.deco-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--clay);
  display: inline-block;
}
.section-divider {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  color: var(--ink-faint);
  margin-block: var(--space-6);
}
.section-divider .deco-line { width: 60px; height: 1px; background: var(--line); }

/* floating petal / leaf decorations */
.deco-float {
  position: absolute;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: drift 14s ease-in-out infinite;
}
.deco-float.slow { animation-duration: 20s; }
.deco-float.rev { animation-direction: reverse; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(14px, -18px) rotate(8deg); }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].is-visible { transform: translateX(0); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: var(--space-3);
  color: var(--white);
  transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: var(--space-1);
  color: var(--ink);
}
.site-header.is-scrolled::before { opacity: 1; border-color: var(--line); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.brand { display: flex; align-items: center; gap: 0.7em; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.brand img { height: 26px; width: auto; }
.brand .logo-dark { display: none; }
.brand .logo-light { display: block; }
.site-header.is-scrolled .brand .logo-dark { display: block; }
.site-header.is-scrolled .brand .logo-light { display: none; }

.nav-desktop { display: flex; align-items: center; gap: var(--space-5); }
.nav-links { display: flex; gap: var(--space-4); font-size: 0.92rem; font-weight: 600; }
.nav-links a { position: relative; padding-block: 4px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  width: 34px; height: 24px;
  justify-content: center;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease-out), opacity 0.35s, background 0.4s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0;
  background: var(--ivory);
  z-index: 90;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--space-4);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { font-family: var(--font-display); font-size: 1.8rem; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.12) contrast(1.06);
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.13) translate(-1.5%, -1%); }
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,9,7,0.6) 0%, rgba(12,9,7,0.22) 16%, rgba(12,9,7,0.18) 55%, rgba(10,8,6,0.5) 78%, rgba(8,6,5,0.88) 100%),
    radial-gradient(120% 70% at 50% 100%, rgba(0,0,0,0.35), transparent 60%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding-block: clamp(5.5rem, 16svh, 8rem) clamp(1.75rem, 6svh, 3.5rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: clamp(0.72rem, 1.4vw, 0.82rem); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clay-light);
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  margin-bottom: clamp(0.6rem, 2svh, var(--space-3));
  opacity: 0; animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}
.hero-title {
  font-size: clamp(2.3rem, 6.4vw, 5rem);
  line-height: 1.08;
  max-width: 16ch;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
  opacity: 0; animation: fadeUp 1.1s var(--ease-out) 0.4s forwards;
}
.hero-title em { font-style: italic; color: var(--clay-light); font-weight: 500; }
.hero-sub {
  margin-top: clamp(0.6rem, 2svh, var(--space-3));
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  opacity: 0; animation: fadeUp 1.1s var(--ease-out) 0.6s forwards;
}
.hero-actions {
  margin-top: clamp(1rem, 3svh, var(--space-4));
  display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center;
  opacity: 0; animation: fadeUp 1.1s var(--ease-out) 0.8s forwards;
}
.hero-meta {
  margin-top: clamp(1.25rem, 4svh, var(--space-5));
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  padding-top: clamp(0.75rem, 2svh, var(--space-3));
  border-top: 1px solid rgba(255,255,255,0.2);
  opacity: 0; animation: fadeUp 1.1s var(--ease-out) 1s forwards;
}
.hero-meta div strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--white); }
.hero-meta div span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
@media (max-height: 680px) {
  .hero-meta { display: none; }
}
@media (max-height: 560px) {
  .hero-sub { display: none; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.scroll-cue {
  position: absolute; bottom: var(--space-4); right: var(--space-4);
  z-index: 2;
  display: flex; align-items: center; gap: 0.6em;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue .line { width: 1px; height: 46px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--white);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* ==========================================================================
   Marquee strip
   ========================================================================== */
.marquee {
  background: var(--ink);
  color: var(--ivory-deep);
  overflow: hidden;
  padding-block: var(--space-2);
  position: relative;
}
.marquee-track {
  display: flex; gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(250,246,240,0.55);
  white-space: nowrap;
  display: flex; align-items: center; gap: 3rem;
}
.marquee-track span::after { content: "✦"; font-style: normal; color: var(--clay); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Problem / Solution
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-5); } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-l); box-shadow: var(--shadow-soft); }
.split-media .frame-deco {
  position: absolute; inset: -18px auto auto -18px;
  width: 90%; height: 90%;
  border: 1.5px solid var(--clay);
  border-radius: var(--radius-l);
  z-index: -1;
}
.compare-list { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.compare-item {
  display: flex; gap: 0.9em; align-items: flex-start;
  padding: var(--space-2);
  border-radius: var(--radius-m);
}
.compare-item.bad { color: var(--ink-faint); }
.compare-item.good { background: var(--paper); box-shadow: var(--shadow-card); }
.compare-item .ico { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }
.compare-item.bad .ico { color: var(--ink-faint); }
.compare-item.good .ico { color: var(--sage); }

/* ==========================================================================
   Promise cards (Meine 4 Versprechen)
   ========================================================================== */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}
@media (max-width: 980px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-card {
  background: var(--paper);
  padding: var(--space-5) var(--space-3);
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  position: relative;
}
.promise-card:hover { background: var(--ivory-deep); transform: translateY(-4px); }
.promise-num {
  font-family: var(--font-display); font-style: italic;
  color: var(--clay); font-size: 0.95rem; margin-bottom: var(--space-3); display: block;
}
.promise-card .ico {
  width: 40px; height: 40px; margin-bottom: var(--space-3);
  color: var(--clay);
}
.promise-card h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.promise-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  column-count: 3;
  column-gap: var(--space-2);
}
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 560px) { .gallery-grid { column-count: 1; } }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
  cursor: zoom-in;
  display: block;
  break-inside: avoid;
  margin-bottom: var(--space-2);
}
.gallery-item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.8s var(--ease-out), filter 0.6s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,16,12,0.55) 100%);
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .expand {
  position: absolute; right: 14px; bottom: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transform: scale(0.6); opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}
.gallery-item:hover .expand { transform: scale(1); opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,12,9,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(90vw, 1100px); max-height: 82vh;
  border-radius: var(--radius-s);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: var(--white);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: var(--space-3); right: var(--space-3); }
.lightbox-prev { left: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-3); top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute; bottom: var(--space-3); left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.85rem; letter-spacing: 0.05em;
}

/* ==========================================================================
   Video teaser
   ========================================================================== */
.video-teaser {
  border-radius: var(--radius-l);
  background: var(--ink);
  color: var(--white);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-5);
  align-items: center;
  overflow: hidden;
  position: relative;
}
@media (max-width: 900px) { .video-teaser { grid-template-columns: 1fr; padding: var(--space-4); } }
.video-teaser::before {
  content: "";
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, var(--clay) 0%, transparent 70%);
  opacity: 0.25; top: -180px; right: -120px;
}
.badge-new {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--clay); color: var(--white);
  padding: 0.4em 0.9em; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.video-teaser h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: var(--space-2); }
.video-teaser p { color: rgba(255,255,255,0.75); margin-bottom: var(--space-3); }
.video-play {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.play-btn svg { margin-left: 3px; }

/* ==========================================================================
   Process timeline
   ========================================================================== */
.timeline { position: relative; margin-top: var(--space-5); }
.timeline::before {
  content: "";
  position: absolute; left: 27px; top: 8px; bottom: 8px;
  width: 1.5px;
  background: repeating-linear-gradient(var(--line), var(--line) 6px, transparent 6px, transparent 12px);
}
@media (max-width: 640px) { .timeline::before { left: 21px; } }
.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-4);
  padding-block: var(--space-3);
  position: relative;
}
@media (max-width: 640px) { .timeline-item { grid-template-columns: 42px 1fr; gap: var(--space-2); } }
.timeline-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--clay);
  z-index: 1;
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}
@media (max-width: 640px) { .timeline-num { width: 42px; height: 42px; font-size: 1rem; } }
.timeline-item.is-visible .timeline-num,
.timeline-item:hover .timeline-num { background: var(--clay); border-color: var(--clay); color: var(--white); }
.timeline-body h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.timeline-body p { color: var(--ink-soft); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: var(--space-3);
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-5) var(--space-4);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.price-card.featured {
  background: var(--ink); color: var(--white);
  border-color: var(--ink);
  position: relative;
}
.price-card.featured .price-desc { color: rgba(255,255,255,0.7); }
.price-card.featured .price-tag { color: rgba(255,255,255,0.6); }
.price-card.featured li { border-color: rgba(255,255,255,0.15); }
.price-card.featured .btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.price-card.featured .btn-ghost:hover { border-color: var(--white); }
.price-ribbon {
  position: absolute; top: var(--space-3); right: var(--space-3);
  background: var(--clay); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4em 0.8em; border-radius: 999px;
}
.price-name { font-size: 1.4rem; margin-bottom: 0.3em; }
.price-desc { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: var(--space-3); min-height: 2.6em; }
.price-amount { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.1em; }
.price-amount sup { font-size: 0.9rem; font-family: var(--font-body); font-weight: 700; color: var(--clay); vertical-align: super; margin-right: 0.3em; }
.price-tag { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: var(--space-3); }
.price-features { display: grid; gap: 0; margin-bottom: var(--space-4); flex-grow: 1; }
.price-features li {
  display: flex; gap: 0.7em; align-items: flex-start;
  padding-block: 0.65em;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.price-features li:first-child { border-top: none; }
.price-features .ico { flex-shrink: 0; width: 18px; height: 18px; color: var(--clay); margin-top: 2px; }
.price-card.featured .price-features .ico { color: var(--clay-light); }
.price-card .btn { width: 100%; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform 0.3s, background 0.3s;
}
.faq-q .plus::before { width: 11px; height: 1.4px; }
.faq-q .plus::after { width: 1.4px; height: 11px; }
.faq-item.is-open .faq-q .plus { transform: rotate(135deg); border-color: var(--clay); }
.faq-item.is-open .faq-q .plus::before, .faq-item.is-open .faq-q .plus::after { background: var(--clay); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.faq-a-inner { padding-bottom: var(--space-3); color: var(--ink-soft); max-width: 62ch; white-space: pre-line; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
}
@media (max-width: 980px) { .contact-wrap { grid-template-columns: 1fr; gap: 0; } }
.contact-info { padding: var(--space-6) var(--space-5); position: relative; overflow: hidden; }
.contact-info::before {
  content: "";
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--clay) 0%, transparent 70%);
  opacity: 0.3; bottom: -160px; left: -100px;
}
.contact-info h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: var(--space-3); position: relative; }
.contact-info p { color: rgba(255,255,255,0.75); margin-bottom: var(--space-4); position: relative; max-width: 40ch; }
.contact-channels { display: grid; gap: var(--space-3); position: relative; }
.contact-channel { display: flex; gap: 0.9em; align-items: center; }
.contact-channel .ico {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-channel a, .contact-channel span.label { font-weight: 600; }
.contact-channel small { display: block; color: rgba(255,255,255,0.55); font-size: 0.78rem; }

.contact-form { background: var(--paper); color: var(--ink); padding: var(--space-6) var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: var(--space-3); position: relative; }
.field label {
  display: block; font-size: 0.82rem; font-weight: 700;
  margin-bottom: 0.5em; color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.9em 1em;
  background: var(--ivory);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 4px var(--clay-light);
}
.field-check { display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); }
.field-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--clay); }
.field-check a { text-decoration: underline; color: var(--ink); }
.form-msg { margin-top: var(--space-2); font-size: 0.9rem; display: none; }
.form-msg.is-success { display: block; color: var(--sage); }
.form-msg.is-error { display: block; color: var(--clay); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius-l); box-shadow: var(--shadow-soft); }
.about-stats {
  position: absolute; bottom: -28px; right: -28px;
  background: var(--paper);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: var(--space-3) var(--space-4);
  display: flex; gap: var(--space-4);
}
@media (max-width: 560px) { .about-stats { position: static; margin-top: var(--space-3); justify-content: center; } }
.about-stats div strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--clay); }
.about-stats div span { font-size: 0.75rem; color: var(--ink-faint); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding-block: var(--space-6) var(--space-4); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--white); margin-bottom: var(--space-2); }
.footer-brand p { max-width: 32ch; font-size: 0.9rem; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-2); }
.footer-col ul { display: grid; gap: 0.6em; font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-2);
  padding-top: var(--space-4);
  font-size: 0.82rem;
}
.footer-social { display: flex; gap: var(--space-2); }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.footer-social a:hover { background: var(--clay); border-color: var(--clay); }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-page { padding-top: 9rem; padding-bottom: var(--space-7); }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: var(--space-2); }
.legal-page .updated { color: var(--ink-faint); font-size: 0.85rem; margin-bottom: var(--space-5); }
.legal-page h2 { font-size: 1.3rem; margin-top: var(--space-5); margin-bottom: 0.6em; }
.legal-page h3 { font-size: 1.05rem; margin-top: var(--space-3); margin-bottom: 0.4em; }
.legal-page p, .legal-page li { color: var(--ink-soft); margin-bottom: 0.9em; max-width: 74ch; }
.legal-page a { color: var(--clay); text-decoration: underline; }
.legal-page ul { list-style: disc; padding-left: 1.4em; }
.legal-page ul li { list-style: disc; }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cookie-banner {
  position: fixed; left: var(--space-3); right: var(--space-3); bottom: var(--space-3);
  max-width: 480px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-soft);
  padding: var(--space-4);
  z-index: 300;
  transform: translateY(140%);
  transition: transform 0.6s var(--ease-out);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: 0.5em; }
.cookie-banner p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: var(--space-3); }
.cookie-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.cookie-actions .btn { padding: 0.75em 1.4em; font-size: 0.85rem; }
.cookie-link-btn { font-size: 0.82rem; text-decoration: underline; color: var(--ink-faint); margin-top: var(--space-2); display: inline-block; }

/* back to top */
.to-top {
  position: fixed; right: var(--space-3); bottom: calc(var(--space-3) + 64px + 12px);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 80;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s, bottom 0.4s var(--ease-out);
  box-shadow: var(--shadow-card);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
body.cookie-visible .to-top { bottom: calc(var(--space-3) + 64px + 12px + 170px); }
@media (max-width: 560px) {
  body.cookie-visible .to-top { bottom: calc(var(--space-3) + 64px + 12px + 230px); }
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
:root {
  --wa-green: #25d366;
  --wa-green-dark: #128c7e;
}
.whatsapp-float {
  position: fixed; right: var(--space-3); bottom: var(--space-3);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--wa-green);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 85;
  box-shadow: 0 12px 30px -8px rgba(18, 140, 126, 0.55), var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), bottom 0.4s var(--ease-out);
}
.whatsapp-float:hover, .whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 36px -6px rgba(18, 140, 126, 0.6), var(--shadow-card);
}
.whatsapp-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  opacity: 0;
  animation: waPulse 2.6s ease-out 1.2s 3;
}
@keyframes waPulse {
  0% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}
.whatsapp-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
body.cookie-visible .whatsapp-float { bottom: calc(var(--space-3) + 170px); }
@media (max-width: 560px) {
  .whatsapp-float { width: 56px; height: 56px; }
  .whatsapp-float svg { width: 27px; height: 27px; }
  body.cookie-visible .whatsapp-float { bottom: calc(var(--space-3) + 230px); }
}

.wa-bubble {
  position: fixed; right: calc(var(--space-3) + 72px); bottom: calc(var(--space-3) + 6px);
  max-width: 260px;
  background: var(--paper);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);
  z-index: 84;
  opacity: 0; visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s, bottom 0.4s var(--ease-out);
}
.wa-bubble.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-bubble-close {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  transition: background 0.3s, color 0.3s;
}
.wa-bubble-close:hover { background: var(--ivory-deep); color: var(--ink); }
.wa-bubble-head { display: flex; align-items: center; gap: 0.6em; margin-bottom: 0.5em; padding-right: 1.2em; }
.wa-bubble-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--wa-green); color: var(--white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wa-bubble-avatar svg { width: 16px; height: 16px; }
.wa-bubble-name { font-weight: 700; font-size: 0.88rem; }
.wa-bubble-text { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.8em; }
.wa-bubble-cta {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.82rem; font-weight: 700; color: var(--wa-green-dark);
}
@media (max-width: 560px) {
  .wa-bubble { right: var(--space-3); bottom: calc(var(--space-3) + 68px); max-width: none; left: var(--space-3); }
}

.form-alt {
  display: flex; align-items: center; gap: 0.6em;
  justify-content: center;
  margin-top: var(--space-2);
  font-size: 0.85rem; color: var(--ink-soft);
}
.form-alt a { display: inline-flex; align-items: center; gap: 0.4em; color: var(--wa-green-dark); font-weight: 700; }
.form-alt a svg { width: 16px; height: 16px; }

.mobile-nav-wa {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 1rem !important;
  color: var(--wa-green-dark) !important;
}
.mobile-nav-wa svg { width: 20px; height: 20px; }
