/* =============================================
   CM ANALITYCS — styles.css  v3.0
   Full-width · Imágenes fusionadas · Sin relleno excesivo
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --black:        #080808;
  --black2:       #0d0d0d;
  --black3:       #131313;
  --black4:       #1a1a1a;
  --gold:         #f0a500;
  --gold2:        #ffb82e;
  --gold-dim:     rgba(240,165,0,0.08);
  --gold-dim2:    rgba(240,165,0,0.14);
  --gold-border:  rgba(240,165,0,0.20);
  --gold-border2: rgba(240,165,0,0.38);
  --white:        #ffffff;
  --white2:       #aaaaaa;
  --white3:       rgba(255,255,255,0.28);
  --border:       rgba(255,255,255,0.055);
  --border2:      rgba(255,255,255,0.09);
  --r:            8px;
  --r-lg:         14px;
  --r-pill:       100px;
  --pad:          6vw;
  --max:          1440px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

section { position: relative; overflow: hidden; }

/* ─────────────────── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 var(--pad);
  background: rgba(8,8,8,0.82);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  transition: background .35s, border-color .35s;
}

nav.scrolled {
  background: rgba(8,8,8,0.97);
  border-bottom-color: rgba(240,165,0,0.10);
}

.nav-logo img { height: 42px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }

.nav-links a {
  color: var(--white2); text-decoration: none;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  transition: color .2s; position: relative;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }

.nav-wa {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--gold); color: var(--black);
  padding: .55rem 1.3rem; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}

.nav-wa:hover {
  background: var(--gold2); transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(240,165,0,.28);
}

/* ─────────────────── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--black);
  padding: .85rem 2rem; border-radius: var(--r-pill);
  font-weight: 800; font-size: .88rem; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-primary:hover {
  background: var(--gold2); transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(240,165,0,.28);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--white);
  padding: .85rem 2rem; border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,.18);
  font-weight: 600; font-size: .88rem;
  text-decoration: none; white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s, transform .15s;
}

.btn-secondary:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-dim); transform: translateY(-2px);
}

/* ─────────────────── SHARED TYPOGRAPHY ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .67rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: ''; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}

.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

h2 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 900; line-height: 1.07;
  letter-spacing: -0.025em; color: var(--white);
}

h2 span { color: var(--gold); }

.sub {
  font-size: .97rem; color: var(--white2);
  line-height: 1.8; max-width: 520px;
}

/* ─────────────────── HERO ─── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-top: 68px;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--pad) 6rem;
  padding-right: 5vw;
  position: relative; z-index: 2;
}

.hero-eyebrow { opacity: 0; animation: fadeUp .5s ease .05s forwards; }

.hero-h1 {
  font-size: clamp(3rem, 4.6vw, 5.2rem);
  font-weight: 900; line-height: 1.04;
  letter-spacing: -0.032em; color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp .65s ease .18s forwards;
}

.hero-h1 span { color: var(--gold); }

.hero-sub {
  font-size: 1rem; color: var(--white2);
  line-height: 1.8; max-width: 490px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .6s ease .3s forwards;
}

.hero-btns {
  display: flex; gap: .9rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .6s ease .42s forwards;
}

.hero-pills {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border2);
  opacity: 0; animation: fadeUp .6s ease .56s forwards;
}

.pill { display: flex; align-items: center; gap: .8rem; }

.pill-ico {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold-dim2); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.pill-text strong { display: block; font-size: .83rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.pill-text span   { font-size: .74rem; color: var(--white2); }

/* hero right — full-bleed image bleeding into black */
.hero-right {
  position: relative; overflow: hidden;
  opacity: 0; animation: fadeIn .9s ease .28s forwards;
}

.hero-right img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* push image left so dashboard UI is centered in the frame */
  object-position: 30% center;
  /* reduce opacity so image blends transparently with background */
  opacity: 0.55;
  mix-blend-mode: luminosity;
}

/* gradient: strong left-to-transparent blend + subtle top/bottom vignette */
.hero-right::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, var(--black) 0%, rgba(8,8,8,.6) 18%, rgba(8,8,8,.15) 45%, transparent 68%),
    linear-gradient(to top,   rgba(8,8,8,.7) 0%, transparent 35%),
    linear-gradient(to bottom, rgba(8,8,8,.4) 0%, transparent 20%);
}

/* gold tint overlay — ties image into brand palette */
.hero-right::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse 80% 70% at 60% 50%, rgba(240,165,0,0.06) 0%, transparent 70%);
}

/* ─────────────────── SERVICES ─── */
#services {
  background: var(--black2);
  border-top: 1px solid var(--border);
  padding-bottom: 0;
}

.services-head {
  text-align: center; padding: 6rem var(--pad) 4rem;
}

