/* ==========================================================================
   New World Metals (NWM) — Hoja de estilos principal
   ========================================================================== */

:root {
  --color-navy: #1F5A99;      /* Exploracion */
  --color-brown: #A8432A;     /* Explotacion (terracota) */
  --color-teal: #16897A;      /* Litio y Tierras Raras */
  --color-darkbrown: #4B2B12; /* Titulares / wordmark */
  --color-orange: #C05D00;    /* Acentos / botones */
  --color-orange-dark: #9c4a00;
  --color-cream: #FBF3E6;     /* Fondo general */
  --color-white: #FFFFFF;
  --color-gray-light: #F5F5F5;
  --color-gray-mid: #ddd4c6;
  --color-text: #333333;
  --color-text-soft: #5a5148;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-brand: 'Montserrat', 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(75, 43, 18, 0.08);
  --shadow-md: 0 6px 24px rgba(75, 43, 18, 0.14);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Garantiza que [hidden] oculte el elemento aunque tenga clases con su
   propio "display" (ej. .btn), que de otro modo pisarian la regla del user agent. */
[hidden] { display: none !important; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-orange); text-decoration: none; }
a:hover { color: var(--color-orange-dark); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-darkbrown);
  margin: 0 0 0.6em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: 1px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: 0.5px; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 64px 0; }
/* section[id] = secciones internas con ancla propia (ej. #mapa);
   #inicio/#oportunidades/#contactanos son los 3 contenedores de pagina unica
   (son <div>, no <section>, para no heredar el padding de arriba). */
section[id],
#inicio,
#oportunidades,
#contactanos {
  scroll-margin-top: var(--header-h);
}
.section-cream { background: var(--color-cream); }
.section-gray { background: var(--color-gray-light); }
.text-center { text-align: center; }
.section-intro { max-width: 720px; margin: 0 auto 40px; text-align: center; }

/* ---------- Paneles reutilizables (ventanas con sombra) ----------
   Toda la informacion del sitio debe ir dentro de una "ventana": usar
   .panel para el fondo/borde/sombra base, y sumar .panel-float cuando
   ademas se quiera el efecto de leve elevacion al pasar el mouse. */
.panel {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
}
.panel-float { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.panel-float:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ---------- Animacion de aparicion al hacer scroll ----------
   Los elementos con .reveal parten invisibles/desplazados y js/main.js
   les agrega .is-visible via IntersectionObserver cuando entran en pantalla. */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}
.btn-primary:hover { background: var(--color-orange-dark); border-color: var(--color-orange-dark); color: var(--color-white); }
.btn-secondary {
  background: transparent;
  color: var(--color-darkbrown);
  border-color: var(--color-darkbrown);
}
.btn-secondary:hover { background: var(--color-darkbrown); color: var(--color-white); }
.btn-light {
  background: var(--color-white);
  color: var(--color-orange);
  border-color: var(--color-white);
}
.btn-light:hover { background: transparent; color: var(--color-white); }
.btn-block { display: block; width: 100%; }
.hero-ctas, .band-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 243, 230, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-gray-mid);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--color-darkbrown);
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand-tagline {
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-orange);
  font-size: 0.6rem;
  white-space: nowrap;
}
/* Header: botones "Oportunidades mineras" y "Conversemos / Let's talk",
   ambos con el mismo formato (fondo naranjo, texto blanco, mismo alto). */
.main-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-talk-btn { padding: 10px 22px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 4px; background: var(--color-white); border-radius: 20px; padding: 3px; border: 1px solid var(--color-gray-mid); }
.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-text-soft);
  cursor: pointer;
}
.lang-btn.active { background: var(--color-orange); color: var(--color-white); }

/* Logo con mas prioridad en escritorio/tablet */
@media (min-width: 600px) {
  :root { --header-h: 92px; }
  .brand img { height: 60px; }
}

/* Tablet: el nombre en texto cede espacio al enunciado y al boton */
@media (max-width: 1040px) {
  .brand-text { display: none; }
}
.site-header .container { gap: 24px; }
/* Celular: queda solo el logo, el boton "Conversemos" y el selector ES/EN */
@media (max-width: 600px) {
  .header-opps-btn { display: none; }
  .site-header .container { gap: 10px; }
  .main-nav { gap: 10px; }
  .header-talk-btn { padding: 8px 14px; font-size: 0.85rem; }
  .brand img { height: 38px; }
}

