/* --- SERVICIOS DESTACADA (restaurado) --- */
.servicios-destacada {
  background: linear-gradient(135deg, #f6f8fc 60%, #eaf1ff 100%);
  padding-top: 70px;
  padding-bottom: 70px;
}

.servicios-lead {
  color: var(--muted);
  font-size: 1.18rem;
  margin-bottom: 2.5rem;
  margin-top: 0.5rem;
}

.servicios-tarjetas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.servicio-tarjeta {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(11,59,130,0.10);
  border: 1.5px solid #e2e8f0;
  padding: 2.1rem 1.3rem 1.5rem 1.3rem;
  text-align: center;
  transition: transform 0.18s cubic-bezier(.4,1.6,.6,1), box-shadow 0.18s, border 0.18s;
  position: relative;
}

.servicio-tarjeta:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 18px 48px rgba(11,59,130,0.16);
  border-color: var(--accent);
}

.servicio-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  margin: 0 auto 1.1rem auto;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2be1a 60%, #ffe08a 100%);
  color: #0b3b82;
  box-shadow: 0 2px 12px rgba(242,190,26,0.13);
  border: 2px solid #ffe08a;
}

.servicio-tarjeta h3 {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
}

.servicio-tarjeta p {
  color: var(--muted);
  font-size: 1.01rem;
  margin: 0;
}
#servicios .servicios-info-col, #servicios .servicios-cards-col {
  background-color: white;
  color: black;
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(11,59,130,0.13);
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  margin: 0 0.5rem;
  min-width: 0;
  border: 2.5px solid #ffe08a;
  transition: transform 0.18s cubic-bezier(.4,1.6,.6,1), box-shadow 0.18s, border 0.18s;
}

#servicios .servicios-info-col {
  margin-bottom: 2.5rem;
}

#servicios .servicios-list {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

#servicios .section-heading {
  margin-bottom: 0.7rem;
}
/* Columna de botones en hero-actions */
.hero-actions-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-right: 50px;
}
/* Estilos para bloque de acciones y texto lateral en hero */
.hero-actions-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.hero-actions-info {
  min-width: 0;
  max-width: 270px;
}

.hero-actions-info-title {
  font-weight: 700;
  margin-bottom: 0.3em;
  color: #0b3b82;
}

.hero-actions-info-headline {
  font-size: 1.15rem;
  margin: 0 0 0.3em 0;
  color: #222;
  line-height: 1.1;
}

.hero-actions-info-desc {
  font-size: 0.98rem;
  color: #444;
  margin: 0;
}
:root {
  --primary: #0b3b82;
  --primary-soft: #174c9a;
  --accent: #f2be1a;
  --accent-soft: #ffd24a;
  --accent-dark: #c99700;
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #102133;
  --muted: #5c6b7a;
  --border: #d9e4f0;
  --shadow: 0 18px 45px rgba(11, 59, 130, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("img/fondo-banner.png");
  background-size: 15% auto;
  background-position: left top;
  background-repeat: no-repeat;
  opacity: 0.50;
  z-index: -9999;
  pointer-events: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}



main {
  position: relative;
  overflow: hidden;
}

.hero {
  background: transparent;
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}



.hero .container {
  width: min(1220px, calc(100% - 2rem));
}

.navbar,
.hero-content {
  position: relative;
  z-index: 1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 2rem));
  padding: 0px 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 42px rgba(11, 59, 130, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 5000;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navbar {
    background: rgba(255, 255, 255, 0.96);
  }
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-weight: 800;
}

.brand-image-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0;
  align-self: center;
}

.brand-logo {
  height: clamp(56px, 10vw, 132px);
  width: auto;
  display: block;
  transform: translateY(-28px);
}

.brand-name {
  font-family: "Bebas Neue", "Noto Sans", sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  font-weight: 400;
  color: #0b3b82;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}

.hero-logo {
  width: min(100%, 220px);
  display: block;
  margin: 0 auto 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
}

.nav-cta {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(242, 190, 26, 0.18);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.hero-content {
  align-items: stretch;
}

.eyebrow {
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 0.9rem;
  text-align: left;
}

#soluciones {
  font-size: 2.5rem;
}

.hero-copy h1,
.section-heading h2,
.bonus-box h2,
.contact-section h2 {
  line-height: 1.15;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 3.8vw, 3.8rem);
  margin-bottom: 1rem;
}

.subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}


.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #1f2b3a;
  box-shadow: 0 12px 30px rgba(242, 192, 26, 0.486);
  white-space: nowrap;
}

.btn-secondary {
  color: var(--primary);
  background: var(--card);
  border: 1px solid var(--border);
  white-space: nowrap;
}

body.dark-theme .btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(169, 204, 255, 0.24);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  color: var(--primary-soft);
  font-weight: 600;
}

.hero-highlights li {
  background: rgba(11, 59, 130, 0.08);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.hero-card,
.card,
.contact-form,
.bonus-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nombres {
  display: flex;
  gap:10px; /*espacio entre los dos campos*/
}

.nombres label,
.nombres div {
  flex: 1; /*hace que ambos ocupen el mismo ancho*/
}

.telefonos{
  display: flex;
  gap:10px; /* espacio entre los dos campos */
}
.telefonos input {
  flex: 1; /* hace que ambos ocupen el mismo ancho */
}

.selects {
  display: flex;
  gap: 15px; /* espacio entre los dos selects */
}

.selects div {
  flex: 1; /* hace que cada select ocupe el mismo ancho */
}

.select {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
}

.politicas {
  display: grid;
  grid-template-columns: auto 1fr; /* checkbox + texto */
  align-items: center;
  column-gap: 6px;
  font-size: 14px;
}

#politicas{
  width: auto;
}

.politicas input[type="checkbox"] {
  margin: 0 15px;
}

.terminos {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 6px;
  font-size: 14px;
}

#terminos {
  width: auto;
}

.terminos input[type="checkbox"] {
  margin: 0 15px;
}



textarea {
width:100%;
height: 60px;
padding: 8px;
border: none; /* elimina el borde */
outline: none; /* elimina el borde azul al hacer clic */
background-color: #f9f9f9; /* fondo suave */
font: inherit;
resize: vertical; /* permite ajustar la altura pero no el ancho */
}

body.dark-theme .hero-card,
body.dark-theme .card,
body.dark-theme .contact-form,
body.dark-theme .faq-item,
body.dark-theme .step,
body.dark-theme .metric-card,
body.dark-theme .logo-chip {
  background: linear-gradient(180deg, rgba(15, 27, 46, 0.96), rgba(11, 21, 36, 0.96));
  border-color: rgba(125, 178, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-card:hover,
.card:hover,
.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(11, 59, 130, 0.16);
}

.hero-card {
  padding: 0;
}

.flyer-card {
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  width: min(100%, 420px);
  justify-self: start;
  background: transparent;
  box-shadow: none;
  animation: none;
  will-change: auto;
}

.flyer-card:hover {
  transform: none;
  box-shadow: none;
}

@keyframes flyer-float {
  0% {
    transform: translateY(0);
    box-shadow: 0 16px 36px rgba(11, 59, 130, 0.24);
  }
  50% {
    transform: translateY(-10px);
    box-shadow: 0 28px 54px rgba(11, 59, 130, 0.34);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 16px 36px rgba(11, 59, 130, 0.24);
  }
}

.btn-float {
  animation: btn-float 2.8s ease-in-out infinite;
  will-change: transform, box-shadow;
  margin-top: 50px;
}

.whats-diagnostico{
  margin-left: 40px;
}

@keyframes btn-float {
  0% {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(242, 190, 26, 0.32);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(242, 190, 26, 0.42);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(242, 190, 26, 0.32);
  }
}

.flyer-top {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
}

.flyer-top::after {
  display: none;
}

.flyer-photo {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 6px;
  box-shadow: none;
}

.flyer-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0.5rem 0.7rem 0.5rem 0.7rem;
  font-family: "Noto Sans", sans-serif;
  color: #fff;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.3rem;
  pointer-events: none;
  top: 0;
  align-items: flex-start;
}

.flyer-copy .mini-badge {
  width: max-content;
  margin: 0;
  background: transparent;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0;
  border-radius: 0;
  letter-spacing: 0;
  text-shadow:
    -1px -1px 0 #0d0d0d,
    1px -1px 0 #0d0d0d,
    -1px 1px 0 #0d0d0d,
    1px 1px 0 #0d0d0d,
    0 2px 3px rgba(0, 0, 0, 0.55);
  border: none;
  box-shadow: none;
}

