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

:root {
  --navy: #0a2540;
  --navy-deep: #071a30;
  --navy-light: #123a5e;
  --gold: #c9a227;
  --gold-light: #e8c766;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --text: #1b2430;
  --text-muted: #5b6472;
  --border: #e6e8ec;
  --shadow: 0 20px 50px -20px rgba(10, 37, 64, 0.25);
  --shadow-sm: 0 8px 24px -12px rgba(10, 37, 64, 0.18);
  --radius: 16px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--navy); }

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

ul { list-style: none; }

.text-gold { color: var(--gold); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.hero .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(201, 162, 39, 0.55);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(10,37,64,0.15); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
}
.logo-text strong { color: var(--gold); }

.nav {
  display: flex;
  gap: 22px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--navy); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  color: var(--white);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero.img-missing .hero-bg-image { display: none; }

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7,26,48,0.92) 0%, rgba(7,26,48,0.8) 55%, rgba(7,26,48,0.6) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-text { max-width: 680px; }

.hero-text h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom: 22px;
  color: var(--white);
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ ABOUT ============ */
.about { padding: 150px 0 100px; background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-frame {
  position: relative;
  background: linear-gradient(150deg, var(--navy), var(--navy-light));
  border-radius: 24px;
  padding: 50px 36px;
  min-height: 340px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
}
.about-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 16px;
}
.quote-mark {
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  display: block;
  margin-bottom: 16px;
}
.about-frame-content p {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1.5;
}

.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }

.founder-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 26px;
  padding: 14px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.founder-photo {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(150deg, var(--navy), var(--navy-light));
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-photo-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}
.founder-photo-placeholder svg { width: 28px; height: 28px; }
.founder-photo.img-missing img { display: none; }
.founder-photo.img-missing .founder-photo-placeholder { display: flex; }
.founder-card strong { display: block; color: var(--navy); font-size: 0.98rem; }
.founder-card span { color: var(--text-muted); font-size: 0.85rem; }

.check-list { margin: 22px 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  background: rgba(201,162,39,0.12);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  top: 2px;
}

.link-arrow {
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  transition: opacity 0.2s ease;
}
.link-arrow:hover { opacity: 0.7; }

/* ============ SECTION HEAD ============ */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head h2.light { color: var(--white); }
.section-head p { color: var(--text-muted); }

/* ============ SERVICES ============ */
.services { padding: 100px 0; background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.service-card-highlight {
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  border: none;
}
.service-card-highlight h3,
.service-card-highlight p { color: var(--white); }
.service-card-highlight ul li { color: rgba(255,255,255,0.8); }
.service-card-highlight ul li::before { color: var(--gold-light); }

.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(201,162,39,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card-highlight .service-icon {
  background: rgba(232, 199, 102, 0.16);
  color: var(--gold-light);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card > p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.service-card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.service-card ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ============ PROGRAMS ============ */
.programs { padding: 100px 0; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.program-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.program-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(10,37,64,0.06);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.program-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.program-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ============ GALLERY ============ */
.gallery { padding: 100px 0; background: var(--off-white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-loading,
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 40px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.gallery-empty code { color: var(--navy); font-weight: 600; }

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(150deg, var(--navy), var(--navy-light));
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  background: #000;
}
.gallery-item:hover img { transform: scale(1.07); }

.media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  pointer-events: none;
}
.media-badge svg { width: 13px; height: 13px; }

.gallery-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  line-height: 1.5;
}
.gallery-placeholder code {
  color: var(--gold-light);
  font-size: 0.78rem;
}
.gallery-placeholder-icon { opacity: 0.8; }
.gallery-placeholder-icon svg { width: 36px; height: 36px; }

.gallery-item.img-missing img,
.gallery-item.img-missing video,
.gallery-item.img-missing .media-badge { display: none; }
.gallery-item.img-missing .gallery-placeholder { display: flex; }

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(0deg, rgba(10,37,64,0.85), transparent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ============ PROCESS ============ */
.process {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
}
.process .eyebrow { color: var(--gold-light); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.process-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.process-step h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { color: rgba(255,255,255,0.68); font-size: 0.9rem; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 100px 0; background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
  font-size: 0.96rem;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-light));
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 30px; }

/* ============ CONTACT ============ */
.contact { padding: 100px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 30px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(201,162,39,0.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong { font-size: 0.9rem; }
.contact-item div { color: var(--text-muted); font-size: 0.92rem; }

.social-links { display: flex; gap: 14px; margin-top: 30px; }
.social-links a {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.social-links a:hover { border-color: var(--gold); color: var(--navy); background: rgba(201,162,39,0.08); }

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 24px; font-size: 1.2rem; }

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--white);
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; }

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--navy);
  min-height: 1em;
}

/* ============ FOOTER ============ */
.site-footer { background: var(--navy-deep); padding: 70px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-top: 16px; max-width: 280px; }
.logo-footer .logo-text { color: var(--white); }

.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy-light); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-frame { order: 2; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero { min-height: 520px; padding: 120px 0 70px; }
  .nav {
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-sm);
    transform: translateY(-140%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .burger { display: flex; }
  .header-actions .btn-primary { display: none; }
  .services-grid, .programs-grid, .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .about { padding-top: 90px; }
}