/* ---------- Hero unificado (Home + Empresa) ----------
   Foto a pantalla completa en slideshow con fundido (initHeroSlideshow en
   main.js), degradado cafe de izquierda a derecha y panel compacto encima. */
.hero-unified { position: relative; overflow: hidden; min-height: 600px; display: flex; padding: 48px 0 40px; }
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-unified-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(75, 43, 18, 0.85) 0%, rgba(75, 43, 18, 0.5) 45%, rgba(75, 43, 18, 0.16) 75%, rgba(75, 43, 18, 0.02) 100%);
}
.hero-unified-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  height: 100%; width: 100%; gap: 32px;
}
/* Tarjeta de texto y fila de cifras comparten el mismo ancho (.hero-column) */
.hero-column { width: 100%; max-width: 780px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; flex: 1; }
.hero-panel-compact.panel {
  background: rgba(251, 243, 230, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 28px 32px;
}
.hero-eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #C05D00;
  margin-bottom: 10px;
}
.hero-panel-compact h1 { font-size: 2rem; margin-bottom: 0.45em; letter-spacing: 0.3px; }
.hero-panel-compact p { color: var(--color-text-soft); font-size: 0.98rem; margin-bottom: 1.3em; }
/* Bloque "Qué hacemos": 3 puntos con icono en fila (computador) */
.hero-what {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero-what li { display: flex; flex-direction: column; gap: 8px; font-size: 0.84rem; line-height: 1.45; color: var(--color-text-soft); }
.hero-what strong { color: var(--color-darkbrown); font-weight: 600; }
.hero-what-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(192, 93, 0, 0.1);
  color: var(--color-orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-what-icon svg { width: 18px; height: 18px; }
.hero-panel-compact .hero-secure {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-soft);
  margin: 0 0 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(75, 43, 18, 0.12);
}
.hero-secure-icon { color: var(--color-orange); flex-shrink: 0; display: flex; }
.hero-secure-icon svg { width: 15px; height: 15px; }
/* Botones lado a lado y con el mismo alto en computador */
.hero-panel-compact .hero-ctas { gap: 12px; align-items: stretch; flex-wrap: nowrap; }
.hero-panel-compact .hero-ctas .btn { padding: 12px 22px; display: flex; align-items: center; justify-content: center; }
.hero-broker-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-darkbrown);
  border-bottom: 1px solid rgba(75, 43, 18, 0.35);
}
.hero-broker-link:hover { color: var(--color-orange); border-bottom-color: var(--color-orange); }
@media (min-width: 900px) {
  .hero-panel-compact h1 { font-size: 2.35rem; }
}

/* Fila de cifras: 4 recuadros de igual ancho y alto, alineados con la
   tarjeta; un solo texto naranjo por recuadro. */
.hero-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero-stat-chip {
  background: rgba(20, 11, 4, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
}
.hero-stat-chip { display: flex; align-items: center; }
.hero-stat-chip .stat-num { font-size: 0.98rem; line-height: 1.3; }

@media (max-width: 900px) {
  .hero-unified { min-height: 520px; padding: 40px 0 32px; }
  .hero-column { max-width: 100%; }
}
@media (max-width: 760px) {
  .hero-what { grid-template-columns: 1fr; gap: 10px; }
  .hero-what li { flex-direction: row; align-items: flex-start; gap: 10px; }
}
@media (max-width: 600px) {
  .hero-panel-compact.panel { padding: 22px 20px; }
  .hero-panel-compact h1 { font-size: 1.65rem; }
  .hero-panel-compact .hero-ctas { flex-direction: column; }
  .hero-panel-compact .hero-ctas .btn { width: 100%; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stat-chip .stat-num { font-size: 0.88rem; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-mid);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card-icon svg { display: block; width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.4em; }
.card .card-link { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 0.9rem; }
/* Servicios: frase corta + 3 puntos por tarjeta */
.card-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.card-points li { position: relative; padding-left: 18px; font-size: 0.88rem; line-height: 1.45; color: var(--color-text-soft); }
.card-points li::before {
  content: '';
  position: absolute; left: 2px; top: 0.55em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--color-orange);
  transform: rotate(45deg);
}
.services-grid .card p { color: var(--color-darkbrown); font-weight: 500; margin-bottom: 12px; }

/* Modelos de asociacion: reutiliza .card (panel blanco + hover elevado) */
.model-card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 10px;
}
.model-card p { font-size: 0.92rem; color: var(--color-text-soft); }
.model-card-divider { border: none; border-top: 1px solid var(--color-gray-mid); margin: 16px 0; }
.model-card-ideal strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--color-darkbrown);
  margin-bottom: 4px;
}
.model-card-ideal span { font-size: 0.9rem; color: var(--color-text-soft); }

