/* ============================================================
   PATROCLO — We make websites.
   Palette drawn from the Patroclo emblem: near-black ground,
   weathered bronze, crimson crest, iridescent teal & violet.
   ============================================================ */

:root {
  /* Gallery-white "living painting" theme — primary drawn from the
     emerald neck feathers of the Patroclo emblem. */
  --bg: #FBFBF8;
  --bg-2: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F3F6F2;
  --ink: #17201C;
  --muted: #5E6B63;
  --line: rgba(23, 32, 28, 0.1);

  --bronze-deep: #16543F;
  --bronze: #257D66;
  --bronze-hi: #1F6B58;
  --crest: #B03A2E;
  --teal: #2E8C74;
  --violet: #7A5296;
  --eye: #E06426;
  --wa: #25D366;

  --grad-gold: linear-gradient(120deg, #16543F 0%, #257D66 42%, #4FB693 68%, #7A5296 115%);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --nav-h: 76px;
  --radius: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

::selection { background: rgba(37, 125, 102, 0.35); color: var(--ink); }

.container { width: min(1180px, 92vw); margin-inline: auto; }
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }

/* ---------- Ambient layers ---------- */
.noise {
  position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  animation: grain 9s steps(8) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
}

.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora-blob {
  position: absolute; width: 55vw; height: 55vw; border-radius: 50%;
  filter: blur(120px); opacity: 0.16; will-change: transform;
}
.aurora-bronze { background: #E9B98B; opacity: 0.22; top: -18vw; right: -12vw; animation: drift1 26s ease-in-out infinite alternate; }
.aurora-teal { background: #6FCBA8; opacity: 0.2; bottom: -20vw; left: -15vw; animation: drift2 32s ease-in-out infinite alternate; }
.aurora-violet { background: #B79BD4; top: 45%; left: 55%; width: 38vw; height: 38vw; opacity: 0.16; animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-14vw, 18vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(16vw, -14vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-18vw, -10vh) scale(0.9); } }

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px; z-index: 1;
  pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(37, 125, 102, 0.10) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader-logo { width: 84px; height: 84px; }
.preloader-word {
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.55em; text-indent: 0.55em; color: var(--bronze-hi);
}
.preloader-bar { width: 160px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--grad-gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background-color 0.35s, border-color 0.35s, color 0.35s;
  will-change: transform;
}
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-primary {
  background: var(--grad-gold); background-size: 160% 160%; background-position: 20% 50%;
  color: #FFFFFF; box-shadow: 0 8px 30px rgba(37, 125, 102, 0.28);
}
.btn-primary:hover { background-position: 80% 50%; box-shadow: 0 12px 44px rgba(37, 125, 102, 0.42); transform: translateY(-2px); }
.btn-ghost {
  border-color: var(--line); color: var(--ink);
  background: rgba(23, 32, 28, 0.04); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(37, 125, 102, 0.5); background: rgba(37, 125, 102, 0.08); transform: translateY(-2px); }
.btn-wa { background: rgba(37, 211, 102, 0.1); border-color: rgba(27, 122, 67, 0.4); color: #157A43; margin-top: 18px; }
.btn-wa:hover { background: rgba(37, 211, 102, 0.18); transform: translateY(-2px); }
.wa-ico { flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 251, 248, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1320px, 94vw); margin-inline: auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; }
.brand-name { font-weight: 700; letter-spacing: 0.32em; font-size: 13.5px; color: var(--ink); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--muted); position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 100%;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.btn-nav { padding: 11px 22px; font-size: 14px; }

.lang-switch {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  background: rgba(23, 32, 28, 0.03);
}
.lang-btn {
  border: 0; background: transparent; color: var(--muted); font-size: 12.5px;
  font-weight: 700; letter-spacing: 0.06em; padding: 6px 12px; border-radius: 999px;
  cursor: pointer; transition: color 0.3s, background-color 0.3s;
}
.lang-btn.active { background: var(--grad-gold); color: #FFFFFF; }

.burger { display: none; border: 0; background: transparent; width: 42px; height: 42px; cursor: pointer; position: relative; z-index: 70; }
.burger span {
  display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: rgba(251, 251, 248, 0.96);
  backdrop-filter: blur(20px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 40px;
  opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-links { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-links a {
  font-family: var(--font-display); font-size: clamp(28px, 7vw, 40px); font-weight: 600;
  color: var(--ink); opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-menu.open .mobile-links a { opacity: 1; transform: none; }
.mobile-menu.open .mobile-links a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-links a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-links a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-links a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-links a:nth-child(5) { transition-delay: 0.25s; }
.mobile-wa { opacity: 0; transition: opacity 0.5s 0.3s; }
.mobile-menu.open .mobile-wa { opacity: 1; }

/* ---------- Typography helpers ---------- */
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 22px;
}
.h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(34px, 5vw, 58px); line-height: 1.06; letter-spacing: -0.01em;
  margin-bottom: 26px; max-width: 16em;
}
.h2 .w { display: inline-block; overflow: hidden; vertical-align: top; }
.h2 .w > i { display: inline-block; font-style: normal; }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 18.5px); max-width: 58ch; }
.lead + .lead { margin-top: 14px; }

.steps { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 13px; color: rgba(23, 32, 28, 0.82); font-size: 15.5px; }
.step-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-gold); color: #FFFFFF; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity 1.6s ease; transform: scale(1.06);
}
.hero-video.ready { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 58%, rgba(251, 251, 248, 0.92) 100%);
}
.hero-vignette {
  position: absolute; inset: 0;
  display: none;
}
.hero-content { position: relative; width: min(980px, 92vw); }
.hero-kicker { color: var(--bronze-hi); }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(52px, 11vw, 132px); line-height: 1.0; letter-spacing: -0.015em;
  margin: 8px 0 28px;
  /* Solid ink on purpose: background-clip gradient text is unreliable on
     iOS when the words animate individually — solid always renders. */
  color: var(--ink);
  text-wrap: balance;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
/* iOS/WebKit drops background-clip:text when descendants carry their own
   transforms — each animated word must clip the gradient itself. */
.hero-title .w > i { display: inline-block; font-style: normal; color: var(--ink); }
.hero-sub {
  color: rgba(23, 32, 28, 0.82); font-size: clamp(17px, 2vw, 21px);
  max-width: 44em; margin: 0 auto 40px; text-wrap: balance;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 42px; }
.badge-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted);
}
.badge-chip i { font-style: normal; color: var(--teal); font-weight: 700; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(var(--bronze), transparent); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--bronze-hi); animation: scrollDrop 2.2s var(--ease-out) infinite;
}
@keyframes scrollDrop { 0% { top: -50%; } 60%, 100% { top: 110%; } }
.scroll-text { font-size: 10.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden;
  background: rgba(23, 32, 28, 0.015); position: relative; z-index: 2;
}
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-seq {
  font-family: var(--font-display); font-size: 19px; font-weight: 500;
  color: rgba(23, 32, 28, 0.45); letter-spacing: 0.06em; padding-right: 12px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(40px, 6vw, 90px);
  align-items: center; margin-bottom: clamp(60px, 8vw, 100px);
}
.emblem-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid rgba(37, 125, 102, 0.28);
  box-shadow: 0 26px 60px rgba(23, 32, 28, 0.18), 0 0 60px rgba(37, 125, 102, 0.14);
  background: var(--bg-2);
}
.emblem-video { width: 100%; aspect-ratio: 1; object-fit: cover; }
.emblem-glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.12) 46%, transparent 60%);
  transform: translateX(-120%); animation: glare 6.5s ease-in-out infinite;
}
@keyframes glare { 0%, 55% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}
.card:hover { border-color: rgba(37, 125, 102, 0.4); box-shadow: 0 22px 50px rgba(23, 32, 28, 0.09); }
.card:hover::before { transform: scaleX(1); }
.card-num {
  font-family: var(--font-display); font-size: 15px; color: var(--bronze);
  letter-spacing: 0.2em; margin-bottom: 40px;
}
.card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Work ---------- */
.work { overflow: hidden; }
.work-head { margin-bottom: 46px; }
.work-gallery {
  display: flex; gap: 22px; overflow-x: auto;
  padding: 6px max(4vw, calc((100vw - 1180px) / 2)) 26px;
  scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.work-gallery::-webkit-scrollbar { display: none; }
.work-gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.work-toolbar {
  width: min(1180px, 92vw); margin: 0 auto 16px;
  display: flex; justify-content: flex-end; gap: 10px;
}
.work-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 18px; line-height: 1;
  cursor: pointer; transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}
