/* ==========================================================================
   Surcentral — corporate site
   Transporte de carga terrestre internacional · Montevideo, Uruguay
   ========================================================================== */

:root{
  /* --- Brand constants: fixed in both themes (header/hero/footer/CTA bands) --- */
  --orange:       #FD6C02;
  --orange-deep:  #C94E00;
  --ink:          #202426;   /* brand-dark surface + text-on-accent */
  --graphite:     #363B3E;   /* brand-dark surface, secondary */
  --white:        #FFFFFF;   /* literal white — text/icons on brand-dark surfaces */
  --steel-light:  #AFAEAC;   /* muted light label on brand-dark surfaces */

  /* --- Theme-dependent tokens: light values (default) --- */
  --bg:           #FBFAF7;   /* page background */
  --bg-alt:       #F1EEEA;   /* alternate section background */
  --surface:      #FFFFFF;   /* card / panel background */
  --text:         #202426;   /* primary text */
  --text-muted:   #63666A;   /* secondary text */
  --border:       #E4E1DC;   /* hairlines */
  --header-bg:    rgba(251,250,247,0.92); /* sticky header — genuine chrome, flips with the toggle */
  --scrim:        rgba(16,18,20,0.82);    /* dark wash over photo bands — fixed in both themes, photos need it dark to keep text legible */

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --radius: 3px;
  --radius-btn: 8px;
}

