:root {
  --black: #000000;
  --red: #E41F24;
  --red-dark: #B5171B;
  --silver: #BCBCBB;
  --white: #FFFFFF;
  --ink: #101012;
  --bg: #FAFAF9;
  --bg-alt: #F1F1EF;
  --border: rgba(0,0,0,0.1);

  --font-head: 'Epilogue', 'General Sans', system-ui, sans-serif;
  --font-body: 'General Sans', system-ui, sans-serif;

  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 14px;
}

.text-accent { color: var(--red); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-sub { font-size: 1.05rem; color: #4a4a4a; margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }

.btn-whatsapp { background: #25D366; color: #ffffff; }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-whatsapp svg { width: 18px; height: 18px; fill: currentColor; }

.btn-small { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(250,250,249,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-mark { height: 42px; width: auto; }

.main-nav { display: flex; gap: 30px; font-weight: 600; font-size: 0.95rem; }
.main-nav a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: border-color 0.2s ease; }
.main-nav a:hover { border-color: var(--red); }
.main-nav a.is-active { color: var(--red); border-color: var(--red); }

.header-cta { flex-shrink: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--black); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 60px 0 56px;
  overflow: hidden;
  background: var(--white);
}

.hero em, .section-sub em {
  font-style: italic;
  font-family: var(--font-head);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(88vh - 116px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
}

.hero-top { max-width: 760px; }

.hero-sub { font-size: 1.15rem; color: #4a4a4a; margin: 22px 0 34px; max-width: 620px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.stat { display: flex; flex-direction: column; }
.stat-value { display: flex; align-items: baseline; }
.stat-num, .stat-suffix {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--black);
}
.stat-suffix { color: var(--red); }
.stat-label { font-size: 0.82rem; color: #666; margin-top: 4px; }

/* ---------- calculadora ---------- */
.calculadora { padding: 100px 0; background: var(--black); color: var(--white); }
.calculadora .eyebrow { color: var(--red); }
.calculadora h2 { color: var(--white); }
.calculadora .section-sub { color: var(--silver); }

.calc-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 24px;
  padding: 44px;
  max-width: 780px;
}

.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.cp-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 14px;
}

.dims-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cp-field { min-width: 0; }

.cp-input-wrap { position: relative; }
.cp-pin {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--red);
  pointer-events: none;
}
.cp-input-wrap input {
  padding-left: 42px;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.cp-detected {
  min-height: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #999;
}
.cp-detected.is-covered { color: var(--red); }
.cp-detected.is-out { color: #b45309; }

.cp-swap {
  margin-top: 34px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.cp-swap svg { width: 18px; height: 18px; }
.cp-swap:hover { border-color: var(--red); color: var(--red); transform: rotate(180deg); }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field-label { font-size: 0.85rem; font-weight: 600; color: #444; }

.field select, .field input[type="number"], .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}
.field select:focus, .field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 42px;
}

.radio-row { display: flex; gap: 10px; }
.radio-pill {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.radio-pill input { display: none; }
.radio-pill:has(input:checked) { border-color: var(--red); background: rgba(228,31,36,0.06); color: var(--red); }

.calc-submit { grid-column: 1 / -1; margin-top: 8px; }

.calc-result {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.result-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 12px;
}
.result-block { display: flex; flex-direction: column; align-items: center; }
.result-label { font-size: 0.8rem; color: #666; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.result-value { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--red); }
.result-note { font-size: 0.9rem; color: #555; }
.result-note.is-alert {
  background: #fdf2f2;
  border: 1.5px solid rgba(228,31,36,0.25);
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  text-align: left;
}

.calc-whatsapp-btn { margin-top: 16px; }
.calc-whatsapp-btn[hidden] { display: none; }

.calc-disclaimer { margin-top: 20px; font-size: 0.82rem; color: var(--silver); }

/* ---------- servicios ---------- */
.servicios { padding: 100px 0; }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servicio-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  border-color: var(--red);
}
.servicio-icon { width: 30px; height: 30px; color: var(--red); margin-bottom: 18px; }
.servicio-card h3 { margin-bottom: 10px; }
.servicio-card p { color: #555; font-size: 0.95rem; }

/* ---------- cobertura ---------- */
.cobertura { padding: 100px 0; background: var(--bg-alt); }

.coverage-map-wrap { margin-bottom: 40px; }

.coverage-map {
  position: relative;
  width: 100%;
  aspect-ratio: 976 / 655;
  max-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--black);
  background-image:
    radial-gradient(circle at 64% 75%, rgba(228,31,36,0.22), transparent 46%),
    url('../assets/map/coverage-dots.png');
  background-size: cover, 100% 100%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.coverage-lines { position: absolute; inset: 0; width: 100%; height: 100%; }

.radar-ring {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  pointer-events: none;
  animation: radar-pulse 3.2s ease-out infinite;
}
.radar-ring.r2 { animation-delay: 1.05s; }
.radar-ring.r3 { animation-delay: 2.1s; }

@keyframes radar-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.3); opacity: 0.55; }
  100% { transform: translate(-50%, -50%) scale(7); opacity: 0; }
}

.route-line {
  stroke: var(--silver);
  stroke-width: 0.35;
  stroke-dasharray: 1.6 1.6;
  opacity: 0.45;
  animation: route-flow 1.4s linear infinite;
  transition: stroke 0.25s ease, opacity 0.25s ease, stroke-width 0.25s ease;
}
.route-line.is-active { stroke: var(--red); opacity: 1; stroke-width: 0.6; }

@keyframes route-flow {
  to { stroke-dashoffset: -6.4; }
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  width: 22px;
  height: 22px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.marker-pin {
  width: 100%;
  height: 100%;
  fill: var(--silver);
  transform-origin: 50% 100%;
  transition: fill 0.25s ease, transform 0.25s ease;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.55));
}
.marker-pin-hole { fill: var(--black); }

.map-marker.is-active .marker-pin,
.map-marker:hover .marker-pin,
.map-marker:focus-visible .marker-pin {
  fill: var(--red);
  transform: scale(1.18) translateY(-2px);
}

.map-marker-hub { width: 28px; height: 28px; }
.map-marker-hub .marker-pin { fill: var(--red); }

.map-tooltip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 24px));
  transition: left 0.15s ease, top 0.15s ease;
  background: var(--white);
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 12px;
  min-width: 160px;
  max-width: 220px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  pointer-events: none;
  z-index: 5;
}
.map-tooltip.is-below { transform: translate(-50%, 16px); }