.work-arrow:hover { border-color: rgba(37, 125, 102, 0.5); background: #F0F7F3; transform: translateY(-1px); }
.work-arrow:disabled { opacity: 0.35; pointer-events: none; }
/* the showcase is short — tighten the gap to the next section */
.work { padding-bottom: clamp(36px, 5vw, 70px); }
.why { padding-top: clamp(50px, 6vw, 90px); }
.work-card {
  /* one full-width slide per project: the whole site width is visible,
     the 2:1 capture keeps the height low */
  display: block; flex: 0 0 auto; width: 92vw; max-width: 1180px; scroll-snap-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.work-card:hover { border-color: rgba(37, 125, 102, 0.45); box-shadow: 0 26px 56px rgba(23, 32, 28, 0.1); }
.browser-chrome {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.browser-chrome span { width: 10px; height: 10px; border-radius: 50%; background: rgba(23, 32, 28, 0.14); }
.browser-chrome span:nth-child(1) { background: rgba(176, 58, 46, 0.7); }
.browser-chrome span:nth-child(2) { background: rgba(37, 125, 102, 0.7); }
.browser-chrome span:nth-child(3) { background: rgba(46, 140, 116, 0.7); }
.browser-url {
  margin-left: 10px; font-size: 12px; color: var(--muted);
  background: rgba(23, 32, 28, 0.05); border-radius: 7px; padding: 4px 14px; letter-spacing: 0.04em;
}
.work-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; user-select: none; -webkit-user-drag: none; }
.work-card figcaption {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border-top: 1px solid var(--line);
}
.work-card strong { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; }
.work-tag {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze);
  white-space: nowrap;
}

/* ---------- Why ---------- */
.why { background: linear-gradient(180deg, transparent, rgba(46, 140, 116, 0.06) 18%, rgba(46, 140, 116, 0.06) 82%, transparent); }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin: clamp(40px, 6vw, 70px) 0 clamp(50px, 7vw, 80px);
}
.stat { border-left: 1px solid rgba(37, 125, 102, 0.4); padding-left: 22px; }
.stat-num {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5vw, 62px);
  line-height: 1; background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.stat p { color: var(--muted); font-size: 14.5px; max-width: 24ch; }