:root[data-theme="dark"]{
  --bg:           #16181A;
  --bg-alt:       #1C1F21;
  --surface:      #23262A;
  --text:         #EDEAE6;
  --text-muted:   #A9A6A2;
  --border:       #33373A;
  --header-bg:    rgba(22,24,26,0.92);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1{ font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; }
h2{ font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3{ font-size: clamp(1.25rem, 2.4vw, 1.55rem); }

p{ margin: 0 0 1.1em; }
.lede{ font-size: 1.2rem; color: var(--text-muted); max-width: 46em; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.9em;
}
.eyebrow::before{
  content: "";
  width: 28px; height: 2px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow.on-dark{ color: var(--orange); }

:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.section{ padding: 96px 0; }
.section.tight{ padding: 64px 0; }
.section.alt{ background: var(--bg-alt); }

.section-head{ max-width: 42em; margin-bottom: 3em; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow{ justify-content: center; }
.section-head.center .eyebrow::before{ display:none; }

hr.rule{ border: none; border-top: 1px solid var(--border); margin: 0; }

/* --- Buttons --- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75em 1.35em;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--orange); color: var(--white); }
.btn-primary:hover{ background: var(--orange-deep); }
.btn-ghost{ background: transparent; border-color: currentColor; color: inherit; }
.section:not(.dark) .btn-ghost{ border-color: var(--text); color: var(--text); }
.section:not(.dark) .btn-ghost:hover{ border-color: var(--orange); color: var(--orange); }
.btn-row{ display: flex; flex-wrap: wrap; gap: 1em; align-items: center; }
.btn svg{ width: 1.1em; height: 1.1em; flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.site-header .wrap{
  display: flex; align-items: center; justify-content: space-between;
  height: 82px;
  gap: 1.2em;
}
.brand{ display: flex; align-items: center; gap: 0.65em; color: var(--text); }
.brand svg{ width: 36px; height: 36px; flex: none; }
.brand-word{ font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.01em; text-transform: uppercase; }
.brand-word .accent{ color: var(--orange); }

.nav{ display: flex; align-items: center; gap: 2.2em; margin-left: auto; }
.nav-links{ display: flex; gap: 1.8em; list-style: none; margin: 0; padding: 0; }
.nav-links a{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4em 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--text); border-color: var(--orange); }

/* Theme toggle — always visible, sits outside the collapsible mobile nav */
.theme-toggle{
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid var(--border);
  background: transparent; color: var(--text); cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.theme-toggle:hover{ background: var(--bg-alt); border-color: var(--orange); color: var(--orange); }
.theme-toggle svg{ width: 19px; height: 19px; display: block; }
.theme-toggle .icon-sun{ display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon{ display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun{ display: block; }

.nav-toggle{
  display: none;
  background: none; border: none; color: var(--text);
  width: 40px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
.nav-toggle svg{ width: 24px; height: 24px; }

@media (max-width: 860px){
  .nav-toggle{ display: inline-flex; }
  .nav{
    position: fixed; inset: 82px 0 0 0;
    background: var(--surface);
    flex-direction: column; align-items: stretch;
    padding: 1.5em 28px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    margin-left: 0;
  }
  .nav.is-open{ transform: translateX(0); }
  .nav-links{ flex-direction: column; gap: 0; }
  .nav-links a{ display: block; padding: 1em 0; border-bottom: 1px solid var(--border); }
  .nav .btn-row{ margin-top: 1.5em; }
}

/* ==========================================================================
   Hero — network schematic (signature element)
   ========================================================================== */
.hero{
  position: relative;
  background: var(--bg);
  color: var(--text);
  overflow: visible;
  padding: 88px 0 64px;
  transition: background-color 0.2s ease;
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 82% 20%, rgba(253,108,2,0.16), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  z-index: 0;
}
.hero .wrap{ position: relative; z-index: 1; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero h1{ color: var(--text); margin-bottom: 0.35em; }
.hero h1 .accent{ color: var(--orange); }
.hero .lede{ color: var(--text-muted); margin-bottom: 1.6em; }
.hero-manifest{
  margin-top: 3em;
  display: flex; flex-wrap: wrap; gap: 0 2.5em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
  padding-top: 1.4em;
}
.hero-manifest strong{ color: var(--text); font-size: 1rem; display: block; font-family: var(--font-mono); }

.network-wrap{
  position: relative;
  transform: scale(1.19);
  transform-origin: left center;
}
@media (max-width: 860px){
  /* Stacked layout below the hero-grid breakpoint — scale from the
     horizontal center instead, since there's no side text column to avoid. */
  .network-wrap{ transform-origin: center; }
}
.network{ width: 100%; height: auto; display: block; position: relative; z-index: 1; }

/* Real Southern Cone silhouette (Wikimedia Commons, adapted — see footer
   credit) sitting behind the route diagram. Roughly aligned so Uruguay
   falls near the MVD origin node; a decorative backdrop, not a precise map. */
.mercosur-bg{
  position: absolute; z-index: 0; pointer-events: none;
  right: 3%; bottom: 2%; width: 76%; height: auto;
  opacity: 0.55;
}
:root[data-theme="dark"] .mercosur-bg{
  opacity: 0.4;
  filter: grayscale(0.3) invert(0.88) contrast(0.9);
}

.network .route{
  fill: none; stroke: var(--orange); stroke-width: 1.6;
  stroke-dasharray: 6 5;
  opacity: 0.85;
}
.network .pulse{ fill: var(--orange); filter: drop-shadow(0 0 3px rgba(253,108,2,0.75)); }
@media (prefers-reduced-motion: reduce){
  .network .pulse{ display: none; }
}
.network .node-dot{ fill: var(--surface); stroke: var(--orange); stroke-width: 2; }
.network .node-dot.origin{ fill: var(--orange); stroke: var(--bg); }
.network .node-label{
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  fill: var(--text-muted);
}
.network .node-label.origin{ fill: var(--text); font-weight: 700; }
.network .node-sub{ font-family: var(--font-mono); font-size: 8.5px; fill: var(--text-muted); }

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-manifest{ gap: 1.2em 2em; }
}

/* Photographic band (used on inner pages instead of the network hero) */
.photo-hero{
  position: relative;
  min-height: 340px;
  display: flex; align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
  isolation: isolate;
}
.photo-hero::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--scrim) 12%, rgba(16,18,20,0.32) 60%, var(--scrim) 100%);
  z-index: 0;
}
.photo-hero::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(253,108,2,0.24), transparent 55%);
  z-index: 0;
}
.photo-hero .wrap{ position: relative; z-index: 1; padding-top: 3em; padding-bottom: 2.6em; }
.photo-hero h1{ color: var(--white); margin-bottom: 0.3em; }
.crumb{ font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--orange); text-transform: uppercase; margin-bottom: 0.8em; display:block; }

/* ==========================================================================
   Trust / manifest strip
   ========================================================================== */
.manifest-strip{
  background: var(--bg-alt);
  color: var(--text);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifest-strip .wrap{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.manifest-item{
  padding: 1.6em 1.6em 1.6em 0;
  border-left: 1px solid var(--border);
  padding-left: 1.6em;
}
.manifest-item:first-child{ border-left: none; padding-left: 0; }
.manifest-item .num{ font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--orange); line-height:1; }
.manifest-item .label{ font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--text-muted); text-transform: uppercase; margin-top: 0.4em; }

@media (max-width: 860px){
  .manifest-strip .wrap{ grid-template-columns: repeat(2, 1fr); }
  .manifest-item{ border-left: none !important; padding-left: 0 !important; border-top: 1px solid var(--border); padding-top: 1.4em; }
  .manifest-item:nth-child(-n+2){ border-top: none; padding-top: 0; }
}

/* ==========================================================================
   Cards — services & values
   ========================================================================== */
.grid{ display: grid; gap: 1.6rem; }
.grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
.grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid.cols-3, .grid.cols-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2em 2em;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow .18s ease, background-color .2s ease;
}
.card:hover{ border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(32,36,38,0.35); }
.card .icon{
  width: 46px; height: 46px;
  color: var(--orange);
  margin-bottom: 1.1em;
}
.card .icon svg{ width: 100%; height: 100%; }
.card h3{ margin-bottom: 0.4em; }
.card p{ color: var(--text-muted); margin-bottom: 0; font-size: 0.96rem; }
.card .tag{
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--orange);
  letter-spacing: 0.08em; text-transform: uppercase; display:block; margin-bottom: 0.6em;
}

