/* =============================================
   TSIKBAL CONTADORES — Estilos
   Archivo: css/styles.css
   ============================================= */

/* ─── TOKENS ─── */
:root {
  /* ── Paleta oficial TSIKBAL ── */
  --navy:       #23374f;   /* azul navy principal */
  --navy-mid:   #1c2e42;   /* navy intermedio */
  --navy-light: #4b6f84;   /* azul medio - acento */
  --gold:       #4b6f84;   /* acento principal (reemplaza dorado) */
  --gold-light: #97b3bf;   /* acento claro */
  --cream:      #dce5ee;   /* fondo claro azulado */
  --cream-dark: #c8d8e4;   /* fondo claro más intenso */
  --white:      #ffffff;
  --gray-light: #eef2f5;
  --gray:       #6b8494;   /* gris azulado */
  --text:       #040713;   /* casi negro oficial */

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito Sans', sans-serif;

  --radius: 4px;
  --shadow: 0 4px 24px rgba(35,55,79,0.12);
  --shadow-lg: 0 12px 48px rgba(35,55,79,0.18);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── UTILS ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-body {
  font-size: 16px;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.8;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(75,111,132,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
#navbar.scrolled {
  background: var(--navy);
  padding: 14px 0;
  box-shadow: 0 4px 32px rgba(13,31,60,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 10px 24px; font-size: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(184,150,46,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(30,61,110,0.6) 0%, transparent 60%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}
.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-body {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.8;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s 1s ease both;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s 1.2s ease-in-out infinite;
}
/* ── Layout dos columnas en el hero ── */
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5fr 7fr;   /* izquierda más estrecha, texto más ancho */
  align-items: center;
  gap: 0;
  width: 100%;
  min-height: 80vh;
}

/* Columna izquierda: logo como watermark que llena el espacio */
.hero-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 0;
}
.hero-logo-main {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  filter: none;
  opacity: 0.9;
  animation: fadeUp 0.9s 0.15s ease both;
}

/* ─── STATS STRIP ─── */
#stats {
  background: var(--gold);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ─── SERVICIOS ─── */
#servicios {
  padding: 110px 0;
  background: var(--cream);
}
.services-header {
  text-align: center;
  margin-bottom: 70px;
}
.services-header .section-body { margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Tarjeta con imagen ── */
.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.35s ease;
  border: 1px solid rgba(35,55,79,0.08);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

/* Contenedor de la imagen */
.service-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: saturate(0.85);
}
.service-card:hover .service-card-img {
  transform: scale(1.06);
}
.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(35,55,79,0.1) 0%, rgba(35,55,79,0.55) 100%);
  transition: opacity 0.35s;
}
.service-card:hover .service-card-img-overlay {
  opacity: 0.7;
}
/* Número decorativo sobre la imagen */
.service-card-num {
  position: absolute;
  bottom: 14px; right: 18px;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  pointer-events: none;
}

