/* 360 Agency, SMB Landing */

:root {
  --bg: #141414;
  --bg-2: #1a1a1a;
  --bg-3: #101010;
  --fg: #F5F0E8;
  --fg-dim: rgba(245, 240, 232, 0.62);
  --fg-faint: rgba(245, 240, 232, 0.38);
  --line: #2D2926;
  --green: #00E09E;
  --green-soft: rgba(0, 224, 158, 0.12);
  --terra: #C75B39;
  --nav-bg: rgba(20,20,20,0.78);
  --footer-bg: #0e0e0e;
  --diag-stroke: #2D2926;
  --divider-from: #2D2926;
  --logo-invert: 0;

  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "DM Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

:root[data-theme="light"] {
  --bg: #F5F0E8;
  --bg-2: #EBE5D9;
  --bg-3: #F0EADE;
  --fg: #141414;
  --fg-dim: rgba(20, 20, 20, 0.62);
  --fg-faint: rgba(20, 20, 20, 0.38);
  --line: #D9D2C3;
  --green: #00B380;
  --green-soft: rgba(0, 179, 128, 0.12);
  --terra: #B04D2E;
  --nav-bg: rgba(245, 240, 232, 0.82);
  --footer-bg: #EFE9DC;
  --diag-stroke: #D9D2C3;
  --divider-from: #D9D2C3;
  --logo-invert: 1;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--green); color: var(--bg); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 56px; }
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

section { position: relative; border-top: 1px solid var(--line); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 56px; max-width: 1280px; margin: 0 auto;
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-logo .logo-light, :root[data-theme="light"] .nav-logo .logo-dark { display: block; }
.nav-logo .logo-dark, :root:not([data-theme="light"]) .nav-logo .logo-light { display: block; }
:root[data-theme="light"] .nav-logo .logo-light { display: none; }
:root:not([data-theme="light"]) .nav-logo .logo-dark { display: none; }
.nav-links { display: flex; gap: 32px; font-size: 14px; }
.nav-links a { color: var(--fg-dim); transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--green); color: var(--bg);
  font-family: var(--f-sans); font-weight: 500; font-size: 14px;
  padding: 12px 20px; transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* lang */
.lang { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-dim); padding: 10px 14px;
  border: 1px solid var(--line); transition: all .2s; cursor: pointer;
}
.lang-trigger:hover, .lang-trigger.open { color: var(--fg); border-color: var(--fg-dim); }
.lang-globe { display: inline-flex; opacity: 0.7; }
.lang-caret { font-size: 9px; opacity: 0.6; transform: translateY(1px); transition: transform .2s; }
.lang-trigger.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px; background: var(--bg-2);
  border: 1px solid var(--line); list-style: none; z-index: 60;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.lang-menu li { border-bottom: 1px solid var(--line); }
.lang-menu li:last-child { border-bottom: none; }
.lang-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; font-size: 13px; color: var(--fg-dim);
  text-align: left; transition: all .15s; cursor: pointer;
}
.lang-item:hover { background: rgba(245,240,232,0.04); color: var(--fg); }
.lang-item.active { color: var(--fg); }
.lang-item-code { font-family: var(--f-mono); font-size: 11px; color: var(--green); min-width: 24px; letter-spacing: 0.08em; }
.lang-item-label { flex: 1; }
.lang-item-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }

@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 560px) { .nav-cta { display: none; } .nav-inner { padding: 14px 24px; } }