.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.reason { background: var(--bg); padding: 36px 32px; transition: background-color 0.45s; position: relative; }
.reason::after {
  content: ""; position: absolute; inset: auto 0 0; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transition: transform 0.5s var(--ease-out);
}
.reason:hover { background: #F0F7F3; }
.reason:hover::after { transform: scaleX(1); }
.reason-icon { display: block; width: 52px; height: 52px; margin-bottom: 16px; }
.reason h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.reason p { color: var(--muted); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px;
  margin-top: clamp(40px, 5vw, 60px); align-items: stretch;
}
.price-card {
  border-radius: calc(var(--radius) + 4px); padding: 46px 42px;
  position: relative; display: flex; flex-direction: column;
}
.price-card.featured {
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid transparent; background-clip: padding-box;
}
.price-card.featured::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: conic-gradient(from var(--spin, 0deg), rgba(37, 125, 102, 0.85), rgba(111, 203, 168, 0.45), rgba(122, 82, 150, 0.4), rgba(37, 125, 102, 0.85));
  animation: spin 7s linear infinite;
}
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --spin: 360deg; } }
.price-card.featured::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
}
.price-flag {
  position: absolute; top: -14px; left: 42px; background: var(--grad-gold); color: #FFFFFF;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
}
.price-was-row { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.price-was {
  font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); color: var(--muted);
  text-decoration: line-through; text-decoration-color: rgba(176, 58, 46, 0.85);
  text-decoration-thickness: 2px;
}
.price-off {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #A33327; background: rgba(176, 58, 46, 0.08); border: 1px solid rgba(176, 58, 46, 0.35);
  padding: 5px 12px; border-radius: 999px;
}
.price-amount {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(58px, 7vw, 92px);
  line-height: 1; background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-unit { color: var(--muted); font-size: 14.5px; letter-spacing: 0.14em; text-transform: uppercase; margin: 10px 0 30px; }
.price-list { margin-bottom: 34px; flex: 1; }
.price-list li {
  padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line);
  color: rgba(23, 32, 28, 0.85); font-size: 15.5px; position: relative;
}
.price-list li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--teal); font-weight: 700;
}
.price-note { margin-top: 14px; color: var(--muted); font-size: 12.5px; }
.price-card.complex { background: var(--bg-2); border: 1px solid var(--line); }
.complex-title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.2; margin-bottom: 14px; }
.complex-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.complex-price {
  font-family: var(--font-display); font-size: 24px; color: var(--bronze-hi);
  margin-bottom: 24px; letter-spacing: 0.02em;
}