.value{
  display: flex; gap: 1.2em; align-items: flex-start;
  padding: 1.6em 0;
  border-top: 1px solid var(--border);
}
.value:first-of-type{ border-top: none; }
.value .icon{ width: 34px; height: 34px; color: var(--orange); flex: none; margin-top: 0.15em; }
.value .icon svg{ width: 100%; height: 100%; }
.value h4{ font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25em; color: var(--text); }
.value p{ color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   Split / about layout
   ========================================================================== */
.split{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.split.reverse{ grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-media{ order: 2; }
@media (max-width: 900px){
  .split, .split.reverse{ grid-template-columns: 1fr; }
  .split.reverse .split-media{ order: 0; }
}
.split-media{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3.1;
}
.split-media img{ width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.05); }
.split-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(253,108,2,0.22), rgba(32,36,38,0.35) 70%);
  mix-blend-mode: multiply;
}
.split-media .frame-tag{
  position: absolute; left: 1.2em; bottom: 1.2em; z-index: 2;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--white); background: rgba(32,36,38,0.55); padding: 0.5em 0.8em;
  border: 1px solid rgba(255,255,255,0.3); text-transform: uppercase;
}

.stat-row{ display:flex; gap: 2.6em; margin: 1.6em 0 0; flex-wrap: wrap; }
.stat-row .stat b{ display:block; font-family: var(--font-display); font-size: 2.2rem; color: var(--orange); font-weight: 800; line-height: 1; }
.stat-row .stat span{ font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

/* ==========================================================================
   Vision / Mission panels — deliberately always brand-dark/orange in both themes
   ========================================================================== */
.vm-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 900px){ .vm-grid{ grid-template-columns: 1fr; } }
.vm-panel{
  padding: 2.6em;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.vm-panel.alt{ background: var(--orange); }
.vm-panel.alt .eyebrow{ color: rgba(32,36,38,0.7); }
.vm-panel.alt h3{ color: var(--ink); }
.vm-panel p{ color: var(--text-muted); font-size: 1.05rem; margin: 0; }
.vm-panel.alt p{ color: rgba(32,36,38,0.86); }
.vm-panel.alt .eyebrow::before{ background: currentColor; }

/* ==========================================================================
   Timeline (history)
   ========================================================================== */
.timeline{ border-left: 2px solid var(--border); margin-left: 0.4em; }
.timeline-item{ position: relative; padding: 0 0 2.4em 2em; }
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item::before{
  content: "";
  position: absolute; left: -7px; top: 0.3em;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--orange);
}
.timeline-item .yr{ font-family: var(--font-mono); color: var(--orange); font-size: 0.85rem; letter-spacing: 0.08em; }
.timeline-item h4{ margin: 0.2em 0 0.3em; font-family: var(--font-body); font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--text); }
.timeline-item p{ color: var(--text-muted); margin: 0; }