.flyer-copy h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.02;
  text-shadow:
    -1px -1px 0 #0d0d0d,
    1px -1px 0 #0d0d0d,
    -1px 1px 0 #0d0d0d,
    1px 1px 0 #0d0d0d,
    0 3px 4px rgba(0, 0, 0, 0.58);
}

.flyer-copy .flyer-description {
  margin: auto 0 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.12;
  max-width: 95%;
  text-shadow:
    -1px -1px 0 #0d0d0d,
    1px -1px 0 #0d0d0d,
    -1px 1px 0 #0d0d0d,
    1px 1px 0 #0d0d0d,
    0 3px 5px rgba(0, 0, 0, 0.62);
    text-align: center;
}

.flyer-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0.5rem 0.7rem 0.5rem 0.7rem;
  font-family: "Lora", serif;
  color: #fff;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.3rem;
  pointer-events: none;
  top: 0;
  align-items: flex-start;
  background: none;
  border-radius: 0;
  box-shadow: none;
  max-width: 80%;
}

.mini-badge {
  display: inline-block;
  background: rgba(242, 190, 26, 0.18);
  color: #7a5c00;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 20px 0 20px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stats div {
  padding: 1rem;
  background: var(--bg);
  border-radius: 16px;
}

.stats strong {
  display: block;
  color: var(--primary);
  font-size: 1.4rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.centered {
  text-align: center;
}

main > .section.muted:first-of-type {
  padding-top: 58px;
}

.experience-pill {
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto 3.3rem;
  padding: 0.78rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(177, 229, 255, 0.65);
  background: linear-gradient(135deg, #0f7fe0 0%, #0aa0ff 46%, #0659b7 100%);
  box-shadow: 0 14px 30px rgba(3, 57, 122, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: #f4fbff;
  text-align: center;
  font-size: clamp(1.08rem, 2.15vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  animation: experience-float 3.5s ease-in-out infinite;
}

.experience-pill::before {
  content: "";
  position: absolute;
  top: -115%;
  left: -38%;
  width: 36%;
  height: 330%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(214, 244, 255, 0.55) 52%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(16deg);
  opacity: 0.7;
  pointer-events: none;
  animation: experience-shine 4.2s linear infinite;
}

.experience-pill strong {
  color: #fff8c8;
  font-weight: 900;
  text-shadow: 0 0 16px rgba(255, 240, 168, 0.45);
}

@keyframes experience-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes experience-shine {
  0% {
    left: -40%;
  }
  100% {
    left: 115%;
  }
}

.metrics-band {
  margin-top: 1.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

body.dark-theme .metric-card {
  background: #101b2d;
}

.metric-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.metric-card span {
  color: var(--muted);
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.three-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 1.4rem;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(13, 59, 102, 0.1);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.pain-card p,
.service-card p,
.testimonial span,
.contact-section p,
.contact-list {
  color: var(--muted);
}

.pain-card h3,
.service-card h3,
.step h3 {
  margin-bottom: 0.55rem;
}


.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.75rem;
  height: 100%;
}

.process-map-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-map-image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
}

#zonas {
  text-align: center;
  font-weight: 500;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  background: #ffe066;
  color: #222;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.3em;
  margin-bottom: 0;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
  border: 2px solid #ffe066;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.step h3 {
  font-size: 1rem;
  grid-column: 2;
}

.step p {
  font-size: 0.92rem;
  line-height: 1.45;
  grid-column: 2;
}

.cta-section {
  padding-top: 10px;
  padding-bottom: 24px;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  padding: 2rem 0px 2rem 3rem;
  background: linear-gradient(135deg, rgba(11, 59, 130, 0.98), rgba(23, 76, 154, 0.94));
  color: white;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.cta-panel .eyebrow,
.cta-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}



.faq-section {
  background: rgba(11, 59, 130, 0.04);
}

body.dark-theme .faq-section {
  background: linear-gradient(180deg, #0a1321 0%, #0f1828 100%);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
}

body.dark-theme .faq-item summary {
  color: var(--text);
}

.faq-item p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: start;
  justify-items: center;
}

.contact-heading {
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact-list {
  list-style: none;
  margin-top: 1rem;
}

.contact-list li {
  margin-bottom: 0.65rem;
}

.contact-form {
  padding: 1.5rem;
  width: min(100%, 760px);
}

.contact-note {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #000;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  margin-top: 0.8rem;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline: none;
  font: inherit;
  background: var(--card);
  color: var(--text);
}

body.dark-theme .contact-form input,
body.dark-theme .contact-form select {
  background: #0a1422;
  border-color: rgba(169, 204, 255, 0.18);
}

.contact-form input::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(242, 190, 26, 0.18);
}

.full {
  width: 100%;
  margin-top: 1rem;
}

.footer {
  background: #0a2244;
  color: rgba(255, 255, 255, 0.85);
  padding: 1rem 0;
}

body.dark-theme .footer {
  background: #060f1d;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 100px;
  height: auto;
  display: block;
}

.footer a {
  color: white;
}

.footer-credit {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: right;
  line-height: 1.5;
  flex-shrink: 0;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.18s;
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--accent);
}

body.dark-theme .hero-highlights li,
body.dark-theme .stats div,
body.dark-theme .contact-note {
  border: none;
}

body.dark-theme .nav-cta {
  background: rgba(244, 201, 77, 0.16);
  color: var(--text);
}

body.dark-theme .icon {
  background: rgba(125, 178, 255, 0.12);
  color: var(--primary-soft);
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.66rem 1.15rem;
  border: 1px solid rgba(106, 198, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, #0f7cc0 0%, #0a63a7 100%);
  color: #f3faff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(4, 50, 89, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(180deg, #168dd3 0%, #0e73bd 100%);
  box-shadow: 0 12px 24px rgba(4, 50, 89, 0.38);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(125, 214, 255, 0.96);
  outline-offset: 2px;
}

.back-to-top-icon {
  width: 1.36rem;
  height: 1.36rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(196, 235, 255, 0.44);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
  line-height: 1;
}

.back-to-top-text {
  font-size: 0.88rem;
  color: #f4f9ff;
  line-height: 1;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.whatsapp-float-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.instagram-float {
  position: fixed;
  right: 22px;
  bottom: calc(96px + 50px + 16px + env(safe-area-inset-bottom, 0px));
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.instagram-float-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .container {
    width: min(1120px, calc(100% - 2rem));
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .metric-card {
    padding: 0.85rem;
  }

  .metric-card strong {
    font-size: 1.15rem;
  }
}

@media (max-width: 960px) {
  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero-content,
  .contact-grid,
  .two-cols,
  .process-layout,
  .process-steps,
  .tax-calculator,
  .calculator-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bonus-box,
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }

  .cta-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }

  .cta-panel h2,
  .cta-panel p {
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .navbar {
    top: 12px;
    padding: 0.8rem 0.95rem;
    border-radius: 20px;
  }

  .nav-tools,
  .nav-links {
    width: 100%;
    justify-content: center;
  }

  .hero-copy,
  .section-heading,
  .tax-intro {
    text-align: center;
  }

  .flyer-card {
    justify-self: center;
  }

  .flyer-copy h2 {
    font-size: 1.75rem;
  }

  .flyer-copy .mini-badge {
    font-size: 0.95rem;
  }

  .flyer-description {
    font-size: 1.12rem;
  }

  .subtitle {
    margin: 0 auto;
  }

  .hero-actions,
  .hero-highlights {
    justify-content: center;
  }

  .three-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .hero-actions-col {
    margin-right: 0;
    width: 100%;
    align-items: center;
  }

  .hero-actions-col .btn {
    width: 100%;
  }

  .hero-actions-info {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-actions-info-headline {
    font-size: 1.35rem;
  }

  .hero-actions-info-desc {
    font-size: 1.06rem;
  }

  .navbar,
  .nav-tools,
  .nav-links,
  .footer-inner,
  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-credit {
    width: 100%;
    text-align: center;
  }

  .hero-card,
  .card,
  .contact-form,
  .tax-form-wrap,
  .tax-results {
    padding: 1.15rem;
  }

  .cta-panel {
    padding: 1.75rem 1.25rem;
    gap: 1.5rem;
  }

  .calculator-actions,
  .cta-actions {
    width: 100%;
  }

  .experience-pill {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 1rem));
  }

  p {
    font-size: 1.05rem;
  }

  .experience-pill {
    margin: 0 auto 2.4rem;
    padding: 0.62rem 0.75rem;
    border-radius: 14px;
    font-size: 1.15rem;
    white-space: normal;
    text-align: center;
  }

  .back-to-top {
    right: 12px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    padding: 0.65rem 0.85rem;
  }

  .back-to-top-text {
    display: none;
  }

  .whatsapp-float {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float-icon {
    width: 84px;
    height: 84px;
  }

  .instagram-float {
    right: 12px;
    bottom: calc(82px + 84px + 16px + env(safe-area-inset-bottom, 0px));
  }

  .instagram-float-icon {
    width: 84px;
    height: 84px;
  }

  .hero {
    padding-top: 132px;
  }

  .brand-logo {
    height: 100px;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .hero-highlights {
    flex-direction: column;
    align-items: center;
  }

  .footer-brand {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .footer-credit {
    width: 100%;
    text-align: center;
  }

  .footer-credit a {
    text-decoration: none;
  }

  .nav-links a,
  .btn {
    width: 100%;
  }

  .flyer-top {
    min-height: unset;
  }

  .flyer-photo {
    height: auto;
    max-height: 440px;
  }

  .flyer-copy {
    text-align: left;
  }

  .flyer-copy h2 {
    font-size: 1.45rem;
  }

  .flyer-description {
    font-size: 1rem;
  }

  .flyer-copy .mini-badge {
    font-size: 0.88rem;
  }

  .three-cols {
    grid-template-columns: 1fr;
  }

  #servicios.section {
    border-radius: 20px;
    padding-top: 52px;
  }

  #servicios.section::before {
    top: -18px;
    width: calc(100% - 1.5rem);
    max-width: 420px;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    padding: 0.45em 1em;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  #servicios .servicios-grid {
    margin-top: 3rem;
  }

  #servicios .section-heading.centered h2 {
    white-space: normal;
  }

  .whatsapp-float {
    right: 10px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: 50px;
    height: 50px;
    justify-content: center;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    font-size: 1rem;
  }

  .whatsapp-icon {
    display: block;
  }

  .whatsapp-label {
    display: none;
  }

  .cta-panel {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .cta-actions .btn {
    max-width: 100%;
  }

  .whatsapp-float {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float-icon {
    width: 60px;
    height: 60px;
  }

  .instagram-float {
    right: 12px;
    bottom: calc(82px + 60px + 16px + env(safe-area-inset-bottom, 0px));
  }

  .instagram-float-icon {
    width: 60px;
    height: 60px;
  }

  .hero {
    padding-top: 132px;
  }

  .brand-logo {
    height: 60px;
  }

  .nombres,
  .telefonos,
  .selects {
    flex-direction: column;
    gap: 0;
  }

  .whats-diagnostico {
    margin-left: 0;
  }

  .btn-float {
    margin-top: 1rem;
  }

  .title-diagnostico {
    text-align: center;
    width: 100%;
  }

@media (max-width: 480px) {
  .nombres,
  .telefonos,
  .selects {
    flex-direction: column;
    gap: 0;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .eyebrow {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }
}

  .hero {
    padding-top: 120px;
    padding-bottom: 32px;
  }

  .hero-copy h1 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
  }

  .subtitle,
  .tax-intro,
  .tax-note,
  .contact-section p {
    font-size: 1.3rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .result-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    width: 84px;
  }

  #servicios.section::before {
    font-size: 0.82rem;
  }

  .eyebrow {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .cta-panel {
    padding: 1rem 0.75rem;
    gap: 1rem;
    border-radius: 12px;
  }

  .cta-panel h2 {
    font-size: 1.5rem;
  }

  .cta-actions {
    gap: 0.6rem;
  }

  .cta-actions h3 {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 0.85rem;
  }

  .contact-note {
    font-size: 0.70rem;
    padding: 0.6rem 0.75rem;
    text-align: center;
  }

  .contact-form input,
  .contact-form select {
    padding: 0.75rem 0.85rem;
    font-size: 16px;
  }

  .btn {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  #servicios .servicios-info-col,
  #servicios .servicios-cards-col {
    padding: 1.25rem 0.9rem;
    margin: 0;
  }

  .servicios-extra-pill {
    padding: 0.6rem 1.2rem;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
  }

  .servicios-cta-wrap .btn {
    max-width: 100%;
    padding: 0.8rem 1rem;
  }
}

/* --- Servicios sección: columnas flex --- */
.servicios-grid {
  display: flex;
  flex-direction: row;
  gap: 3.5rem;
  align-items: flex-start;
  justify-content: center;
  
}

.servicios-info-col {
  flex: 0 0 50%;
  max-width: 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  
}

/* =============================================
  BANNER DE CONSENTIMIENTO DE COOKIES
   ============================================= */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 1.5rem;
  background: linear-gradient(180deg, rgba(6, 18, 40, 0.08) 0%, rgba(6, 18, 40, 0.42) 48%, rgba(6, 18, 40, 0.78) 100%);
  backdrop-filter: blur(3px);
  animation: cookieSlidein 0.58s cubic-bezier(.18,.9,.22,1.02) both;
}

.cookie-banner[hidden] {
  display: none;
}

@keyframes cookieSlidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner-inner {
  width: min(1100px, 100%);
  max-width: 1100px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(0.75rem, 1.5vw, 1.1rem) clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.9fr);
  align-items: stretch;
  gap: clamp(1rem, 2vw, 2rem);
  min-height: clamp(180px, 22vh, 240px);
  background: #ffffff;
  border: 1px solid rgba(11, 59, 130, 0.14);
  border-top: 4px solid var(--accent);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -18px 48px rgba(4, 20, 48, 0.18);
}

.cookie-banner-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #121212;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  max-width: 62ch;
}

.cookie-icon {
  margin-right: 0.35rem;
  font-style: normal;
}

.cookie-banner-text strong {
  color: #111111;
}

.cookie-banner-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: var(--accent-soft);
}

.cookie-banner-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

.cookie-banner-links a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color 0.18s;
}

