/* ============================================================
   Mr School App — marketing site styles
   ============================================================ */
:root {
    --orange: #f47a1f;
    --orange-600: #e26a10;
    --orange-700: #c75a08;
    --orange-soft: #fff1e6;
    --ink: #16181d;
    --ink-2: #1f232b;
    --ink-3: #2b3038;
    --slate: #515b6b;
    --muted: #7a8493;
    --line: #e7eaf0;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 14px rgba(22, 24, 29, .06);
    --shadow: 0 18px 40px rgba(22, 24, 29, .10);
    --shadow-lg: 0 30px 60px rgba(22, 24, 29, .16);
    --maxw: 1180px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--slate);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 .5em;
    font-weight: 700;
}

p { margin: 0 0 1rem; }

a { color: var(--orange); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--orange-700); }

img, svg { max-width: 100%; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 22px;
}

.nowrap { white-space: nowrap; }
.text-grad {
    background: linear-gradient(100deg, var(--orange), #ffb061);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    z-index: 200;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--orange);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    background: var(--btn-bg);
    color: var(--btn-fg);
    cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    color: #fff;
    box-shadow: 0 10px 22px rgba(244, 122, 31, .35);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(244, 122, 31, .45); }

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: rgba(22, 24, 29, .18);
}
.btn--ghost:hover { color: var(--orange-700); border-color: var(--orange); background: var(--orange-soft); }

.btn--light {
    background: #fff;
    color: var(--orange-700);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}
.btn--light:hover { color: var(--orange-700); }

