/* ===== Safe Path — Education Institute (brand-matched) ===== */
:root{
  --gold:#B97F34;
  --gold-dark:#774514;
  --gold-light:#AC8E57;
  --beige:#D0CCC9;
  --ink:#1D1D1D;
  --grey:#757575;
  --grey-soft:#F5F5F5;
  --line:#EEEEEE;
  --line-2:#D9D9D9;
  --white:#ffffff;
  --radius:16px;
  --shadow:0 18px 50px rgba(29,29,29,.12);
  --shadow-sm:0 8px 22px rgba(29,29,29,.07);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;color:var(--ink);background:var(--white);
  line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:'Montserrat',sans-serif;line-height:1.18}
.brand-name{font-family:'Montserrat',sans-serif}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,92%);margin-inline:auto}
.section{padding:90px 0}
.section-alt{background:var(--grey-soft)}
.eyebrow{display:inline-block;font-family:'Montserrat';font-weight:600;font-size:.78rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--gold-dark);
  background:#f5efe6;padding:6px 14px;border-radius:999px;margin-bottom:16px}
.grad{color:var(--gold)}
.ico-arrow{width:16px;height:16px;filter:brightness(0) invert(1)}
.ico-arrow-dark{width:16px;height:16px}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:9px;font-family:'Montserrat';font-weight:600;
  font-size:.95rem;background:var(--gold);color:#fff;padding:13px 26px;border-radius:999px;border:none;
  cursor:pointer;transition:.25s;box-shadow:0 10px 24px rgba(185,127,52,.28)}