.cookie-banner-links a:hover {
  color: var(--accent-soft);
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  min-height: 100%;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  border: none;
  min-height: 52px;
}

.cookie-btn-accept {
  background: var(--accent);
  color: var(--primary);
}

.cookie-btn-accept:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.cookie-btn-essential {
  background: #eef2f7;
  color: #30445f;
  border: 1.5px solid #d5dfeb;
}

.cookie-btn-essential:hover {
  background: #e3ebf4;
  color: #1e3048;
  border-color: #c4d4e6;
}

.cookie-btn-reject {
  background: transparent;
  color: #111111;
  border: 1.5px solid rgba(11, 59, 130, 0.22);
}

.cookie-btn-reject:hover {
  background: rgba(11, 59, 130, 0.06);
  color: #111111;
}



@media (max-width: 600px) {
  .cookie-banner {
    padding: 0 0.9rem;
  }

  .cookie-banner-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1rem;
    min-height: clamp(220px, 34vh, 300px);
    border-radius: 22px 22px 0 0;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

.servicios-cards-col {
  flex: 0 0 50%;
  max-width: 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  
}

.servicios-extra-pill-wrap {
  display: flex;
  justify-content: center;
  margin: 1.35rem 0 0.65rem;
  padding: 0 1.1rem;
}

.servicios-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 0.45rem 0 0;
  padding: 0 1.1rem;
}

