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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 0;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  background: #f6f4f2;
  color: #1a1a1a;
  line-height: 1.5;
}

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
.menu a:hover,
.menu-item > a:hover {
  opacity: 1;
  color: #ff5a3c;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 24px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  color: white;
  background: transparent;
  transition: all 0.3s ease;
}

.logo {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu a {
  margin: 0 8px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: 0.3s;
}

.menu a:hover,
.menu-item > a:hover {
  opacity: 0.8;
}

.menu-item {
  position: relative;
}

.menu-item .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  background: rgba(255,255,255,0.97);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 10;
}

.menu-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-item .dropdown a {
  display: block;
  padding: 10px 18px;
  color: #111;
  font-size: 14px;
  text-decoration: none;
}

.menu-item .dropdown a:hover {
  background: rgba(0,0,0,0.04);
}

.nav-btn {
  background: #ff5a3c;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255,90,60,0.25);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  color: #111;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.navbar.scrolled .menu a {
  color: #111;
}

.hero {
  min-height: 100vh;
  background: url('image/home.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 180px 80px 0 80px;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.85) 25%,
    rgba(0,0,0,0.5) 55%,
    rgba(0,0,0,0.1) 80%,
    rgba(0,0,0,0) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 920px;
  text-align: left;
  color: white;
  display: flex;
  align-items: flex-start;
  gap: 42px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.hero-side-logo {
  flex-shrink: 0;
  width: 190px;
}

.hero-side-logo img {
  width: 100%;
  display: block;
}

.hero-copy {
  flex: 1;
}

.hero-pretitle {
  color: #ff5a3c;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-brand h1 {
  font-family: 'Playfair Display', serif;
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: -1px;
  margin: 0;
}

.hero span {
  color: #ff5a3c;
  font-style: italic;
}

.hero p {
  margin-top: 24px;
  font-size: 18px;
  max-width: 620px;
  opacity: 0.92;
}

.partner-marquee {
  padding: 48px 20px;
  background: #f8f6f2;
  overflow: hidden;
}
.partner-marquee h2 {
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 28px;
}
.partner-marquee p {
  text-align: center;
}
.partner-marquee .section-header {
  max-width: 950px;
  margin: 0 auto 28px;
}

.partner-marquee .section-header h2 {
  font-size: 34px;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  align-items: center;
  animation: scroll-logos 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-track1 {
  display: flex;
  width: max-content;
  gap: 24px;
  align-items: center;
  animation: scroll-logos 80s linear infinite;
}

.marquee-track1:hover {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  gap: 24px;
  align-items: center;
}
.marquee-group1 {
  display: flex;
  gap: 24px;
  align-items: center;
}
.partner-logo {
  min-width: 170px;
  width: 170px;
  height: 90px;
  background: white;
  border-radius: 22px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(15, 15, 15, 0.08);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.buttons button {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.primary {
  background: #ff5a3c;
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

.secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  color: white;
  padding: 18px 36px;
  border-radius: 999px;
  cursor: pointer;
}

.travel-copy button {
  margin-top: 36px;
}

/* STATS */
.stats {
  background-color: rgba(0, 0, 0, 0.368);
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.stat {
  min-width: 100px;
}

.stat h2 {
  margin: 0;
  font-size: 36px;
  color: #ff5a3c;
}

.stat p {
  margin: 5px 0 0;
  color: white;
  opacity: 0.7;
}

.programs {
  padding: 100px 80px;
  text-align: center;
  scroll-margin-top: 90px;
}

.mission-vision {
  padding: 100px 80px;
  background: #fff;
}

.about-text {
  max-width: 980px;
  margin: 0 auto 40px;
  text-align: left;
}

.about-text p {
  font-size: 17px;
  line-height: 1.9;
  color: #1c1c1c;
  margin-bottom: 22px;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 10px 32px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.about-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.8;
  font-weight: 500;
  color: #333;
}

.about-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0.2em;
  color: #ff5a3c;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.mission-card {
  background: #faf8f5;
  border: 1px solid #ece8e4;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.04);
}

.mission-card h3 {
  font-size: 28px;
  margin-bottom: 18px;
}

.mission-card p {
  color: #444;
  line-height: 1.8;
}

.mission-card h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.mission-card p {
  color: #4a4a4a;
  line-height: 1.9;
}

.travel-section {
  padding: 100px 80px;
  background: linear-gradient(135deg, rgba(45,45,45,0.96) 0%, rgba(161, 161, 161, 0.96) 100%);
  color: white;
}

.travel-content {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.travel-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  line-height: 1.05;
  margin: 20px 0;
}

.travel-copy h2 span {
  color: #ff5a3c;
  font-style: italic;
}

.travel-copy .description {
  max-width: 620px;
  color: #ddd;
  margin-top: 16px;
}

.travel-stats {
  display: flex;
  gap: 40px;
  margin: 30px 0 0;
}

.travel-stats div {
  min-width: 105px;
}

.travel-stats strong {
  display: block;
  font-size: 36px;
  color: #ff5a3c;
}

.travel-stats p {
  margin-top: 6px;
  font-size: 14px;
  color: #ddd;
}

.travel-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(16px);
}

.travel-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #ff5a3c;
  border-radius: 16px;
  font-weight: 700;
  margin-bottom: 22px;
}

.travel-card p {
  color: #eee;
  line-height: 1.8;
}

.travel-card-stars {
  margin: 28px 0 10px;
  color: #ffb36d;
  letter-spacing: 2px;
}

.travel-card-caption {
  color: #ccc;
}

.form-section,
.cert,
.testimonials,
.travel-section {
  scroll-margin-top: 90px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.subtitle {
  color: #ff5a3c;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.programs h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
}

.description {
  margin-top: 10px;
  color: #666;
}

.grid {
  align-self : center;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 550px));
  gap: 30px;
  justify-content: center;
}

/* CARD */
.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  position: relative;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
}

.card-content {
  padding: 20px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #555;
  font-size: 14px;
}

.card button {
  margin-top: 15px;
  border: none;
  background: none;
  color: #111;
  cursor: pointer;
}

/* BADGE */
.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff5a3c;
  color: white;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
}


