/* ============================================
   Inflables El Saltarín - Styles
   Alquiler de inflables y juegos infantiles - Azul, Buenos Aires
   Design Read: B2C kids entertainment, playful/joyful,
   bright primary colors with contrast-safe darker variants.
   Dials: VARIANCE 8, MOTION 6, DENSITY 4
   ============================================ */

/* ---------- Custom Properties ---------- */
:root {
  --azul: #2196F3;
  --azul-profundo: #1565C0;
  --azul-mas-profundo: #0D47A1;
  --rojo: #FF3B3B;
  --rojo-profundo: #C62828;
  --amarillo: #FFC107;
  --amarillo-profundo: #F9A825;
  --verde: #4CAF50;
  --verde-profundo: #2E7D32;
  --crema: #FFFDE7;
  --crema-azul: #E3F2FD;
  --blanco: #FFFFFF;
  --tinta: #1A1A2E;
  --tinta-suave: #37474F;
  --gris-claro: #F5F5F5;
  --gris-borde: #E0E0E0;

  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --container: 1200px;
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.08);
  --shadow: 0 6px 24px rgba(26, 26, 46, 0.10);
  --shadow-lg: 0 12px 48px rgba(26, 26, 46, 0.14);
  --shadow-color: 0 8px 30px rgba(21, 101, 192, 0.20);

  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--tinta);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { max-width: 65ch; }

a { color: var(--azul-profundo); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; padding: 0; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 0;
  top: -200px;
  background: var(--azul-profundo);
  color: #fff;
  padding: 0.8rem 1.4rem;
  z-index: 2000;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--azul-profundo);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.2rem);
}

.section { padding-block: clamp(3rem, 8vw, 5rem); }
.section-alt { background: var(--blanco); }
.section-azul { background: var(--crema-azul); }
.section-amarilla { background: #FFF8E1; }

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-inline: auto;
}
.section-head p { margin-inline: auto; color: var(--tinta-suave); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border: 3px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97) translateY(1px); }

.btn-primary {
  background: var(--verde-profundo);
  color: #fff;
  box-shadow: var(--shadow-color);
}
.btn-primary:hover {
  background: var(--verde);
  transform: translateY(-2px);
}

.btn-rojo {
  background: var(--rojo-profundo);
  color: #fff;
  box-shadow: 0 8px 30px rgba(198, 40, 40, 0.25);
}
.btn-rojo:hover { background: var(--rojo); transform: translateY(-2px); }

.btn-azul {
  background: var(--azul-profundo);
  color: #fff;
  box-shadow: 0 8px 30px rgba(21, 101, 192, 0.25);
}
.btn-azul:hover { background: var(--azul); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--azul-profundo);
  border-color: var(--azul-profundo);
}
.btn-outline:hover {
  background: var(--azul-profundo);
  color: #fff;
  transform: translateY(-2px);
}

.btn-wa {
  background: #128C7E;
  color: #fff;
  box-shadow: 0 8px 30px rgba(18, 140, 126, 0.3);
}
.btn-wa:hover { background: #1FA653; transform: translateY(-2px); }

.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.15rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 231, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--azul-profundo);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.brand img { width: auto; height: 48px; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1100;
  background: var(--azul-profundo);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 12px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; top: -7px; }
.nav-toggle span::after { content: ""; top: 7px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.nav-main {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 0.3rem;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--tinta);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.nav-list a:hover { background: var(--crema-azul); color: var(--azul-profundo); }
.nav-list a[aria-current="page"] { color: var(--azul-profundo); background: var(--crema-azul); }

.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--crema) 0%, var(--crema-azul) 100%);
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.hero-deco-1 { width: 200px; height: 200px; background: var(--rojo); top: -50px; right: -40px; }
.hero-deco-2 { width: 150px; height: 150px; background: var(--amarillo); bottom: 40px; left: -50px; }
.hero-deco-3 { width: 80px; height: 80px; background: var(--verde); top: 40%; right: 8%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero-text h1 {
  margin-bottom: 1rem;
}
.hero-text h1 .word-rojo { color: var(--rojo-profundo); }
.hero-text h1 .word-azul { color: var(--azul-profundo); }
.hero-text h1 .word-verde { color: var(--verde-profundo); }

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--tinta-suave);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-badge-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tinta);
}
.hero-badge svg { flex-shrink: 0; }

.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-float-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.hero-float-badge .hfb-num { font-size: 2rem; color: var(--rojo-profundo); line-height: 1; }
.hero-float-badge .hfb-lbl { font-size: 0.875rem; color: var(--tinta-suave); }

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: var(--azul-profundo);
  color: #fff;
  padding: 1.2rem 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.trust-item svg { flex-shrink: 0; }

/* ---------- Services Bento ---------- */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
}
.service-card:nth-child(1)::before { background: var(--rojo); }
.service-card:nth-child(2)::before { background: var(--azul); }
.service-card:nth-child(3)::before { background: var(--amarillo); }
.service-card:nth-child(4)::before { background: var(--verde); }
.service-card:nth-child(5)::before { background: var(--rojo); }
.service-card:nth-child(6)::before { background: var(--azul); }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--crema-azul);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}
.service-card h3 {
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--tinta-suave);
  margin-bottom: 1rem;
}
.service-tag {
  display: inline-block;
  background: var(--crema);
  color: var(--tinta);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
}