/* Cuerpo de la tarjeta */
.service-card-body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}
.service-desc {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Lista de sub-servicios dentro de la tarjeta */
.service-items {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-dark);
}
.service-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.service-items li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── NOSOTROS ─── */
#nosotros {
  padding: 110px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-frame {
  aspect-ratio: 4/5;
  background: var(--navy);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.about-img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  mix-blend-mode: luminosity;
}
.about-placeholder-img {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-placeholder-img svg { opacity: 0.15; }
.about-card {
  position: absolute;
  bottom: -24px; right: -28px;
  background: var(--gold);
  border-radius: 6px;
  padding: 24px 28px;
  max-width: 200px;
  box-shadow: var(--shadow-lg);
}
.about-card-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.about-card-text {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(13,31,60,0.7);
  line-height: 1.4;
}
.about-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-bullet {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
.about-list-item p { font-size: 15px; color: var(--text); line-height: 1.6; }
.about-list-item strong { font-weight: 700; color: var(--navy); }
.about-cta-row {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.about-divider { width: 1px; height: 40px; background: var(--cream-dark); }
.about-inline { font-size: 13px; color: var(--gray); }
.about-inline strong { color: var(--navy); font-weight: 700; }

/* ─── PROCESO ─── */
#proceso {
  padding: 100px 0;
  background: var(--navy);
}
.process-header {
  text-align: center;
  margin-bottom: 70px;
}
.process-header .section-title { color: var(--white); }
.process-header .section-body { color: rgba(255,255,255,0.55); margin: 0 auto; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 44px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 1px;
  background: rgba(184,150,46,0.25);
}
.step { text-align: center; padding: 0 28px; }
.step-num {
  width: 88px; height: 88px;
  border: 2px solid rgba(184,150,46,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  background: var(--navy);
}
.step-num-inner {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.step-desc { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ─── CONTACTO ─── */
#contacto {
  padding: 110px 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-body { margin-bottom: 44px; }
.contact-ways { display: flex; flex-direction: column; gap: 24px; }
.contact-way { display: flex; align-items: flex-start; gap: 16px; }
.contact-way-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-way-icon svg { opacity: 0.9; }
.contact-way-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-way-value { font-size: 15px; font-weight: 600; color: var(--navy); }
.contact-way-sub { font-size: 13px; color: var(--gray); margin-top: 2px; }
.wa-big-btn {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  padding: 16px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
  width: fit-content;
}
.wa-big-btn:hover {
  background: #1fbc59;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.contact-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 52px 48px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13,31,60,0.06);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-subtitle { font-size: 14px; color: var(--gray); margin-bottom: 36px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: all 0.2s;
  outline: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b0b0; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184,150,46,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-submit { width: 100%; padding: 16px; font-size: 14px; }
.form-note { font-size: 12px; color: var(--gray); text-align: center; margin-top: 14px; }
#form-success { display: none; text-align: center; padding: 20px; }
#form-success p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 12px;
}
#form-success span { font-size: 14px; color: var(--gray); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-name { font-size: 22px; }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 240px;
}
.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.social-icon {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.social-icon:hover { background: var(--gold); border-color: var(--gold); }
.social-icon svg { width: 16px; height: 16px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; }
.footer-bottom a { color: var(--gold); transition: opacity 0.2s; }
.footer-bottom a:hover { opacity: 0.8; }

/* ─── FLOATING WHATSAPP ─── */
#wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 900;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: all 0.25s;
  animation: pulseWA 2.5s 3s ease-in-out infinite;
}
#wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
#wa-float svg { width: 28px; height: 28px; }
.wa-tooltip {
  position: absolute;
  right: 72px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.2s;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--navy);
}
#wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ─── ANIMACIONES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.4); opacity: 0.3; }
}
@keyframes pulseWA {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.1); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Móvil (≤ 768px)
   Aquí rediseñamos la experiencia completa
═══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── ESPACIADO GLOBAL MOBILE ── */
  .container { padding: 0 20px; }

  /* ── NAVBAR ── */
  #navbar { padding: 16px 0; }
  #navbar.scrolled { padding: 12px 0; }

  /* El logo se hace un poco más chico */
  .logo-img { height: 36px; }
  .logo-mark { width: 36px; height: 36px; font-size: 18px; }
  .logo-name { font-size: 17px; }

  /* Hamburger visible */
  .hamburger { display: flex; z-index: 1001; }

  /* Menú móvil: pantalla completa con overlay navy */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    font-size: 22px;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.85);
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-transform: none;
  }
  .nav-links a::after { display: none; }
  .nav-links a:active { background: rgba(255,255,255,0.04); }
  /* El botón CTA dentro del menú */
  .nav-links li:last-child { padding: 28px 32px 0; }
  .nav-links .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 16px;
    border-radius: 6px;
  }
  /* Estado X del hamburger */
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── HERO ── */
  #hero {
    min-height: 100svh; /* usa small viewport height en móvil (descarta la barra del browser) */
    padding-top: 80px;
    padding-bottom: 100px;
    align-items: flex-start;
  }
  /* Hero en móvil: columna única, logo arriba */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-logo-col { order: -1; }
  .hero-logo-main {
    max-width: 180px;
    margin: 0 auto;
    opacity: 0.15;
  }
  /* Logo navbar más pequeño en móvil */
  .logo-img { height: 46px; }
  .hero-grid-overlay { opacity: 0.5; }

  .hero-eyebrow { margin-bottom: 20px; }
  .hero-eyebrow-text { font-size: 10px; }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.15;
  }
  .hero-body {
    font-size: 15px;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.7);
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 13px;
  }
  /* Oculta scroll indicator — innecesario en móvil */
  .hero-scroll { display: none; }

  /* ── STATS ── */
  #stats { padding: 28px 0; }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-item {
    padding: 16px 12px;
    border-right: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(13,31,60,0.15);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; border-bottom: none; }
  .stat-number { font-size: 2.4rem; }
  .stat-label { font-size: 10px; letter-spacing: 0.08em; }

  /* ── SERVICIOS ── */
  #servicios { padding: 64px 0; }
  .services-header { margin-bottom: 40px; }
  .services-header .section-title { font-size: 1.9rem; }
  .services-header .section-body { font-size: 15px; }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card { padding: 0; }
  .service-card-body { padding: 24px 20px 20px; }
  .service-card-img-wrap { height: 180px; }
  .service-name { font-size: 1.2rem; }
  .service-desc { font-size: 14px; }
  .service-num { font-size: 2.2rem; bottom: 14px; right: 20px; }

  /* ── NOSOTROS ── */
  #nosotros { padding: 64px 0; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* En móvil ocultamos la imagen para no perder espacio — solo mostramos el contenido */
  .about-visual { display: none; }
  .about-content .section-title { font-size: 1.9rem; }
  .about-content .section-body { font-size: 15px; max-width: 100%; }
  .about-list { margin-top: 24px; gap: 14px; }
  .about-list-item p { font-size: 14px; }
  .about-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .about-divider { display: none; }
  .about-cta-row .btn { width: 100%; text-align: center; padding: 16px; }

  /* ── PROCESO ── */
  #proceso { padding: 64px 0; }
  .process-header { margin-bottom: 44px; }
  .process-header .section-title { font-size: 1.9rem; color: var(--white); }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-steps::before { display: none; }
  .step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    padding: 0 0 32px 0;
    border-left: 1px solid rgba(184,150,46,0.2);
    margin-left: 32px;
    padding-left: 28px;
    position: relative;
  }
  .step:last-child { border-left-color: transparent; padding-bottom: 0; }
  .step-num {
    width: 64px; height: 64px;
    min-width: 64px;
    margin: 0;
    position: absolute;
    left: -32px;
    top: 0;
    background: var(--navy);
    border-width: 1.5px;
  }
  .step-num-inner { font-size: 1.5rem; }
  .step-text { padding-top: 10px; }
  .step-title { font-size: 1.1rem; margin-bottom: 6px; }
  .step-desc { font-size: 13.5px; }

  /* ── CONTACTO ── */
  #contacto { padding: 64px 0 100px; } /* padding-bottom extra para la barra sticky */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info .section-title { font-size: 1.9rem; }
  .contact-info .section-body { font-size: 15px; max-width: 100%; margin-bottom: 28px; }
  .contact-ways { gap: 18px; }
  .contact-way-icon { width: 42px; height: 42px; }
  .contact-way-value { font-size: 14px; }
  /* Ocultamos el botón WA lateral en móvil — la barra sticky lo reemplaza */
  .wa-big-btn { display: none; }

  .contact-form-wrap { padding: 28px 20px; border-radius: 6px; }
  .form-title { font-size: 1.4rem; }
  .form-subtitle { font-size: 13px; margin-bottom: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group { margin-bottom: 16px; }
  .form-group label { font-size: 11px; margin-bottom: 6px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 15px 16px;
    font-size: 16px; /* 16px previene el zoom automático en iOS */
  }
  .form-group textarea { min-height: 90px; }
  .form-submit { padding: 17px; font-size: 14px; }

  /* ── FOOTER ── */
  footer { padding: 48px 0 28px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }
  .footer-tagline { max-width: 100%; }
  .footer-col-title { margin-bottom: 14px; }
  .footer-col ul { gap: 8px; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .footer-bottom p { font-size: 12px; }

  /* ── WHATSAPP FLOAT: más chico y arriba de la barra sticky ── */
  #wa-float {
    bottom: 84px; /* deja espacio para la barra sticky */
    right: 16px;
    width: 52px; height: 52px;
  }
  #wa-float svg { width: 24px; height: 24px; }
  /* El tooltip no funciona bien en touch — se oculta */
  .wa-tooltip { display: none; }

  /* ── BARRA CTA STICKY MOBILE ── */
  /* Esta barra aparece fija al fondo — el CTA principal de conversión en móvil */
  #mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 800;
    background: var(--white);
    border-top: 1px solid rgba(13,31,60,0.1);
    box-shadow: 0 -4px 20px rgba(13,31,60,0.12);
    padding: 10px 16px;
    gap: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom)); /* soporte para iPhone X+ */
  }
  #mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.2s;
  }
  #mobile-cta-bar .cta-wa {
    background: #25D366;
    color: var(--white);
  }
  #mobile-cta-bar .cta-wa:active { background: #1fbc59; }
  #mobile-cta-bar .cta-form {
    background: var(--gold);
    color: var(--white);
  }
  #mobile-cta-bar .cta-form:active { background: var(--gold-light); }
  #mobile-cta-bar svg { flex-shrink: 0; }

} /* fin @media 768px */

/* ═══════════════════════════════════════════
   RESPONSIVE — Móvil pequeño (≤ 390px)
═══════════════════════════════════════════ */
@media (max-width: 390px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .service-card { padding: 0; }
  .service-card-body { padding: 20px 16px 16px; }
  .service-card-img-wrap { height: 160px; }
  .contact-form-wrap { padding: 24px 16px; }
  #mobile-cta-bar a { font-size: 12px; padding: 13px 8px; }
}

/* En desktop la barra CTA mobile no existe */
@media (min-width: 769px) {
  #mobile-cta-bar { display: none; }
}
