/* =========================================================
   INDUCLAM · INDUSTRIAS CLAM S.A.S. · induclam.com
   Hoja de estilos v10 — estructura v9 (páginas de servicio, idiomas por URL, formulario B2B)
   con la identidad corporativa: logo IC y paleta azul profundo + cobre (21-11-2026)
   ========================================================= */

:root {
  /* Paleta "Corporativo Premium" (hoja de identidad INDUCLAM): azul profundo #0B2D5C, cobre #B8733A,
     gris acero #6B7280, gris claro #E5E7EB */
  --azul-950: #061a3a;
  --azul-900: #08244a;
  --azul-850: #0a2851;
  --azul-800: #0b2d5c;
  --azul-700: #163d73;
  --cobre: #a5632c;        /* botones: texto blanco con contraste 4,7:1 */
  --cobre-hover: #8f5424;
  --cobre-claro: #c98552;
  --cobre-texto: #93582f;
  --cobre-linea: #b8733a;
  --crema: #eef0f3;
  --crema-2: #f4f5f7;
  --marfil: #f9fafb;
  --papel: #fcfcfd;
  --blanco: #ffffff;
  --tinta: #0d2242;
  --texto: #4b5563;
  --texto-suave: #5b6472;
  --borde: #e5e7eb;
  --gris-acero: #6b7280;
  --gris-claro: #e5e7eb;   /* fondo del encabezado */
  --gris-linea: #d1d5db;
  --cobre-menu: #8a4f22;   /* opción activa del menú sobre gris claro */
  --serif: Georgia, "Times New Roman", Times, serif;
  --serif-cifras: Cambria, "Times New Roman", Times, serif; /* cifras alineadas (Georgia usa cifras antiguas) */
  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ancho: 1280px;
  --ancho-servicios: 1340px;
  --gutter: clamp(16px, 4.6vw, 64px);
  --sombra-tarjeta: 0 8px 24px rgba(11, 30, 60, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, textarea, select { font: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(var(--ancho), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-ancho { width: min(var(--ancho-servicios), 100% - 2 * var(--gutter)); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blanco); color: var(--tinta); padding: 10px 16px; border-radius: 4px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--cobre-claro); outline-offset: 3px; }

.rule { display: block; width: 42px; height: 3px; background: var(--cobre-linea); margin: 16px 0 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 26px; border-radius: 4px; border: 1.5px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn .ico-flecha { width: 20px; height: 20px; flex: none; }
.btn-cobre { background: var(--cobre); color: var(--blanco); }
.btn-cobre:hover { background: var(--cobre-hover); }
.btn-linea { border-color: rgba(255, 255, 255, 0.9); color: var(--blanco); padding: 0 34px; }
.btn-linea:hover { background: rgba(255, 255, 255, 0.08); }
.btn-contorno { border-color: var(--cobre-linea); color: var(--tinta); background: transparent; min-height: 48px; padding: 0 22px; }
.btn-contorno:hover { background: rgba(184, 115, 58, 0.08); }
.btn[disabled] { opacity: .65; cursor: wait; }

/* ---------- Encabezado (gris claro de la paleta con el logo positivo a color) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--gris-claro); color: var(--azul-800);
  border-bottom: 1px solid var(--gris-linea);
}
.site-header :focus-visible { outline-color: var(--azul-800); }
.nav-wrap { display: flex; align-items: center; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--azul-800); flex: 0 1 236px; min-width: 104px; }
.brand-logo { display: block; width: 236px; max-width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 38px); margin-left: clamp(36px, 6.5vw, 96px); }
.nav a { position: relative; padding: 27px 0 25px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--azul-800); white-space: nowrap; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--cobre-linea); transform: scaleX(0); transition: transform .2s ease; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--cobre-menu); }
.lang { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 14px; color: var(--gris-acero); }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px;
  background: none; border: 0; padding: 0 4px; color: var(--texto); font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer; letter-spacing: 0.04em;
}
.lang-btn.is-active { color: var(--azul-800); }
.lang-btn:hover { color: var(--cobre-menu); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--azul-900); color: var(--blanco); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 46%; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--azul-900) 0%, var(--azul-900) 33%, rgba(8, 36, 74, 0.88) 40%, rgba(8, 36, 74, 0.5) 51%, rgba(8, 36, 74, 0.12) 64%, rgba(8, 36, 74, 0) 76%),
    linear-gradient(180deg, rgba(8, 36, 74, 0.25) 0%, rgba(8, 36, 74, 0) 22%, rgba(8, 36, 74, 0) 78%, rgba(8, 36, 74, 0.3) 100%);
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(520px, 39vw, 590px); }
.hero-copy { max-width: 700px; padding: 54px 0 46px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 3.5vw, 51px); line-height: 1.07; letter-spacing: 0.004em; text-transform: uppercase; }
.hero h1 .h1-b { max-width: 560px; }
.hero h1 span { display: block; text-wrap: balance; }
.hero h1 .h1-b { color: var(--cobre-claro); }
html[lang="en"] .hero h1 .h1-b { max-width: none; }
.hero .rule { margin: 22px 0 22px; width: 44px; }
.hero-lead { font-size: 18.5px; line-height: 1.55; max-width: 560px; color: rgba(255, 255, 255, 0.93); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-stats { display: flex; margin-top: 38px; }
.stat { display: flex; align-items: flex-start; gap: 14px; padding-right: 36px; margin-right: 36px; border-right: 1px solid rgba(255, 255, 255, 0.32); }
.stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat-ico { width: 34px; height: 34px; color: var(--blanco); flex: none; margin-top: 6px; }
.stat strong { display: block; font-family: var(--serif-cifras); font-size: 33px; line-height: 1.05; font-weight: 700; }
.stat span { display: block; font-size: 15px; font-weight: 600; margin-top: 2px; }
.stat small { display: block; margin-top: 8px; font-size: 11px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.66); }
.hero-tag {
  position: absolute; top: 46px; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.36em; color: rgba(255, 255, 255, 0.62);
}

/* ---------- Respaldo y confianza ---------- */
.respaldo { background: var(--crema); padding: 30px 0; }
.respaldo-grid { display: grid; grid-template-columns: 0.82fr repeat(4, 1fr); gap: 16px; align-items: stretch; }
.respaldo-titulo { align-self: center; padding: 6px 0; }
.respaldo-titulo h2 { font-family: var(--serif); font-size: clamp(28px, 2.35vw, 35px); line-height: 1.1; color: var(--tinta); }
.respaldo-card {
  display: flex; align-items: center; gap: 14px;
  background: #fbfcfd; border: 1px solid #e5e7eb; border-radius: 4px;
  padding: 18px 16px; box-shadow: 0 2px 10px rgba(11, 30, 60, 0.035);
}
.respaldo-ico { width: 40px; height: 40px; flex: none; color: #b06f42; }
.respaldo-card h3 { font-size: 15.5px; line-height: 1.25; font-weight: 700; color: var(--tinta); margin-bottom: 5px; }
.respaldo-card p { font-size: 13.5px; line-height: 1.4; color: var(--texto-suave); }

/* ---------- Secciones genéricas ---------- */
.seccion { padding: 46px 0 56px; }
.seccion-cabeza { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.seccion-cabeza h2, .capacidad h2, .trayectoria h2 { font-family: var(--serif); font-size: clamp(28px, 2.35vw, 35px); line-height: 1.1; color: var(--tinta); }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: 0.32em; color: #4b5563; padding-bottom: 6px; text-align: right; }

/* ---------- Servicios ---------- */
.servicios { background: var(--marfil); }
.servicios-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.servicio {
  position: relative; display: flex; flex-direction: column;
  background: var(--blanco); border: 1px solid #e6e8ec; border-radius: 4px; overflow: hidden;
  box-shadow: var(--sombra-tarjeta); transition: transform .2s ease, box-shadow .2s ease;
}
.servicio:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(11, 30, 60, 0.12); }
.servicio-img { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; background: #e5e7eb; }
.servicio-img img { width: 100%; height: 100%; object-fit: cover; }
.servicio-img .img-acercar { transform: scale(1.16); transform-origin: 50% 40%; }
.servicio-nota {
  position: absolute; left: 10px; bottom: 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blanco); background: rgba(11, 45, 92, 0.74); padding: 5px 9px; border-radius: 3px;
}
.servicio-cuerpo { position: relative; flex: 1; padding: 18px 18px 50px; }
.servicio h3 { font-family: var(--serif); font-size: clamp(18px, 1.4vw, 20.5px); line-height: 1.2; font-weight: 700; color: var(--tinta); margin-bottom: 9px; }
.servicio p { font-size: 14.5px; line-height: 1.48; color: var(--texto); }
.servicio-link {
  position: absolute; right: 12px; bottom: 10px; display: grid; place-items: center;
  width: 36px; height: 36px; color: var(--cobre-linea); border-radius: 50%; transition: background-color .2s ease, color .2s ease;
}
.servicio-link svg { width: 24px; height: 24px; }
.servicio-link:hover { background: rgba(184, 115, 58, 0.1); color: var(--cobre-texto); }

/* ---------- Capacidad industrial ---------- */
.capacidad { background: var(--crema-2); padding: 36px 0; }
.capacidad-grid { display: grid; grid-template-columns: 1.05fr 1.45fr 0.5fr; gap: clamp(28px, 3.6vw, 52px); align-items: center; }
.capacidad-texto p { font-size: 16.5px; line-height: 1.62; color: #3d4655; margin-top: 20px; max-width: 470px; }
.capacidad-texto .btn { margin-top: 24px; }
.capacidad-foto { border-radius: 6px; overflow: hidden; box-shadow: 0 10px 28px rgba(11, 30, 60, 0.12); }
.capacidad-foto img { width: 100%; aspect-ratio: 2.35 / 1; object-fit: cover; object-position: 50% 52%; }
.capacidad-puntos { display: flex; flex-direction: column; gap: 32px; }
.capacidad-puntos li { display: flex; align-items: center; gap: 18px; }
.capacidad-puntos svg { width: 34px; height: 34px; color: var(--azul-700); flex: none; }
.capacidad-puntos span { font-size: 12px; letter-spacing: 0.32em; color: #3d4655; }

/* ---------- Cómo trabajamos ---------- */
.proceso { background: var(--marfil); }
.pasos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); }
.paso { position: relative; text-align: center; }
.paso:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: calc(-1 * clamp(22px, 3vw, 44px) / 2 - 11px);
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23b8733a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.paso-img { position: relative; width: 100%; max-width: 205px; margin: 0 auto 18px; aspect-ratio: 1.78; }
.paso-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; box-shadow: 0 6px 18px rgba(11, 30, 60, 0.1); }
.paso-num {
  position: absolute; left: -10px; top: -8px; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #a06b45; color: var(--blanco); border: 3px solid var(--marfil);
  font-family: var(--serif-cifras); font-size: 19px; font-weight: 700;
}
.paso h3 { font-size: 16px; line-height: 1.28; font-weight: 700; color: var(--tinta); margin-bottom: 8px; }
.paso p { font-size: 13.8px; line-height: 1.5; color: var(--texto-suave); }

/* ---------- Trayectoria ---------- */
.trayectoria { background: var(--papel); padding: 44px 0 50px; }
.trayectoria-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 25vw, 360px); gap: clamp(28px, 3.4vw, 48px); align-items: center; }
.hitos { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin-top: 30px; padding-top: 30px; }
.hitos::before {
  content: ""; position: absolute; top: 5px; left: 5px; right: 0; height: 1.5px;
  background: linear-gradient(90deg, #c39272 0%, #c39272 88%, rgba(195, 146, 114, 0) 100%);
}
.hito { position: relative; padding-right: 6px; }
.hito-punto { position: absolute; top: -31px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #a8673b; box-shadow: 0 0 0 4px rgba(168, 103, 59, 0.16); }
.hito-fecha { font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--tinta); margin-bottom: 6px; }
.hito h3 { font-size: 14px; line-height: 1.3; font-weight: 700; color: #1f2f4a; margin-bottom: 6px; }
.hito p:last-child { font-size: 13.5px; line-height: 1.48; color: var(--texto-suave); }
.trayectoria-foto { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 26px rgba(11, 30, 60, 0.12); }
.trayectoria-foto img { width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: 30% 50%; }
.trayectoria-foto figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  background: rgba(10, 40, 81, 0.88); color: var(--blanco); font-size: 12.5px; font-weight: 600; line-height: 1.35;
  padding: 9px 12px; border-radius: 3px;
}

/* ---------- Cotización ---------- */
.cotizacion { display: grid; grid-template-columns: 19% 27% minmax(0, 1fr) 13%; background: #eef0f3; min-height: 420px; }
.cotizacion-foto { position: relative; overflow: hidden; }
.cotizacion-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.cotizacion-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 40, 81, 0) 52%, rgba(10, 40, 81, 0.85) 92%, var(--azul-850) 100%); }
.cotizacion-oscuro { background: var(--azul-850); color: var(--blanco); padding: 56px clamp(28px, 3vw, 44px) 40px; display: flex; flex-direction: column; }
.cotizacion-oscuro h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.3vw, 35px); line-height: 1.16; }
.cotizacion-oscuro .rule { margin: 22px 0; }
.cotizacion-oscuro p { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.cotizacion-correos { margin-top: 18px; }
.cotizacion-oscuro .cotizacion-correos a { color: #e6b48d; text-decoration: none; font-size: 14.5px; }
.cotizacion-oscuro .cotizacion-correos a:hover { text-decoration: underline; }
.cotizacion-oscuro .cotizacion-whatsapp { margin-top: 12px; }
.cotizacion-whatsapp a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: #e6b48d; font-size: 14.5px; text-decoration: none; }
.cotizacion-whatsapp a:hover { text-decoration: underline; }
.cotizacion-whatsapp svg { width: 20px; height: 20px; flex: none; color: #c78a5a; }
.cotizacion-oscuro .cotizacion-sello { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 30px; font-size: 11.5px; letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.78); }
.cotizacion-sello svg { width: 30px; height: 30px; padding: 5px; border: 1.5px solid #c78a5a; border-radius: 50%; color: #c78a5a; flex: none; }
.cotizacion-form { padding: 38px clamp(24px, 3vw, 44px) 34px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.campo label { display: block; font-size: 13.5px; font-weight: 600; color: #273244; }
.campo-ancho { grid-column: 1 / -1; }
.req { color: #c0492f; }
.campo input[type="text"], .campo input[type="email"], .campo input[type="tel"], .campo textarea {
  display: block; width: 100%; margin-top: 7px; padding: 12px 13px;
  border: 1px solid #d1d5db; border-radius: 3px; background: #fbfbfc; color: var(--tinta); font-size: 14.5px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.campo select {
  display: block; width: 100%; margin-top: 7px; padding: 12px 38px 12px 13px;
  border: 1px solid #d1d5db; border-radius: 3px; color: var(--tinta); font-size: 14.5px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: #fbfbfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23b8733a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.campo select:invalid { color: #868e9b; }
.campo-opcional { font-weight: 400; font-size: 12.5px; color: var(--texto-suave); }
.campo textarea { resize: vertical; min-height: 96px; }
.campo input::placeholder, .campo textarea::placeholder { color: #9aa1ac; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--cobre-linea); box-shadow: 0 0 0 3px rgba(184, 115, 58, 0.16); }
.campo [aria-invalid="true"] { border-color: #c0492f; }
.campo-check { display: flex; align-items: flex-start; gap: 10px; }
.campo-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--cobre); flex: none; }
.campo-check label { font-size: 13px; font-weight: 400; color: var(--texto-suave); line-height: 1.45; }
.campo-check a { color: var(--cobre-texto); }
.form-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-estado { font-size: 14px; line-height: 1.4; }
.form-estado.is-ok { color: #1d6b45; }
.form-estado.is-error { color: #b03a2e; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cotizacion-lema { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 0 22px 0 26px; }
.cotizacion-lema::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: #d4d8de; }
.cotizacion-lema svg { width: 30px; height: 30px; color: #b06f42; }
.cotizacion-lema p span { display: block; font-size: 11.5px; letter-spacing: 0.3em; line-height: 2; color: #4b5563; }

/* ---------- Pie de página ---------- */
.site-footer { position: relative; background: var(--azul-800); color: var(--blanco); padding-top: 34px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 3vw, 44px); }
.footer-marca { padding-right: clamp(24px, 3vw, 44px); border-right: 1px solid rgba(255, 255, 255, 0.24); }
.footer-logo { display: block; width: 236px; max-width: 100%; height: auto; }
.footer-marca p:last-child { font-size: 14.5px; margin-top: 12px; color: rgba(255, 255, 255, 0.82); }
.footer-datos p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
.footer-web { font-weight: 700; font-size: 15px; color: var(--blanco); text-decoration: none; }
.footer-datos .footer-correos { font-size: 13px; }
.footer-correos a, .footer-web { text-decoration: none; }
.footer-correos a:hover, .footer-web:hover, .footer-legal a:hover { text-decoration: underline; }
.footer-hojas { justify-self: center; width: min(360px, 100%); height: auto; color: rgba(255, 255, 255, 0.13); }
.footer-lema { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.24); }
.footer-lema span { display: block; font-size: 11.5px; letter-spacing: 0.3em; line-height: 2; color: rgba(255, 255, 255, 0.78); }
.footer-legal { margin-top: 26px; padding: 14px 0 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-legal p { font-size: 12.5px; color: rgba(255, 255, 255, 0.66); }
.footer-legal a { color: rgba(255, 255, 255, 0.85); }
.footer-datos .footer-enlaces { font-size: 13.5px; margin-top: 4px; }
.footer-enlaces a { color: var(--blanco); font-weight: 600; text-decoration: none; }
.footer-enlaces a:hover { text-decoration: underline; }
.footer-legal .nota-marcas { margin-top: 8px; max-width: 980px; font-size: 11.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.5); }

/* ---------- Página interna (privacidad) ---------- */
.pagina-legal { padding: 56px 0 72px; background: var(--papel); }
.pagina-legal .container { max-width: 860px; }
.pagina-legal h1 { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1.15; color: var(--tinta); }
.pagina-legal h2 { font-family: var(--serif); font-size: 22px; margin-top: 32px; color: var(--tinta); }
.pagina-legal p, .pagina-legal li { font-size: 16px; line-height: 1.65; color: #3d4655; margin-top: 12px; }
.pagina-legal ul { list-style: disc; padding-left: 22px; }
.pagina-legal a { color: var(--cobre-texto); }
.pagina-legal .btn { margin-top: 32px; }

/* ---------- v9 · Páginas de servicio ---------- */
.hero-interna { background: radial-gradient(ellipse at 86% 24%, rgba(201, 133, 82, 0.12), rgba(201, 133, 82, 0) 56%), var(--azul-900); }
.hero-interna .hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px);
  align-items: center; min-height: 0; padding: 52px 0 60px;
}
.hero-interna .hero-copy { max-width: 640px; padding: 0; }
.hero-interna h1 { font-size: clamp(34px, 3.3vw, 48px); line-height: 1.1; text-transform: none; letter-spacing: 0; }
.hero-interna .hero-lead { max-width: 600px; }
.hero-interna .hero-stats { margin-top: 34px; }
.hero-figura { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); background: var(--azul-800); }
.hero-figura img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.hero-figura .img-acercar { transform: scale(1.1); transform-origin: 50% 40%; }
.migas ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.migas li + li::before { content: "›"; margin-right: 6px; color: rgba(255, 255, 255, 0.45); }
.migas a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.migas a:hover { text-decoration: underline; }

.fondo-marfil { background: var(--marfil); }
.fondo-crema { background: var(--crema-2); }
.fondo-papel { background: var(--papel); }
.bloque { padding: 60px 0; }
.bloque-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.bloque-grid.invertido .bloque-figura { order: -1; }
.bloque h2, .titulo-seccion { font-family: var(--serif); font-size: clamp(28px, 2.35vw, 35px); line-height: 1.12; color: var(--tinta); }
.bloque-texto > p { margin-top: 18px; max-width: 590px; font-size: 16.5px; line-height: 1.65; color: #3d4655; }
.bloque-texto h3 { margin-top: 26px; font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--tinta); }
.bloque-texto h3 + p { margin-top: 8px; font-size: 16px; }
.dato { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 22px; }
.dato strong { font-family: var(--serif-cifras); font-size: 40px; line-height: 1; color: var(--cobre-texto); }
.dato span { font-size: 15px; font-weight: 600; color: var(--tinta); }
.lista-check { display: grid; gap: 10px; margin-top: 20px; }
.lista-check li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.55; color: #3d4655; }
.lista-check li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 13px; height: 7px;
  border-left: 2px solid var(--cobre-linea); border-bottom: 2px solid var(--cobre-linea); transform: rotate(-45deg);
}
.enlace-flecha { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; color: var(--cobre-texto); text-decoration: none; }
.enlace-flecha svg { width: 20px; height: 20px; flex: none; }
.enlace-flecha:hover { text-decoration: underline; }
.bloque-figura { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 28px rgba(11, 30, 60, 0.12); background: #e5e7eb; }
.bloque-figura img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.bloque-figura .img-acercar { transform: scale(1.12); transform-origin: 50% 40%; }
.bloque-figura figcaption, .hero-figura figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  background: rgba(10, 40, 81, 0.88); color: var(--blanco); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.35;
  padding: 7px 11px; border-radius: 3px;
}

.pasos-lista { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.pasos-lista li { background: var(--blanco); border: 1px solid #e6e8ec; border-radius: 4px; padding: 24px 18px 22px; box-shadow: var(--sombra-tarjeta); }
.pasos-lista .paso-num { position: static; margin-bottom: 14px; border-color: var(--blanco); }
.pasos-lista h3 { margin-bottom: 8px; font-size: 16px; line-height: 1.28; font-weight: 700; color: var(--tinta); }
.pasos-lista p { font-size: 14px; line-height: 1.5; color: var(--texto-suave); }

.dos-columnas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); }
.panel { background: var(--blanco); border: 1px solid #e6e8ec; border-radius: 4px; padding: 30px 30px 32px; box-shadow: var(--sombra-tarjeta); }
.panel h2 { font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); line-height: 1.15; color: var(--tinta); }
.panel > p { margin-top: 16px; font-size: 15.5px; line-height: 1.6; color: #3d4655; }

.aviso-enlace {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px;
  margin-top: 44px; padding: 26px 30px; border-radius: 4px; background: var(--azul-850); color: var(--blanco);
}
.aviso-enlace p { font-family: var(--serif); font-size: 21px; line-height: 1.3; max-width: 640px; }

.faq { max-width: 920px; margin-top: 10px; border-top: 1px solid var(--borde); }
.faq details { border-bottom: 1px solid var(--borde); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px 20px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--tinta);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid var(--cobre-linea); border-bottom: 2px solid var(--cobre-linea); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--cobre-texto); }
.faq details p { max-width: 800px; padding: 0 0 22px; font-size: 16px; line-height: 1.65; color: #3d4655; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .respaldo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .respaldo-titulo { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 18px; }
  .respaldo-titulo h2 br { display: none; }
  .respaldo-titulo .rule { margin: 0 0 10px; }
  .servicios-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .servicio { grid-column: span 2; }
  .servicio:nth-child(4) { grid-column: 2 / span 2; }
  .cotizacion { grid-template-columns: 17% 29% minmax(0, 1fr); }
  .cotizacion-lema { display: none; }
}

@media (max-width: 1100px) {
  .nav { gap: 20px; margin-left: 28px; }
  .brand { flex-basis: 196px; }
  .brand-logo { width: 196px; }
  .hero-media { width: 74%; }
  .hero-copy { max-width: 540px; }
  .hero-tag { display: none; }
  .capacidad-grid { grid-template-columns: 1fr 1.25fr; }
  .capacidad-puntos { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: clamp(24px, 6vw, 72px); }
  .pasos { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 40px; }
  .paso { grid-column: span 2; }
  .paso:nth-child(4) { grid-column: 2 / span 2; }
  .paso:nth-child(3)::after, .paso:nth-child(5)::after { display: none; }
  .trayectoria-grid { grid-template-columns: 1fr; }
  .trayectoria-foto { max-width: 560px; }
  .footer-grid { grid-template-columns: auto minmax(0, 1fr) auto; }
  .footer-hojas { display: none; }
}

@media (max-width: 920px) {
  .nav-wrap { min-height: 66px; }
  .brand { flex-basis: 190px; margin-right: 12px; }
  .brand-logo { width: 190px; }
  .menu-toggle {
    display: inline-flex; flex: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: 14px; padding: 0 11px; order: 3;
    background: transparent; border: 1px solid var(--gris-acero); border-radius: 4px; cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--azul-800); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .lang { order: 2; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gutter) 16px;
    background: var(--gris-claro); border-top: 1px solid var(--gris-linea); box-shadow: 0 14px 24px rgba(11, 30, 60, 0.22);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--gris-linea); }
  .nav a::after { display: none; }
  .respaldo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capacidad-grid { grid-template-columns: 1fr; }
  .capacidad-puntos { justify-content: flex-start; }
  .hitos { grid-template-columns: 1fr; gap: 26px; padding-top: 0; padding-left: 34px; margin-top: 26px; }
  .hitos::before { top: 6px; bottom: 10px; left: 5px; right: auto; width: 1.5px; height: auto; background: linear-gradient(180deg, #c39272 0%, #c39272 92%, rgba(195, 146, 114, 0) 100%); }
  .hito-punto { top: 3px; left: -34px; }
  .cotizacion { grid-template-columns: 1fr; }
  .cotizacion-foto { display: none; }
  .cotizacion-oscuro { padding: 44px var(--gutter) 36px; }
  .cotizacion-oscuro .cotizacion-sello { margin-top: 26px; padding-top: 0; }
  .cotizacion-form { padding: 34px var(--gutter) 40px; }
}

@media (max-width: 760px) {
  .hero-media { width: 100%; }
  .hero-media img { object-position: 62% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(8, 36, 74, 0.72) 0%, rgba(8, 36, 74, 0.86) 45%, rgba(8, 36, 74, 0.95) 100%); }
  .hero-inner { min-height: 0; }
  .hero-copy { padding: 48px 0 44px; }
  .hero h1 { font-size: clamp(31px, 8.6vw, 42px); }
  .hero-lead { font-size: 16.5px; }
  .hero-stats { flex-wrap: wrap; gap: 18px 0; }
  .stat { padding-right: 22px; margin-right: 22px; }
  .stat strong { font-size: 28px; }
  .seccion { padding: 40px 0 46px; }
  .seccion-cabeza { flex-direction: column; align-items: flex-start; gap: 12px; }
  .kicker { text-align: left; letter-spacing: 0.24em; padding-bottom: 0; }
  .servicios-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .servicio, .servicio:nth-child(4) { grid-column: auto; }
  .servicio:last-child { grid-column: 1 / -1; }
  .capacidad-grid { grid-template-columns: 1fr; }
  .capacidad-puntos { justify-content: flex-start; flex-wrap: wrap; gap: 18px 28px; }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
  .paso, .paso:nth-child(4) { grid-column: auto; }
  .paso:last-child { grid-column: 1 / -1; }
  .paso::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-marca { border-right: 0; padding-right: 0; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .footer-lema { border-left: 0; padding-left: 0; }
}

@media (max-width: 560px) {
  .lang { gap: 6px; }
  .brand { flex-basis: 168px; }
  .brand-logo { width: 168px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { flex-direction: column; gap: 18px; }
  .stat { border-right: 0; margin-right: 0; padding-right: 0; }
  .respaldo-grid { grid-template-columns: 1fr; }
  .respaldo-titulo { flex-direction: column; align-items: flex-start; gap: 0; }
  .respaldo-titulo .rule { margin: 14px 0 0; }
  .servicios-grid { grid-template-columns: 1fr; }
  .servicio:last-child { grid-column: auto; }
  .pasos { grid-template-columns: 1fr; }
  .paso:last-child { grid-column: auto; }
  .paso-img { max-width: 240px; }
  .form { grid-template-columns: 1fr; }
  .capacidad-puntos { flex-direction: column; gap: 16px; }
}

/* ---------- v9 · Responsive de páginas de servicio y formulario ---------- */
@media (max-width: 1100px) {
  .pasos-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero-interna .hero-inner { grid-template-columns: 1fr; padding: 42px 0 48px; }
  .hero-figura { max-width: 560px; }
  .bloque-grid, .dos-columnas { grid-template-columns: 1fr; }
  .bloque-grid.invertido .bloque-figura { order: 0; }
  .bloque-figura { max-width: 620px; }
}
@media (max-width: 760px) {
  .campo input[type="text"], .campo input[type="email"], .campo input[type="tel"], .campo textarea, .campo select { font-size: 16px; }
  .hero-interna h1 { font-size: clamp(30px, 8vw, 40px); }
  .bloque { padding: 44px 0; }
  .pasos-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dato strong { font-size: 34px; }
}
@media (max-width: 560px) {
  .pasos-lista { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px 26px; }
  .aviso-enlace { padding: 22px 20px; }
  .aviso-enlace p { font-size: 18px; }
  .faq summary { font-size: 16px; }
}

/* Pantallas muy angostas (menos de 320 px): el título se reduce para no salirse */
@media (max-width: 319px) {
  .hero h1, .hero-interna h1 { font-size: 8.6vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .menu-toggle, .cotizacion-form, .hero-actions { display: none !important; }
  .hero { background: #fff; color: #000; }
}

/* ---------- Aroma de fe (versículo del pie; el texto se edita en aroma-de-fe.txt) ---------- */
.fe[hidden], .con-versiculo .footer-lema, .con-versiculo .footer-hojas { display: none; }
.footer-grid.con-versiculo { grid-template-columns: auto minmax(0, 1fr) minmax(380px, 450px); }
.fe {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 24px;
  border: 1px solid rgba(230, 180, 141, 0.42); border-radius: 8px; color: var(--blanco);
  background: radial-gradient(circle at 70px 30px, rgba(230, 180, 141, 0.28), rgba(230, 180, 141, 0) 190px), linear-gradient(135deg, var(--azul-700), var(--azul-850));
}
.fe-dibujo { display: block; width: 92px; height: 92px; }
.fe-nombre { margin-bottom: 8px; font-family: var(--serif); font-size: 21px; line-height: 1.2; color: #e6b48d; }
.fe-texto { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.5; overflow-wrap: anywhere; }
.fe-cita { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #e6b48d; }
@media (max-width: 1240px) {
  .footer-grid.con-versiculo { grid-template-columns: auto minmax(0, 1fr); }
  .con-versiculo .fe { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer-grid.con-versiculo { grid-template-columns: minmax(0, 1fr); }
  .fe { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 18px 16px; }
  .fe-dibujo { width: 64px; height: 64px; }
}