.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.brand__mark img,
.brand__mark svg {
    width: 100%;
    height: 100%;
    display: block;
}
.brand__text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: .3px;
    font-size: 1.12rem;
    color: var(--ink);
    line-height: 1;
}
.brand__text span { color: var(--orange); }
.brand--light .brand__text { color: #fff; }
.brand--light .brand__text span { color: var(--orange); }

/* ---------- Header / Nav ---------- */
/* NOTE: do NOT use backdrop-filter on .site-header — it creates a containing
   block for fixed-positioned descendants in most engines, which makes the
   mobile menu drawer render relative to the header (not the viewport) and
   look transparent. Use a solid background instead. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 16px;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: .95rem;
    color: var(--ink-2);
    padding: 9px 14px;
    border-radius: 8px;
    position: relative;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
    border-radius: 2px;
}
.nav__link:hover { color: var(--orange-700); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.nav__cta::after { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    margin-inline: auto;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Eyebrow / Section heads ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange-700);
    background: var(--orange-soft);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(244, 122, 31, .18); }
.eyebrow--center { justify-content: center; }

.section { padding: 88px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.section__sub { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background: linear-gradient(160deg, #fbfcfe 0%, #f4f6fb 60%, #eef1f7 100%);
    padding: 64px 0 84px;
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .5;
}
.hero__blob--1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(244,122,31,.45), transparent 70%); top: -120px; right: -80px; animation: float 14s ease-in-out infinite; }
.hero__blob--2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(44,52,66,.30), transparent 70%); bottom: -140px; left: -60px; animation: float 18s ease-in-out infinite reverse; }
.hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(22,24,29,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(22,24,29,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: center;
}
.hero__title {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 18px;
}
.hero__lead { font-size: 1.12rem; color: var(--slate); max-width: 540px; margin-bottom: 26px; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.hero__ticks li { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.hero__ticks svg { width: 18px; height: 18px; fill: var(--orange); }

/* Hero mockup */
.hero__visual { position: relative; }
.mockup {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
    transition: transform .5s var(--ease);
}
.hero__visual:hover .mockup { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mockup__bar {
    display: flex; align-items: center; gap: 7px;
    padding: 12px 16px;
    background: #f3f5f9;
    border-bottom: 1px solid var(--line);
}
.mockup__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #d4d9e2; }
.mockup__bar > span:nth-child(1) { background: #ff5f57; }
.mockup__bar > span:nth-child(2) { background: #febc2e; }
.mockup__bar > span:nth-child(3) { background: #28c840; }
.mockup__url {
    margin-left: 10px;
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: .74rem;
    color: var(--muted);
    padding: 5px 12px;
}
.mockup__screen { padding: 18px; display: grid; gap: 14px; background: linear-gradient(180deg, #fff, #fbfcfe); }
.mk-card--head { display: flex; align-items: center; gap: 12px; }
.mk-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-600)); flex-shrink: 0; }
.mk-lines { flex: 1; display: grid; gap: 7px; }
.mk-lines i { display: block; height: 8px; border-radius: 6px; background: #e9edf3; }
.mk-lines i:nth-child(1) { width: 60%; }
.mk-lines i:nth-child(2) { width: 40%; }
.mk-pill { font-size: .72rem; font-weight: 600; color: var(--orange-700); background: var(--orange-soft); padding: 5px 11px; border-radius: 999px; }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.mk-stat b { display: block; font-family: 'Poppins'; font-size: 1.25rem; color: var(--ink); }
.mk-stat span { font-size: .72rem; color: var(--muted); }
.mk-graph { display: flex; align-items: flex-end; gap: 9px; height: 96px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.mk-graph span {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, var(--orange), #ffce9e);
    border-radius: 6px 6px 3px 3px;
    transform-origin: bottom;
    animation: growBar 1s var(--ease) both;
}
.mk-graph span:nth-child(even) { background: linear-gradient(180deg, var(--ink-3), #4a5160); }

.float-badge {
    position: absolute;
    display: flex; align-items: center; gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 11px 14px;
    box-shadow: var(--shadow);
    animation: floatY 5s ease-in-out infinite;
}
.float-badge svg { width: 26px; height: 26px; color: var(--orange); fill: var(--orange); }
.float-badge b { display: block; font-family: 'Poppins'; font-size: .85rem; color: var(--ink); }
.float-badge span { font-size: .72rem; color: var(--muted); }
.float-badge--results { top: 18px; left: -34px; }
.float-badge--cbt { bottom: 26px; right: -28px; animation-delay: 1.5s; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--ink); color: #fff; }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 48px 22px;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
    content: ""; position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
    width: 1px; height: 52px; background: rgba(255, 255, 255, .12);
}
.stat__num { font-family: 'Poppins'; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; line-height: 1; }
.stat__num .count { color: var(--orange); }
.stat__label { color: #aab2c0; font-size: .92rem; margin-top: 8px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.feature-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card__icon {
    display: grid; place-items: center;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--orange-soft);
    margin-bottom: 18px;
    transition: background .3s var(--ease), transform .3s var(--ease);
}
.feature-card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card:hover .feature-card__icon { background: linear-gradient(135deg, var(--orange), var(--orange-600)); transform: scale(1.05) rotate(-4deg); }
.feature-card:hover .feature-card__icon svg { stroke: #fff; }
.feature-card__title { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.feature-card__desc { font-size: .94rem; color: var(--muted); margin: 0; }
.feature-card__glow {
    position: absolute; top: -40px; right: -40px;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(244,122,31,.18), transparent 70%);
    opacity: 0; transition: opacity .3s var(--ease);
}
.feature-card:hover .feature-card__glow { opacity: 1; }

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase { background: var(--bg-soft); }
.showcase__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.showcase__media { position: relative; }
.showcase__panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    display: grid;
    gap: 16px;
    justify-items: start;
}
.sc-row {
    display: inline-flex; align-items: center; gap: 12px;
    background: #f4f6fb;
    border: 1px solid var(--line);
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--slate);
    width: 100%;
}
.sc-row--digital { background: var(--orange-soft); border-color: rgba(244,122,31,.3); color: var(--ink); }
.sc-dot { width: 11px; height: 11px; border-radius: 50%; background: #c2c9d4; }
.sc-dot--digital { background: var(--orange); box-shadow: 0 0 0 4px rgba(244,122,31,.2); }
.sc-arrow { font-size: 1.6rem; color: var(--orange); font-weight: 700; align-self: center; }
.showcase__badge {
    position: absolute; bottom: -18px; right: -10px;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    color: #fff;
    font-family: 'Poppins'; font-weight: 700; font-size: .9rem;
    padding: 12px 18px; border-radius: 12px;
    box-shadow: 0 14px 30px rgba(244,122,31,.4);
    animation: floatY 5s ease-in-out infinite;
}
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink-2); }
.check-list svg { width: 22px; height: 22px; fill: #fff; background: var(--orange); border-radius: 50%; padding: 3px; flex-shrink: 0; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits { background: var(--bg); }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit {
    display: flex; align-items: center; gap: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.benefit:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); background: #fff; }
.benefit p { margin: 0; font-weight: 500; color: var(--ink-2); }
.benefit__check { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-600)); }
.benefit__check svg { width: 18px; height: 18px; fill: #fff; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(120deg, var(--orange), var(--orange-700));
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 40%), radial-gradient(circle at 85% 80%, rgba(0,0,0,.14), transparent 45%);
}
.cta-banner__inner {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 26px;
    padding: 52px 22px;
    flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; }
.cta-banner p { color: rgba(255, 255, 255, .9); margin: 0; font-size: 1.05rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.about__meta { display: grid; gap: 14px; margin-top: 22px; }
.about__meta-item { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-weight: 500; }
.about__meta-item svg { width: 22px; height: 22px; fill: var(--orange); flex-shrink: 0; margin-top: 1px; }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mini-card b { display: block; font-family: 'Poppins'; font-size: 1.08rem; color: var(--ink); margin-bottom: 6px; }
.mini-card span { font-size: .9rem; color: var(--muted); }
.about__cards .mini-card:nth-child(2) { transform: translateY(20px); }
.about__cards .mini-card:nth-child(2):hover { transform: translateY(14px); }
.about__cards .mini-card:nth-child(3) { transform: translateY(-20px); }
.about__cards .mini-card:nth-child(3):hover { transform: translateY(-26px); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact__cards { display: grid; gap: 14px; margin-top: 26px; }
.contact-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--ink-2);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(244,122,31,.4); color: var(--ink-2); }
.contact-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--orange-soft); flex-shrink: 0; }
.contact-card__icon svg { width: 22px; height: 22px; fill: var(--orange); }
.contact-card b { display: block; font-family: 'Poppins'; font-size: .98rem; color: var(--ink); }
.contact-card span { font-size: .86rem; color: var(--muted); }