/* ==========================================================================
   CTA band — deliberately always orange/ink in both themes
   ========================================================================== */
.cta-band{
  background: var(--orange);
  color: var(--ink);
}
.cta-band .wrap{
  display: flex; align-items: center; justify-content: space-between; gap: 2em;
  padding: 3em 28px;
  flex-wrap: wrap;
}
.cta-band h2{ color: var(--ink); margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band .btn-primary{ background: var(--ink); }
.cta-band .btn-primary:hover{ background: var(--graphite); }
.cta-band .btn-ghost{ border-color: var(--ink); color: var(--ink); }
.cta-band .btn-ghost:hover{ background: var(--ink); color: var(--white); }

/* ==========================================================================
   Services page — routes / coverage list
   ========================================================================== */
.coverage-list{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (max-width: 700px){ .coverage-list{ grid-template-columns: repeat(2,1fr); } }
.coverage-list li{ background: var(--surface); padding: 1.3em 1.4em; display:flex; align-items:baseline; justify-content: space-between; gap: 0.6em; }
.coverage-list .code{ font-family: var(--font-mono); color: var(--orange); font-weight: 600; }
.coverage-list .name{ font-family: var(--font-body); font-weight: 600; color: var(--text); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-list{ list-style: none; margin: 0 0 2em; padding: 0; }
.contact-list li{ display: flex; gap: 1em; padding: 1.1em 0; border-top: 1px solid var(--border); }
.contact-list li:first-child{ border-top: none; }
.contact-list .icon{ width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 0.2em; }
.contact-list .icon svg{ width: 100%; height: 100%; }
.contact-list .k{ font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); display:block; margin-bottom: 0.2em; }
.contact-list .v{ font-weight: 600; color: var(--text); }
.map-frame{ border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); filter: grayscale(0.35) contrast(1.05); transition: filter .2s ease; }
.map-frame iframe{ display:block; width: 100%; height: 100%; min-height: 420px; border: 0; }
:root[data-theme="dark"] .map-frame{ filter: grayscale(0.4) invert(0.9) contrast(0.92) hue-rotate(180deg); }

.hours-card{
  background: var(--bg-alt); color: var(--text);
  padding: 1.8em 2em; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.hours-card .eyebrow{ color: var(--orange); }
.hours-row{ display:flex; justify-content: space-between; padding: 0.5em 0; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.9rem; }
.hours-row:first-of-type{ border-top: none; }

/* ==========================================================================
   Footer — deliberately always brand-dark in both themes
   ========================================================================== */
.site-footer{ background: var(--bg-alt); color: var(--text-muted); padding-top: 72px; border-top: 1px solid var(--border); }
.footer-grid{ display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr; gap: 2.5rem; padding-bottom: 3em; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand .brand{ margin-bottom: 1em; color: var(--text); }
.footer-brand p{ color: var(--text-muted); max-width: 26em; font-size: 0.94rem; }
.footer-col h5{
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 1.1em;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin-bottom: 0.7em; }
.footer-col a{ color: var(--text-muted); font-size: 0.94rem; }
.footer-col a:hover{ color: var(--text); }
.footer-bottom{
  border-top: 1px solid var(--border);
  padding: 1.6em 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1em;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.03em; color: var(--text-muted);
}

/* ==========================================================================
   Auth (login) — minimal form styling, used only by login.html
   ========================================================================== */
/* Plain section headings (not the hero/photo-hero bands) read as page
   titles, not cinematic headlines — same scale as the admin shell's h1. */
.section-head h1{ font-size: 1.9rem; }
.auth-wrap{ max-width: 420px; margin: 0 auto; }
.auth-card{
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.4em 2.2em;
}
.form-field{ margin-bottom: 1.3em; }
.form-field label{
  display:block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5em;
}
.form-field input, .form-field select, .form-field textarea{
  width: 100%; padding: 0.8em 0.95em; border: 1px solid var(--border); border-radius: 6px;
  background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange);
}
.form-field textarea{ resize: vertical; min-height: 6em; font-family: var(--font-mono); font-size: 0.88rem; }
.form-note{
  font-family: var(--font-mono); font-size: 0.76rem; line-height:1.6; color: var(--text-muted);
  margin-top: 1.4em; padding-top: 1.2em; border-top: 1px solid var(--border);
}

/* ==========================================================================
   Cotización — multi-step wizard form
   ========================================================================== */
.wizard{ max-width: 740px; margin: 0 auto; }

.wizard-steps{
  display: flex; justify-content: space-between; list-style: none;
  margin: 0 0 3em; padding: 0; position: relative;
}
.wizard-steps::before{
  content: ""; position: absolute; top: 17px; left: 8%; right: 8%; height: 2px;
  background: var(--border); z-index: 0;
}
.wizard-steps li{
  position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 0.6em; text-align: center; cursor: default;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--text-muted);
}
.wizard-steps li.clickable{ cursor: pointer; }
.wizard-steps .num{
  width: 34px; height: 34px; border-radius: 50%; background: var(--surface);
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--text-muted);
  transition: all 0.2s ease;
}
.wizard-steps li.active{ color: var(--text); }
.wizard-steps li.active .num{ border-color: var(--orange); color: var(--orange); }
.wizard-steps li.done{ color: var(--text); }
.wizard-steps li.done .num{ background: var(--orange); border-color: var(--orange); color: #fff; }

.wizard-card{
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.4em 2.4em 2em;
}
@media (max-width: 640px){ .wizard-card{ padding: 1.8em 1.4em; } }

.wizard-actions{
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2em; padding-top: 1.6em; border-top: 1px solid var(--border);
}

.review-list{ list-style: none; margin: 0; padding: 0; }
.review-list li{
  display: flex; justify-content: space-between; gap: 1.5em; padding: 0.85em 0;
  border-top: 1px solid var(--border);
}
.review-list li:first-child{ border-top: none; }
.review-list .k{
  font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-muted); flex: none;
}
.review-list .v{ font-weight: 600; text-align: right; }

