/* ============================================================
   LOGOFORYOURSCHOOL — COMPLETE DESIGN REFERENCE
   Navy #0f1f3d | Crimson #9b1c1c | Gold #c9922a | Cream #faf6f1
   Headlines: Playfair Display | Body: DM Sans
   ============================================================ */

:root {
  --navy:       #0f1f3d;
  --navy-light: #1a2f55;
  --crimson:    #9b1c1c;
  --crimson-h:  #b91c1c;
  --gold:       #c9922a;
  --gold-light: #d4a843;
  --cream:      #faf6f1;
  --white:      #ffffff;
  --gray:       #6b7280;
  --gray-light: #f3f4f6;
  --border:     #e5e7eb;
  --text:       #1a1a2e;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* PAGE NAV (design reference only) */
.ref-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 999; background: #1a1a2e; height: 44px; display: flex; align-items: center; gap: 4px; padding: 0 16px; overflow-x: auto; }
.ref-nav a { color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 600; text-decoration: none; padding: 4px 12px; border-radius: 4px; white-space: nowrap; }
.ref-nav a:hover { background: rgba(255,255,255,0.1); color: white; }
.ref-section { padding-top: 44px; }

/* SITE NAV */
.site-nav { background: #fff; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark { width: auto; height: 54px; background: transparent; border-radius: 0; display: flex; align-items: center; justify-content: center; overflow: visible; padding: 0; }
.nav-logo-mark img { height: 100%; width: auto; display: block; object-fit: contain; }
.nav-logo-text { font-weight: 600; font-size: 16px; color: var(--navy); }
.nav-logo-text strong { color: var(--gold); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-cta { background: var(--crimson); color: white !important; padding: 9px 22px; border-radius: 6px; font-weight: 600 !important; font-size: 14px !important; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.btn-crimson { background: var(--crimson); color: white; }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-white { background: white; color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }

/* SECTIONS */
.section { padding: 56px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 48px); font-weight: 900; line-height: 1.08; color: var(--navy); margin-bottom: 16px; }
.section-title em { font-style: italic; color: var(--gold); }
.section-title.on-dark { color: white; }
.section-sub { font-size: 16px; color: var(--gray); line-height: 1.75; max-width: 560px; }
.section-sub.on-dark { color: rgba(255,255,255,0.62); }
.section-header { margin-bottom: 34px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* CTA BANNER */
.cta-banner { background: var(--crimson); padding: 54px 48px; text-align: center; }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 50px); font-weight: 900; color: white; margin-bottom: 16px; line-height: 1.1; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* HERO */
.hero { min-height: 0; background: var(--navy); display: flex; align-items: center; padding: 46px 48px 54px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -150px; width: 650px; height: 650px; background: radial-gradient(circle, rgba(155,28,28,0.18) 0%, transparent 65%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 450px; height: 450px; background: radial-gradient(circle, rgba(201,146,42,0.1) 0%, transparent 65%); pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,146,42,0.12); border: 1px solid rgba(201,146,42,0.3); border-radius: 100px; padding: 6px 16px; margin-bottom: 28px; }
.hero-badge span { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 66px); font-weight: 900; color: white; line-height: 1.05; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.62); line-height: 1.72; margin-bottom: 38px; max-width: 460px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-dots { display: flex; gap: 20px; flex-wrap: wrap; }
.hdot { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,0.45); font-weight: 500; }
.hdot-circle { width: 8px; height: 8px; border-radius: 50%; }
.hero-visual { position: relative; }
.hero-img-frame { width: 100%; aspect-ratio: 4/3; background: rgba(255,255,255,0.04); border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 24px; }
.hero-logo-slot { aspect-ratio: 1; background: rgba(255,255,255,0.05); border-radius: 12px; border: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; font-size: 11px; color: rgba(255,255,255,0.25); text-align: center; padding: 14px; overflow: hidden; }
.hero-logo-slot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-stat { position: absolute; bottom: -16px; left: -24px; background: white; border-radius: 14px; padding: 14px 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); display: flex; align-items: center; gap: 12px; }
.hero-stat-icon { width: 40px; height: 40px; background: rgba(201,146,42,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.hero-stat strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.hero-stat span { font-size: 11px; color: var(--gray); }

/* TRUST BAR */
.trust-bar { background: var(--navy-light); padding: 20px 48px; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; }
.trust-item strong { color: white; }

/* TYPES */
.types-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.type-card { background: white; border-radius: 12px; padding: 28px 18px; text-align: center; border: 1px solid var(--border); transition: all 0.25s; }
.type-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: var(--gold); }
.type-icon { font-size: 30px; margin-bottom: 12px; display: block; }
.type-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.type-card p { font-size: 12px; color: var(--gray); line-height: 1.5; }

/* PACKAGES */
.packages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pkg-card { border-radius: 16px; padding: 36px 32px; border: 2px solid var(--border); background: white; }
.pkg-card.featured { border-color: var(--crimson); background: var(--navy); }
.pkg-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 18px; }
.pkg-badge.popular { background: rgba(155,28,28,0.08); color: var(--crimson); }
.pkg-badge.best { background: var(--crimson); color: white; }
.pkg-badge.complete { background: rgba(201,146,42,0.1); color: var(--gold); }
.pkg-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.pkg-card.featured .pkg-name { color: white; }
.pkg-tagline { font-size: 13px; color: var(--gray); margin-bottom: 22px; line-height: 1.55; }
.pkg-card.featured .pkg-tagline { color: rgba(255,255,255,0.58); }
.pkg-price { font-family: 'Bebas Neue', sans-serif; font-size: 56px; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.pkg-timeline { font-size: 12px; color: var(--gray); margin-bottom: 24px; }
.pkg-card.featured .pkg-timeline { color: rgba(255,255,255,0.4); }
.pkg-divider { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; margin-top: 20px; }
.pkg-features { list-style: none; margin-bottom: 30px; }
.pkg-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray); margin-bottom: 9px; line-height: 1.45; }
.pkg-card.featured .pkg-features li { color: rgba(255,255,255,0.68); }
.pkg-features li::before { content: '✓'; color: var(--gold); font-weight: 700; font-size: 13px; flex-shrink: 0; margin-top: 1px; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; position: relative; list-style: none; }
.process-grid::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 1px; background: linear-gradient(to right, var(--crimson), var(--gold)); opacity: 0.25; }
.process-step { text-align: center; position: relative; }
.process-num { width: 80px; height: 80px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--gold); border: 2px solid rgba(201,146,42,0.35); position: relative; z-index: 1; }
.process-step h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.gallery-card { background: var(--cream); border-radius: 16px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); }
.gallery-img { aspect-ratio: 1; background: white; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 13px; color: #bbb; text-align: center; padding: 20px; }
.gallery-info { padding: 18px 20px; }
.gallery-mascot { font-family: 'Playfair Display', serif; font-style: italic; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.gallery-school { font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.gallery-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; background: rgba(201,146,42,0.1); color: var(--gold); }
.gallery-disclaimer { text-align: center; font-size: 13px; color: var(--gray); font-style: italic; padding: 24px 0 0; border-top: 1px solid var(--border); margin-top: 20px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.faq-q { padding: 20px 24px; font-weight: 600; font-size: 15px; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; background: none; border: none; text-align: left; font-family: 'DM Sans', sans-serif; }
.faq-q:hover { background: rgba(201,146,42,0.03); }
.faq-icon { width: 26px; height: 26px; border-radius: 50%; background: rgba(201,146,42,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); font-size: 14px; font-weight: 700; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 16px 24px 20px; font-size: 14px; color: var(--gray); line-height: 1.75; border-top: 1px solid var(--gray-light); }
.faq-item.open .faq-a { display: block; }

/* TESTIMONIAL */
.testimonial-section { background: var(--navy); padding: 56px 48px; }
.testimonial-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial-quote { font-family: 'Playfair Display', serif; font-size: clamp(18px,2.5vw,26px); font-style: italic; color: white; line-height: 1.55; margin-bottom: 24px; }
.testimonial-attr { font-size: 14px; color: var(--gold); font-weight: 600; }
.testimonial-school { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 4px; }
.quote-mark { font-family: 'Playfair Display', serif; font-size: 80px; color: var(--gold); opacity: 0.3; line-height: 0.5; margin-bottom: 20px; display: block; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card { background: white; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; margin-bottom: 12px; }
.blog-read { font-size: 11px; color: var(--gray); margin-left: 8px; }
.blog-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 13px; color: var(--gray); line-height: 1.65; margin-bottom: 16px; flex: 1; }
.blog-read-link { font-size: 13px; font-weight: 700; color: var(--gold); text-decoration: none; }

/* ABOUT */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-img { aspect-ratio: 1 / 1; background: rgba(255,255,255,0.05); border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.3); text-align: center; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.about-value { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 18px; border: 1px solid rgba(255,255,255,0.08); }
.about-value-icon { font-size: 22px; margin-bottom: 10px; display: block; }
.about-value h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 5px; }
.about-value p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.55; }

/* APPLY */
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-wrap { background: white; border-radius: 20px; padding: 48px; border: 1px solid var(--border); box-shadow: 0 4px 40px rgba(0,0,0,0.06); }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
label span { color: var(--gold); }
input, select, textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: white; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 100px; resize: vertical; }
.form-submit { width: 100%; padding: 16px; background: var(--crimson); color: white; border: none; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 8px; }
.form-note { text-align: center; font-size: 12px; color: var(--gray); margin-top: 12px; }
.promise-list { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.promise-item { display: flex; gap: 16px; align-items: flex-start; }
.promise-icon { width: 44px; height: 44px; background: rgba(201,146,42,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.promise-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.promise-item p { font-size: 13px; color: var(--gray); line-height: 1.65; }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--navy); padding: 60px 48px 48px; text-align: center; }
.page-hero .section-title, .page-hero .section-sub { margin-left: auto; margin-right: auto; }

/* COMPARE NOTE */
.compare-note { background: rgba(201,146,42,0.08); border: 1px solid rgba(201,146,42,0.2); border-radius: 12px; padding: 20px 28px; margin-bottom: 48px; display: flex; align-items: center; gap: 16px; }
.compare-note p { font-size: 14px; color: var(--text); line-height: 1.6; }

/* FOOTER */
.site-footer { background: var(--navy); padding: 46px 48px 26px; border-top: 1px solid rgba(255,255,255,0.07); }
.site-footer .nav-logo-text { color: #fff; }
.site-footer .nav-logo-text strong { color: var(--gold); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 14px; max-width: 300px; }
.footer-email { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gold); text-decoration: none; margin-top: 14px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 28px; display: flex; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ============================================================
   RESPONSIVE — TABLET (<=1024px) & MOBILE (<=640px)
   ============================================================ */

/* ---- TABLET ---- */
@media (max-width: 1024px) {
  .site-nav { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .section { padding: 48px 24px; }
  .hero { padding: 40px 24px 46px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .trust-bar, .testimonial-section, .cta-banner, .page-hero, .site-footer { padding-left: 24px; padding-right: 24px; }
  .trust-inner { gap: 28px; }
  .types-grid { grid-template-columns: repeat(3, 1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .process-grid::before { display: none; }
  .gallery-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .apply-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-img { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---- MOBILE ---- */
@media (max-width: 640px) {
  .site-nav { height: auto; flex-direction: column; gap: 12px; padding: 14px 18px; }
  .nav-links { gap: 14px 16px; flex-wrap: wrap; justify-content: center; }
  .nav-logo-mark { height: 46px; }

  .section { padding: 40px 18px; }
  .section-header { margin-bottom: 26px; }

  .hero { padding: 34px 18px 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stat { position: static; margin-top: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
  .hero-img-frame { aspect-ratio: auto; }

  .btn { width: 100%; justify-content: center; }
  .hero-dots { gap: 12px; }

  .trust-bar, .testimonial-section, .cta-banner, .page-hero, .site-footer { padding-left: 18px; padding-right: 18px; }
  .cta-banner { padding-top: 44px; padding-bottom: 44px; }

  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid, .blog-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .about-img { max-width: none; }

  .form-wrap { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .compare-note { flex-direction: column; align-items: flex-start; gap: 10px; }
}