/* ---------- Cifras (franja compacta que se superpone al hero) ---------- */
.stat-num { font-family: var(--font-heading); font-size: 1.7rem; color: var(--color-orange); font-weight: 700; }
.stat-num-minerals { font-family: var(--font-heading); font-size: 1.1rem; color: var(--color-orange); font-weight: 700; }
.stat-label { color: var(--color-text-soft); font-weight: 600; font-size: 0.82rem; }

/* ---------- Mapa interactivo de Chile (Oportunidades) ----------
   Chile es un pais muy largo y angosto: se deja el SVG con su
   proporcion real (alto y angosto) dentro de una columna, con un
   panel de resumen "sticky" al lado para que no quede fuera de
   pantalla mientras se recorre el mapa. */
.map-interactive-grid { display: grid; grid-template-columns: minmax(200px, 380px) 1fr; gap: 40px; align-items: start; }
.map-visual { display: flex; justify-content: center; position: relative; }
.chile-map-holder { margin: 0 auto; }
/* Sin .panel blanco detras (Fase 6 v3): el mapa "flota" sobre el fondo
   crema de la seccion con su propia sombra, siguiendo el contorno real
   del pais (no una caja rectangular). */
/* Mapa geografico: el fondo es una imagen real (mar, paises vecinos y
   relieve de Chile, assets/chile-geo-wide.webp) recortada con bordes
   redondeados. Encima van las regiones como capas de color
   semitransparente: las que tienen proyectos se tiñen de naranja (mas
   intenso = mas proyectos) y las demas dejan ver el relieve natural. */
.chile-map-svg { display: block; height: 1040px; aspect-ratio: 225 / 638; width: auto; max-width: 100%; border-radius: 12px; box-shadow: 0 18px 40px rgba(43, 26, 12, 0.22); }
.chile-map-svg .region {
  fill: #ffffff;
  fill-opacity: 0;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 0.8px;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill-opacity 0.2s ease, stroke-width 0.15s ease;
}
.chile-map-svg .region.count-1,
.chile-map-svg .region.count-2,
.chile-map-svg .region.count-3,
.chile-map-svg .region.count-4 { fill: #E8730C; }
.chile-map-svg .region.count-1 { fill-opacity: 0.38; }
.chile-map-svg .region.count-2 { fill-opacity: 0.48; }
.chile-map-svg .region.count-3 { fill-opacity: 0.58; }
.chile-map-svg .region.count-4 { fill-opacity: 0.68; }
/* Hover/foco: la region se ilumina sin moverse (la imagen de fondo es fija) */
.chile-map-svg .region:hover,
.chile-map-svg .region:focus-visible {
  fill-opacity: 0.3;
  stroke: #ffffff;
  stroke-width: 2px;
  outline: none;
}
.chile-map-svg .region[class*="count-"]:hover,
.chile-map-svg .region[class*="count-"]:focus-visible { fill-opacity: 0.8; }
.chile-map-svg .region.selected {
  fill: #C05D00;
  fill-opacity: 0.82;
  stroke: #FBF3E6;
  stroke-width: 2.6px;
  outline: none;
}

/* Contorno del pais en cafe oscuro, por debajo de los bordes blancos.
   vector-effect: non-scaling-stroke en ambos grupos de bordes para que el
   estiramiento horizontal del SVG (preserveAspectRatio="none" en la raiz)
   no engrose los trazos de lado. */
.map-country-outline, .map-country-outline .region {
  fill: none !important;
  stroke: rgba(75, 43, 18, 0.85) !important;
  stroke-width: 2px !important;
  vector-effect: non-scaling-stroke;
}
.map-country-outline { pointer-events: none; }

/* Nombres del oceano y paises vecinos */
.map-label {
  font-family: var(--font-heading);
  font-size: 7px;
  font-style: italic;
  letter-spacing: 1.6px;
  fill: rgba(75, 43, 18, 0.55);
  pointer-events: none;
}
.map-label-ocean { font-size: 9px; letter-spacing: 3px; fill: rgba(255, 255, 255, 0.85); }

@media (prefers-reduced-motion: reduce) {
  .chile-map-svg .region { transition: none; }
}

.map-tooltip {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  background: var(--color-darkbrown);
  color: var(--color-white);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -110%);
}
.map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--color-darkbrown);
}

