:root {
    --ink: #231426;
    --muted: #6d5e68;
    --plum: #64104a;
    --coral: #f27d65;
    --teal: #0aa7a8;
    --leaf: #4a8a3a;
    --paper: #fff9f5;
    --soft: #f8eee8;
    --line: rgba(35, 20, 38, 0.12);
    --shadow: 0 24px 70px rgba(68, 31, 55, 0.14);
}

.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255, 249, 245, 0.98), rgba(235, 250, 249, 0.98));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.splash-screen.splash-hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-brand {
    display: inline-grid;
    gap: 18px;
    align-items: center;
    justify-items: center;
    text-align: center;
    padding: 32px 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 26px 68px rgba(68, 31, 55, 0.14);
    animation: popIn 0.85s ease forwards;
}

.splash-brand img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.splash-brand strong {
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}

.splash-brand span {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.86);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 5vw, 70px);
    background: rgba(255, 249, 245, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1rem;
    letter-spacing: 0;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-nav a {
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--plum);
    background: rgba(100, 16, 74, 0.08);
}

.social-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 12px;
    border-left: 1px solid var(--line);
}

.social-bar a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--plum);
    background: #fff;
    text-decoration: none;
    transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-bar a:hover,
.social-bar a:focus-visible {
    color: #fff;
    background: var(--plum);
    border-color: var(--plum);
    transform: translateY(-2px);
}

.social-bar svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
    gap: clamp(26px, 4vw, 54px);
    align-items: center;
    min-height: calc(100vh - 84px);
    padding: clamp(46px, 8vw, 90px) clamp(18px, 5vw, 70px) 44px;
    background:
        linear-gradient(115deg, rgba(248, 238, 232, 0.96) 0%, rgba(255, 249, 245, 0.92) 52%, rgba(235, 250, 249, 0.9) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(10, 167, 168, 0.22), transparent 58%);
    filter: blur(6px);
    animation: float 18s ease-in-out infinite;
    z-index: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 4.2vw, 4.1rem);
    line-height: 1.04;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.2;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p,
.contact-section p,
.about-grid p {
    color: var(--muted);
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.button.primary {
    color: #fff;
    background: var(--plum);
}

.button.secondary {
    color: var(--plum);
    background: rgba(100, 16, 74, 0.09);
}

.hero-media {
    position: relative;
    z-index: 1;
}

.hero-media::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 45% 45%, rgba(100, 16, 74, 0.14), transparent 70%);
    transform: translateY(6px);
    animation: float 15s ease-in-out infinite reverse;
    pointer-events: none;
}

.hero-media > img {
    width: 100%;
    height: min(54vh, 520px);
    min-height: 340px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: scale(1.02);
    animation: fadeInZoom 1.1s ease-out 0.25s forwards;
}

.hero-copy {
    opacity: 0;
    animation: fadeInUp 0.95s ease-out 0.2s forwards;
}

.section-heading {
    position: relative;
}

.section-heading::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 72px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(10, 167, 168, 0.95), rgba(100, 16, 74, 0.95));
    opacity: 0.9;
}

.gallery-item,
.testimonial-card,
.service-card {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeInUp 0.95s ease-out forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.16s; }
.gallery-item:nth-child(2) { animation-delay: 0.22s; }
.gallery-item:nth-child(3) { animation-delay: 0.28s; }
.gallery-item:nth-child(4) { animation-delay: 0.34s; }
.gallery-item:nth-child(5) { animation-delay: 0.4s; }
.gallery-item:nth-child(6) { animation-delay: 0.46s; }

.testimonial-card:nth-child(1) { animation-delay: 0.16s; }
.testimonial-card:nth-child(2) { animation-delay: 0.22s; }
.testimonial-card:nth-child(3) { animation-delay: 0.28s; }
.testimonial-card:nth-child(4) { animation-delay: 0.34s; }
.testimonial-card:nth-child(5) { animation-delay: 0.4s; }
.testimonial-card:nth-child(6) { animation-delay: 0.46s; }

.service-card:nth-child(1) { animation-delay: 0.12s; }
.service-card:nth-child(2) { animation-delay: 0.18s; }
.service-card:nth-child(3) { animation-delay: 0.24s; }

.metric {
    position: absolute;
    right: clamp(12px, 3vw, 28px);
    bottom: clamp(12px, 3vw, 28px);
    width: min(310px, calc(100% - 24px));
    padding: 18px;
    border-radius: 8px;
    color: #fff;
    background: rgba(35, 20, 38, 0.88);
}

.metric strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
}

.section,
.program-band,
.contact-section {
    padding: clamp(58px, 9vw, 110px) clamp(18px, 5vw, 70px);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: center;
    background: #c2e9ce;
    padding: clamp(32px, 4vw, 48px);
    border-radius: 24px;
}

.portrait-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow);
}

.portrait-wrap img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.credentials span,
.pill-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9rem;
}

.section-heading {
    max-width: 860px;
    margin-bottom: 34px;
}

.section-heading.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    max-width: none;
}

.section-heading.split p:last-child {
    max-width: 360px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    background: #f6f0a5;
    padding: 24px;
    border-radius: 24px;
}

.service-card {
    min-height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(68, 31, 55, 0.08);
}

.service-card p {
    color: var(--muted);
}

.service-card ul {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    font-weight: 650;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
}