.servicios-cta-wrap .btn {
  min-width: 220px;
  text-align: center;
}

.servicios-extra-pill {
  position: relative;
  margin: 0;
  max-width: 920px;
  padding: 0.82rem 1.65rem 0.8rem;
  border-radius: 15px;
  border: 2.5px solid #ffe08a;
  background: #ffffff;
  color: var(--accent);
  font-size: clamp(1.02rem, 1.95vw, 1.36rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 1px 1px rgba(2, 15, 33, 0.14);
  white-space: normal;
  text-wrap: balance;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
}

.servicios-extra-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48%;
  height: 3px;
  border-radius: 999px;
  pointer-events: none;
}

.servicios-extra-pill:hover {
  filter: brightness(1.01);
  box-shadow: 0 14px 30px rgba(2, 27, 55, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .servicios-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .servicios-info-col,
  .servicios-cards-col {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .servicios-cards-col {
    margin-top: 0.5rem;
  }

  .servicios-extra-pill {
    text-align: center;
    padding: 0.74rem 0.92rem 0.7rem;
    font-size: clamp(0.95rem, 3.3vw, 1.1rem);
  }

  .servicios-cta-wrap .btn {
    min-width: 0;
    width: 100%;
    max-width: 360px;
  }
}

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

/* Título principal centrado sobre ambas columnas en servicios */
#servicios .section-heading.centered {
  margin-bottom: 2.5rem;
}
#servicios .section-heading.centered h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 auto 0.5em auto;
  max-width: 700px;
}