/* ---------- Split Section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split-text h2 { margin-bottom: 1rem; }
.split-text p { margin-bottom: 1rem; color: var(--tinta-suave); }

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}

.split-media-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.split-media-stack img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- How It Works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
  padding: 1.5rem 1rem;
}
.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--azul-profundo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-color);
}
.step:nth-child(2) .step-num { background: var(--rojo-profundo); }
.step:nth-child(3) .step-num { background: var(--amarillo-profundo); }
.step:nth-child(4) .step-num { background: var(--verde-profundo); }

.step h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.step p { color: var(--tinta-suave); font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1;
  transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--amarillo);
}
.testi-card:nth-child(2) { border-top-color: var(--rojo); }
.testi-card:nth-child(3) { border-top-color: var(--azul); }
.testi-card:nth-child(4) { border-top-color: var(--verde); }
.testi-card:nth-child(5) { border-top-color: var(--rojo); }
.testi-card:nth-child(6) { border-top-color: var(--azul); }

.estrellas { color: var(--amarillo-profundo); font-size: 1.2rem; margin-bottom: 0.8rem; letter-spacing: 2px; }
.testi-card blockquote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--tinta);
  margin-bottom: 1rem;
  font-style: italic;
}
.testi-autor { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--azul-profundo); }
.testi-autor small { display: block; font-weight: 400; color: var(--tinta-suave); font-size: 0.875rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 2px solid var(--gris-borde);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--tinta);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .ico {
  font-size: 1.5rem;
  color: var(--azul-profundo);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] .faq-q .ico { transform: rotate(45deg); }
.faq-a { padding: 0 1.5rem 1.2rem; color: var(--tinta-suave); }
.faq-a p { font-size: 1rem; }

/* ---------- Location / Contact ---------- */
.ubic-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  background: #fff;
  padding: 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-card .ico {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--crema-azul);
  color: var(--azul-profundo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.contact-card p { color: var(--tinta-suave); }
.contact-card a { text-decoration: none; color: var(--azul-profundo); font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }

.mapa-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
}
.mapa-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--azul-profundo), var(--azul-mas-profundo));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.15);
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 59, 59, 0.12);
}
.cta-banner h2 { color: #fff; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); position: relative; z-index: 1; margin: 0.8rem auto 1.5rem; font-size: 1.15rem; }
.cta-banner .hero-actions { justify-content: center; position: relative; z-index: 1; }

/* ---------- Pricing / Packages ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.package-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--gris-borde);
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.package-card:hover { transform: translateY(-4px); }
.package-card.featured {
  border-color: var(--amarillo);
  transform: scale(1.03);
}
.package-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amarillo-profundo);
  color: var(--tinta);
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
}
.package-card h3 { color: var(--azul-profundo); margin-bottom: 0.5rem; }
.package-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--tinta);
  margin-bottom: 0.3rem;
}
.package-price small { font-size: 0.9rem; color: var(--tinta-suave); font-weight: 400; }
.package-desc { color: var(--tinta-suave); margin-bottom: 1.2rem; font-size: 0.95rem; }
.package-includes li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gris-borde);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.package-includes li:last-child { border-bottom: none; }
.package-includes svg { flex-shrink: 0; color: var(--verde-profundo); }
.package-card .btn { width: 100%; margin-top: 1.2rem; }

/* ---------- Form ---------- */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--tinta);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--gris-borde);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--tinta);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--azul-profundo);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9E9E9E; }
.form-group .error-msg {
  display: none;
  color: var(--rojo-profundo);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.3rem;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--rojo-profundo); }
.form-group.has-error .error-msg { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  background: #E8F5E9;
  border: 2px solid var(--verde-profundo);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--verde-profundo);
  font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #128C7E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 6px 24px rgba(18, 140, 126, 0.4);
  transition: transform var(--transition), background var(--transition);
}
.whatsapp-float:hover { background: #1FA653; transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--amarillo);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat .lbl {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
}

.section-stats {
  background: var(--azul-mas-profundo);
  color: #fff;
}
.section-stats .section-head h2 { color: #fff; }
.section-stats .section-head p { color: rgba(255, 255, 255, 0.85); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tinta);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 3rem;
}
.footer-grid {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.2rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand img { filter: brightness(0) invert(1); height: 48px; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--azul-profundo); }
.footer-social svg { width: 20px; height: 20px; }

.footer-col h2, .footer-col h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--amarillo); }
.footer-col ul li { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem clamp(1.1rem, 4vw, 2.2rem);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: var(--container);
  margin-inline: auto;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Page Hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--crema-azul), var(--crema));
  padding-block: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  border-bottom: 3px solid var(--azul-profundo);
}
.page-hero h1 { margin-bottom: 0.8rem; }
.page-hero p { color: var(--tinta-suave); font-size: 1.15rem; margin-inline: auto; }

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--amarillo);
  border: none;
  border-radius: var(--radius-full);
  margin: 0.8rem auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ---------- Tablet (max 1024px) ---------- */
@media (max-width: 1024px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }
  .package-card.featured { transform: none; }
  .package-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile (max 768px) ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .nav-main {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100dvh;
    background: var(--crema);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 1.5rem 2rem;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transition: right var(--transition);
    overflow-y: auto;
    gap: 1rem;
  }
  .nav-main.open { right: 0; }
  .nav-list { flex-direction: column; gap: 0.3rem; }
  .nav-list a { padding: 0.8rem 1rem; font-size: 1.1rem; }
  .nav-cta-mobile { display: block; margin-top: 1rem; }
  .nav-cta-mobile .btn { width: 100%; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 1050;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-badge-row { justify-content: center; }
  .hero-visual { order: -1; max-width: 450px; margin-inline: auto; }
  .hero-float-badge { left: 50%; transform: translateX(-50%); }

  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: auto; }

  .services-bento { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .ubic-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

  .trust-strip .container { flex-direction: column; gap: 0.6rem; }
}

/* ---------- Small mobile (max 480px) ---------- */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: auto; }
  .hero-float-badge { display: none; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
