:root {
    --nav-blue: #162e78;
    --silver: #d1d2d8;
    --white: #ffffff;
    --ink: #111833;
    --muted-ink: #4f5a80;
    --line: rgba(22, 46, 120, 0.16);
    --surface: #f7f8fc;
    --shadow-soft: 0 24px 48px rgba(17, 24, 51, 0.12);
    --shadow-card: 0 16px 36px rgba(16, 27, 67, 0.1);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(1200px 480px at 100% -20%, rgba(22, 46, 120, 0.14), transparent 70%),
        radial-gradient(900px 360px at -10% 20%, rgba(22, 46, 120, 0.1), transparent 65%),
        linear-gradient(180deg, #f8f9ff 0%, #ffffff 48%, #f8f9ff 100%);
    line-height: 1.55;
}

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

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

.container {
    width: min(1140px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(22, 46, 120, 0.92);
    backdrop-filter: saturate(150%) blur(10px);
    transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
    box-shadow: 0 8px 28px rgba(6, 12, 33, 0.38);
    background: rgba(22, 46, 120, 0.98);
}

body.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    color: var(--white);
}

.brand-main {
    font-family: 'Park Avenue Custom', 'Times New Roman', serif;
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    letter-spacing: 0.01em;
    font-weight: 400;
}

.brand-sub {
    font-size: 0.64rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.16rem;
    margin-left: 0.15rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
    font-weight: 600;
    position: relative;
    transition: color 180ms ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.34rem;
    width: 100%;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
    color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.96rem 1.5rem;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-small {
    font-size: 0.84rem;
    padding: 0.72rem 1.1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--nav-blue);
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 16px 30px rgba(255, 255, 255, 0.32);
}

.btn-ghost {
    background: transparent;
    color: var(--nav-blue);
    border-color: rgba(22, 46, 120, 0.25);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--nav-blue);
    background: rgba(22, 46, 120, 0.08);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: transparent;
    padding: 0;
    align-content: center;
    justify-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    border-radius: 99px;
    background: var(--white);
    transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-menu {
    position: fixed;
    inset: 84px 0 auto;
    min-height: calc(100dvh - 84px);
    background: linear-gradient(160deg, #112456 0%, #162e78 52%, #1b3586 100%);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease, transform 260ms ease;
}

.mobile-menu-inner {
    width: min(540px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 2.6rem 0;
    display: grid;
    gap: 1rem;
}

.mobile-menu a {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.15rem, 4vw, 1.5rem);
    font-weight: 700;
    padding: 0.35rem 0;
}

.mobile-menu a.btn {
    justify-self: start;
    width: auto;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0.86rem 1.3rem;
    color: var(--nav-blue);
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

body.menu-open .nav-toggle span:first-child {
    transform: translateY(5.5px) rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.menu-open .nav-toggle span:last-child {
    transform: translateY(-5.5px) rotate(-45deg);
}

.hero-section {
    position: relative;
    overflow: clip;
    padding: clamp(3.8rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(0.6px);
}

.orb-a {
    width: min(42vw, 500px);
    aspect-ratio: 1;
    right: -11%;
    top: 10%;
    background: radial-gradient(circle at 30% 30%, rgba(209, 210, 216, 0.62), rgba(22, 46, 120, 0.16) 68%, transparent 78%);
}

.orb-b {
    width: min(30vw, 360px);
    aspect-ratio: 1;
    left: -9%;
    bottom: -18%;
    background: radial-gradient(circle at 55% 55%, rgba(22, 46, 120, 0.2), transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--nav-blue);
    font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.contact-form-shell h3 {
    font-family: 'Fraunces', 'Iowan Old Style', serif;
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin: 0;
}

.hero-copy h1 {
    margin-top: 0.9rem;
    font-size: clamp(2.15rem, 5.4vw, 4.2rem);
    max-width: 16.6ch;
    color: #101b45;
}

.hero-description {
    max-width: 60ch;
    margin: 1.1rem 0 0;
    color: var(--muted-ink);
    font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.65rem;
}

.hero-stats {
    margin-top: 1.65rem;
    display: grid;
    gap: 0.58rem;
}

.hero-stats span {
    width: fit-content;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    color: #24315f;
    font-size: 0.89rem;
    font-weight: 600;
    padding: 0.52rem 0.95rem;
}

.hero-visual {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.visual-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(22, 46, 120, 0.15);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(246, 248, 255, 0.9));
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(8px);
}

.main-card {
    width: min(440px, 100%);
    min-height: 325px;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 2.2rem;
    position: relative;
}

.main-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: calc(var(--radius-lg) - 8px);
    border: 1px dashed rgba(22, 46, 120, 0.25);
    pointer-events: none;
}

.main-card p {
    margin: 0;
    font-size: 1.4rem;
    font-family: 'Fraunces', serif;
    color: #152c73;
}

.main-card .visual-sub {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-family: 'Manrope', sans-serif;
    color: #435078;
}

.hero-image-card {
    overflow: hidden;
    padding: 0;
}

.hero-image-card::before {
    display: none;
}

.hero-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(17, 24, 51, 0.04), rgba(17, 24, 51, 0.24));
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    min-height: 325px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.accent-card {
    position: absolute;
    left: 0;
    bottom: 3%;
    transform: translateX(-12%) rotate(-4deg);
    padding: 1.1rem 1.25rem;
    width: min(230px, 52%);
    background: linear-gradient(160deg, #162e78, #213e95);
    color: var(--white);
}

.accent-card p {
    margin: 0;
    font-size: 0.89rem;
    line-height: 1.35;
    font-weight: 700;
}

.content-section {
    padding: clamp(3.2rem, 8vw, 6rem) 0;
}

.section-heading {
    max-width: 740px;
}

.section-heading h2 {
    margin-top: 0.8rem;
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    color: #131f52;
}

.section-heading p {
    margin: 1rem 0 0;
    color: var(--muted-ink);
}

.program-grid {
    margin-top: 2.1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.program-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: linear-gradient(185deg, #ffffff, #f4f7ff);
    padding: 1.4rem;
    box-shadow: 0 8px 22px rgba(17, 24, 51, 0.05);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.program-card:hover {
    transform: translateY(-6px);
    border-color: rgba(22, 46, 120, 0.3);
    box-shadow: var(--shadow-card);
}

.program-index {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(155deg, #162e78, #1f3f9f);
}

.program-card h3,
.why-item h3,
.testimonial-name {
    margin: 0.95rem 0 0;
    color: #101d4d;
    font-size: 1.15rem;
}

.program-card p,
.why-item p,
.testimonial-meta,
.contact-copy p,
.contact-meta p,
.form-placeholder {
    margin: 0.7rem 0 0;
    color: var(--muted-ink);
}

.why-section {
    background:
        linear-gradient(160deg, rgba(22, 46, 120, 0.97), rgba(21, 43, 109, 0.99)),
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 40%);
}

.why-section .eyebrow,
.why-section h2,
.why-section p,
.why-item h3,
.why-item p {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(1.4rem, 3vw, 2rem);
    align-items: start;
}

.why-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.why-item {
    border: 1px solid rgba(209, 210, 216, 0.24);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.testimonial-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.testimonial-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 10px 24px rgba(8, 14, 39, 0.06);
    padding: 1.45rem;
}

.testimonial-card blockquote {
    margin: 0;
    font-size: 1rem;
    color: #2b3760;
}

.testimonial-meta {
    font-size: 0.9rem;
}

.contact-section {
    background: linear-gradient(170deg, #f4f6ff, #fbfcff);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(1rem, 2vw, 1.8rem);
}

.contact-meta {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.3rem;
}

.contact-meta strong {
    color: #14235d;
}

.whatsapp-card {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.15rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 91, 35, 0.25);
    color: #0f5b23;
    background: linear-gradient(145deg, rgba(65, 215, 112, 0.16), rgba(255, 255, 255, 0.65));
}

.whatsapp-card strong {
    font-size: 1rem;
}

.contact-form-shell {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(22, 46, 120, 0.15);
    background: var(--white);
    padding: clamp(1.3rem, 2.4vw, 2rem);
    box-shadow: var(--shadow-soft);
}

.contact-form-shell h3 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    color: #0f1c4d;
}

.winton-contact-form {
    margin-top: 1.2rem;
}

.winton-contact-form p {
    margin: 0;
}

.winton-contact-form input,
.winton-contact-form textarea,
.winton-contact-form select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(22, 46, 120, 0.2);
    background: #fbfbff;
    color: #1a244f;
    font-family: 'Manrope', sans-serif;
    font-size: 0.96rem;
    padding: 0.8rem 0.9rem;
    margin: 0.45rem 0 0.7rem;
}

.winton-contact-form input:focus,
.winton-contact-form textarea:focus,
.winton-contact-form select:focus {
    outline: none;
    border-color: rgba(22, 46, 120, 0.5);
    box-shadow: 0 0 0 3px rgba(22, 46, 120, 0.1);
}

.winton-contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.winton-contact-form input[type='submit'],
.winton-contact-form button,
.winton-contact-form .wpcf7-submit {
    width: auto;
    min-width: 180px;
    border: 0;
    border-radius: 999px;
    padding: 0.86rem 1.4rem;
    color: var(--white);
    background: linear-gradient(150deg, #162e78, #1d3991);
    font-weight: 700;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.winton-contact-form input[type='submit']:hover,
.winton-contact-form button:hover,
.winton-contact-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(22, 46, 120, 0.26);
}

.map-section {
    padding: 0 0 clamp(3rem, 8vw, 6rem);
}

.map-shell {
    margin-top: 1.2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    min-height: 360px;
    background: linear-gradient(160deg, #f1f4fe, #ffffff);
}

.map-shell iframe,
.map-placeholder {
    width: 100%;
    min-height: 360px;
    border: 0;
}

.map-placeholder {
    display: grid;
    place-items: center;
    color: #4c5982;
    padding: 1.3rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #49567f;
    font-size: 0.92rem;
}

.footer-link {
    font-weight: 700;
    color: #142868;
}

.floating-whatsapp {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 110;
    border-radius: 999px;
    background: linear-gradient(145deg, #162e78, #213f98);
    color: var(--white);
    border: 1px solid rgba(209, 210, 216, 0.62);
    padding: 0.8rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(22, 46, 120, 0.34);
    transition: transform 220ms ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .desktop-nav,
    .header-actions .btn {
        display: none;
    }

    .nav-toggle {
        display: grid;
    }

    .hero-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        min-height: 300px;
    }

    .accent-card {
        transform: translateX(0) rotate(0deg);
        left: 1rem;
    }

    .program-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(1140px, calc(100% - 1.4rem));
    }

    .header-inner {
        min-height: 76px;
    }

    .mobile-menu {
        inset: 76px 0 auto;
        min-height: calc(100dvh - 76px);
    }

    .hero-section {
        padding-top: 2.2rem;
    }

    .hero-copy h1 {
        font-size: clamp(1.85rem, 8.2vw, 2.55rem);
    }

    .hero-description,
    .section-heading p {
        font-size: 0.97rem;
    }

    .hero-stats span {
        font-size: 0.82rem;
    }

    .program-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .map-shell,
    .map-shell iframe,
    .map-placeholder {
        min-height: 300px;
    }

    .floating-whatsapp {
        right: 0.8rem;
        bottom: 0.8rem;
        padding: 0.72rem 0.95rem;
        font-size: 0.84rem;
    }
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
