:root {
  --primary: #1487b5;
  --primary-dark: #0d6f96;
  --secondary: #e45762;
  --secondary-soft: #f17a83;
  --dark: #17384b;
  --text: #223646;
  --muted: #607484;
  --light: #f3f8fb;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(16, 57, 81, 0.12);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 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(1160px, calc(100% - 2rem)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .75rem 1rem; z-index: 999; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20,135,181,.12);
}
.nav-wrap {
  min-height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.brand img {
  width: 56px; height: 56px; object-fit: contain; border-radius: 16px;
  background: #fff; box-shadow: var(--shadow);
}
.brand strong, h1, h2, h3 { font-family: 'Montserrat', sans-serif; }
.brand strong { display: block; font-size: 1.05rem; color: var(--dark); }
.brand span { display: block; font-size: .78rem; color: var(--muted); max-width: 320px; }
.nav-actions { display: flex; align-items: center; gap: .65rem; }
.lang-toggle, .menu-toggle {
  border: 1px solid rgba(20,135,181,.18); background: #fff; color: var(--dark);
  border-radius: 999px; min-height: 42px; min-width: 42px; padding: 0 .95rem; cursor: pointer; font-weight: 700;
}
.menu-toggle { display: none; font-size: 1.2rem; }
.main-nav { display: flex; align-items: center; gap: 1.15rem; }
.main-nav a { font-weight: 700; color: var(--dark); position: relative; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -.35rem; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary)); transition: .25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }
.hero {
  position: relative; min-height: 92svh; 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(95deg, rgba(14, 36, 50, .9) 0%, rgba(20, 135, 181, .35) 55%, rgba(228, 87, 98, .2) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 5rem 0; }
.hero-card {
  max-width: 700px; padding: 2rem; color: #fff;
  background: rgba(11, 31, 43, .35); border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px; backdrop-filter: blur(10px); box-shadow: var(--shadow);
}
.eyebrow, .section-tag {
  margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .14em;
  color: #ffd8db; font-size: .78rem; font-weight: 800;
}
.section-tag { color: var(--secondary); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.06; margin: 0 0 1rem; }
.hero p { font-size: 1.08rem; max-width: 58ch; }
.hero-actions, .hero-badges, .contact-mini-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-actions { margin-top: 1.4rem; }
.hero-badges { margin-top: 1.15rem; }
.hero-badges span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12);
  color: #fff; padding: .55rem .9rem; border-radius: 999px; font-size: .9rem;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .9rem 1.25rem; border-radius: 999px; font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-soft));
  color: #fff; box-shadow: var(--shadow);
}
.btn-secondary, .btn.mini {
  background: #fff; color: var(--dark); border: 1px solid rgba(20,135,181,.12);
}
.btn.full { width: 100%; }
.section { padding: 5rem 0; }
.accent-section { background: linear-gradient(180deg, #fff 0%, var(--light) 100%); }
.intro-strip {
  border-bottom: 1px solid rgba(20,135,181,.08);
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
}
.intro-grid, .two-col, .contact-layout, .video-layout, .social-layout {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 2rem; align-items: center;
}
.intro-grid { padding: 2.2rem 0; }
.section-heading { max-width: 760px; text-align: center; margin: 0 auto 2rem; }
.section-heading p { color: var(--muted); }
.about-grid { align-items: start; }
.info-card, .map-card, .video-frame, .embed-card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem; 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); border-radius: 16px; padding: .9rem 1rem; font-weight: 700;
}
.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.15rem; }
.card-body p { color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gallery-item {
  padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow); cursor: pointer; transition: transform .25s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.embed-header {
  display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem;
}
.embed-header img { width: 58px; height: 58px; object-fit: contain; border-radius: 16px; }
.embed-header span { color: var(--muted); font-size: .92rem; }
.facebook-frame {
  border-radius: 20px; overflow: hidden; background: var(--light); min-height: 520px; margin-bottom: 1rem;
}
.facebook-frame iframe { width: 100%; }
.social-cards { display: grid; gap: 1rem; }
.social-card {
  display: flex; gap: 1rem; align-items: center; padding: 1.25rem;
  background: rgba(255,255,255,.92); border: 1px solid rgba(20,135,181,.1); border-radius: 24px; box-shadow: var(--shadow);
}
.social-icon {
  width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); font-weight: 800;
}
.video-frame iframe, .map-frame iframe {
  width: 100%; min-height: 420px; border: 0; border-radius: 18px;
}
.map-frame iframe { min-height: 340px; }
.quick-actions-list { display: grid; gap: .85rem; margin: 1.4rem 0 1.1rem; }
.quick-action {
  display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem;
  background: #fff; border: 1px solid rgba(20,135,181,.1); border-radius: 18px; box-shadow: var(--shadow);
}
.quick-action span { font-size: 1.35rem; }
.contact-form { display: grid; gap: .95rem; }
.contact-form input, .contact-form textarea {
  border: 1px solid rgba(23,56,75,.14); border-radius: 18px; padding: 1rem; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(20,135,181,.22); border-color: var(--primary);
}
.form-note { color: var(--muted); }
.site-footer { background: var(--dark); color: #fff; padding: 1.4rem 0; }
.footer-wrap { text-align: center; }
.footer-wrap a { text-decoration: underline; }
.floating-actions {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 150; display: grid; gap: .75rem;
}
.float-btn {
  width: 58px; height: 58px; border-radius: 50%; color: #fff; font-size: 1.45rem;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.float-btn.call { background: var(--secondary); }
.float-btn.whatsapp { background: #22c55e; }
.lightbox {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(0,0,0,.9); z-index: 250;
}
.lightbox.open { display: flex; }
.lightbox-image {
  max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 20px; box-shadow: var(--shadow);
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; border: 0; width: 48px; height: 48px; cursor: pointer;
  border-radius: 50%; background: #fff; color: var(--dark); font-size: 2rem;
}
.fade-in {
  opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .intro-grid, .two-col, .contact-layout, .video-layout, .social-layout { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: absolute; left: 1rem; right: 1rem; top: calc(100% + .45rem); display: none;
    flex-direction: column; align-items: flex-start; gap: .9rem; padding: 1rem; background: #fff;
    border-radius: 22px; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
}
@media (max-width: 640px) {
  .hero { min-height: 86svh; }
  .hero-card { padding: 1.35rem; }
  .hero h1 { font-size: 2rem; }
  .cards-grid, .gallery-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .video-frame iframe, .map-frame iframe, .facebook-frame { min-height: 300px; }
  .float-btn { width: 54px; height: 54px; }
}
