:root {
  --bg: #ffffff;
  --surface: #f7f8fd;
  --surface-strong: #eef2ff;
  --text: #20233c;
  --muted: #5f6788;
  --primary: #2f3f99;
  --primary-deep: #241b6b;
  --accent: #39bfe5;
  --accent-soft: #dff8ff;
  --border: rgba(43, 55, 120, 0.12);
  --shadow: 0 18px 48px rgba(47, 63, 153, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(47, 63, 153, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--primary-deep);
}
.brand-mini-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}
.top-nav a:hover { color: var(--primary); }
.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1.1rem;
}

.hero {
  padding: 56px 0 42px;
  background:
    radial-gradient(circle at top left, rgba(57,191,229,0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(47,63,153,0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow,
.section-kicker {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.section-kicker.light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.hero h1,
.section-heading h2,
.program h2,
.detail-panel h2,
.contact h2 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  margin: 18px 0 16px;
  color: var(--primary-deep);
}
.hero h1 span {
  display: block;
  color: var(--primary);
}
.hero-text {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}
.hero-tags span {
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(47, 63, 153, 0.07);
  font-weight: 600;
  color: var(--primary-deep);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 63, 153, 0.25);
}
.btn-secondary {
  background: #fff;
  color: var(--primary-deep);
  border: 1px solid var(--border);
}
.btn.large { min-height: 58px; padding: 0 28px; }
.hero-details,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.hero-details strong,
.contact-list strong { color: var(--primary-deep); }

.hero-visual {
  display: grid;
  gap: 20px;
}
.visual-card {
  background: #fff;
  border: 1px solid rgba(47, 63, 153, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.portrait-card {
  padding: 18px;
}
.portrait-image {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 24px;
  background: #f5f7fb;
}
.logo-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3ff 100%);
}
.logo-image,
.program-logo,
.gallery-item.brand img {
  object-fit: contain;
}
.logo-image {
  max-height: 270px;
  width: auto;
}

section { padding: 80px 0; }
.section-soft { background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%); }
.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-heading.center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 34px;
}
.section-heading h2,
.program h2,
.detail-panel h2,
.contact h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  margin: 16px 0 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.intro-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 1.05rem;
}
.cards-grid {
  display: grid;
  gap: 22px;
}
.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-card,
.issue-card,
.detail-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.info-card h3,
.issue-card h3 {
  margin: 14px 0 10px;
  font-size: 1.28rem;
  color: var(--primary-deep);
}
.info-card p { color: var(--muted); margin: 0; }
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #eef2ff 100%);
}
.issues-grid { margin-top: 22px; }
.issue-card {
  min-height: 168px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(57,191,229,0.08), rgba(47,63,153,0.09)),
    #fff;
}
.program.section-gradient {
  background: linear-gradient(135deg, #2f3f99 0%, #241b6b 60%, #39bfe5 130%);
  color: #fff;
}
.program-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}
.program p {
  max-width: 620px;
  color: rgba(255,255,255,0.86);
  font-size: 1.05rem;
}
.program-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  padding: 28px;
}
.program-logo { max-height: 360px; width: auto; }
.two-col-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.detail-panel p { color: var(--muted); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.gallery-item {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  background: #f8fbff;
}
.gallery-item.tall { min-height: 620px; }
.gallery-item.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  background: linear-gradient(180deg, #f9fbff 0%, #eef2ff 100%);
}
.contact-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 32px;
  padding: 36px;
}
.contact-actions {
  display: grid;
  gap: 14px;
}
.footer {
  background: #121737;
  color: rgba(255,255,255,0.86);
  padding: 34px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 10px;
}
.footer-brand h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}
.footer-brand p,
.footer-info p { margin: 4px 0; }
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  min-height: 56px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #23c16b 0%, #0d9d57 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(10, 135, 72, 0.28);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .program-grid,
  .two-col-layout,
  .gallery-grid,
  .contact-box,
  .footer-grid,
  .cards-grid.three {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 38px;
  }
  .gallery-item.tall,
  .gallery-item.brand {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .top-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .top-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .brand-mini span { font-size: 0.95rem; }
  .contact-box { padding: 26px; }
  .btn, .btn.large { width: 100%; }
  .hero-actions,
  .contact-actions { grid-template-columns: 1fr; }
  .floating-whatsapp span { font-size: 0.92rem; }
}