/* Fuerza el título principal de servicios a una sola línea */
#servicios .section-heading.centered h2 {
  white-space: nowrap;
}

/* Fondo azul para la sección de servicios */
#servicios.section {
  background: linear-gradient(135deg, rgba(11, 59, 130, 0.98), rgba(23, 76, 154, 0.94));
  color: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  overflow: visible;
}

#servicios.section::before {
  content: "¡Servicios clave para mantener tu empresa en orden!";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f2be1a 60%, #ffe08a 100%);
  color: #0b3b82;
  font-weight: 900;
  font-size: 1.4rem;
  padding: 0.5em 2.2em;
  border-radius: 999px;
  box-shadow: 0 4px 24px #f2be1a55;
  letter-spacing: 0.12em;
  border: 2.5px solid #fff;
  z-index: 10;
  animation: cinta-pop 1.2s cubic-bezier(.4,0,.2,1);
}

@keyframes cinta-pop {
  0% {
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
  }
  60% {
    transform: translateX(-50%) scale(1.15);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}

#servicios.section {
  animation: glow-pulse 2.5s cubic-bezier(.4,0,.2,1) 1;
}

@keyframes glow-pulse {
  0% {
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  }
  40% {
    box-shadow: 0 24px 64px 0 #f2be1a33, 0 8px 32px 0 rgba(0,0,0,0.18);
  }
  100% {
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  }
}

