:root {
  --primary: #009efa;
  --dark: #1a1a1a;
  --light: #ffffff;
  --gray: #73ccff;

}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

h3 {
  text-align: center;
}

p {
  text-align: justify;
}

#hero {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(to right, #009fe3, #004f9f);
  color: var(--light);
  padding: .75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;

  transition: background 0.5s ease, transform 0.7s ease;
}

.btn-primary:hover {
  background: linear-gradient(to right, #81d9ff, #009fe3);
  transform: scale(1.1);
  border-radius: 5px;
}

/* Catalogo Button (hero section only) */
.catalogo-btn {
  --blue-dark: #0066cd;
  --blue-light: #75b8ff;
  --blue-mid: #005cbefb;
  --blue-pale: #79c5ff;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 30px;
  border: 0;
  background: transparent;
  color: #111827;
  font: 600 16px/1.1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  border-radius: 999px;
  isolation: isolate;
  overflow: visible;
  transition:
    transform 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.08),
    0 10px 28px rgba(15, 23, 42, 0.08);
}

.catalogo-btn span {
  position: relative;
  z-index: 2;
}

.catalogo-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--blue-dark) 0%,
    var(--blue-light) 32%,
    var(--blue-mid) 68%,
    var(--blue-pale) 100%
  );
  background-size: 180% 180%;
  opacity: 0;
  filter: saturate(1.08);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.catalogo-btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: 999px;
  background: #ffffff;
  transition:
    opacity 0.35s ease,
    border-radius 0.35s ease;
  pointer-events: none;
}

.catalogo-btn:hover,
.catalogo-btn:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
  box-shadow:
    0 0 0 1px rgba(123, 108, 255, 0.14),
    0 18px 40px rgba(66, 95, 180, 0.22);
}

.catalogo-btn:hover::before,
.catalogo-btn:focus-visible::before {
  opacity: 1;
  animation: morphAura 1.8s ease-in-out infinite;
}

.catalogo-btn:hover::after,
.catalogo-btn:focus-visible::after {
  opacity: 0;
}

@keyframes morphAura {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .catalogo-btn,
  .catalogo-btn::before,
  .catalogo-btn::after {
    transition: none;
    animation: none;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 600px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 95vh;
  background: url('../images/hero4.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);

}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  /* opacidad solo sobre imagen */
  z-index: 1;
  /* detrás del texto */
}

.hero-content {
  position: relative;
  z-index: 2;
  /* por encima del fondo opaco */
  max-width: 700px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Urgency Banner */
#urgency-banner {
  background: url('../images/hero6.png') center/cover no-repeat;
}

/* Locations Hero Section */
.locations-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.21), rgba(0, 0, 0, 0.242)),
    url('../images/hero5.png') center/cover no-repeat;
  height: 130vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.locations-hero .hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.locations-hero h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.locations-hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Courses */
section {
  padding: 4rem 1rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

#about-section {
  max-width: 600px;
}

.course-card {
  background: var(--light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease-in;
}

.course-card:hover {
  transform: translateY(-10px);
}

.course-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 2px solid rgb(0, 153, 255);
  border-radius: 8px;
  /* Opcional: para esquinas ligeramente redondeadas */
}

#about-jane {
  display: block;
  margin: 0 auto;
  max-width: 570px;
  /* Ajusta según tu contenido real */
  aspect-ratio: 3/2;
  object-fit: cover;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 8px;
}

#about-jane2 {
  display: block;
  margin: 0 auto;
  max-width: 450px;
  /* Ajusta según tu contenido real */
  aspect-ratio: 3/2;
  object-fit: cover;
  border: 2px solid rgb(0, 153, 255);
  border-radius: 8px;
}

.course-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-content h3 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-size: 1.25rem;
}

.course-content p {
  flex: 1;
  font-size: .95rem;
  margin-bottom: 1rem;
}

/* Testimonials */
#testimonials {
  background: #f5f5f5;
  /* o el color que prefieras */
}

.testimonial-wrapper {
  max-width: 900px;
  width: min(90vw, 900px);
  margin: 0 auto;
  position: relative;
  text-align: center;
  aspect-ratio: 16 / 9;
  height: auto;
}