.contact__form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
}
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: 'Poppins'; font-weight: 500; font-size: .88rem; color: var(--ink-2); }
.field input, .field textarea {
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1.5px solid var(--line);
    border-radius: 11px;
    padding: 12px 14px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
    width: 100%;
    resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #aab2bf; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(244, 122, 31, .14);
}
.field__error { color: #d8462b; font-size: .82rem; }
.input-validation-error { border-color: #d8462b !important; background: #fff6f4 !important; }

.alert { border-radius: 12px; padding: 14px 16px; font-size: .92rem; font-weight: 500; margin-bottom: 18px; }
.alert--success { background: #eafaf0; color: #197a45; border: 1px solid #bfe9cf; }
.alert--error { background: #fdeeeb; color: #b83a22; border: 1px solid #f6c9bf; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #aeb6c2; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 36px;
    padding: 60px 22px 44px;
}
.footer__col h4 { color: #fff; font-size: 1rem; font-family: 'Poppins'; margin-bottom: 18px; }
.footer__col a { display: block; color: #aeb6c2; font-size: .92rem; padding: 5px 0; }
.footer__col a:hover { color: var(--orange); }
.footer__tag { font-size: .92rem; color: #9aa3b1; margin: 16px 0 18px; max-width: 320px; }
.footer__addr { font-size: .9rem; color: #9aa3b1; line-height: 1.7; margin-bottom: 10px; }
.footer__col--brand a.brand { margin-bottom: 0; }
.footer__social { display: flex; gap: 10px; margin-top: 4px; }
.footer__social a { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.footer__social a:hover { background: var(--orange); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; fill: #fff; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; flex-wrap: wrap; }
.footer__bar-inner p { margin: 0; font-size: .85rem; color: #8b94a2; }
.footer__motto { font-family: 'Poppins'; font-weight: 600; color: var(--orange) !important; letter-spacing: .02em; }

/* ---------- Back to top ---------- */
.to-top {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 48px; height: 48px;
    border: none; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    color: #fff;
    cursor: pointer;
    display: grid; place-items: center;
    box-shadow: 0 12px 26px rgba(244, 122, 31, .4);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 24px; height: 24px; fill: #fff; }

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

@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-18px, 22px); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { max-width: 460px; margin: 0 auto; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .plan-card--featured { transform: none; }
    .plan-card--featured:hover { transform: translateY(-6px); }
    .client-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat:nth-child(2)::after { display: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(82vw, 320px);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background-color: #ffffff;
        background-image: none;
        padding: 92px 24px 32px;
        box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        /* z-index sits below the sticky header (z-index 100) so the header
           and its close (X) toggle remain tappable on top of the drawer. */
        z-index: 95;
        overflow-y: auto;
    }
    .nav.is-open { transform: translateX(0); background-color: #ffffff; }
    .nav__link { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
    .nav__link::after { display: none; }
    .nav__cta { margin: 16px 0 0; text-align: center; }
    .nav-toggle { display: flex; z-index: 96; }

    body.nav-open { overflow: hidden; }
    .nav-backdrop {
        position: fixed; inset: 0;
        background: rgba(15, 17, 21, .5);
        opacity: 0; visibility: hidden;
        transition: opacity .35s var(--ease), visibility .35s;
        z-index: 94;
    }
    .nav-backdrop.is-open { opacity: 1; visibility: visible; }

    .section { padding: 64px 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .benefit-grid { grid-template-columns: 1fr; }
    .client-grid { grid-template-columns: 1fr; }
    .about__cards { grid-template-columns: 1fr; }
    .about__cards .mini-card { transform: none !important; }
    .form-row { grid-template-columns: 1fr; }
    .cta-banner__inner { flex-direction: column; align-items: flex-start; text-align: left; }
    .float-badge--results { left: -8px; top: 8px; }
    .float-badge--cbt { right: -6px; }
    .footer__bar-inner { justify-content: center; text-align: center; }

    /* --- Plans: tighten for phones, fix Most Popular badge & spacing --- */
    .plans { padding: 56px 0; }
    .plan-grid { gap: 18px; max-width: 100%; margin: 0; }
    .plan-card { padding: 28px 22px 24px; border-radius: 14px; }
    .plan-card:hover { transform: none; }
    .plan-card--featured { padding-top: 38px; transform: none; }
    .plan-card--featured:hover { transform: none; }
    .plan-card__head h3 { font-size: 1.32rem; }
    .plan-card__tag { font-size: .86rem; }
    .plan-card__price { font-size: 1.02rem; margin: 4px 0 14px; padding-bottom: 14px; }
    .plan-card__features { margin-bottom: 20px; gap: 10px; }
    .plan-card__features li { font-size: .9rem; }
    .plan-card__features svg { width: 18px; height: 18px; }
    .plan-card__badge { font-size: .66rem; padding: 5px 11px; top: -11px; letter-spacing: .03em; }

    /* WhatsApp FAB shrinks to icon-only when room is tight */
    .wa-fab { left: 14px; bottom: 14px; padding: 12px; }
    .wa-fab__label { display: none; }
}

@media (max-width: 480px) {
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__actions .btn { flex: 1; }
    .plan-card { padding: 24px 18px 22px; }
    .plan-card--featured { padding-top: 34px; }
}

/* ============================================================
   PLANS
   ============================================================ */
.plans { background: var(--bg-soft); }
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}
.plan-card {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 28px 28px;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan-card--featured {
    border-color: var(--orange);
    box-shadow: 0 24px 50px rgba(244, 122, 31, .18);
    transform: translateY(-6px);
    background: linear-gradient(180deg, #fff, #fff8f1);
}
.plan-card--featured:hover { transform: translateY(-10px); }
.plan-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    color: #fff;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(244, 122, 31, .4);
}
.plan-card__head { margin-bottom: 14px; }
.plan-card__head h3 { font-size: 1.55rem; margin-bottom: 4px; color: var(--ink); }
.plan-card__tag { color: var(--muted); font-size: .92rem; margin: 0; }
.plan-card__price {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 1.18rem;
    color: var(--orange-700);
    margin: 6px 0 18px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--line);
}
.plan-card__features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; flex: 1; }
.plan-card__features li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: .94rem; font-weight: 500; }
.plan-card__features svg { width: 20px; height: 20px; fill: #fff; background: var(--orange); border-radius: 50%; padding: 3px; flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { background: var(--bg); }
.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.client-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.client-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(244, 122, 31, .35); }
.client-card__mark {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    color: #fff;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 16px rgba(244, 122, 31, .28);
}
.client-card__body { display: grid; line-height: 1.3; }
.client-card__body b { font-family: 'Poppins'; font-size: .96rem; color: var(--ink); }
.client-card__body span { font-size: .82rem; color: var(--muted); }

/* ---------- CEO card variant in About ---------- */
.mini-card--ceo {
    background: linear-gradient(135deg, var(--ink), var(--ink-2));
    color: #fff;
    border-color: transparent;
}
.mini-card--ceo b { color: #fff; }
.mini-card--ceo span { color: #cdd3dd; }
.ceo__photo {
    position: relative;
    display: inline-block;
    width: 64px; height: 64px;
    border-radius: 50%;
    margin-bottom: 12px;
    padding: 3px;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    box-shadow: 0 10px 22px rgba(244, 122, 31, .35);
}
.ceo__photo img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #1a1a1a;
}
.ceo__fallback {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    color: #fff;
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 1.1rem;
}

/* ============================================================
   WHATSAPP — floating FAB + Contact card variant
   ============================================================ */
.wa-fab {
    position: fixed;
    left: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 12px 18px 12px 14px;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(37, 211, 102, .45);
    z-index: 90;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-fab:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(37, 211, 102, .55);
}
.wa-fab svg { width: 24px; height: 24px; flex-shrink: 0; }
.wa-fab::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
    animation: waPulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.contact-card--wa:hover { border-color: rgba(37, 211, 102, .5); color: var(--ink-2); }
.contact-card__icon--wa { background: #25D366; }
.contact-card__icon--wa svg { fill: #fff; }

/* ============================================================
   PLANS — responsive overrides (placed AFTER the base .plan-* rules
   above so the cascade actually applies them on small screens)
   ============================================================ */
@media (max-width: 992px) {
    .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 22px; }
    .plan-card--featured { transform: none; }
    .plan-card--featured:hover { transform: translateY(-6px); }
}
@media (max-width: 768px) {
    .plans { padding: 56px 0; }
    .plan-grid { gap: 18px; max-width: 100%; margin: 0; }
    .plan-card { padding: 28px 22px 24px; border-radius: 14px; }
    .plan-card:hover { transform: none; }
    .plan-card--featured { padding-top: 38px; transform: none; }
    .plan-card--featured:hover { transform: none; }
    .plan-card__head h3 { font-size: 1.32rem; }
    .plan-card__tag { font-size: .86rem; }
    .plan-card__price { font-size: 1.02rem; margin: 4px 0 14px; padding-bottom: 14px; }
    .plan-card__features { margin-bottom: 20px; gap: 10px; }
    .plan-card__features li { font-size: .9rem; }
    .plan-card__features svg { width: 18px; height: 18px; }
    .plan-card__badge { font-size: .66rem; padding: 5px 11px; top: -11px; letter-spacing: .03em; }
}
@media (max-width: 480px) {
    .plan-card { padding: 24px 18px 22px; }
    .plan-card--featured { padding-top: 34px; }
}

/* WhatsApp FAB mobile (also AFTER its base rule above, for cascade) */
@media (max-width: 768px) {
    .wa-fab { left: 14px; bottom: 14px; padding: 12px; gap: 0; }
    .wa-fab__label { display: none; }
}

/* ============================================================
   TEAM
   ============================================================ */
.team { background: var(--bg-soft); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 22px 28px;
    text-align: center;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.team-card__photo {
    position: relative;
    display: inline-block;
    width: 104px; height: 104px;
    border-radius: 50%;
    padding: 3px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    box-shadow: 0 12px 24px rgba(244, 122, 31, .3);
}
.team-card__photo img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #1a1a1a;
}
.team-card__fallback {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    color: #fff;
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 1.55rem;
    letter-spacing: .02em;
}
.team-card__name {
    font-size: 1.08rem;
    margin: 0 0 4px;
    color: var(--ink);
}
.team-card__role {
    font-size: .88rem;
    color: var(--muted);
    margin: 0;
}

@media (max-width: 992px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
    .team-card { padding: 26px 20px 22px; }
    .team-card__photo { width: 92px; height: 92px; }
}

/* ============================================================
   LEADER CARD (featured CEO at top of Team section)
   ============================================================ */
.leader-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 38px;
    align-items: center;
    max-width: 760px;
    margin: 0 auto 56px;
    padding: 40px 44px 40px 40px;
    background: linear-gradient(135deg, #18191e 0%, #25272f 100%);
    border-radius: 24px;
    color: #fff;
    box-shadow: 0 30px 60px rgba(22, 24, 29, .25);
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 36px 70px rgba(22, 24, 29, .35);
}
.leader-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    padding: 2px;
    background: linear-gradient(135deg, var(--orange) 0%, transparent 55%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.leader-card::after {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    right: -100px; top: -100px;
    background: radial-gradient(circle, rgba(244, 122, 31, .28), transparent 70%);
    pointer-events: none;
}
.leader-card__photo {
    position: relative;
    display: block;
    width: 160px; height: 160px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    box-shadow: 0 18px 36px rgba(244, 122, 31, .5);
    flex-shrink: 0;
    z-index: 1;
}
.leader-card__photo img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #1a1a1a;
}
.leader-card__fallback {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-600));
    color: #fff;
    font-family: 'Poppins';
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: .03em;
}
.leader-card__body { position: relative; z-index: 1; }
.leader-card__tag {
    display: inline-block;
    background: rgba(244, 122, 31, .18);
    color: var(--orange);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.leader-card__name {
    color: #fff;
    font-size: 1.75rem;
    margin: 0 0 6px;
    line-height: 1.15;
}
.leader-card__role {
    color: #cdd3dd;
    font-size: 1rem;
    margin: 0 0 16px;
}
.leader-card__quote {
    color: #aeb6c2;
    font-style: italic;
    font-size: .96rem;
    border-left: 3px solid var(--orange);
    padding-left: 14px;
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .leader-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 26px;
        text-align: center;
        margin-bottom: 40px;
    }
    .leader-card__photo { width: 128px; height: 128px; margin: 0 auto; }
    .leader-card__fallback { font-size: 2.1rem; }
    .leader-card__name { font-size: 1.45rem; }
    .leader-card__role { font-size: .94rem; }
    .leader-card__quote {
        text-align: left;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, .12);
        padding: 14px 0 0;
        margin-top: 4px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
