:root {
  --primary: #1487b5;
  --secondary: #e45762;
  --dark: #17384b;
  --text: #263640;
  --muted: #64707a;
  --light: #f3f7fa;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 46, 66, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 1rem; top: 1rem; background: #fff; padding: .75rem 1rem; z-index: 1000;
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 135, 181, 0.1);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.brand img {
  width: 52px; height: 52px; object-fit: contain; border-radius: 14px;
  box-shadow: var(--shadow); background: #fff;
}
.brand strong {
  display: block; font-family: 'Montserrat', sans-serif; font-size: 1rem; color: var(--dark);
}
.brand span { display: block; font-size: .78rem; color: var(--muted); max-width: 320px; }
.main-nav { display: flex; gap: 1.25rem; align-items: center; }
.main-nav a {
  font-weight: 600; color: var(--dark); position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -.3rem; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.menu-toggle {
  display: none; border: 0; background: transparent; font-size: 1.7rem; color: var(--dark); cursor: pointer;
}
.hero {
  position: relative; min-height: 90svh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg, .hero-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-bg { object-fit: cover; }
.hero-overlay {
  background: linear-gradient(100deg, rgba(23,56,75,.88) 0%, rgba(23,56,75,.52) 35%, rgba(20,135,181,.18) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 6rem 0; }
.hero-card {
  max-width: 650px; color: #fff; background: rgba(12, 26, 38, 0.28);
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px);
  padding: 2rem; border-radius: 30px; box-shadow: var(--shadow);
}
.eyebrow, .section-tag {
  letter-spacing: .12em; text-transform: uppercase; font-weight: 800; font-size: .8rem;
  color: var(--secondary); margin: 0 0 .75rem;
}
.hero h1, h2, h3 {
  font-family: 'Montserrat', sans-serif; line-height: 1.15; margin-top: 0;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); margin-bottom: 1rem; }
.hero p { font-size: 1.06rem; max-width: 58ch; }
.hero-actions, .contact-mini-actions, .social-links {
  display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.4rem;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .9rem 1.3rem; border-radius: 999px; font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #ff7a7a); color: #fff; box-shadow: var(--shadow);
}
.btn-secondary {
  background: #fff; color: var(--dark); border: 1px solid rgba(23,56,75,.12);
}
.section { padding: 5rem 0; }
.intro-strip {
  background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
  border-bottom: 1px solid rgba(20,135,181,.08);
}
.intro-grid, .two-col, .video-layout, .contact-layout {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center;
}
.intro-grid { padding: 2.2rem 0; }
.section-heading { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.section-heading p { color: var(--muted); }
.info-card, .map-card, .video-frame {
  background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
}
.check-list {
  list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .75rem;
}
.check-list li {
  background: var(--light); padding: .9rem 1rem; border-radius: 16px; font-weight: 600;
}
.cards-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem;
}
.program-card {
  background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover { transform: translateY(-6px); }
.program-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
}
.card-body { padding: 1.2rem; }
.card-body p { color: var(--muted); }
.video-frame iframe, .map-frame iframe {
  width: 100%; border: 0; border-radius: 18px;
}
.video-frame iframe { min-height: 420px; }
.map-frame iframe { min-height: 320px; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
}
.gallery-item {
  padding: 0; border: 0; background: #fff; border-radius: 20px; overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow); transition: transform .25s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
}
.social-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
.social-card {
  display: flex; gap: 1rem; align-items: center; padding: 1.4rem;
  background: linear-gradient(135deg, rgba(20,135,181,.08), rgba(228,87,98,.08));
  border-radius: 24px; border: 1px solid rgba(20,135,181,.1);
}
.social-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800;
}
.contact-form {
  display: grid; gap: .95rem; margin-top: 1.2rem;
}
.contact-form input, .contact-form textarea {
  border: 1px solid rgba(23,56,75,.14); border-radius: 16px; padding: 1rem 1rem; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(20,135,181,.24); border-color: var(--primary);
}
.site-footer {
  background: var(--dark); color: #fff; padding: 1.4rem 0;
}
.footer-wrap { text-align: center; }
.footer-wrap a { color: #fff; text-decoration: underline; }
.floating-actions {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 120; display: grid; gap: .7rem;
}
.float-btn {
  width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); font-size: 1.4rem; color: #fff;
}
.float-btn.call { background: var(--secondary); }
.float-btn.whatsapp { background: #20c863; }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none;
  align-items: center; justify-content: center; padding: 1rem; z-index: 200;
}
.lightbox.open { display: flex; }
.lightbox-image {
  max-width: min(90vw, 1000px); max-height: 85vh; border-radius: 18px; box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%;
  border: 0; font-size: 2rem; background: #fff; color: var(--dark); cursor: pointer;
}
.fade-in {
  opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}

@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .intro-grid, .two-col, .video-layout, .contact-layout { grid-template-columns: 1fr; }
  .main-nav {
    position: absolute; left: 1rem; right: 1rem; top: calc(100% + .4rem);
    background: #fff; padding: 1rem; border-radius: 20px; box-shadow: var(--shadow);
    display: none; flex-direction: column; align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
}

@media (max-width: 640px) {
  .hero { min-height: 84svh; }
  .hero-card { padding: 1.4rem; }
  .hero h1 { font-size: 2rem; }
  .cards-grid, .gallery-grid, .social-cards { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .video-frame iframe { min-height: 280px; }
  .float-btn { width: 54px; height: 54px; }
}