.care-plan {
  margin-top: 26px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 34px;
}
.care-copy h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.care-copy p { color: var(--muted); font-size: 15px; max-width: 56ch; }
.care-price { text-align: right; }
.care-amount {
  font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.care-unit { color: var(--muted); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 70px);
  margin-top: clamp(40px, 5vw, 60px); align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 20px 10px; color: var(--ink);
  font-family: inherit; font-size: 16px; outline: none; resize: vertical;
  transition: border-color 0.35s, box-shadow 0.35s, background-color 0.35s;
}
.field label {
  position: absolute; left: 20px; top: 16px; color: var(--muted); font-size: 15.5px;
  pointer-events: none; transition: all 0.25s var(--ease-out);
}
.field input:focus, .field textarea:focus {
  border-color: rgba(37, 125, 102, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 125, 102, 0.12); background: var(--surface-2);
}
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  top: 7px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bronze);
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.btn-submit { align-self: flex-start; min-width: 220px; }
.btn-submit.loading { pointer-events: none; opacity: 0.75; }
.btn-submit.loading .submit-label::after { content: "…"; }
.form-status { font-size: 15px; min-height: 24px; }
.form-status.ok { color: #1B7A43; }
.form-status.err { color: #B03A2E; }
.form-status a { text-decoration: underline; }

.info-card {
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px;
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.info-logo { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 20px; border: 1px solid rgba(37, 125, 102, 0.3); object-fit: cover; }
.info-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.info-role { color: var(--bronze); font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; margin: 6px 0 24px; }
.info-line {
  display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-top: 1px solid var(--line); color: rgba(23, 32, 28, 0.85); font-size: 15.5px;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.info-line:hover { color: var(--bronze-hi); transform: translateX(4px); }
.info-ico { color: var(--bronze); }
.info-note { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ---------- Legal pages ---------- */
.legal { width: min(760px, 92vw); margin: 0 auto; padding: calc(var(--nav-h) + 60px) 0 90px; position: relative; z-index: 2; }
.legal h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.legal-date { color: var(--muted); font-size: 14px; margin-bottom: 42px; }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin: 36px 0 10px; }
.legal p, .legal li { color: rgba(23, 32, 28, 0.78); font-size: 15.5px; line-height: 1.75; }
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.legal a { color: var(--bronze-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { padding: 10px 18px; font-size: 13.5px; }
[data-lang-block][hidden] { display: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; position: relative; z-index: 2; background: var(--bg); }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start;
  padding-bottom: 40px;
}
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { border-radius: 0; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { color: var(--muted); font-size: 14.5px; transition: color 0.3s; display: block; }
.footer-links a:hover, .footer-contact a:hover { color: var(--bronze-hi); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-base {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-base p { color: var(--muted); font-size: 13px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  color: var(--muted); font-size: 13px; text-decoration: underline;
  text-underline-offset: 3px; transition: color 0.3s;
}
.footer-legal a:hover { color: var(--bronze-hi); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  background: #1DA851; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 34px rgba(29, 168, 81, 0.4);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.wa-fab:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 18px 44px rgba(29, 168, 81, 0.55); }
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.6);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.65); opacity: 0; } }

/* ---------- Reveal defaults (JS enhances) ---------- */
[data-reveal], [data-reveal-hero] { will-change: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-links, .btn-nav { display: none; }
  .burger { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .emblem-card { max-width: 420px; margin-inline: auto; }
  .cards-3 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .reasons-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { width: 100%; }
  .price-card { padding: 38px 26px; }
  .price-flag { left: 26px; }
  .wa-fab { right: 18px; bottom: 18px; width: 54px; height: 54px; }
  .lang-switch { margin-right: 2px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .preloader { display: none; }
  .hero-video { opacity: 0.85; transform: none; }
  .marquee-track { animation: none; }
}