.map-tooltip strong { display: block; color: var(--red); font-size: 0.9rem; margin-bottom: 3px; }
.map-tooltip p { font-size: 0.82rem; color: #555; }

.coverage-caption { margin-top: 16px; font-size: 0.9rem; color: #666; text-align: center; }

.cobertura-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.cobertura-item {
  background: var(--white);
  padding: 30px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cobertura-item:hover, .cobertura-item.is-active { background: var(--bg-alt); }
.cobertura-item h3 { color: var(--red); margin-bottom: 8px; }
.cobertura-item p { color: #555; font-size: 0.92rem; }

/* ---------- nosotros ---------- */
.nosotros { padding: 100px 0; }

.proyectos {
  margin-top: 60px;
  background: var(--black);
  color: var(--white);
  border-radius: 20px;
  padding: 40px;
}
.proyectos-label {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.proyectos-list { list-style: none; display: grid; gap: 12px; }
.proyectos-list li { color: var(--silver); font-size: 0.98rem; }
.proyectos-list strong { color: var(--white); }

.proyectos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.proyecto-item {
  text-align: center;
  padding: 22px 16px;
  border-radius: 14px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.proyecto-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.05); }
.proyecto-item .servicio-icon { margin: 0 auto 14px; color: var(--red); }
.proyecto-stat { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.proyecto-stat .stat-num,
.proyecto-stat .stat-suffix { font-family: var(--font-head); font-weight: 900; font-size: 2.1rem; }
.proyecto-stat .stat-num { color: var(--white); }
.proyecto-stat .stat-suffix { color: var(--red); }
.proyecto-unit { color: var(--red); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.proyecto-desc { color: var(--silver); font-size: 0.9rem; margin-top: 10px; line-height: 1.5; }

/* ---------- contacto ---------- */
.contacto { padding: 100px 0 120px; }

.contacto-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.contacto-info { display: flex; flex-direction: column; gap: 18px; }
.contacto-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-weight: 600;
  transition: border-color 0.2s ease;
}
.contacto-link:hover { border-color: var(--red); }
.contacto-link-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: #888; font-weight: 700; }

.contacto-form { display: flex; flex-direction: column; gap: 16px; }
.form-note { font-size: 0.8rem; color: #888; }
.form-status { font-size: 0.85rem; margin: 0; min-height: 1.2em; }
.form-status.ok { color: #16a34a; }
.form-status.error { color: #dc2626; }

.calc-request { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e6e6e6; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.calc-request .field { flex: 1 1 220px; }
.calc-request-btn { flex: 0 0 auto; }
.calc-request .form-status { flex-basis: 100%; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--silver); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; font-size: 0.85rem; }

/* ---------- home hero photo carousel ---------- */
.hero.hero-photo { color: var(--white); }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-bg-slide.is-active { opacity: 1; }

.hero.hero-photo .hero-sub { color: var(--silver); }
.hero.hero-photo .stat-num,
.hero.hero-photo .stat-value { color: var(--white); }
.hero.hero-photo .stat-label { color: var(--silver); }
.hero.hero-photo .hero-stats { border-top-color: rgba(255,255,255,0.2); }
.hero.hero-photo .btn-ghost { color: var(--white); border-color: var(--white); }
.hero.hero-photo .btn-ghost:hover { background: var(--white); color: var(--black); }

/* ---------- CTA final (fondo animado) ---------- */
.cta-final { position: relative; overflow: hidden; }
.cta-final .wrap { position: relative; z-index: 1; }
.cta-final-glow {
  position: absolute;
  inset: -40% -10%;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(228,31,36,0.28), transparent 60%);
  animation: cta-glow-drift 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes cta-glow-drift {
  0%   { transform: translateX(-10%) scale(1); }
  100% { transform: translateX(10%) scale(1.2); }
}

.btn-pulse { animation: btn-pulse-glow 2.4s ease-in-out infinite; }
@keyframes btn-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228,31,36,0.55); }
  50%      { box-shadow: 0 0 0 14px rgba(228,31,36,0); }
}

/* ---------- subpage hero (photo banner) ---------- */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  padding: 150px 0 56px;
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
}
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero .eyebrow { color: var(--red); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.page-hero-sub { color: var(--silver); font-size: 1.08rem; margin-top: 14px; }

/* ---------- home teaser cards ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teaser-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease;
}
.teaser-card:hover { transform: translateY(-4px); }
.teaser-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.88));
}
.teaser-content { position: relative; z-index: 1; padding: 26px; }
.teaser-content h3 { color: var(--white); margin-bottom: 6px; }
.teaser-content p { color: var(--silver); font-size: 0.88rem; margin-bottom: 14px; }
.teaser-link { color: var(--white); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- flotilla ---------- */
/* ---------- flotilla showcase (estilo mockup diseñadora) ---------- */
.flotilla-showcase {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding: 100px 0;
}
.flotilla-showcase .eyebrow { color: var(--red); }
.flotilla-showcase h2 { color: var(--white); }
.flotilla-showcase .section-sub { color: var(--silver); }
.flotilla-showcase .btn-ghost { color: var(--white); border-color: var(--white); }
.flotilla-showcase .btn-ghost:hover { background: var(--white); color: var(--black); }

.flotilla-showcase-star {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 420px;
  height: 420px;
  color: var(--white);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.flotilla-showcase-star svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }

.flotilla-showcase .wrap { position: relative; z-index: 1; }

.flotilla-showcase-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: end; }
.flotilla-showcase-item {
  text-align: center;
  padding: 20px 10px;
  border-radius: 14px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.flotilla-showcase-item:hover { transform: translateY(-6px); background: rgba(255,255,255,0.05); }
.flotilla-photo {
  width: 100%;
  height: 92px;
  object-fit: contain;
  object-position: bottom;
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.5));
  transition: transform 0.25s ease;
}
.flotilla-showcase-item:hover .flotilla-photo { transform: translateY(-4px) scale(1.04); }
.flotilla-showcase-item h3 { font-size: 1rem; margin-bottom: 4px; }
.flotilla-showcase-item p { font-family: var(--font-head); font-weight: 800; color: var(--red); font-size: 0.9rem; letter-spacing: 0.02em; }

.flotilla { padding: 100px 0; }
.flotilla-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flotilla-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.flotilla-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
.flotilla-icon { width: 46px; height: 46px; color: var(--red); margin-bottom: 16px; }
.flotilla-card h3 { margin-bottom: 4px; }
.flotilla-ton { font-family: var(--font-head); font-weight: 900; color: var(--red); font-size: 1.3rem; margin-bottom: 16px; }
.flotilla-specs { list-style: none; font-size: 0.85rem; color: #555; display: grid; gap: 7px; border-top: 1px solid var(--border); padding-top: 16px; }
.flotilla-specs strong { color: var(--ink); }

/* ---------- rastreo (demo) ---------- */
.rastreo { padding: 100px 0; }
.tracking-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px;
  max-width: 560px;
}
.tracking-result {
  margin-top: 28px;
  background: var(--black);
  color: var(--white);
  border-radius: 20px;
  padding: 28px;
}
.tracking-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,222,128,0.15);
  color: #4ade80;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.tracking-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.tracking-id { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-top: 14px; }
.tracking-route { display: flex; justify-content: space-between; margin: 22px 0; }
.tracking-route-block { display: flex; flex-direction: column; gap: 4px; }
.tracking-route-label { font-size: 0.75rem; color: var(--silver); text-transform: uppercase; letter-spacing: 0.05em; }
.tracking-route-city { font-weight: 700; }
.tracking-eta { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px; font-size: 0.9rem; color: var(--silver); }
.tracking-note { margin-top: 20px; font-size: 0.82rem; color: #888; }
.tracking-timeline { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; gap: 14px; }
.tracking-timeline li { display: flex; gap: 12px; align-items: baseline; }
.tracking-timeline .tt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--silver); flex-shrink: 0; margin-top: 5px; }
.tracking-timeline li:first-child .tt-dot { background: #4ade80; }
.tracking-timeline .tt-body { display: flex; flex-direction: column; gap: 2px; }
.tracking-timeline .tt-estado { font-weight: 700; font-size: 0.9rem; }
.tracking-timeline .tt-nota { font-size: 0.82rem; color: var(--silver); }
.tracking-timeline .tt-fecha { font-size: 0.72rem; color: #777; }
.tracking-error { margin-top: 28px; background: rgba(228,31,36,0.08); color: var(--red); border-radius: 16px; padding: 18px 22px; font-size: 0.9rem; }

/* ---------- nosotros: misión/visión + valores ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }
.mv-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 34px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  border-color: var(--red);
}
.mv-card h3 { color: var(--red); margin-bottom: 14px; }
.mv-card p { color: #555; line-height: 1.6; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-item {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 28px 18px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  background: var(--white);
}
.value-item h3 { font-size: 0.92rem; }
.value-icon { width: 26px; height: 26px; color: var(--red); margin: 0 auto 14px; display: block; }

.value-radar {
  position: relative;
  width: 26px;
  height: 26px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-radar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); z-index: 1; }
.value-radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  animation: radar-pulse 2.6s ease-out infinite;
}
.value-radar-ring.r2 { animation-delay: 0.9s; }

/* ---------- contacto (dedicated page) ---------- */
.contacto-page { padding: 100px 0 120px; }

/* ---------- footer expanded ---------- */
.footer-wide {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 60px 0 30px;
}
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--silver); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-logo-mark { height: 34px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-tagline { color: var(--silver); font-size: 0.88rem; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--silver);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-social a:hover { color: var(--white); border-color: var(--red); background: rgba(228,31,36,0.14); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.8rem; color: #888; }
.footer-bottom a { color: #888; text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- reveal animation state ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; padding: 40px 0 56px; }
  .hero-inner { min-height: auto; gap: 48px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .calc-form { grid-template-columns: 1fr; }
  .cp-row { grid-template-columns: 1fr; }
  .cp-swap { margin: 0 auto; transform: rotate(90deg); }
  .cp-swap:hover { transform: rotate(270deg); }
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .cobertura-grid { grid-template-columns: 1fr 1fr; }
  .coverage-map { max-height: 420px; }
  .contacto-grid { grid-template-columns: 1fr; }
  .teaser-grid, .flotilla-grid { grid-template-columns: 1fr 1fr; }
  .flotilla-showcase-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .mv-grid { grid-template-columns: 1fr; }
  .proyectos-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-wide { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .servicios-grid, .cobertura-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .calc-card { padding: 28px; }
  .header-cta { display: none; }
  .teaser-grid, .flotilla-grid, .values-grid { grid-template-columns: 1fr; }
  .flotilla-showcase-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 260px; padding-top: 130px; }
  .tracking-card { padding: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}