.testimonial {
  opacity: 0;
  transform: translateX(20%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem;
  text-align: center;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.testimonial cite {
  display: block;
  margin-top: .75rem;
  font-style: normal;
  font-weight: 600;
}

/* Contact */
.section-subtitle {
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 720px;
}

.quote-progress {
  max-width: 680px;
  margin: 0 auto .5rem;
  height: 10px;
  background: #e8edf5;
  border-radius: 99px;
  overflow: hidden;
}

.quote-progress-bar {
  height: 100%;
  background: var(--primary);
  transition: width .3s ease;
}

.quote-step-label {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.quote-form {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background: #fff;
}

.quote-form-fields {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.quote-form-fields:disabled {
  opacity: .75;
}

.quote-form label {
  display: grid;
  gap: .4rem;
  font-weight: 600;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.quote-form input[type="radio"] {
  width: auto;
  padding: 0;
}

.country-autocomplete {
  position: relative;
}

.country-options {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: .35rem 0;
  list-style: none;
  border: 1px solid #d7dfef;
  border-radius: 8px;
  background: #fff;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
}

.country-option,
.country-option-empty {
  padding: .6rem .85rem;
  font-weight: 500;
}

.country-option {
  cursor: pointer;
}

.country-option:hover {
  background: #f2f7ff;
}

.country-option-empty {
  color: #64748b;
}

.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quote-item-card {
  border: 1px solid #dce5f7;
  border-radius: 10px;
  padding: 1rem;
  display: grid;
  gap: .9rem;
  background: #fbfdff;
}

.quote-item-card h3 {
  margin: 0;
}

.quote-add-item,
.quote-remove-item {
  width: fit-content;
}

.flag-preview-wrap {
  background: #f5f8ff;
  border: 1px solid #dce5f7;
  border-radius: 8px;
  padding: .75rem;
}

.flag-preview {
  width: min(280px, 100%);
  border: 1.5px solid #222;
  background-color: white;
  position: relative;
  overflow: hidden;
}

.flag-display {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.flag-ratio-options {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: .25rem;
}

.flag-ratio-label {
  font-weight: 600;
  margin: 0 0 .2rem;
  font-size: .95rem;
}

.flag-ratio-option,
.quote-form label.flag-ratio-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  font-weight: 400;
  cursor: pointer;
}

.field-error {
  color: #b42318;
  font-weight: 500;
}

.quote-summary ul {
  padding-left: 1rem;
  margin: .5rem 0 0;
  display: grid;
  gap: .35rem;
}

.quote-success {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.quote-success-logo {
  width: min(280px, 75vw);
  height: auto;
  margin-bottom: .75rem;
}

.quote-confetti-canvas {
  margin-top: 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8f9ff 0%, #eef3ff 100%);
  overflow: hidden;
}

.quote-confetti-canvas canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
}

.submit-error {
  max-width: 680px;
  margin: .75rem auto 0;
  color: #b42318;
  font-weight: 600;
  text-align: center;
}
.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
}

.quote-processing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .4rem .75rem .25rem;
  color: #334155;
  font-weight: 600;
}

.quote-processing p {
  margin: 0;
}

.quote-processing-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c8d8f7;
  border-top-color: var(--primary);
  animation: quote-spin .9s linear infinite;
}

@keyframes quote-spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-secondary {
  background: #eef2fa;
  color: var(--dark);
  border: none;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary.quote-remove-item {
  border: 2px solid #dc2626;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 2rem 1rem;
}

@media (max-width: 768px) {
  .logo img {
    height: 20px;
  }

  .testimonial {
    padding: 0.25rem;
  }

  .testimonial-wrapper {
    aspect-ratio: 4 / 3;
  }

  .menu-overlay {
    height: 80%;
  }

  .menu-overlay ul {
    flex-direction: column;
    gap: 50px;
    align-items: center;
  }

  .menu-overlay li {
    margin: 10px 0;
  }

  .locations-hero {
    height: 85vh;
  }
}

@media (max-width: 600px) {
  .hamburger {
    width: 22px;
    height: 22px;
  }

  .hamburger span {
    height: 3px;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: rgb(79, 79, 79);
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: rgb(79, 79, 79);
  }

  #about-jane {
    max-width: 90%;
    /* Ajusta según tu contenido real */
  }

  body {
    padding-top: 0px;
  }
}
.sticky-whatsapp-cta {
  position: fixed;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 1150;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 50%;
  background: #32d851;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticky-whatsapp-cta:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.sticky-whatsapp-cta span {
  display: none;
}

.sticky-whatsapp-cta img {
  width: 48px;
  height: 48px;
}
@media (max-width: 1025px) {

  .sticky-whatsapp-cta {
    top: 10px;
    right: 10px;
    transform: none;
  }

  .sticky-whatsapp-cta:hover {
    transform: scale(1.1);
  }

  .sticky-whatsapp-cta img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .sticky-whatsapp-cta {
    top: 25px;
    right: 10px;
  }

    .sticky-whatsapp-cta img {
    width: 35px;
    height: 35px;
  }
}