/* --- Dinamismo visual y microinteracciones --- */

/* Animación de entrada fade-up para secciones principales */
.section, .hero-card, .card, .step, .faq-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.section.visible, .hero-card.visible, .card.visible, .step.visible, .faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  background: transparent;
  animation: none;
}

/* Tarjetas con efecto hover dinámico */
.card, .step, .faq-item {
  transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1);
}
.card:hover, .step:hover, .faq-item:hover {
  box-shadow: 0 8px 32px 0 rgba(242,190,26,0.18), 0 2px 8px 0 rgba(11,59,130,0.10);
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}

/* Botones con efecto de resplandor y escala */
.btn {
  transition: box-shadow 0.25s, transform 0.18s, background 0.25s;
}
.btn-primary:hover {
  box-shadow: 0 0 0 4px #ffe06655, 0 12px 30px rgba(242,190,26,0.35);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  transform: scale(1.06);
}
.btn-secondary:hover {
  background: var(--accent-soft);
  color: #1f2b3a;
  border-color: var(--accent);
  transform: scale(1.04);
}

/* Navegación con subrayado animado */
.nav-links a {
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Íconos y números con animación de rebote al pasar el mouse */
.icon, .step span {
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
}
.icon:hover, .step span:hover {
  transform: scale(1.13) rotate(-6deg);
  box-shadow: 0 4px 18px 0 #ffe06655;
}

/* FAQ animación de apertura */
details[open] > summary {
  color: var(--accent-dark);
  font-size: 1.08em;
  transition: color 0.2s;
}

/* Microinteracción en mini-badge */
.mini-badge {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mini-badge:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px 0 #ffe06655;
}

.menu-bubble {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(11, 59, 130, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  box-shadow: 0 8px 22px rgba(11, 59, 130, 0.18);
  cursor: pointer;
}

.menu-bubble-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    overflow: visible;
  }

  .menu-bubble {
    display: inline-flex;
  }

  .nav-tools {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.24s ease;
  }

  .navbar.is-open .nav-tools {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    padding: 1rem 0.95rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 59, 130, 0.12);
    box-shadow: 0 16px 30px rgba(11, 59, 130, 0.14);
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }
}


/* Sombra suave sin borde ni hover para .card */
.card {
  box-shadow: 0 8px 32px 0 rgba(11,59,130,0.10);
  border: none;
  transition: none;
  z-index: 2;
}



/* ===== CARRUSEL DE IMÁGENES ===== */

#galeria {
  text-align: center;
}
.carousel-section {
  padding-top: 10px;
  padding-bottom: 60px;
  background: #f6f8fc;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 1rem;
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
  flex: 1;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.carousel-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e2e8f0;
  border: 2.5px solid #ffe08a;
  box-shadow: 0 6px 28px rgba(11,59,130,0.10);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.18s, transform 0.18s;
}

.carousel-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(11,59,130,0.16);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(11,59,130,0.18);
  transition: background 0.18s, transform 0.18s;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 3rem 0;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #c8d6e8;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .carousel-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 560px) {
  .carousel-card {
    flex: 0 0 100%;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}
/* ===== FIN CARRUSEL ===== */