.testimonial-carousel {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: 18px;
    margin-inline: -18px;
    scroll-padding: 18px;
    align-items: stretch;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    position: relative;
    flex: 0 0 min(46%, 380px);
    min-width: 320px;
    max-width: 420px;
    padding: 24px 22px 22px;
    border-radius: 24px;
    background: #fdcbcc;
    border: 1px solid rgba(100, 16, 74, 0.08);
    box-shadow: 0 24px 52px rgba(68, 31, 55, 0.12);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 68px rgba(68, 31, 55, 0.16);
    border-color: rgba(100, 16, 74, 0.14);
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 18px;
    left: 18px;
    font-size: 4.5rem;
    line-height: 0.75;
    color: rgba(10, 167, 168, 0.16);
    pointer-events: none;
}

.testimonial-card p {
    margin: 0 0 18px;
    color: rgba(45, 33, 49, 0.92);
    line-height: 1.85;
    font-size: 1rem;
    padding-top: 10px;
}

.testimonial-card footer {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.testimonial-card strong {
    font-size: 1rem;
    color: var(--ink);
}

.testimonial-card span {
    color: var(--teal);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.testimonial-carousel {
    position: relative;
}

.testimonial-carousel::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 6%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(10, 167, 168, 0.16), transparent 70%);
    pointer-events: none;
    filter: blur(4px);
    opacity: 0.85;
}

.program-band {
    background: #f1faf8;
}

.program-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(24px, 5vw, 58px);
    align-items: start;
}

.program-layout > img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.program-list {
    display: grid;
    gap: 18px;
}

.program-list article {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(10, 167, 168, 0.22);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    background: #e3b7f4;
    padding: 26px;
    border-radius: 24px;
}

.gallery-item {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: var(--soft);
    cursor: pointer;
    box-shadow: 0 20px 45px rgba(68, 31, 55, 0.12);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 24px 52px rgba(68, 31, 55, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35, 20, 38, 0) 38%, rgba(35, 20, 38, 0.82) 100%);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: grid;
    gap: 3px;
    padding: 20px;
    color: #fff;
    text-align: left;
}

.gallery-caption strong {
    font-size: 1.05rem;
    line-height: 1.2;
}

.gallery-caption small {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.35;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
    color: #2d1f2c;
    background: #f6f0a5;
}

.contact-section .eyebrow,
.contact-section p {
    color: rgba(45, 31, 44, 0.92);
}

.contact-card {
    display: grid;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(45, 31, 44, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
}

.contact-card a,
.contact-card span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
    font-weight: 750;
    text-decoration: none;
    color: inherit;
}

.contact-card a svg,
.contact-card span svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.contact-card *:last-child {
    border-bottom: 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px clamp(18px, 5vw, 70px);
    color: var(--muted);
    background: #fff;
}

.site-footer a {
    font-weight: 800;
    text-decoration: none;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 54px;
    min-height: 54px;
    padding: 0 16px;
    overflow: hidden;
    border-radius: 999px;
    color: #fff;
    background: #25d366;
    box-shadow: 0 16px 38px rgba(37, 211, 102, 0.32);
    text-decoration: none;
    transition: width 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    width: 150px;
    transform: translateX(-4px);
    box-shadow: 0 20px 46px rgba(37, 211, 102, 0.42);
}

.floating-whatsapp svg {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.floating-whatsapp span {
    flex: 0 0 auto;
    font-weight: 850;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.floating-whatsapp:hover span,
.floating-whatsapp:focus-visible span {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(1.06);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(20, 12, 22, 0.86);
}

.lightbox.open {
    display: grid;
}


.lightbox-content {
    display: grid;
    gap: 18px;
    max-width: min(96vw, 940px);
    width: 100%;
    margin: 0 auto;
}

.lightbox img {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.lightbox-caption {
    display: grid;
    gap: 8px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    text-align: left;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.lightbox-caption strong {
    font-size: 1.1rem;
}

.lightbox-caption p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.lightbox button {
    position: fixed;
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 940px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .header-actions {
        gap: 10px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero,
    .about-grid,
    .program-layout,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section-heading.split {
        display: block;
    }

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

    .testimonial-carousel {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-inline: 18px;
        margin-inline: -18px;
        scroll-padding: 18px;
        align-items: stretch;
    }

    .testimonial-card {
        flex: 0 0 min(50%, 360px);
        min-width: 320px;
    }
}

@media (max-width: 620px) {
    .site-header {
        padding-inline: 14px;
    }

    .brand small {
        display: none;
    }

    .social-bar {
        gap: 5px;
        padding-left: 0;
        border-left: 0;
    }

    .social-bar a {
        width: 34px;
        height: 34px;
    }

    .social-bar svg {
        width: 17px;
        height: 17px;
    }

    .hero {
        padding-top: 34px;
        gap: 20px;
    }

    h1 {
        font-size: 2.25rem;
    }

    .hero-media > img {
        min-height: 200px;
        height: 24vh;
    }

    .program-layout > img {
        min-height: 300px;
        height: 46vh;
    }

    .metric {
        position: absolute;
        width: calc(100% - 24px);
        padding: 12px;
        margin-top: 0;
        font-size: 0.88rem;
    }

    .metric strong {
        font-size: 1.2rem;
    }

    .button {
        min-height: 44px;
        padding: 10px 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-caption {
        padding: 16px;
    }

    .floating-whatsapp {
        right: 12px;
        top: auto;
        bottom: 18px;
        transform: none;
    }

    .floating-whatsapp:hover,
    .floating-whatsapp:focus-visible {
        transform: translateX(-4px);
    }

    .site-footer {
        flex-direction: column;
    }
}