.services-head .sub { margin: 1rem auto 0; text-align: center; }

/* borderless grid — each card bordered individually */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border);
}

.srv-card {
  padding: 2.75rem 2.25rem 3rem;
  display: flex; flex-direction: column; gap: 1rem;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background .3s;
  cursor: default;
}

.srv-card:last-child { border-right: none; }

.srv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s ease;
}

.srv-card:hover { background: rgba(240,165,0,0.04); }
.srv-card:hover::before { transform: scaleX(1); }

.srv-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.srv-icon svg { width: 30px; height: 30px; }

.srv-title { font-size: 1.05rem; font-weight: 800; color: var(--white); letter-spacing: -.01em; }
.srv-desc  { font-size: .84rem; color: var(--white2); line-height: 1.72; flex: 1; }

.srv-link {
  font-size: .8rem; font-weight: 700; color: var(--gold);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: gap .2s;
}

.srv-link:hover { gap: .65rem; }

/* ─────────────────── WHY ─── */
#why {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 680px;
  border-top: 1px solid var(--border);
}

.why-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--pad); padding-right: 5vw;
  background: var(--black3);
}

.why-h2 { margin: 1.25rem 0 2.5rem; }

.checks { display: flex; flex-direction: column; gap: .9rem; }

.check-item {
  display: flex; align-items: center; gap: .9rem;
  font-size: .9rem; font-weight: 500; color: var(--white2);
  transition: color .2s;
}

.check-item:hover { color: var(--white); }

.check-ico {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1px solid var(--gold-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .68rem; font-weight: 800;
  background: var(--gold-dim2);
}

.why-right { position: relative; overflow: hidden; }

.why-right img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.why-right::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, var(--black3) 0%, transparent 22%),
    linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,.38));
}

.quote-card {
  position: absolute; bottom: 2.5rem; left: 2.5rem; z-index: 2;
  background: rgba(10,10,10,0.86);
  border: 1px solid var(--gold-border2);
  border-radius: var(--r-lg); padding: 1.5rem 1.75rem; max-width: 295px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}

.quote-mark {
  font-size: 2.6rem; line-height: .9;
  color: var(--gold); font-family: Georgia, serif; margin-bottom: .4rem;
}

.quote-text { font-size: .84rem; color: var(--white2); line-height: 1.65; font-style: italic; }

/* ─────────────────── TECH TAGS ─── */
#tech {
  padding: 7rem 0;
  background: var(--black2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
  padding: 0 var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.tech-left { position: sticky; top: 6rem; }
.tech-left h2 { margin: 1.25rem 0 1rem; }
.tech-left .sub { max-width: 340px; }

/* tag list */
.tech-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tech-tag {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background .2s, padding-left .2s;
  border-radius: 6px;
  cursor: default;
  position: relative;
}

.tech-tag:first-child { border-top: 1px solid var(--border); }

.tech-tag:hover {
  background: rgba(240,165,0,0.04);
  padding-left: 1.4rem;
}

/* gold left accent on hover */
.tech-tag::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 2px; border-radius: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform .25s ease;
}

.tech-tag:hover::before { transform: scaleY(1); }

/* AI card gets subtle gold glow */
.tech-tag--ai {
  background: rgba(240,165,0,0.03);
  border-color: var(--gold-border) !important;
}

.tt-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--black3);
  border: 1px solid var(--border2);
  border-radius: 10px;
  flex-shrink: 0;
  transition: border-color .2s;
}

.tech-tag:hover .tt-icon { border-color: var(--gold-border); }

.tt-icon img,
.tt-icon svg { width: 28px; height: 28px; object-fit: contain; }

.tt-name {
  font-size: .95rem; font-weight: 800;
  color: var(--white); letter-spacing: -.01em;
  margin-bottom: .2rem;
}

.tt-desc {
  font-size: .78rem; color: var(--white2); line-height: 1.5;
}

.tt-badge {
  font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim2);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: .28rem .75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.tt-badge--ai {
  background: rgba(240,165,0,0.2);
  border-color: var(--gold-border2);
  color: var(--gold2);
}

/* ─────────────────── CTA ─── */
#cta {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 540px;
  border-top: 1px solid var(--border);
}

.cta-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--pad); padding-right: 5vw;
  background: var(--black2); position: relative; z-index: 1;
}

.cta-h2 { margin: .25rem 0 1rem; }

.cta-sub {
  font-size: .95rem; color: var(--white2);
  line-height: 1.8; max-width: 460px; margin-bottom: 2.5rem;
}

.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.cta-right {
  position: relative; overflow: hidden;
  background: var(--black3);
  display: flex; align-items: center; justify-content: center;
}

