/* ============================================================
   LMS Primary — Home / Front-page Styles
   Modelled after nicolaebogdan.school
   ============================================================ */

/* ── Shared Helpers ── */
.hp-accent          { color: var(--lms-orange); }
.hp-btn-lg          { padding: .85em 2.2em; font-size: 1.05rem; }
.hp-eyebrow-script  { font-family: var(--lms-font-script); font-size: 1.2rem; color: var(--lms-orange); margin-bottom: .4rem; }
.hp-lead            { font-size: 1.1rem; color: var(--lms-text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.hp-tag             { display: inline-flex; align-items: center; gap: 6px; padding: 5px 16px; border-radius: var(--lms-radius-pill); font-size: .9rem; font-weight: 600; }
.hp-tag--orange     { background: var(--lms-cream); color: var(--lms-orange-burnt); border: 1.5px solid var(--lms-orange-warm); }

.hp-section-head { margin-bottom: 3rem; }
.hp-section-head--center { text-align: center; }
.hp-section-head h2 { margin-bottom: .5rem; }

/* ============================================================
   HERO — full-bleed photo background
   ============================================================ */
.hp-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Photo layer */
.hp-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transform: scale(1.03);        /* slight zoom gives parallax feel on page load */
    animation: hp-zoom-in 8s ease forwards;
    z-index: 0;
}
@keyframes hp-zoom-in {
    from { transform: scale(1.08); }
    to   { transform: scale(1.00); }
}

/* Directional gradient overlay:
   solid dark on the left (text area) → transparent on the right (photo area) */
.hp-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            105deg,
            rgba(2, 2, 2, .82)  0%,
            rgba(2, 2, 2, .68) 38%,
            rgba(2, 2, 2, .28) 65%,
            rgba(2, 2, 2, .08) 100%
        ),
        linear-gradient(
            to top,
            rgba(2, 2, 2, .55) 0%,
            transparent 40%
        );
    z-index: 1;
}

/* Bottom fade into offwhite next section */
.hp-hero__bottom-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 90px;
    background: linear-gradient(to bottom, transparent, var(--lms-offwhite));
    z-index: 2;
    pointer-events: none;
}

/* Grid */
.hp-hero__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 120px;
}

/* ── Left: content ── */
.hp-hero__eyebrow { margin-bottom: 1.2rem; }

.hp-tag--glass {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    color: rgba(255,255,255,.75);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    gap: 10px;
}
.hp-tag--glass::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--lms-orange);
    border-radius: 2px;
    flex-shrink: 0;
}

.hp-hero__title {
    font-family: var(--lms-font-head);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.08;
    margin-bottom: 1.4rem;
    color: var(--lms-white);
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

.hp-accent-bright { color: var(--lms-gold); }

.hp-hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.8);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hp-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* White ghost button for the dark hero */
.hp-btn-ghost-white {
    background: transparent;
    color: var(--lms-white);
    border: 2px solid rgba(255,255,255,.55);
}
.hp-btn-ghost-white:hover {
    background: rgba(255,255,255,.15);
    color: var(--lms-white);
    border-color: var(--lms-white);
}