/* Panel mas pequeño y sutil (Fase 6 v3): ya no es un .panel blanco con
   sombra marcada, solo un fondo semitransparente leve. */
.map-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.map-summary-intro { color: var(--color-text-soft); font-size: 0.92rem; margin: 0 0 18px; }
.map-summary-stat { text-align: center; margin-bottom: 20px; }
.map-summary-stat .stat-num { font-family: var(--font-heading); font-size: 1.8rem; color: var(--color-orange); font-weight: 700; }
.map-summary-stat .stat-label { color: var(--color-text-soft); font-weight: 600; font-size: 0.8rem; }
.map-selected { border-top: 1px solid var(--color-gray-mid); padding-top: 18px; }
.map-selected-placeholder { color: var(--color-text-soft); font-size: 0.9rem; }
.map-selected-list { display: flex; flex-direction: column; gap: 10px; }
.region-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: var(--color-cream);
  border: 1px solid var(--color-gray-mid);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s ease;
}
.region-mini-card:hover { border-color: var(--color-orange); }
.region-mini-card .mini-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.region-mini-card .mini-code { font-weight: 700; color: var(--color-darkbrown); font-size: 0.88rem; }
.region-mini-card .mini-meta { font-size: 0.78rem; color: var(--color-text-soft); }

@media (max-width: 900px) {
  .map-interactive-grid { grid-template-columns: 1fr; }
  .chile-map-svg { height: 680px; }
  .map-summary { position: static; }
}

/* ---------- Footer ---------- */
/* Fondo cafe muy oscuro con un brillo naranjo sutil; columnas con titulo +
   icono + subrayado corto; contacto en tarjetas translucidas. */
.site-footer {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(192, 93, 0, 0.16), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(247, 147, 15, 0.08), transparent 60%),
    #1f1309;
  color: #d9c9b6;
  padding: 64px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 0.9fr 1.3fr; gap: 44px; margin-bottom: 44px; }