/* ==========================================================================
   WhatsApp floating button — "click to chat" deep link (wa.me), fixed green
   regardless of light/dark theme since it's a universal, recognizable
   affordance rather than site chrome.
   ========================================================================== */
.whatsapp-fab{
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 0.6em;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(37,211,102,0.6), 0 2px 10px rgba(0,0,0,0.18);
  overflow: hidden; white-space: nowrap;
  transition: width 0.25s ease, border-radius 0.25s ease, background-color 0.2s ease;
}
.whatsapp-fab svg{ width: 27px; height: 27px; flex: none; }
.whatsapp-fab-label{
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  max-width: 0; opacity: 0; overflow: hidden;
  transition: max-width 0.25s ease, opacity 0.2s ease;
}
.whatsapp-fab:hover{
  background: #1EBE5A; width: auto; border-radius: 999px; padding: 0 1.15em 0 1em;
}
.whatsapp-fab:hover .whatsapp-fab-label{ max-width: 220px; opacity: 1; margin-left: 0.15em; }
@media (max-width: 600px){
  .whatsapp-fab{ right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .whatsapp-fab:hover{ width: 50px; border-radius: 50%; padding: 0; }
  .whatsapp-fab-label{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-fab, .whatsapp-fab-label{ transition: none; }
}

/* ==========================================================================
   Misc utility
   ========================================================================== */
.mt-0{ margin-top: 0; }
.center-copy{ text-align:center; max-width: 40em; margin: 0 auto; }