.form-section {
  display: flex;
  justify-content: center;
  padding: 100px 80px;
  gap: 50px;
}

.form-text {
  max-width: 500px;
}

.form-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
}

.form-text span {
  color: #ff5a3c;
  font-style: italic;
}

.form-text ul {
  margin-top: 20px;
}

.form-text li {
  margin-bottom: 10px;
}

/* FORM BOX */
.form-box {
  background: white;
  padding: 30px;
  border-radius: 16px;
  width: 350px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-box h3 {
  margin-bottom: 20px;
}

.form-box input,
.form-box select {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-box button {
  width: 100%;
  padding: 14px;
  background: #ff5a3c;
  border: none;
  color: white;
  border-radius: 999px;
  cursor: pointer;
}


.cert {
  text-align: center;
  padding: 100px 80px;
}

.cert-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
  color: #666;
}

.cert-box {
  margin-top: 20px;
}

.cert input {
  padding: 12px;
  width: 300px;
  border: 1px solid #ddd;
}

.cert button {
  padding: 12px 20px;
  background: #ff5a3c;
  border: none;
  color: white;
}


.testimonials {
  padding: 100px 80px;
  text-align: center;
}

.testimonial-card {
  margin: 40px auto;
  max-width: 600px;
  background: white;
  padding: 30px;
  border-radius: 16px;
}

.author {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer {
  width: 100%;
  background: #0f1720;
  color: white;
  padding: 80px 20px;
  box-sizing: border-box;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 40px;
  align-items: start;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 18px;
}

.footer-logo {
  margin: 0 auto 8px;
  display: block;
}

.footer h3,
.footer h4 {
  margin-bottom: 15px;
}

.footer a {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  text-decoration: none;
  font-size: 14px;
}

.footer a:hover {
  color: white;
}

.footer p {
  color: #aaa;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

.main-footer {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 28px 20px 16px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  box-sizing: border-box;
}

.main-footer .footer-top,
.main-footer .footer-links {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 18px;
}

.footer-logo {
  margin: 0 auto 8px;
  display: block;
}
.footer-logo {
  height: 38px;
  margin-bottom: 8px;
}
.footer-desc {
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.footer-social a {
  display: inline-block;
  margin: 0 8px;
}

.footer-social img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: #e94f37;
  padding: 4px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
}
.footer-links > div {
  min-width: 140px;
  max-width: 220px;
}
.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #e94f37;
  font-weight: bold;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 6px;
}
.footer-links a, .footer-links span {
  color: #fff;
  text-decoration: none;
  font-size: 0.97rem;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-socio {
  height: 32px;
  margin-right: 6px;
  vertical-align: middle;
}
.travel-copy .primary a {
    color: inherit;
    text-decoration: none;
}

/* ========================================================= */
/* PANEL DE INFORMACIÓN DE SERVICIO (MODAL)                   */
/* ========================================================= */

body.modal-open {
  overflow: hidden;
}

.info-btn {
  font: inherit;
}

.service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 16, 14, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.service-modal {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 88vh;
  overflow-y: auto;
  background: #faf8f5;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.service-modal-overlay.active .service-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.service-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: white;
  color: #1a1a1a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  z-index: 10;
  transition: 0.2s;
}

.service-modal-close:hover {
  background: #ff5a3c;
  color: white;
  transform: rotate(90deg);
}

.service-modal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.service-modal-info {
  padding: 44px 40px;
}

.service-modal-image {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 18px 40px rgba(15, 15, 15, 0.1);
}

.service-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  image-rendering: smooth;
}

.service-modal-eyebrow {
  color: #ff5a3c;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-modal-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.service-modal-summary {
  font-size: 17px;
  font-weight: 500;
  color: #2a2a2a;
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-modal-description {
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 24px;
}
.service-modal-description1 {
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 24px;
}
.service-modal-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-modal-points li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: #333;
  line-height: 1.5;
}

.service-modal-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5a3c;
}

.service-modal-form-box {
  background: white;
  padding: 44px 36px;
  border-left: 1px solid #ece8e4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-modal-form-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.service-modal-form-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 22px;
  line-height: 1.6;
}

.service-modal-form-sub span {
  color: #ff5a3c;
  font-weight: 600;
}

.service-modal-form-box .contact-form input {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.service-modal-locked-option {
  width: 100%;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px dashed #ff5a3c;
  background: rgba(255, 90, 60, 0.06);
  color: #ff5a3c;
  font-size: 14px;
  font-weight: 600;
}

.service-modal-form-box button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: #ff5a3c;
  border: none;
  color: white;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s;
}

.service-modal-form-box button[type="submit"]:hover {
  background: #e6492e;
  transform: translateY(-1px);
}

.service-modal-form-box button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* =====================================================
   MOBILE — max-width: 900px
   ===================================================== */

/* Botón hamburguesa — oculto en desktop */
.hamburger {
  display: none;
}

@media (max-width: 900px) {

  /* ---------- NAVBAR ---------- */
  .navbar {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 0;
    background: rgba(0,0,0,0.92);
  }

  .logo {
    flex: 1;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .navbar.scrolled .hamburger span {
    background: #111;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 12px 0 8px;
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 12px;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    margin: 0;
    padding: 12px 4px;
    font-size: 15px;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .navbar.scrolled .menu {
    border-top-color: rgba(0,0,0,0.1);
  }

  .navbar.scrolled .menu a {
    border-bottom-color: rgba(0,0,0,0.07);
  }

  .menu-item .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 4px 0 4px 12px;
    margin: 4px 0 8px;
    display: none;
  }

  .menu-item.open .dropdown {
    display: block;
  }

  .menu-item .dropdown a {
    color: rgba(255,255,255,0.85);
    padding: 10px 12px;
    font-size: 14px;
    border-bottom: none;
    margin: 0;
  }

  .navbar.scrolled .menu-item .dropdown a {
    color: #333;
  }

  .nav-btn {
    display: none;
  }

  /* ---------- HERO ---------- */
  .hero {
    padding: 120px 20px 60px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    min-height: 100svh;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    overflow: hidden;
  }
  .hero-content .h1 {
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
  }

  .hero-side-logo {
    width: 110px;
    margin: 0 auto;
  }

  .hero-copy {
    text-align: center;
    width: 100%;
  }

  .hero-pretitle {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .hero-brand h1 {
    font-size: 42px;
    line-height: 1.05;
  }

  .hero p {
    font-size: 15px;
    margin-top: 16px;
    max-width: 100%;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
  }

  .buttons .primary,
  .buttons .secondary {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 15px 24px;
    font-size: 15px;
  }

  /* ---------- STATS ---------- */
  .stats {
    position: static;
    transform: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(0,0,0,0.55);
    padding: 18px 8px;
    margin-top: 0;
    border-radius: 16px;
    width: 100%;
    max-width: 360px;
  }

  .stat {
    flex: 1;
    padding: 0 8px;
    min-width: 0;
    border-right: 1px solid rgba(255,255,255,0.15);
  }

  .stat:last-child {
    border-right: none;
  }

  .stat h2 {
    font-size: 28px;
  }

  .stat p {
    font-size: 12px;
  }

  /* ---------- NOSOTROS ---------- */
  .mission-vision {
    padding: 60px 20px;
  }

  .about-text {
    margin-bottom: 28px;
  }

  .about-text p {
    font-size: 15px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mission-card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  /* ---------- MARQUEE ---------- */
  .partner-marquee {
    padding: 40px 0;
  }

  .partner-marquee .section-header {
    padding: 0 20px;
  }

  .marquee-track,
  .marquee-track1,
  .marquee-group,
  .marquee-group1 {
    gap: 14px;
  }

  .partner-logo {
    min-width: 130px;
    width: 130px;
    height: 72px;
    border-radius: 16px;
    padding: 10px 12px;
  }

  /* ---------- SERVICIOS ---------- */
  .programs {
    padding: 60px 20px;
    scroll-margin-top: 70px;
  }

  .programs h2 {
    font-size: 32px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .card img {
    height: 180px;
  }

  /* ---------- THC TRAVEL ---------- */
  .travel-section {
    align-items: center;
    padding: 60px 20px;
  }

  .travel-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .travel-copy h2 {
    align-content: center;
    font-size: 36px;
  }

  .travel-copy .description {
    font-size: 15px;
    max-width: 100%;
  }

  .travel-stats {
    
    gap: 20px;
    flex-wrap: wrap;
  }

  .travel-stats div {
    min-width: 80px;
  }

  .travel-stats strong {
    font-size: 28px;
  }

  .travel-copy button {
    width: 100%;
    max-width: 320px;
    margin-top: 24px;
  }

  .travel-card {
    padding: 24px 20px;
  }

  /* ---------- FORMULARIO ---------- */
  .form-section {
    flex-direction: column;
    padding: 60px 20px;
    gap: 32px;
    align-items: stretch;
  }

  .form-text {
    max-width: 100%;
    text-align: center;
  }

  .form-text h2 {
    font-size: 32px;
  }

  .form-text ul {
    text-align: left;
    display: inline-block;
  }

  .form-box {
    width: 100%;
    max-width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  /* ---------- MODAL ---------- */
  .service-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .service-modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 24px 24px 0 0;
  }

  .service-modal-grid {
    grid-template-columns: 1fr;
  }

  .service-modal-info {
    padding: 36px 20px 20px;
  }

  .service-modal-image {
    height: 170px;
  }

  .service-modal-info h2 {
    font-size: 24px;
  }

  .service-modal-form-box {
    border-left: none;
    border-top: 1px solid #ece8e4;
    padding: 24px 20px 36px;
  }

  /* ---------- FOOTER ---------- */
  .main-footer {
    padding: 36px 20px 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding: 0 4px;
  }

  .footer-links > div {
    max-width: 100%;
    width: 100%;
  }

  .footer-top {
    margin-bottom: 24px;
  }
}

/* Extra pequeño < 390px */
@media (max-width: 390px) {
  .hero-brand h1 {
    font-size: 34px;
  }

  .stat h2 {
    font-size: 22px;
  }

  .partner-logo {
    min-width: 110px;
    width: 110px;
    height: 64px;
  }
}