.hp-hero__trust {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hp-trust-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hp-trust-num  { font-family: var(--lms-font-head); font-size: 1.8rem; color: var(--lms-black); line-height: 1; }
.hp-trust-num--light { color: var(--lms-white); }
.hp-trust-plus { font-size: 1.2rem; color: var(--lms-orange); }
.hp-trust-label { font-size: .78rem; color: var(--lms-text-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hp-trust-label--light { color: rgba(255,255,255,.6); }
.hp-trust-sep  { width: 1.5px; height: 36px; background: var(--lms-border); }
.hp-trust-sep--light { background: rgba(255,255,255,.25); }

/* ── Right: floating stat cards over the bright photo area ── */
.hp-hero__floats {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo stamp — top-right of the floats column */
.hp-float-stamp {
    position: absolute;
    top: 0; right: 0;
    width: 76px; height: 76px;
    border-radius: 50%;
    background: var(--lms-white);
    padding: 7px;
    box-shadow: 0 6px 24px rgba(0,0,0,.30);
    display: flex; align-items: center; justify-content: center;
    animation: hp-float 5s ease-in-out infinite;
}
.hp-float-stamp img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }

/* Generic float card */
.hp-float-card {
    position: absolute;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 14px 20px;
    box-shadow: 0 10px 36px rgba(0,0,0,.22);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,.6);
}

.hp-float-card--tl {
    top: 30px; left: -10px;
    animation: hp-float 4.5s ease-in-out infinite;
    animation-delay: 0s;
}
.hp-float-card--br {
    bottom: 40px; right: -10px;
    animation: hp-float 4s ease-in-out infinite;
    animation-delay: 0.9s;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.hp-float-card--bl {
    bottom: 130px; left: -10px;
    animation: hp-float 5s ease-in-out infinite;
    animation-delay: 1.8s;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.hp-float-card__icon  { font-size: 1.7rem; flex-shrink: 0; }
.hp-float-card strong { color: var(--lms-black); font-size: .9rem; display: block; }
.hp-float-card span   { color: var(--lms-text-muted); font-size: .78rem; }
.hp-float-card__stars { font-size: 1.05rem; color: var(--lms-gold); letter-spacing: 3px; }
.hp-float-card__lbl   { font-size: .75rem; font-weight: 700; color: var(--lms-text-muted); text-transform: uppercase; letter-spacing: .06em; }
.hp-float-card__big   { font-family: var(--lms-font-head); font-size: 2rem; color: var(--lms-orange); line-height: 1; }
.hp-float-card__big sup { font-size: 1.1rem; }

@keyframes hp-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

/* ============================================================
   PILLARS
   ============================================================ */
.hp-pillars {
    background: var(--lms-white);
    padding: 80px 0;
}
.hp-pillars__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: var(--lms-radius);
    overflow: hidden;
    box-shadow: var(--lms-shadow-deep);
}
.hp-pillar {
    padding: 44px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hp-pillar--orange { background: var(--lms-orange); color: var(--lms-white); }
.hp-pillar--cream  { background: var(--lms-cream); color: var(--lms-dark); }
.hp-pillar--dark   { background: var(--lms-dark); color: var(--lms-white); }
.hp-pillar--green  { background: var(--lms-green); color: var(--lms-white); }

.hp-pillar__icon-wrap {
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 6px;
}
.hp-pillar h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: inherit;
    margin: 0;
}
.hp-pillar p {
    font-size: .9rem;
    line-height: 1.6;
    opacity: .9;
    margin: 0;
}
.hp-pillar__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}
.hp-pillar__list li {
    font-size: .82rem;
    opacity: .85;
    display: flex;
    align-items: center;
    gap: 7px;
}
.hp-pillar__list li::before {
    content: '✓';
    font-weight: 700;
    flex-shrink: 0;
}
.hp-pillar--cream .hp-pillar__list li::before { color: var(--lms-orange); }

/* ============================================================
   ABOUT
   ============================================================ */
.hp-about {
    background: var(--lms-offwhite);
    padding: 90px 0;
}
.hp-about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hp-about__text h2 { margin-bottom: .75rem; }
.hp-about__strengths {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.hp-strength {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--lms-white);
    border-radius: var(--lms-radius);
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
}
.hp-strength:hover { transform: translateX(6px); box-shadow: 0 4px 18px rgba(0,0,0,.1); }
.hp-strength__icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.hp-strength strong { display: block; font-weight: 700; color: var(--lms-black); margin-bottom: 2px; }
.hp-strength p { margin: 0; font-size: .88rem; color: var(--lms-text-muted); line-height: 1.5; }

/* ============================================================
   FOUNDATION
   ============================================================ */
.hp-foundation {
    background: var(--lms-white);
    padding: 80px 0;
}
.hp-foundation__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hp-fblock {
    border-radius: var(--lms-radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .25s;
}
.hp-fblock:hover { transform: translateY(-6px); }
.hp-fblock--orange { background: var(--lms-orange); color: var(--lms-white); }
.hp-fblock--dark   { background: var(--lms-dark); color: var(--lms-white); }
.hp-fblock--green  { background: var(--lms-green); color: var(--lms-white); }
.hp-fblock--cream  { background: var(--lms-cream); color: var(--lms-dark); border: 2px solid var(--lms-border); }

.hp-fblock__icon { font-size: 2.6rem; line-height: 1; }
.hp-fblock h4    { font-size: 1.1rem; font-weight: 400; color: inherit; margin: 0; }
.hp-fblock p     { font-size: .88rem; line-height: 1.6; opacity: .9; margin: 0; }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.hp-philosophy {
    background: var(--lms-cream);
    padding: 90px 0;
}
.hp-philosophy__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
.hp-phil-col {
    background: var(--lms-white);
    border-radius: var(--lms-radius);
    padding: 44px 36px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.hp-phil-col__num {
    font-family: var(--lms-font-head);
    font-size: 3.5rem;
    color: var(--lms-cream);
    line-height: 1;
    margin-bottom: 12px;
    position: absolute;
    top: 28px; right: 28px;
}
.hp-phil-col h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.hp-phil-col p  { font-size: .95rem; color: var(--lms-text-muted); line-height: 1.7; }
.hp-phil-col__bar {
    height: 4px;
    border-radius: 2px;
    margin-top: 1.5rem;
}
.hp-phil-col__bar--orange { background: var(--lms-orange); }
.hp-phil-col__bar--green  { background: var(--lms-green); }

/* ============================================================
   HOW WE TEACH
   ============================================================ */
.hp-howweteach {
    background: var(--lms-offwhite);
    padding: 90px 0;
}
.hp-howweteach__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hp-howweteach__visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hp-hwt-card {
    background: var(--lms-white);
    border-radius: var(--lms-radius);
    padding: 28px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-hwt-card--accent {
    background: var(--lms-orange);
    color: var(--lms-white);
}
.hp-hwt-step {
    font-family: var(--lms-font-head);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--lms-cream);
    margin-bottom: 4px;
}
.hp-hwt-card--accent .hp-hwt-step { color: rgba(255,255,255,.3); }
.hp-hwt-card h4 { font-size: 1.1rem; margin: 0; font-weight: 400; color: inherit; }
.hp-hwt-card p  { font-size: .85rem; margin: 0; line-height: 1.5; opacity: .85; }
.hp-hwt-card--accent p { color: var(--lms-white); }

/* ============================================================
   STATS BAND
   ============================================================ */
.hp-stats {
    background: var(--lms-dark);
    padding: 64px 0;
}
.hp-stats__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.hp-stat { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.hp-stat__num {
    font-family: var(--lms-font-head);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--lms-white);
}
.hp-stat__plus { font-size: 2rem; color: var(--lms-orange); }
.hp-stat__label {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255,255,255,.5);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.hp-testimonials {
    background: var(--lms-offwhite);
    padding: 90px 0;
}
.hp-testi__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.hp-testi {
    background: var(--lms-white);
    border-radius: var(--lms-radius);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.hp-testi--featured {
    background: var(--lms-orange);
    color: var(--lms-white);
    transform: translateY(-12px);
    box-shadow: var(--lms-shadow-deep);
}
.hp-testi__stars { font-size: 1.1rem; color: var(--lms-gold); letter-spacing: 2px; }
.hp-testi--featured .hp-testi__stars { color: var(--lms-gold); }
.hp-testi__quote {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--lms-dark);
    font-style: italic;
    flex: 1;
    margin: 0;
}
.hp-testi--featured .hp-testi__quote { color: var(--lms-white); }
.hp-testi__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hp-testi__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--lms-cream);
    color: var(--lms-orange-burnt);
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hp-testi--featured .hp-testi__avatar { background: rgba(255,255,255,.25); color: var(--lms-white); }
.hp-testi__author strong { display: block; color: var(--lms-black); font-size: .9rem; }
.hp-testi--featured .hp-testi__author strong { color: var(--lms-white); }
.hp-testi__author span { font-size: .8rem; color: var(--lms-text-muted); }
.hp-testi--featured .hp-testi__author span { color: rgba(255,255,255,.7); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.hp-cta {
    position: relative;
    background: var(--lms-orange);
    padding: 80px 0;
    overflow: hidden;
}
.hp-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.hp-cta__text h2 {
    color: var(--lms-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: .5rem;
}
.hp-cta__accent { color: var(--lms-gold); }
.hp-cta__text p  { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: 0; }
.hp-cta__actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.hp-cta-btn-primary {
    background: var(--lms-white);
    color: var(--lms-orange-burnt);
    font-weight: 700;
    border: 2px solid var(--lms-white);
    padding: .85em 2.2em;
}
.hp-cta-btn-primary:hover { background: var(--lms-cream); color: var(--lms-orange-burnt); }
.hp-cta-btn-outline {
    background: transparent;
    color: var(--lms-white);
    border: 2px solid rgba(255,255,255,.6);
    padding: .85em 2.2em;
}
.hp-cta-btn-outline:hover { background: rgba(255,255,255,.15); color: var(--lms-white); border-color: var(--lms-white); }
.hp-cta__blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}
.hp-cta__blob--1 { width: 500px; height: 500px; top: -200px; right: -150px; }
.hp-cta__blob--2 { width: 300px; height: 300px; bottom: -120px; left: -80px; }

/* ============================================================
   FOOTER EXTENDED
   ============================================================ */
.hp-footer-cols {
    background: var(--lms-dark);
    padding: 60px 0 40px;
}
.hp-footer-cols__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.hp-footer-brand { display: flex; flex-direction: row; gap: 20px; align-items: center; }
.hp-footer-logo  { height: 120px; width: auto; object-fit: contain; flex-shrink: 0; }
.hp-footer-logo-icon { font-size: 5rem; flex-shrink: 0; }
.hp-footer-brand__text { display: flex; flex-direction: column; gap: 6px; }
.hp-footer-brand__name  { font-family: var(--lms-font-head); font-size: 1.3rem; color: var(--lms-white); margin: 0; }
.hp-footer-brand__motto { font-family: var(--lms-font-script); color: var(--lms-orange-warm); font-size: 1rem; margin: 0; }

.hp-footer-links h5,
.hp-footer-contact h5 {
    color: var(--lms-white);
    font-family: var(--lms-font-head);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 14px;
}
.hp-footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hp-footer-links a  { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s; }
.hp-footer-links a:hover { color: var(--lms-orange-warm); }
.hp-footer-contact p { color: rgba(255,255,255,.6); font-size: .9rem; margin: 0 0 6px; }
.hp-footer-contact a { color: rgba(255,255,255,.6); transition: color .2s; }
.hp-footer-contact a:hover { color: var(--lms-orange-warm); }
.hp-footer-quote      { font-family: var(--lms-font-script); font-size: 1.1rem; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 6px; }
.hp-footer-quote-attr { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hp-pillars__grid  { grid-template-columns: repeat(2, 1fr); }
    .hp-foundation__grid { grid-template-columns: repeat(2, 1fr); }
    .hp-stats__inner   { grid-template-columns: repeat(2, 1fr); }
    .hp-footer-cols__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .hp-hero          { padding: 56px 0 48px; }
    .hp-hero__inner   { grid-template-columns: 1fr; text-align: center; }
    .hp-hero__floats { display: none; }
    .hp-hero__inner  { padding-top: 80px; padding-bottom: 100px; }
    .hp-hero__trust   { justify-content: center; }
    .hp-hero__ctas    { justify-content: center; }
    .hp-about__inner  { grid-template-columns: 1fr; }
    .hp-howweteach__inner { grid-template-columns: 1fr; }
    .hp-philosophy__cols  { grid-template-columns: 1fr; }
    .hp-testi__grid   { grid-template-columns: 1fr; }
    .hp-testi--featured   { transform: none; }
    .hp-cta__inner    { flex-direction: column; text-align: center; }
    .hp-cta__actions  { justify-content: center; }
    .hp-pillars__grid { grid-template-columns: 1fr; }
    .hp-foundation__grid  { grid-template-columns: 1fr 1fr; }
    .hp-stats__inner  { grid-template-columns: repeat(2, 1fr); }
    .hp-footer-cols__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hp-foundation__grid  { grid-template-columns: 1fr; }
    .hp-stats__inner  { grid-template-columns: 1fr 1fr; }
}