.cta-right::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(240,165,0,0.08) 0%, transparent 70%);
}

.cta-right img {
  position: relative; z-index: 1;
  width: clamp(160px, 38%, 250px); height: auto;
  filter: drop-shadow(0 0 55px rgba(240,165,0,.22));
}

/* ─────────────────── FOOTER ─── */
footer {
  background: var(--black2);
  border-top: 1px solid var(--border);
  padding: 4.5rem var(--pad) 2.5rem;
}

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem; max-width: var(--max); margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}

.footer-brand img { height: 48px; margin-bottom: 1.25rem; display: block; }
.footer-brand p { font-size: .82rem; color: var(--white3); line-height: 1.8; max-width: 240px; }

.footer-col h4 {
  font-size: .67rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }

.footer-col a {
  font-size: .83rem; color: var(--white2); text-decoration: none;
  display: flex; align-items: center; gap: .5rem; transition: color .2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; max-width: var(--max); margin: 0 auto;
}

.footer-bottom p { font-size: .74rem; color: var(--white3); }

.social-row { display: flex; gap: .6rem; }

.soc {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--black3); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: .75rem; color: var(--white2);
  transition: border-color .2s, color .2s, background .2s;
}

.soc:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ─────────────────── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────── KEYFRAMES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ─────────────────── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .srv-card:nth-child(2) { border-right: none; }
  .srv-card:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .srv-card:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
}

@media (max-width: 900px) {
  :root { --pad: 6%; }

  #hero, #why, #cta { grid-template-columns: 1fr; }

  .hero-left { padding: 5rem var(--pad) 4rem; }
  .hero-right {
    min-height: 60vw;
    order: -1;
  }
  .hero-right::before {
    background:
      linear-gradient(to bottom, var(--black) 0%, transparent 20%),
      linear-gradient(to top, var(--black) 0%, transparent 25%);
  }

  .why-left { padding: 5rem var(--pad); }
  .why-right { min-height: 55vw; }
  .why-right::before {
    background:
      linear-gradient(to bottom, var(--black3) 0%, transparent 20%),
      linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4));
  }

  .cta-left { padding: 5rem var(--pad); }
  .cta-right { min-height: 280px; }

  .nav-links { display: none; }
  .tech-inner { grid-template-columns: 1fr; gap: 3rem; }
  .tech-left { position: static; }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .srv-card { border-right: none; border-top: 1px solid var(--border); }
  .srv-card:first-child { border-top: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─────────────────── CONTACT FORM ─── */
.cta-right {
  padding: 4rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black3);
  border-left: 1px solid var(--border);
}

.contact-form-wrap {
  width: 100%;
  max-width: 520px;
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: .3rem;
}

.form-subtitle {
  font-size: .8rem;
  color: var(--white2);
  display: flex;
  align-items: center;
  gap: .45rem;
}

.form-subtitle::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

/* hidden honeypot */
.hidden { display: none !important; }

form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--white2);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.req { color: var(--gold); }

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--black4);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 400;
  padding: .75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold-border2);
  box-shadow: 0 0 0 3px rgba(240,165,0,.08);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: rgba(255,80,80,.5);
}

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

/* select wrapper */
.select-wrap { position: relative; }

.select-wrap select {
  padding-right: 2.5rem;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: .85rem; top: 50%;
  transform: translateY(-50%);
  color: var(--white2);
  pointer-events: none;
}

/* field errors */
.field-error {
  font-size: .72rem;
  color: #ff6b6b;
  min-height: 1rem;
  display: block;
}

/* budget radio group */
.budget-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.budget-opt {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
}

.budget-opt input[type="radio"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  accent-color: var(--gold);
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}

.budget-opt span {
  font-size: .8rem;
  color: var(--white2);
  transition: color .2s;
}

.budget-opt:hover span { color: var(--white); }

.budget-opt input:checked + span { color: var(--gold); font-weight: 600; }

/* submit button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: var(--r-pill);
  padding: .95rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-top: .5rem;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(240,165,0,.28);
}

.btn-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

/* spinner inside button */
.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,.25);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-arrow { display: none; }
.btn-submit.loading .btn-spinner { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-privacy {
  font-size: .72rem;
  color: var(--white3);
  text-align: center;
  line-height: 1.6;
}

/* success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
  gap: 1rem;
}

.form-success.visible { display: flex; }

.success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold-dim2);
  border: 1px solid var(--gold-border2);
  display: flex; align-items: center; justify-content: center;
}

.success-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}

.success-body {
  font-size: .88rem;
  color: var(--white2);
  line-height: 1.75;
  max-width: 340px;
}

/* responsive form */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .budget-options { grid-template-columns: 1fr; }
  .cta-right { padding: 4rem var(--pad); }
}