/* Logo arriba (es ancho) y nombre + lema debajo, en una sola linea cada uno */
.footer-brand-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.footer-brand-head img { height: 46px; width: auto; filter: drop-shadow(0 0 6px rgba(255, 245, 230, 0.3)); }
.footer-brand-head > span { display: flex; flex-direction: column; line-height: 1.25; }
.footer-brand-name { font-family: var(--font-brand); font-weight: 600; letter-spacing: 1.4px; color: var(--color-white); font-size: 1.05rem; }
.footer-brand-name b { font-weight: 800; color: #F7930F; }
.footer-brand-tagline { font-size: 0.8rem; color: #b8a892; }
.footer-desc { color: #cdbca6; font-size: 0.92rem; line-height: 1.65; margin-bottom: 22px; }
.footer-help {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 206, 127, 0.16);
  border-radius: 12px;
  padding: 20px 22px;
}
.footer-help h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--font-body); font-size: 1rem; color: var(--color-white); }
.footer-help p { font-size: 0.85rem; color: #b8a892; margin: 0 0 16px; }
.footer-help-btn { padding: 10px 18px; font-size: 0.9rem; display: inline-flex; align-items: center; }
.site-footer .footer-help-btn, .site-footer .footer-help-btn:hover { color: var(--color-white); }
.footer-icon { display: inline-flex; color: #F7930F; }
.footer-icon svg { width: 18px; height: 18px; }
.site-footer h4 {
  display: flex; align-items: center; gap: 8px;
  color: var(--color-white); font-family: var(--font-body); font-size: 1.02rem;
  margin-bottom: 22px; padding-bottom: 10px; position: relative;
}
.site-footer h4::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 2px; border-radius: 2px; background: var(--color-orange);
}
.site-footer ul li { margin-bottom: 12px; }
.site-footer a { color: #d9c9b6; transition: color 0.15s ease; }
.site-footer a:hover { color: #F7930F; }
.footer-cards { display: flex; flex-direction: column; gap: 12px; }
.footer-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 206, 127, 0.14);
  border-radius: 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.footer-card:hover { border-color: rgba(247, 147, 15, 0.5); background: rgba(255, 255, 255, 0.07); }
.footer-card-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(192, 93, 0, 0.18);
  color: #F7930F;
  display: flex; align-items: center; justify-content: center;
}
.footer-card-icon svg { width: 17px; height: 17px; }
.footer-card > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.footer-card small { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #a8967f; }
.footer-card strong { font-size: 0.9rem; font-weight: 600; color: var(--color-white); overflow-wrap: anywhere; }
.footer-bottom {
  border-top: 1px solid rgba(247, 206, 127, 0.12);
  padding-top: 22px;
  font-size: 0.8rem;
  color: #a8967f;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-confidentiality { max-width: 720px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Como trabajamos: 4 etapas en tarjetas separadas ----------
   Fondo levemente tenido para distinguir la seccion; tarjetas blancas con
   borde sutil (tono tierra en vez del celeste de referencia, para seguir la
   paleta NWM) y flecha entre etapas en escritorio. */
/* Fondo levemente tenido compartido por Servicios, Modelos y Como trabajamos */
.section-tinted,
.section-workflow {
  background: linear-gradient(180deg, #F8EFE2 0%, #F3E7D6 100%);
  border-top: 1px solid #EADCC8;
  border-bottom: 1px solid #EADCC8;
}
.section-tinted + .section-tinted,
.section-tinted + .section-workflow { border-top: none; }
/* Linea corta superior (mismo estilo que la del hero) y subtitulo de seccion */
.section-eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #C05D00;
  margin-bottom: 10px;
}
.workflow-intro { margin-bottom: 36px; }
.workflow-intro h2 { margin-bottom: 14px; }
.section-subtitle {
  font-family: var(--font-body);
  color: #6b5d50;
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.workflow-card {
  position: relative;
  background: var(--color-white);
  border: 0.8px solid #E2D3BE;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(75, 43, 18, 0.06);
  padding: 26px 22px 24px;
}
/* Flecha entre una etapa y la siguiente */
.workflow-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -19px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--color-orange);
  border-right: 2px solid var(--color-orange);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.7;
}
.workflow-icon {
  display: block;
  width: 56px; height: 56px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--color-cream);
  border: 1px solid #EADCC8;
  overflow: hidden;
}
.workflow-icon svg { width: 100%; height: 100%; display: block; }
.workflow-step-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 6px;
}
.workflow-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--color-darkbrown);
  margin-bottom: 8px;
}
.workflow-card p { font-size: 0.9rem; color: var(--color-text-soft); margin: 0; }
@media (max-width: 1000px) {
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .workflow-card::after { display: none; }
}
@media (max-width: 600px) {
  .workflow-steps { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Galeria: carrusel coverflow ---------- */
/* Tamaño x1.5 respecto a la version anterior (350x400 -> 525x600) */
.coverflow {
  position: relative;
  height: 690px;
  perspective: 1300px;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  overflow: hidden;
}
.coverflow-track { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.coverflow-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 525px;
  height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  background: #000;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
/* "contain" para que mapas, secciones y fotos verticales u horizontales se
   vean completos (sin recortes) sobre fondo cafe oscuro. */
.coverflow-item { background: #22160c; }
.coverflow-item img, .coverflow-item video { width: 100%; height: 100%; object-fit: contain; display: block; }
.coverflow-item.is-active { cursor: default; }
.coverflow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  color: var(--color-darkbrown);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.coverflow-arrow:hover { color: var(--color-orange); border-color: var(--color-orange); }
.coverflow-prev { left: 4px; }
.coverflow-next { right: 4px; }
.coverflow-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.coverflow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-gray-mid); border: none; cursor: pointer; padding: 0; }
.coverflow-dot.is-active { background: var(--color-orange); }
/* Con muchos elementos: contador "12 / 101" en vez de puntos */
.coverflow-counter { font-size: 0.85rem; font-weight: 600; color: var(--color-text-soft); letter-spacing: 0.5px; }

@media (max-width: 1000px) {
  .coverflow { height: 540px; }
  .coverflow-item { width: 410px; height: 470px; }
}
@media (max-width: 700px) {
  .coverflow { height: min(500px, 125vw); }
  .coverflow-item { width: min(380px, 78vw); height: min(435px, 89vw); }
  .coverflow-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--color-cream);
  padding: 22px 0 18px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 0.3em; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--color-text-soft); }