/* TYPE */
.label {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terra);
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 6px; height: 6px; background: var(--terra); }
.h-display {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(48px, 7vw, 104px); line-height: 0.98;
  letter-spacing: -0.02em;
}
.h-section {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02;
  letter-spacing: -0.015em;
}
.green { color: var(--green); }
.terra { color: var(--terra); }
.dim { color: var(--fg-dim); }
.italic { font-style: normal; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.1,1), transform .8s cubic-bezier(.2,.7,.1,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-sans); font-weight: 500; font-size: 15px;
  padding: 18px 28px; transition: all .25s cubic-bezier(.2,.7,.1,1);
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--green); color: var(--bg); }
.btn-primary:hover { background: var(--fg); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--fg); }
.btn-outline:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn .arrow { display: inline-block; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* HERO */
.hero {
  position: relative; padding-top: 180px; padding-bottom: 120px;
  min-height: 95vh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-bg svg {
  position: absolute; width: 180%; height: 180%;
  top: -40%; left: -40%; opacity: 0.55;
  animation: drift 22s linear infinite;
}
.hero > .wrap { position: relative; z-index: 1; max-width: 1100px; }
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.hero-divider { flex: 1; height: 1px; background: linear-gradient(to right, var(--divider-from), transparent); min-width: 80px; }
.hero h1 { margin-bottom: 36px; }
.hero h1 .line2 { color: var(--terra); font-style: normal; }
.hero h1 .line3 { color: var(--fg); }
.hero-sub {
  font-size: clamp(18px, 2vw, 22px); line-height: 1.5;
  color: var(--fg-dim); max-width: 640px; margin-bottom: 44px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-proof {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: 14px; color: var(--fg-dim);
}
.hero-proof .pulse { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }

@keyframes drift { 0% { transform: translate(0,0); } 100% { transform: translate(60px, 60px); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,224,158,0.6); opacity: 1; }
  50%      { box-shadow: 0 0 0 8px rgba(0,224,158,0); opacity: .6; }
}

/* PROBLEM */
.problem { padding: 140px 0; }
.problem-head { margin-bottom: 72px; }
.problem-head h2 {
  font-family: var(--f-serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02; letter-spacing: -0.015em;
  margin-top: 28px;
}
.pain-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) { .pain-grid { grid-template-columns: 1fr; } }
.pain {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terra);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.pain-quote {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.pain-body {
  font-size: 15px; line-height: 1.6;
  color: var(--fg-dim);
}
.pain-tag {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terra); margin-bottom: -4px;
}

/* WHAT WE DO */
.wwd { padding: 140px 0; background: var(--bg-3); }
.wwd-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; margin-bottom: 72px; }
@media (max-width: 880px) { .wwd-head { grid-template-columns: 1fr; gap: 32px; } }
.wwd-head h2 { font-family: var(--f-serif); font-size: clamp(44px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.018em; margin-top: 28px; }
.wwd-head h2 .l4 { color: var(--green); font-style: normal; }
.wwd-head p { font-size: 17px; line-height: 1.55; color: var(--fg-dim); max-width: 480px; }
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .services { grid-template-columns: 1fr; } }
.service {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 280px;
  transition: all .3s;
}
.service:nth-child(3n) { border-right: none; }
.service:nth-child(n+4) { border-bottom: none; }
@media (max-width: 880px) {
  .service { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .service:last-child { border-bottom: none !important; }
}
.service:hover { background: rgba(0,224,158,0.03); border-color: var(--green); z-index: 1; }
.service-icon { color: var(--fg); transition: color .3s ease, transform .3s ease; display: inline-flex; }
.service-name {
  font-family: var(--f-serif); font-size: 26px;
  line-height: 1.05; letter-spacing: -0.01em;
}
.service-desc { font-size: 14px; line-height: 1.5; color: var(--fg-dim); }
.service:hover .service-icon { color: var(--green); transform: translateY(-2px); }

/* Icon animations */
.icon { overflow: visible; }
.icon path, .icon circle, .icon line, .icon polyline, .icon rect, .icon ellipse, .icon polygon {
  vector-effect: non-scaling-stroke;
  transition: stroke .3s ease;
}
.service:hover .icon path,
.service:hover .icon circle,
.service:hover .icon line,
.service:hover .icon polyline,
.service:hover .icon rect,
.ind:hover .icon path,
.ind:hover .icon circle,
.ind:hover .icon line,
.ind:hover .icon polyline,
.ind:hover .icon rect {
  animation: drawStroke 0.9s ease-out;
}
@keyframes drawStroke {
  0%   { stroke-dasharray: 60; stroke-dashoffset: 60; }
  100% { stroke-dasharray: 60; stroke-dashoffset: 0; }
}
.ico-pulse { transform-origin: center; animation: icoPulse 2.4s ease-in-out infinite; }
@keyframes icoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.15); }
}
.ico-blink { animation: icoBlink 2s ease-in-out infinite; }
@keyframes icoBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
.service:hover .ico-spin { transform-origin: center; animation: icoSpin 8s linear infinite; transform-box: fill-box; }
@keyframes icoSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ico-dot { animation: icoDot 1.5s ease-in-out infinite; transform-origin: center; }
.ico-dot-2 { animation-delay: 0.2s; }
.ico-dot-3 { animation-delay: 0.4s; }
@keyframes icoDot { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.ico-ring { transform-origin: center; transform-box: fill-box; }
.service:hover .ico-ring-1 { animation: icoRing 1.6s ease-out infinite; }
.service:hover .ico-ring-2 { animation: icoRing 1.6s ease-out infinite 0.3s; }
@keyframes icoRing { 0% { opacity: 1; transform: scale(0.5); } 100% { opacity: 0; transform: scale(1.1); } }
.ind-icon { display: inline-flex; color: var(--fg-dim); transition: color .25s ease, transform .25s ease; flex-shrink: 0; }
.ind:hover .ind-icon { color: var(--green); transform: scale(1.08); }

/* HOW IT WORKS */
.hiw { padding: 140px 0; }
.hiw-head { text-align: center; margin-bottom: 80px; }
.hiw-head h2 { font-family: var(--f-serif); font-size: clamp(48px, 6.8vw, 96px); line-height: 1.02; letter-spacing: -0.018em; margin-top: 28px; }
.hiw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  position: relative;
}
@media (max-width: 880px) { .hiw-grid { grid-template-columns: 1fr; gap: 24px; } }
.step {
  border-top: 1px solid var(--green);
  padding: 32px 4px 0;
}
.step-num {
  font-family: var(--f-mono); font-size: 13px;
  letter-spacing: 0.1em; color: var(--green);
  margin-bottom: 24px;
}
.step-title {
  font-family: var(--f-serif); font-size: 30px;
  line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.step-body { font-size: 15px; line-height: 1.6; color: var(--fg-dim); }

/* NUMBERS */
.numbers { padding: 140px 0; background: var(--bg-3); }
.numbers-head { text-align: center; margin-bottom: 80px; }
.numbers-head h2 { font-family: var(--f-serif); font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.015em; margin-top: 28px; }
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
@media (max-width: 880px) { .num-grid { grid-template-columns: 1fr; } }
.num-cell {
  padding: 60px 40px; border-right: 1px solid var(--line);
  background: var(--bg);
}
.num-cell:last-child { border-right: none; }
@media (max-width: 880px) {
  .num-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .num-cell:last-child { border-bottom: none; }
}
.num-big {
  font-family: var(--f-mono); font-weight: 500;
  font-size: clamp(56px, 7vw, 96px); line-height: 1;
  letter-spacing: -0.03em; color: var(--green);
}
.num-body {
  font-family: var(--f-serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  color: var(--fg);
  margin-top: 24px;
}

/* WHO WE HELP */
.wwh { padding: 140px 0; }
.wwh-head { margin-bottom: 64px; max-width: 760px; }
.wwh-head h2 { font-family: var(--f-serif); font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.015em; margin-top: 28px; }
.wwh-head p { font-size: 17px; color: var(--fg-dim); margin-top: 20px; }

/* Cohorts */
.cohorts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-bottom: 100px;
}
@media (max-width: 880px) { .cohorts { grid-template-columns: 1fr; gap: 40px; } }
.cohort { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.cohort-img {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.cohort-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  filter: contrast(1.02) saturate(0.95);
}
.cohort:hover .cohort-img img { transform: scale(1.03); }
.cohort-tag {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--fg); background: rgba(0,0,0,0.55);
  padding: 6px 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
:root[data-theme="light"] .cohort-tag { background: rgba(20,20,20,0.7); color: var(--bg); }
.cohort-meta { display: flex; flex-direction: column; gap: 10px; }
.cohort-name {
  font-family: var(--f-serif); font-size: 26px; line-height: 1.05;
  letter-spacing: -0.01em;
}
.cohort-biz {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-faint);
}
.cohort-quote {
  margin: 6px 0 0; padding: 0; font-family: var(--f-serif);
  font-style: normal; font-size: 19px; line-height: 1.35;
  color: var(--fg-dim); border-left: 2px solid var(--green); padding-left: 14px;
}

.wwh-bridge { margin-bottom: 40px; max-width: 680px; }
.wwh-bridge .label { color: var(--green); }
.wwh-bridge-h {
  font-family: var(--f-serif); font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05; letter-spacing: -0.01em; margin-top: 18px;
}
.wwh-bridge p { font-size: 15px; color: var(--fg-dim); margin-top: 14px; }
.ind-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .ind-grid { grid-template-columns: 1fr; } }
.ind {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 16px; color: var(--fg);
  transition: all .25s;
}
.ind:nth-child(2n) { border-right: none; }
.ind:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 720px) {
  .ind { border-right: none; }
  .ind:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
.ind:hover { background: rgba(0,224,158,0.04); color: var(--green); }
.ind-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }

/* TRUST */
.trust { padding: 140px 0; background: var(--bg-3); border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
@media (max-width: 880px) { .trust-grid { grid-template-columns: 1fr; gap: 40px; } }
.trust h2 { font-family: var(--f-serif); font-size: clamp(48px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.02em; margin-top: 24px; }
.trust-body p { font-size: 17px; line-height: 1.6; color: var(--fg-dim); margin-bottom: 20px; }
.trust-pp {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
}
.trust-pp span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.04em; color: var(--fg);
}
.trust-pp span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}
.trust-left { display: flex; flex-direction: column; gap: 40px; }
.trust-photo {
  margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: var(--bg);
}
.trust-photo img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover; object-position: center 15%;
}

/* FINAL CTA */
.final { padding: 160px 0; text-align: center; }
.final h2 { font-family: var(--f-serif); font-size: clamp(48px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 48px; }
.final h2 .em { color: var(--green); font-style: normal; }
.final .form {
  max-width: 640px; margin: 0 auto;
  border: 1px solid var(--line);
  padding: 40px; text-align: left;
  background: var(--bg-2);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: 8px;
}
.field input {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--line); padding: 12px 0;
  color: var(--fg); font-family: var(--f-sans); font-size: 16px;
  outline: none; transition: border-color .2s;
}
.field input:focus { border-bottom-color: var(--green); }
.field input::placeholder { color: var(--fg-faint); }