.btn:hover{background:var(--gold-dark);transform:translateY(-2px)}
.btn-sm{padding:9px 18px;font-size:.85rem}
.btn-lg{padding:16px 30px;font-size:1rem}
.btn-ghost{background:transparent;color:var(--ink);box-shadow:none;border:1.5px solid var(--line-2)}
.btn-ghost:hover{background:var(--ink);color:#fff;border-color:var(--ink)}

/* Top bar */
.topbar{background:var(--ink);color:#d8d4cf;font-size:.85rem}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;height:40px}
.topbar-call{color:#fff;font-weight:600}

/* Nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:78px}
.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:1.35rem}
.brand-logo{height:46px;width:auto}
.brand-name strong{color:var(--gold)}
.nav-links{display:flex;align-items:center;gap:24px}
.nav-links a{font-weight:500;color:var(--ink);font-size:.93rem;transition:.2s}
.nav-links a:hover{color:var(--gold)}
.nav-links .btn{color:#fff}
.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer}
.hamburger span{width:24px;height:2.5px;background:var(--ink);border-radius:2px}

/* Hero */
.hero{background:linear-gradient(180deg,#faf7f2,#fff)}
.hero-inner{padding:72px 0 80px;display:grid;gap:50px}
.hero-text{max-width:700px}
.hero-text h1{font-size:clamp(2.4rem,5vw,3.7rem);font-weight:800;margin-bottom:18px}
.hero-text p{font-size:1.1rem;color:var(--grey);max-width:560px;margin-bottom:30px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.hcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;
  box-shadow:var(--shadow-sm);transition:.3s}
.hcard:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:var(--beige)}
.hcard-ico{width:56px;height:56px;border-radius:13px;background:#f5efe6;display:grid;
  place-items:center;margin-bottom:16px}
.hcard-ico img{width:30px;height:30px}
.hcard h4{font-size:1.15rem;margin-bottom:6px}
.hcard p{color:var(--grey);font-size:.93rem}

/* Section head */
.section-head{text-align:center;max-width:680px;margin:0 auto 54px}
.section-head h2{font-size:clamp(1.9rem,3.4vw,2.6rem);font-weight:700;margin-bottom:12px}
.section-head p{color:var(--grey);font-size:1.05rem}
.head-row{display:flex;justify-content:space-between;align-items:flex-end;text-align:left;max-width:none}
.link-arrow{display:inline-flex;align-items:center;gap:8px;color:var(--gold-dark);font-weight:600;font-family:'Montserrat'}

/* Feathers / partner logos */
.logos{display:flex;flex-wrap:wrap;justify-content:center;gap:46px;align-items:center}
.logos img{height:34px;width:auto;opacity:.6;filter:grayscale(1);transition:.25s}
.logos img:hover{opacity:1;filter:none}

/* About */
.about-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:60px;align-items:center}
.about-visual{position:relative}
.about-photo{height:440px;border-radius:var(--radius);
  background:linear-gradient(150deg,var(--ink),var(--gold-dark) 60%,var(--gold));box-shadow:var(--shadow)}
.about-badge{position:absolute;right:-16px;bottom:-16px;background:#fff;padding:18px 22px;
  border-radius:16px;box-shadow:var(--shadow);display:flex;align-items:center;gap:12px}
.about-badge strong{font-family:'Montserrat';font-size:2rem;color:var(--gold-dark)}
.about-badge span{font-size:.84rem;color:var(--grey);line-height:1.3}
.about-text h2{font-size:clamp(1.8rem,3.2vw,2.4rem);margin-bottom:16px}
.about-text>p{color:var(--grey);margin-bottom:26px}
.about-feats{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:28px}
.feat{display:flex;gap:13px;align-items:flex-start}
.feat img{width:38px;height:38px;flex:none}
.feat h4{font-size:1.02rem;margin-bottom:2px}
.feat p{color:var(--grey);font-size:.88rem}

/* Courses */
.courses{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.course{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-sm);transition:.3s}
.course:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.course-top{height:140px;display:grid;place-items:center;font-size:3rem;
  background:linear-gradient(135deg,#f5efe6,#fff)}
.course-body{padding:24px}
.tag{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  color:var(--gold-dark);background:#f5efe6;padding:4px 12px;border-radius:999px;margin-bottom:12px;font-family:'Montserrat'}
.course h3{font-size:1.25rem;margin-bottom:8px}
.course-body p{color:var(--grey);font-size:.93rem;margin-bottom:18px}
.course-meta{display:flex;justify-content:space-between;align-items:center;
  border-top:1px solid var(--line);padding-top:14px;font-size:.88rem;color:var(--grey)}
.course-meta a{color:var(--gold-dark);font-weight:600}

/* Why */
.why-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.why-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:34px 28px;
  text-align:center;box-shadow:var(--shadow-sm);transition:.3s}
.why-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.why-ico{width:70px;height:70px;border-radius:50%;background:#f5efe6;display:grid;
  place-items:center;margin:0 auto 18px}
.why-ico img{width:34px;height:34px}
.why-card h3{font-size:1.2rem;margin-bottom:10px}
.why-card p{color:var(--grey);font-size:.94rem}

/* Stats band */
.stats-band{background:linear-gradient(120deg,var(--ink),var(--gold-dark));color:#fff}
.stats-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center}
.stat strong{display:block;font-family:'Montserrat';font-size:2.6rem;font-weight:800;color:#f0d9b8}
.stat span{opacity:.9;font-size:.95rem}

/* Reviews */
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.review{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px;box-shadow:var(--shadow-sm)}
.quote-ico{position:absolute;top:24px;right:26px;width:34px;opacity:.18}
.stars{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.stars img{height:18px;width:auto}
.stars b{color:var(--ink)}
.review blockquote{color:var(--ink);font-size:1rem;margin-bottom:22px;line-height:1.7}
.review figcaption{display:flex;align-items:center;gap:12px}
.avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#fff;display:grid;place-items:center;font-weight:700;font-family:'Montserrat'}
.review figcaption strong{display:block;font-size:.96rem}
.review figcaption small{color:var(--grey)}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:start}
.contact-form-wrap h2{font-size:clamp(1.8rem,3vw,2.3rem);margin-bottom:12px}
.contact-form-wrap>p{color:var(--grey);margin-bottom:26px}
.contact-form{display:grid;gap:16px;max-width:520px}
.contact-form input,.contact-form select{width:100%;padding:15px 16px;border:1.5px solid var(--line-2);
  border-radius:12px;font-family:inherit;font-size:.95rem;color:var(--ink);background:#fff;transition:.2s}
.contact-form input:focus,.contact-form select:focus{outline:none;border-color:var(--gold);
  box-shadow:0 0 0 3px #f5efe6}
.form-note{font-size:.9rem;color:var(--gold-dark);font-weight:600;min-height:1em}
.hours-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px;
  box-shadow:var(--shadow)}
.hours-box h3{font-size:1.3rem;margin-bottom:18px}
.hours-box ul{list-style:none;display:grid;gap:12px;margin-bottom:20px}
.hours-box li{display:flex;justify-content:space-between;font-size:.92rem;color:var(--grey);
  border-bottom:1px dashed var(--line-2);padding-bottom:10px}
.hours-box li b{color:var(--ink)}
.support{display:flex;align-items:center;justify-content:center;gap:8px;background:#f5efe6;
  color:var(--gold-dark);font-weight:600;text-align:center;padding:12px;border-radius:12px;margin-bottom:18px}
.support img{width:20px;height:20px}
.hours-contact{display:grid;gap:8px;font-weight:600;color:var(--ink)}

/* Gallery marquee */
.gallery-marquee{background:var(--ink);padding:26px 0;overflow:hidden}
.gm-track{display:flex;gap:24px;width:max-content;animation:scroll 26s linear infinite}
.gm-item{width:74px;height:74px;border-radius:16px;background:rgba(255,255,255,.06);
  display:grid;place-items:center;font-size:1.9rem;flex:none}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Footer */
.footer{background:#141210;color:#a8a39c;padding:60px 0 30px}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1.3fr;gap:40px;
  padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-logo{height:54px;width:auto;margin-bottom:16px}
.footer-brand p{margin-bottom:18px;font-size:.92rem;max-width:300px}
.news{display:flex;gap:8px;max-width:300px}
.news input{flex:1;padding:12px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);color:#fff;font-family:inherit}
.news button{width:46px;border:none;border-radius:10px;background:var(--gold);cursor:pointer;
  display:grid;place-items:center}
.news button img{width:16px;filter:brightness(0) invert(1)}
.footer-col h4{color:#fff;font-size:1rem;margin-bottom:16px;font-family:'Montserrat'}
.footer-col a,.footer-col span{display:block;color:#a8a39c;font-size:.9rem;margin-bottom:10px;transition:.2s}
.footer-col a:hover{color:var(--gold)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;
  padding-top:24px;font-size:.88rem}
.socials{display:flex;gap:14px;align-items:center}
.socials img{width:20px;height:20px;opacity:.8;transition:.2s}
.socials a:hover img{opacity:1}

/* Responsive */
@media(max-width:900px){
  .hero-cards,.courses,.why-cards,.reviews{grid-template-columns:repeat(2,1fr)}
  .about-grid,.contact-grid{grid-template-columns:1fr}
  .stats-inner{grid-template-columns:repeat(2,1fr);gap:30px 20px}
  .footer-top{grid-template-columns:1fr 1fr}
  .head-row{flex-direction:column;align-items:flex-start;gap:10px}
  .nav-links{position:fixed;inset:78px 0 auto 0;background:#fff;flex-direction:column;gap:0;
    padding:8px 0;border-bottom:1px solid var(--line);box-shadow:var(--shadow);
    transform:translateY(-170%);transition:.35s;align-items:stretch}
  .nav-links.open{transform:translateY(0)}
  .nav-links a{padding:13px 24px}
  .nav-links .btn{margin:8px 24px;justify-content:center}
  .hamburger{display:flex}
}
@media(max-width:560px){
  .hero-cards,.courses,.why-cards,.reviews,.about-feats,.footer-top{grid-template-columns:1fr}
  .topbar span{display:none}
  .topbar-inner{justify-content:center}
  .section{padding:64px 0}
}