/* Seccion del cuestionario: menos aire arriba que un section normal, para
   que el cuadro quede con mas protagonismo apenas se llega a #contactanos. */
.contact-section { padding-top: 24px; }

/* ---------- Oportunidades: warning, filters, cards ---------- */
.confidentiality-notice {
  background: #fff8ee;
  border: 1px solid var(--color-orange);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--color-darkbrown);
  margin-bottom: 36px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.confidentiality-notice .icon { flex-shrink: 0; color: var(--color-orange); }
.confidentiality-notice .icon svg { width: 22px; height: 22px; display: block; }

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  background: var(--color-gray-light);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 36px;
}
.filter-group { display: flex; flex-direction: column; gap: 6px; min-width: 180px; }
.filter-group label { font-size: 0.78rem; font-weight: 700; color: var(--color-text-soft); text-transform: uppercase; letter-spacing: 0.5px; }
.filter-group select {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--color-gray-mid);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--color-white);
}
.filters-bar .btn { padding: 10px 20px; }

.results-count { margin-bottom: 20px; color: var(--color-text-soft); font-size: 0.9rem; }

.opp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .opp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .opp-grid { grid-template-columns: 1fr; } }

.opp-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.opp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.opp-card-header {
  padding: 18px 20px 14px;
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.opp-card-header .opp-code { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; }
.opp-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  /* Oscurece (no aclara) el color de fondo de la cabecera: el texto blanco
     en texto chico necesita mas contraste (WCAG AA), y aclarar con blanco
     translucido lo reduce en vez de mejorarlo. */
  background: rgba(0, 0, 0, 0.18);
  padding: 4px 10px;
  border-radius: 12px;
}
.badge-exploracion { background: var(--color-navy); }
.badge-explotacion { background: var(--color-brown); }
.badge-litio { background: var(--color-teal); }

.opp-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.opp-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem; border-bottom: 1px dashed var(--color-gray-mid); padding-bottom: 6px; }
.opp-row .opp-label { color: var(--color-text-soft); font-weight: 600; }
.opp-row .opp-value { text-align: right; color: var(--color-text); }
.opp-card-footer { padding: 14px 20px 20px; }
.opp-card-footer .btn { width: 100%; }

.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.legend-dot { width: 14px; height: 14px; border-radius: 4px; }
.no-results { text-align: center; padding: 60px 20px; color: var(--color-text-soft); }

/* Recuadro final de Oportunidades: lleva de vuelta al panel de perfiles */
.opp-final-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #2b1a0c;
  color: #d9c9b6;
  padding: 36px 40px;
}
.opp-final-cta-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-orange);
  display: flex; align-items: center; justify-content: center;
}
.opp-final-cta-icon svg { width: 28px; height: 28px; }
.opp-final-cta-text { flex: 1; }
.opp-final-cta-text h3 { color: var(--color-white); margin: 0; }
@media (max-width: 700px) {
  .opp-final-cta { flex-direction: column; text-align: center; padding: 28px 24px; }
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(43, 26, 12, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 2000;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--color-white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}
.modal-header {
  padding: 22px 26px;
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--color-white);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}
.modal-body { padding: 24px 26px; }
.modal-body .opp-row { padding-bottom: 8px; margin-bottom: 8px; }
.modal-body .opp-row .opp-label { flex-shrink: 0; max-width: 45%; }
.modal-body .opp-row-stacked { flex-direction: column; gap: 3px; }
.modal-body .opp-row-stacked .opp-label { max-width: none; }
.modal-body .opp-row-stacked .opp-value { text-align: left; }
.modal-body abbr { text-decoration: underline dotted; cursor: help; }
.modal-body p.resumen { margin-top: 16px; color: var(--color-text-soft); }
.modal-footer { padding: 0 26px 26px; }
.modal-footer .btn { width: 100%; }