.phone-input {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--line);
  transition: border-color .2s;
}
.phone-input:focus-within { border-bottom-color: var(--green); }
.phone-cc {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-color: transparent; border: 0; outline: none;
  padding: 12px 22px 12px 0; margin: 0;
  color: var(--fg); font-family: var(--f-mono); font-size: 15px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%2399a' stroke-width='1.5' d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.phone-cc:hover { color: var(--green); }
.phone-cc:focus-visible { outline: 1px dashed var(--green); outline-offset: 2px; }
.phone-cc option { background: var(--bg-2); color: var(--fg); font-family: var(--f-sans); }
.phone-num {
  flex: 1; min-width: 0;
  background: transparent; border: 0; padding: 12px 0 12px 12px;
  color: var(--fg); font-family: var(--f-sans); font-size: 16px;
  outline: none; border-left: 1px solid var(--line);
}
.phone-num::placeholder { color: var(--fg-faint); }

.final .btn-primary { width: 100%; justify-content: center; margin-top: 12px; padding: 22px 28px; font-size: 16px; }
.final-fine {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--fg-faint); text-transform: uppercase;
  margin-top: 24px; text-align: center;
}
.final-fine2 { margin-top: 8px; font-size: 14px; color: var(--fg-dim); text-transform: none; letter-spacing: 0; font-family: var(--f-sans); }
.form-success { text-align: center; padding: 24px; }
.form-success h3 { font-family: var(--f-serif); font-size: 36px; color: var(--green); margin-bottom: 16px; }
.form-success p { color: var(--fg-dim); font-size: 16px; line-height: 1.55; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modalFade .25s ease-out;
}
.modal-content {
  position: relative;
  width: 100%; max-width: 480px;
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 48px 36px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  animation: modalPop .35s cubic-bezier(.2,.7,.1,1);
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: transparent; border: 0;
  color: var(--fg-dim); font-size: 24px; line-height: 1;
  cursor: pointer; border-radius: 50%;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--bg-3); color: var(--fg); }
.modal-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  font-size: 32px; font-weight: 700; line-height: 1;
}
.modal-title {
  font-family: var(--f-serif);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1; letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 16px;
}
.modal-body {
  color: var(--fg-dim);
  font-size: 16px; line-height: 1.55;
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal-content { animation: none; }
}

/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--footer-bg); }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap; margin-bottom: 56px;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand .logo-light, :root[data-theme="light"] .footer-brand .logo-dark { display: block; }
:root[data-theme="light"] .footer-brand .logo-light { display: none; }
:root:not([data-theme="light"]) .footer-brand .logo-dark { display: none; }
.footer-promise {
  font-family: var(--f-serif); font-size: 22px;
  line-height: 1.2; max-width: 460px;
}
.footer-promise .p2 { color: var(--fg-dim); }
.footer-contact {
  display: flex; flex-direction: column; gap: 12px; min-width: 240px;
}
.footer-contact a { font-size: 16px; color: var(--fg); border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.footer-contact a:hover { color: var(--green); border-bottom-color: var(--green); }
.footer-contact .loc { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--fg-faint); }
.footer-contact .wa {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--fg-dim);
}
.footer-contact .wa::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); animation: pulse 2s ease-in-out infinite;
}
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-faint);
}
.footer-bottom .links { display: flex; gap: 20px; }