/* ---------- Panel de perfiles (entrada al cuestionario) ----------
   Vive dentro de .contact-grid junto a #cuestionario-root: solo uno de
   los dos esta visible a la vez (el otro queda con [hidden]), asi que
   el grid de 2 columnas se arma igual sin necesidad de un wrapper. */
.perfil-cards { margin-bottom: 18px; }
.perfil-card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 10px;
}
.perfil-card-steps {
  counter-reset: perfil-step;
  list-style: none;
  margin: 16px 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.perfil-card-steps li {
  position: relative;
  padding-left: 30px;
  counter-increment: perfil-step;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* Nombre del paso en semi-negrita y linea descriptiva debajo, mas chica y gris */
.perfil-card-steps li strong { font-size: 0.9rem; font-weight: 600; color: var(--color-darkbrown); }
.perfil-card-steps li span { font-size: 0.8rem; line-height: 1.4; color: var(--color-text-soft); }
.perfil-card-steps li span:empty { display: none; }
.perfil-card-steps li::before {
  content: counter(perfil-step);
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-orange);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Los 3 cuadros de perfil, del mismo formato, en una fila; el boton queda al pie */
.perfil-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.perfil-card { display: flex; flex-direction: column; }
.perfil-card .perfil-card-steps { flex: 1; }
.perfil-card > .btn { align-self: stretch; }
@media (max-width: 1000px) { .perfil-cards { grid-template-columns: 1fr; } }
/* Contorno mas marcado en los cuadros de Contáctanos (perfiles y contacto directo) */
.perfil-card.panel,
.contact-info-card {
  border: 1px solid #D8C4A8;
  box-shadow: 0 4px 14px rgba(75, 43, 18, 0.10);
}
.perfil-card.panel-float:hover { box-shadow: var(--shadow-md); border-color: #C9AE8B; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
/* Mientras se ven los 3 cuadros de perfil, ocupan todo el ancho y el
   Contacto Directo pasa a una franja horizontal debajo. Con el cuestionario
   abierto vuelve el layout de 2 columnas (cuestionario + contacto directo). */
.contact-grid:has(#perfil-panel:not([hidden])) { grid-template-columns: 1fr; gap: 28px; }
.contact-grid:has(#perfil-panel:not([hidden])) .contact-info-card {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px;
  padding: 20px 28px;
}
.contact-grid:has(#perfil-panel:not([hidden])) .contact-info-card h3,
.contact-grid:has(#perfil-panel:not([hidden])) .contact-info-card .contact-info-row { margin: 0; }
.contact-grid:has(#perfil-panel:not([hidden])) .contact-info-card .btn-block { display: inline-block; width: auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--color-darkbrown); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-gray-mid);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-white);
}
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--color-orange);
  outline-offset: 1px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-error { color: #b3261e; font-size: 0.82rem; margin-top: 4px; display: none; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: #b3261e; }
.form-group.has-error .form-error { display: block; }
.contact-info-card { background: var(--color-cream); border-radius: var(--radius); padding: 30px; }
.contact-info-card h3 { margin-bottom: 16px; }
.contact-info-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-row .icon { color: var(--color-orange); flex-shrink: 0; }
.contact-info-row .icon svg { width: 20px; height: 20px; display: block; }
.icon-inline { display: inline-flex; width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; }
.icon-inline svg { width: 100%; height: 100%; display: block; }

/* ---------- Cuestionario (wizard de contacto) ----------
   Mas protagonismo que el panel de contacto directo: mas padding y sombra
   mas marcada que un .panel comun (ver .contact-grid mas arriba). */
.wizard-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px 38px;
  box-shadow: 0 10px 34px rgba(75, 43, 18, 0.18);
}
@media (max-width: 600px) { .wizard-shell { padding: 26px 22px; } }
.wizard-progress-track { height: 6px; border-radius: 3px; background: var(--color-gray-mid); overflow: hidden; }
.wizard-progress-fill { height: 100%; background: var(--color-orange); transition: width 0.3s ease; }
.wizard-progress-label { margin-top: 8px; font-size: 0.8rem; font-weight: 700; color: var(--color-text-soft); text-transform: uppercase; letter-spacing: 0.5px; }
.wizard-step-content { min-height: 220px; transition: opacity 0.18s ease, transform 0.18s ease; opacity: 1; transform: translateY(0); }
.wizard-step-content.wizard-fade-out { opacity: 0; transform: translateY(8px); }
.wizard-question { margin-bottom: 18px; }
/* Aviso bajo el titulo en preguntas de seleccion multiple */
.wizard-question:has(+ .wizard-multi-hint) { margin-bottom: 6px; }
.wizard-multi-hint { color: var(--color-text-soft); font-size: 0.85rem; margin: 0 0 16px; }
.wizard-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.wizard-option {
  text-align: left;
  background: var(--color-white);
  border: 2px solid var(--color-gray-mid);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-darkbrown);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.wizard-option:hover { border-color: var(--color-orange); }
.wizard-option.is-selected { border-color: var(--color-orange); background: var(--color-cream); color: var(--color-orange-dark); }
.wizard-validation-msg { color: #b3261e; font-size: 0.85rem; margin-top: 14px; }
.wizard-otro-field { margin-top: 14px; }
/* Cuadro de texto opcional bajo las opciones (ej. "Antecedentes adicionales") */
.wizard-extra-field { margin-top: 20px; }
.wizard-extra-field label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--color-darkbrown); margin-bottom: 6px; }
.wizard-optional { font-weight: 400; color: var(--color-text-soft); }
.wizard-extra-hint { color: var(--color-text-soft); font-size: 0.82rem; margin: -2px 0 8px; }
/* Sub-pregunta (ej. "¿Con qué rol?") bajo las opciones principales */
.wizard-sub {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--color-cream);
  border: 1px solid #EADCC8;
  border-radius: 8px;
}
.wizard-sub-title { font-weight: 700; font-size: 0.92rem; color: var(--color-darkbrown); margin: 0 0 10px; }
.wizard-sub-options { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .wizard-sub-options { grid-template-columns: 1fr; } }
/* Titulo del cuadro de descripcion que abre "Otro" (ej. "Cuéntanos qué buscas…") */
.wizard-otro-label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--color-darkbrown); margin-bottom: 6px; }
.wizard-extra-answer { min-height: 110px; }
/* Preguntas de respuesta abierta (cuadro de texto grande) */
.wizard-text-answer { resize: vertical; min-height: 150px; line-height: 1.5; display: block; }
.wizard-otro-field input, .wizard-text-answer {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-gray-mid);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-white);
}
.wizard-otro-field input:focus, .wizard-text-answer:focus { outline: 2px solid var(--color-orange); outline-offset: 1px; }
.wizard-otro-error { color: #b3261e; font-size: 0.82rem; margin: 6px 0 0; }
.wizard-contact-form .form-group { margin-bottom: 16px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 14px; }
.wizard-nav .wizard-btn-next { margin-left: auto; }
.wizard-summary { display: flex; flex-direction: column; gap: 0; margin: 18px 0; border-top: 1px solid var(--color-gray-mid); }
.wizard-summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--color-gray-mid); font-size: 0.88rem; }
.wizard-summary-label { color: var(--color-text-soft); font-weight: 600; flex-shrink: 0; }
.wizard-summary-value { text-align: right; color: var(--color-text); }
.wizard-summary-intro { color: var(--color-text-soft); font-size: 0.9rem; }
.wizard-summary-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.wizard-btn-send-email:disabled { opacity: 0.7; cursor: wait; }
.wizard-email-error { color: #b3261e; font-size: 0.85rem; text-align: center; margin: 12px 0 0; }

.wizard-success { text-align: center; padding: 20px 0; }
.wizard-success-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-orange);
}
.wizard-success-icon svg { width: 28px; height: 28px; }
.wizard-success h3 { margin-bottom: 0.4em; }
.wizard-success p { color: var(--color-text-soft); margin: 0; }

@media (max-width: 600px) {
  .wizard-options { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */
.mt-40 { margin-top: 40px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
