/* ═══════════════════════════════════════════════════════════════════════════
   Harikalar Diyarı Neslihan Kreş — site styles (mobile-first)

   Base rules are written for phones. Larger screens are layered on with
   min-width queries:  768px = tablet,  1024px = desktop.
   Colours come from the logo: berry (magenta), sky (cyan), leaf (green) and
   sun (yellow) on warm cream.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --cream: #FFF8EF;
    --cream-2: #FBEFE1;
    --paper: #FFFFFF;
    --ink: #1F2544;
    --ink-2: #4A5070;
    --ink-3: #767B95;
    --line: #EFE2D1;

    --berry: #C2187F;
    --berry-600: #A5136B;
    --berry-700: #85104F;
    --berry-50: #FCE7F2;
    --sky: #169FD8;
    --sky-700: #0A78A8;
    --sky-50: #E3F4FC;
    --leaf: #5FA52B;
    --leaf-700: #3F7D17;
    --leaf-50: #ECF7E1;
    --sun: #FFC62B;
    --sun-600: #E5A400;
    --sun-50: #FFF4D3;
    --wa: #25D366;

    --font-display: 'Baloo 2', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

    --r-sm: 14px;
    --r-md: 20px;
    --r-lg: 26px;
    --r-xl: 34px;

    --shadow-sm: 0 2px 4px rgba(31, 37, 68, .04), 0 10px 26px -14px rgba(31, 37, 68, .24);
    --shadow-lg: 0 4px 10px rgba(31, 37, 68, .05), 0 28px 56px -24px rgba(31, 37, 68, .34);
    --ease: cubic-bezier(.2, .75, .25, 1);

    --gutter: 16px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --dock-h: 64px;
    --dock-space: calc(var(--dock-h) + 20px + var(--safe-bottom));

    /* z-index scale */
    --z-fab: 40;
    --z-dock: 45;
    --z-header: 50;
    --z-skip: 60;
    --z-scrim: 69;
    --z-sheet: 70;
}

@media (min-width: 768px) {
    :root {
        --gutter: 32px;
        --r-lg: 30px;
        --r-xl: 44px;
    }
}

/* ── reset ────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body,
h1, h2, h3, h4,
p, ul, figure, blockquote {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

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

img {
    height: auto;
}

button {
    font: inherit;
    color: inherit;
}

[hidden] {
    display: none !important;
}

/* ── base ─────────────────────────────────────────────────────────────── */
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: clip;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -.015em;
    text-wrap: balance;
}

h2 {
    margin: 12px 0 12px;
    font-size: clamp(1.85rem, 1.3rem + 2.6vw, 3.3rem);
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

p {
    text-wrap: pretty;
}

p + p {
    margin-top: 1em;
}

a {
    color: var(--berry);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
    border-radius: 10px;
}

.icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    fill: currentColor;
}

.wrap {
    width: min(1200px, 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.hide-sm {
    display: none;
}

@media (min-width: 768px) {
    body {
        font-size: 1.0625rem;
        line-height: 1.7;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hide-sm {
        display: inline;
    }
}

/* soft paper grain so the cream never feels flat */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: var(--z-skip);
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: top .2s;
}

.skip-link:focus {
    top: 16px;
}

.doodle {
    position: absolute;
    pointer-events: none;
}

/* ── buttons ──────────────────────────────────────────────────────────── */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: 50px;
    padding: .8em 1.35em;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}

.button .icon {
    font-size: 1.25em;
}

.button:active {
    transform: translateY(1px) scale(.97);
}

.button--sm {
    min-height: 44px;
    padding: .6em 1.15em;
    font-size: .95rem;
}

.button--lg {
    min-height: 56px;
    padding: .9em 1.6em;
    font-size: 1.08rem;
}

.button--primary {
    background: var(--berry);
    color: #fff;
    box-shadow: 0 4px 0 var(--berry-700), 0 14px 26px -12px rgba(194, 24, 127, .6);
}

.button--sun {
    background: var(--sun);
    color: var(--ink);
    box-shadow: 0 4px 0 var(--sun-600), 0 14px 26px -12px rgba(229, 164, 0, .7);
}

.button--light {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 4px 0 rgba(31, 37, 68, .12), 0 12px 24px -14px rgba(31, 37, 68, .35);
}

.button--glass {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.icon--wa {
    color: var(--wa);
}

@media (hover: hover) {
    .button:hover {
        transform: translateY(-2px);
    }

    .button--primary:hover {
        background: var(--berry-600);
        color: #fff;
    }

    .button--sun:hover {
        background: #FFD04F;
        color: var(--ink);
    }

    .button--light:hover {
        color: var(--berry);
    }

    .button--glass:hover {
        background: rgba(255, 255, 255, .26);
        color: #fff;
    }
}

/* ── eyebrow / sections ──────────────────────────────────────────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px 5px 9px;
    border-radius: 999px;
    background: var(--berry-50);
    color: var(--berry);
    font-size: .88rem;
    font-weight: 800;
}

.eyebrow .icon {
    font-size: 1.15em;
}

.eyebrow--light {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.section {
    position: relative;
    padding: 60px 0 68px;
}

.section--tint {
    background: var(--cream-2);
}

/* scalloped top edge on tinted sections */
.section--tint::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
    background: radial-gradient(circle at 14px 14px, var(--cream-2) 13.5px, transparent 14px) repeat-x;
    background-size: 28px 14px;
}

.section-head {
    max-width: 640px;
    margin-bottom: 26px;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--split {
    display: grid;
    gap: 6px;
    max-width: none;
}

.section-head--split h2 {
    margin-bottom: 4px;
}

.section-head--split .button {
    margin-top: 14px;
}

@media (min-width: 768px) {
    .section {
        padding: clamp(80px, 9vw, 120px) 0 clamp(90px, 10vw, 136px);
    }

    .section--tint::before {
        top: -18px;
        height: 18px;
        background: radial-gradient(circle at 18px 18px, var(--cream-2) 17.5px, transparent 18px) repeat-x;
        background-size: 36px 18px;
    }

    .section-head {
        margin-bottom: clamp(36px, 5vw, 56px);
    }

    .section-head--split {
        grid-template-columns: 1fr 1fr;
        gap: 16px 48px;
        align-items: end;
    }

    .section-head--split p {
        max-width: 46ch;
    }
}

/* ── swipe rails (phones): horizontal scroll-snap lists ──────────────── */
.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--rail-item, 84%);
    gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}

.rail::-webkit-scrollbar {
    display: none;
}

.rail > * {
    scroll-snap-align: start;
}

.rail-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2px;
}

.rail-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--line);
    transition: width .3s var(--ease), background-color .3s;
}

.rail-dots span.is-active {
    width: 22px;
    background: var(--berry);
}

@media (min-width: 768px) {
    .rail {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        margin-inline: 0;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    .rail-dots {
        display: none;
    }
}

/* ── header ───────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: var(--z-header);
    pointer-events: none;
    transition: transform .35s var(--ease);
}

.site-header.is-hidden {
    transform: translateY(calc(-100% - 24px));
}

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(1240px, 100% - 20px);
    margin-inline: auto;
    padding: 7px 7px 7px 14px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 12px 32px -16px rgba(31, 37, 68, .45);
    pointer-events: auto;
    transition: box-shadow .3s, background-color .3s;
}

.site-header.is-scrolled .nav {
    background: rgba(255, 255, 255, .97);
}

.nav__logo {
    margin-right: auto;
}

.nav__logo img {
    width: auto;
    height: 36px;
}

.nav__links,
.nav__call {
    display: none;
}

.nav__menu {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--cream-2);
    color: var(--ink);
    font-size: 1.4rem;
    cursor: pointer;
}

.nav__menu:active {
    transform: scale(.94);
}

@media (min-width: 1024px) {
    .site-header {
        top: 12px;
    }

    .site-header.is-hidden {
        transform: none;
    }

    .nav {
        gap: 16px;
        width: min(1240px, 100% - 24px);
        padding: 10px 10px 10px 20px;
    }

    .nav__logo {
        margin-right: 0;
    }

    .nav__logo img {
        height: 46px;
    }

    .nav__menu {
        display: none;
    }

    .nav__links {
        display: flex;
        gap: 2px;
        margin: 0 auto;
    }

    .nav__links a {
        display: block;
        padding: 9px 12px;
        border-radius: 999px;
        color: var(--ink);
        font-weight: 800;
        font-size: .96rem;
        text-decoration: none;
        transition: background-color .2s, color .2s;
    }

    .nav__links a:hover {
        background: var(--cream-2);
    }

    .nav__links a[aria-current="true"] {
        background: var(--berry-50);
        color: var(--berry);
    }

    .nav__call {
        display: inline-flex;
    }
}

@media (min-width: 1200px) {
    .nav__links a {
        padding: 9px 14px;
        font-size: .98rem;
    }
}

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding: 92px 0 calc(var(--dock-space) + 40px);
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__poster,
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__video {
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__video.is-playing {
    opacity: 1;
}

/* phones: darken from the bottom where the text sits */
.hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(18, 22, 46, .92) 6%, rgba(18, 22, 46, .5) 52%, rgba(18, 22, 46, .15) 100%),
        linear-gradient(180deg, rgba(18, 22, 46, .35) 0%, rgba(18, 22, 46, 0) 22%);
}

.hero__content {
    position: relative;
}

.hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-weight: 800;
    font-size: .86rem;
}

.hero__chip-star {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--sun);
    color: var(--ink);
    font-size: .85rem;
}

.hero h1 {
    margin: 16px 0 .45em;
    color: #fff;
    font-size: clamp(2.3rem, 1.3rem + 5vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -.025em;
    text-shadow: 0 2px 24px rgba(18, 22, 46, .25);
}

.hl {
    color: var(--sun);
    padding-bottom: .08em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 12 C 60 3, 120 3, 170 9 S 260 16, 297 6' fill='none' stroke='%23FFC62B' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% .26em;
}

.hero__lead {
    max-width: 36em;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1rem, .95rem + .45vw, 1.3rem);
    font-weight: 600;
    line-height: 1.55;
}

.hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

.hero__actions .button {
    padding-inline: .9em;
}

.hero__toggle {
    position: absolute;
    top: calc(76px + env(safe-area-inset-top, 0px));
    right: var(--gutter);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
}

.hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 34px;
    color: var(--cream);
}

@media (min-width: 768px) {
    .hero {
        min-height: max(640px, min(100svh, 960px));
        padding: 150px 0 clamp(150px, 15vw, 200px);
    }

    .hero__content > * {
        max-width: 700px;
    }

    .hero__chip {
        gap: 10px;
        padding: 6px 16px 6px 6px;
        font-size: .95rem;
    }

    .hero__chip-star {
        width: 28px;
        height: 28px;
    }

    .hero h1 {
        margin-top: 20px;
    }

    .hero__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 32px;
    }

    .hero__actions .button {
        padding-inline: 1.5em;
    }

    .hero__toggle {
        top: auto;
        right: max(var(--gutter), calc((100% - 1200px) / 2));
        bottom: clamp(120px, 12vw, 160px);
        width: 46px;
        height: 46px;
    }

    .hero__wave {
        height: clamp(40px, 6vw, 90px);
    }
}

/* landscape screens: darken from the left, text sits left */
@media (min-aspect-ratio: 1001/1000) and (min-width: 768px) {
    .hero__scrim {
        background:
            linear-gradient(90deg, rgba(18, 22, 46, .78) 0%, rgba(18, 22, 46, .5) 42%, rgba(18, 22, 46, .08) 78%),
            linear-gradient(0deg, rgba(18, 22, 46, .55) 0%, rgba(18, 22, 46, 0) 45%),
            linear-gradient(180deg, rgba(18, 22, 46, .35) 0%, rgba(18, 22, 46, 0) 22%);
    }
}

/* ── highlights (the four quick facts) ───────────────────────────────── */
.highlights {
    position: relative;
    z-index: 2;
    margin-top: -40px;
}

.highlights__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    line-height: 1.2;
}

.highlight:nth-child(n+3) {
    border-top: 2px dashed var(--line);
}

.highlight:nth-child(even) {
    border-left: 2px dashed var(--line);
    padding-left: 12px;
}

.highlight__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 1.35rem;
    background: var(--tint);
    color: var(--accent);
    transform: rotate(-4deg);
}

.highlight strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}

.highlight__label {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--ink-3);
}

.highlight--berry { --accent: var(--berry); --tint: var(--berry-50); }
.highlight--sky { --accent: var(--sky-700); --tint: var(--sky-50); }
.highlight--sun { --accent: var(--sun-600); --tint: var(--sun-50); }
.highlight--leaf { --accent: var(--leaf-700); --tint: var(--leaf-50); }

@media (min-width: 768px) {
    .highlights {
        margin-top: clamp(-120px, -9vw, -72px);
    }

    .highlights__list {
        grid-template-columns: repeat(4, 1fr);
        padding: 22px;
    }

    .highlight {
        gap: 14px;
        padding: 8px 16px;
    }

    .highlight:nth-child(n) {
        border-top: 0;
        border-left: 2px dashed var(--line);
        padding-left: 16px;
    }

    .highlight:first-child {
        border-left: 0;
    }

    .highlight__icon {
        width: 54px;
        height: 54px;
        border-radius: 18px;
        font-size: 1.7rem;
    }

    .highlight strong {
        font-size: 1.5rem;
    }

    .highlight__label {
        font-size: .92rem;
    }
}

/* ── facilities ───────────────────────────────────────────────────────── */
.bento {
    --rail-item: 84%;
}

.tile {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
    padding: 22px;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--tint, var(--paper));
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.tile h3 {
    margin-bottom: 6px;
    font-size: 1.4rem;
}

.tile p {
    max-width: 34ch;
    font-weight: 600;
}

.tile__icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin-bottom: auto;
    border-radius: 20px;
    background: #fff;
    color: var(--accent);
    font-size: 1.9rem;
    box-shadow: 0 8px 18px -10px rgba(31, 37, 68, .35);
    transform: rotate(-5deg);
    transition: transform .35s var(--ease);
}

/* big faint ring in the corner of the colour tiles */
.tile:not(.tile--photo)::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    z-index: -1;
    width: 170px;
    height: 170px;
    border: 26px solid var(--accent);
    border-radius: 50%;
    opacity: .1;
}

.tile--sun { --accent: var(--sun-600); --tint: var(--sun-50); }
.tile--sky { --accent: var(--sky-700); --tint: var(--sky-50); }
.tile--berry { --accent: var(--berry); --tint: var(--berry-50); }

.tile--photo {
    color: rgba(255, 255, 255, .92);
    background: var(--ink);
}

.tile--photo h3 {
    color: #fff;
}

.tile--photo img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}

.tile--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(18, 22, 46, .85) 0%, rgba(18, 22, 46, .35) 48%, rgba(18, 22, 46, 0) 72%);
}

.tile__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    font-size: .86rem;
    font-weight: 800;
}

.tile__tag .icon {
    color: var(--berry);
    font-size: 1.15em;
}

@media (min-width: 768px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(230px, auto);
        gap: 18px;
        grid-template-areas:
            "egitim egitim"
            "bahce  yemek"
            "bahce  servis"
            "ozel   ozel"
            "aile   aile";
    }

    .tile {
        min-height: 230px;
        padding: 28px;
    }

    .tile h3 {
        font-size: 1.55rem;
    }

    .tile__icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    .tile__tag {
        top: 20px;
        left: 20px;
        font-size: .9rem;
    }

    .tile--egitim { grid-area: egitim; }
    .tile--bahce { grid-area: bahce; }
    .tile--yemek { grid-area: yemek; }
    .tile--servis { grid-area: servis; }
    .tile--aile { grid-area: aile; }
    .tile--ozel { grid-area: ozel; min-height: 300px; }
}

@media (min-width: 1024px) {
    .bento {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "egitim egitim bahce"
            "yemek  servis bahce"
            "aile   ozel   ozel";
    }

    .tile--bahce {
        min-height: 480px;
    }

    .tile--ozel {
        min-height: 230px;
    }
}

@media (hover: hover) {
    .tile:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .tile:hover .tile__icon {
        transform: rotate(4deg) scale(1.06);
    }

    .tile--photo:hover img {
        transform: scale(1.05);
    }
}

/* ── about ────────────────────────────────────────────────────────────── */
.about {
    display: grid;
    gap: 40px;
}

.about__media {
    position: relative;
    width: min(100%, 420px);
    margin-inline: auto;
    padding: 0 10% 12% 0;
}

.about__main {
    aspect-ratio: 4 / 4.4;
    overflow: hidden;
    border-radius: 46% 54% 42% 58% / 38% 40% 60% 62%;
    box-shadow: var(--shadow-lg);
}

.about__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
}

.about__small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 6px solid var(--cream-2);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.about__small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    left: -2%;
    bottom: 16%;
    width: 96px;
    height: auto;
    animation: spin 22s linear infinite;
    filter: drop-shadow(0 10px 18px rgba(31, 37, 68, .2));
}

.about__badge text {
    font-family: var(--font-display);
    font-size: 13.4px;
    font-weight: 800;
    letter-spacing: .12em;
    fill: var(--ink);
}

.about__sun {
    top: -26px;
    right: 6%;
    width: 76px;
    height: 76px;
    animation: float 6s ease-in-out infinite;
}

.about__text > p {
    max-width: 58ch;
}

.checks {
    display: grid;
    gap: 8px;
    margin: 22px 0;
}

.checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .7);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
}

.checks .icon {
    font-size: 1.4rem;
    color: var(--leaf);
}

.checks li:nth-child(2) .icon { color: var(--sky); }
.checks li:nth-child(3) .icon { color: var(--berry); }
.checks li:nth-child(4) .icon { color: var(--sun-600); }

.about__closing {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--berry);
    line-height: 1.3;
}

.person {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 10px 22px 10px 10px;
    border-radius: var(--r-md);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    line-height: 1.3;
}

.person img {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    object-fit: cover;
}

.person strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--ink);
}

.person span {
    font-size: .92rem;
    font-weight: 700;
    color: var(--ink-3);
}

@media (min-width: 480px) {
    .checks {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .about__media {
        width: min(100%, 520px);
        padding: 0 8% 12% 0;
    }

    .about__main {
        aspect-ratio: 4 / 5;
    }

    .about__small {
        border-width: 8px;
    }

    .about__badge {
        left: -4%;
        bottom: 18%;
        width: clamp(110px, 12vw, 140px);
    }

    .about__sun {
        top: -34px;
        right: 4%;
        width: clamp(84px, 9vw, 116px);
        height: clamp(84px, 9vw, 116px);
    }

    .checks li {
        padding: 0;
        background: none;
    }

    .about__closing {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .about {
        grid-template-columns: 1fr 1.05fr;
        gap: clamp(48px, 7vw, 96px);
        align-items: center;
    }

    .about__media {
        margin: 0;
        width: 100%;
    }
}

/* ── programs ─────────────────────────────────────────────────────────── */
.showreel {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 28px;
    overflow: hidden;
    border: 6px solid var(--paper);
    border-radius: var(--r-lg);
    background: #FFF5F3;
    box-shadow: var(--shadow-lg);
}

.showreel iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.programs {
    --rail-item: 80%;
}

.program {
    display: flex;
    flex-direction: column;
    padding: 10px 10px 22px;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.program__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--tint);
}

.program__media img,
.program__media svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.program__body {
    padding: 16px 10px 0;
}

.program h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 1.35rem;
}

.program__dot {
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    border-radius: 4px;
    background: var(--accent);
    transform: rotate(45deg);
}

.program p {
    font-size: .98rem;
}

.program--berry { --accent: var(--berry); --tint: var(--berry-50); }
.program--sky { --accent: var(--sky); --tint: var(--sky-50); }
.program--leaf { --accent: var(--leaf); --tint: var(--leaf-50); }
.program--sun { --accent: var(--sun); --tint: var(--sun-50); }

@media (min-width: 768px) {
    .showreel {
        aspect-ratio: 16 / 9;
        margin-bottom: clamp(40px, 5vw, 64px);
        border-width: 10px;
        border-radius: var(--r-xl);
    }

    .programs {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .program {
        padding: 12px 12px 26px;
    }

    .program__body {
        padding: 20px 12px 0;
    }

    .program h3 {
        font-size: 1.45rem;
    }
}

@media (min-width: 1024px) {
    .programs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (hover: hover) {
    .program:hover {
        transform: translateY(-6px) rotate(-.4deg);
        box-shadow: var(--shadow-lg);
    }

    .program:hover .program__media img {
        transform: scale(1.05);
    }
}

/* ── gallery ──────────────────────────────────────────────────────────── */
.gallery {
    --rail-item: 74%;
}

.gallery__item {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--line);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}

.gallery__ig {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 4 / 5;
    padding: 20px;
    overflow: hidden;
    border-radius: var(--r-md);
    background: linear-gradient(140deg, var(--berry) 0%, #E2477F 55%, var(--sun) 130%);
    color: #fff;
    text-decoration: none;
    line-height: 1.35;
}

.gallery__ig-logo {
    font-size: 2.4rem;
}

.gallery__ig strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    overflow-wrap: anywhere;
}

.gallery__ig span {
    font-size: .95rem;
    font-weight: 700;
}

.gallery__ig-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.3rem;
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: clamp(170px, 20vw, 220px);
        grid-auto-flow: dense;
        gap: 14px;
    }

    .gallery__item,
    .gallery__ig {
        aspect-ratio: auto;
    }

    .gallery__item--wide {
        grid-column: span 2;
    }

    .gallery__item--tall {
        grid-row: span 2;
    }
}

@media (min-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: clamp(170px, 17vw, 220px);
        gap: 16px;
    }
}

@media (hover: hover) {
    .gallery__item:hover img {
        transform: scale(1.06);
    }

    .gallery__ig {
        transition: transform .3s var(--ease);
    }

    .gallery__ig:hover {
        color: #fff;
        transform: translateY(-4px) rotate(-1deg);
    }
}

/* ── testimonials ─────────────────────────────────────────────────────── */
.reviews {
    --rail-item: 86%;
}

.review {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.review__mark {
    margin-bottom: 10px;
    font-size: 2.4rem;
    color: var(--sun);
}

.review blockquote {
    margin-bottom: 22px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
}

.review figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink-3);
    line-height: 1.3;
}

.review figcaption strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.08rem;
    color: var(--ink);
}

.review__avatar {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--c);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
}

.review--featured {
    background: var(--berry);
    box-shadow: 0 24px 50px -26px rgba(194, 24, 127, .7);
}

.review--featured blockquote {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.18rem;
    line-height: 1.4;
}

.review--featured figcaption,
.review--featured figcaption strong {
    color: #fff;
}

.review--featured .review__avatar {
    color: var(--ink);
}

@media (min-width: 768px) {
    .reviews {
        grid-template-columns: 1.15fr 1fr;
        gap: 22px;
    }

    .review {
        padding: clamp(26px, 3vw, 36px);
    }

    .review blockquote {
        font-size: 1.06rem;
    }

    .review--featured {
        grid-row: span 2;
    }

    .review--featured blockquote {
        font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem);
    }
}

/* ── contact ──────────────────────────────────────────────────────────── */
.section--contact {
    padding-top: 12px;
}

.cta-band {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 22px;
    padding: 30px 22px 24px;
    overflow: hidden;
    border-radius: var(--r-xl);
    background:
        radial-gradient(circle at 88% 20%, rgba(255, 198, 43, .35), transparent 40%),
        radial-gradient(circle at 5% 110%, rgba(22, 159, 216, .45), transparent 45%),
        var(--berry);
    color: rgba(255, 255, 255, .92);
    box-shadow: 0 30px 60px -34px rgba(194, 24, 127, .8);
}

.cta-band h2 {
    color: #fff;
}

.cta-band__text p:last-child {
    max-width: 46ch;
    font-weight: 600;
}

.cta-band__actions {
    display: grid;
    gap: 12px;
}

.cta-band__cloud {
    z-index: -1;
    color: rgba(255, 255, 255, .14);
}

.cta-band__cloud--a {
    right: 20%;
    bottom: -40px;
    width: 180px;
    height: 99px;
    animation: drift 14s ease-in-out infinite alternate;
}

.cta-band__cloud--b {
    top: 14px;
    left: 55%;
    width: 120px;
    height: 66px;
    animation: drift 18s ease-in-out infinite alternate-reverse;
}

.cta-band__rainbow {
    z-index: -1;
    right: -40px;
    top: -30px;
    width: 180px;
    height: 99px;
    opacity: .3;
}

.contact {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.contact__list {
    display: grid;
    gap: 10px;
}

.contact__row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    color: var(--ink-2);
    text-decoration: none;
    line-height: 1.45;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

a.contact__row:active {
    transform: scale(.98);
}

.contact__text {
    flex: 1;
    min-width: 0;
    font-size: .95rem;
}

.contact__text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.08rem;
    color: var(--ink);
}

a.contact__row .contact__text {
    color: var(--ink-2);
}

.contact__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: color-mix(in srgb, var(--c) 14%, #fff);
    color: var(--c);
    font-size: 1.45rem;
}

.contact__go {
    font-size: 1.2rem;
    color: var(--ink-3);
}

.contact__map {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border: 6px solid var(--paper);
    border-radius: var(--r-lg);
    background: var(--line);
    box-shadow: var(--shadow-sm);
}

.contact__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* stylised map shown until the visitor asks for the real one (saves ~1 MB on phones) */
.map-facade {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    border: 0;
    background:
        linear-gradient(118deg, transparent 46%, #fff 46%, #fff 51%, transparent 51%),
        linear-gradient(28deg, transparent 58%, #fff 58%, #fff 62%, transparent 62%),
        linear-gradient(160deg, transparent 20%, rgba(255, 255, 255, .8) 20%, rgba(255, 255, 255, .8) 23%, transparent 23%),
        radial-gradient(circle at 78% 26%, var(--leaf-50) 0 46px, transparent 47px),
        radial-gradient(circle at 18% 78%, var(--leaf-50) 0 60px, transparent 61px),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(31, 37, 68, .04) 38px 39px),
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(31, 37, 68, .04) 38px 39px),
        #F3ECE2;
    cursor: pointer;
}

.map-facade__pin {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50% 50% 50% 8px;
    background: var(--berry);
    color: #fff;
    font-size: 1.9rem;
    box-shadow: 0 14px 28px -12px rgba(194, 24, 127, .8);
    transform: rotate(-45deg);
    animation: bounce 2.4s ease-in-out infinite;
}

.map-facade__pin .icon {
    transform: rotate(45deg);
}

.map-facade__label {
    padding: 8px 16px;
    border-radius: var(--r-sm);
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--ink-2);
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
}

.map-facade__label strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--berry);
}

@media (min-width: 768px) {
    .section--contact {
        padding-top: clamp(24px, 4vw, 48px);
    }

    .cta-band {
        grid-template-columns: 1.3fr 1fr;
        gap: 28px 40px;
        align-items: center;
        padding: clamp(36px, 6vw, 72px);
    }

    .cta-band__actions {
        justify-self: end;
        width: 100%;
        max-width: 360px;
    }

    .cta-band__cloud--a {
        right: 26%;
        width: 220px;
        height: 121px;
    }

    .cta-band__cloud--b {
        left: 38%;
        width: 150px;
        height: 83px;
    }

    .cta-band__rainbow {
        top: auto;
        right: -30px;
        bottom: -18px;
        width: 220px;
        height: 121px;
    }

    .contact {
        gap: 22px;
        margin-top: 22px;
    }

    .contact__map {
        min-height: 380px;
        border-width: 8px;
    }
}

@media (min-width: 1024px) {
    .contact {
        grid-template-columns: 1fr 1.25fr;
    }

    .contact__text {
        font-size: 1rem;
    }
}

@media (hover: hover) {
    a.contact__row:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    a.contact__row:hover .contact__go {
        color: var(--berry);
    }
}

/* ── footer ───────────────────────────────────────────────────────────── */
.site-footer {
    padding: 48px 0 calc(var(--dock-space) + 12px);
    background: var(--cream-2);
    border-top: 2px dashed var(--line);
}

.site-footer__top {
    display: grid;
    gap: 28px;
}

.site-footer__brand img {
    width: min(240px, 80%);
}

.site-footer__brand p {
    max-width: 40ch;
    margin-top: 14px;
    font-weight: 600;
}

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 20px;
}

.site-footer__nav a {
    padding: 8px 0;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.site-footer__social p {
    margin-bottom: 10px;
    font-weight: 800;
    color: var(--ink);
}

.site-footer__social div {
    display: flex;
    gap: 10px;
}

.site-footer__social a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--paper);
    color: var(--ink);
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), color .2s;
}

.site-footer__copy {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-3);
}

@media (min-width: 768px) {
    .site-footer {
        padding-top: 64px;
    }

    .site-footer__top {
        grid-template-columns: 1.4fr 1fr auto;
        gap: 32px;
        align-items: start;
    }

    .site-footer__brand img {
        width: min(280px, 100%);
    }

    .site-footer__nav {
        grid-template-columns: repeat(2, auto);
        gap: 4px 32px;
        justify-content: start;
    }

    .site-footer__nav a {
        padding: 2px 0;
    }
}

@media (min-width: 1024px) {
    .site-footer {
        padding-bottom: 28px;
    }
}

@media (hover: hover) {
    .site-footer__nav a:hover {
        color: var(--berry);
    }

    .site-footer__social a:hover {
        color: var(--berry);
        transform: translateY(-3px) rotate(-4deg);
    }
}

/* ── dock: quick actions in thumb reach (phones & tablets) ───────────── */
.dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + var(--safe-bottom));
    z-index: var(--z-dock);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    max-width: 560px;
    height: var(--dock-h);
    margin-inline: auto;
    padding: 6px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 16px 40px -14px rgba(31, 37, 68, .5);
    transition: transform .35s var(--ease);
}

.dock__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    border-radius: 16px;
    background: none;
    color: var(--ink);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, transform .15s;
}

.dock__item .icon {
    font-size: 1.45rem;
}

.dock__item:active {
    transform: scale(.94);
    background: var(--cream-2);
}

.dock__item--call {
    background: var(--berry);
    color: #fff;
}

.dock__item--call:active {
    background: var(--berry-600);
}

.dock__item--wa .icon {
    color: var(--wa);
}

.dock__item--map .icon {
    color: var(--sky-700);
}

@media (min-width: 1024px) {
    .dock {
        display: none;
    }
}

/* ── menu sheet (phones & tablets) ───────────────────────────────────── */
.sheet {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-width: 560px;
    max-height: 88dvh;
    margin: 0 auto;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 28px 28px 0 0;
    background: var(--paper);
    color: var(--ink-2);
    box-shadow: 0 -20px 60px rgba(31, 37, 68, .3);
}

/* the panel fills the whole sheet, so a tap that lands on the <dialog> itself is on the backdrop */
.sheet__body {
    padding: 8px 16px calc(18px + var(--safe-bottom));
}

/* browsers without <dialog> support would otherwise show the menu permanently */
.sheet:not([open]) {
    display: none;
}

/* fallback for browsers without showModal(): the sheet sits above a scrim instead of the top layer */
.sheet--fallback {
    z-index: var(--z-sheet);
}

.sheet-scrim {
    position: fixed;
    inset: 0;
    z-index: var(--z-scrim);
    background: rgba(18, 22, 46, .5);
}

.sheet[open] {
    animation: sheet-in .38s var(--ease);
}

.sheet.is-closing {
    animation: sheet-out .24s ease-in forwards;
}

.sheet::backdrop {
    background: rgba(18, 22, 46, .5);
    animation: fade-in .3s ease;
}

.sheet.is-closing::backdrop {
    animation: fade-out .24s ease-in forwards;
}

.sheet__grab {
    width: 44px;
    height: 5px;
    margin: 4px auto 6px;
    border-radius: 999px;
    background: var(--line);
}

/* stays in view when the list scrolls (short screens, landscape), so ✕ is always reachable */
.sheet__head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px 10px;
    background: var(--paper);
}

.sheet__head h2 {
    margin: 0;
    font-size: 1.5rem;
}

.sheet__close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--cream-2);
    font-size: 1.3rem;
    cursor: pointer;
}

.sheet__links {
    display: grid;
    gap: 4px;
}

.sheet__links a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 8px 10px;
    border-radius: var(--r-md);
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 800;
    text-decoration: none;
}

.sheet__links a:active,
.sheet__links a[aria-current="true"] {
    background: var(--cream);
}

.sheet__ico {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--c) 14%, #fff);
    color: var(--c);
    font-size: 1.35rem;
}

.sheet__caret {
    margin-left: auto;
    color: var(--ink-3);
}

.sheet__social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.sheet__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 16px;
    background: var(--cream);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.sheet__social .icon {
    font-size: 1.3rem;
    color: var(--berry);
}

/* page frozen behind the open menu; no pull-to-refresh when the sheet is swiped down */
html.sheet-open,
html.sheet-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

/* ── floating actions (desktop) ───────────────────────────────────────── */
.fab {
    position: fixed;
    right: 18px;
    z-index: var(--z-fab);
    display: none;
    place-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform .25s var(--ease), opacity .25s, visibility .25s;
}

.fab--wa {
    bottom: 18px;
    width: 60px;
    height: 60px;
    background: var(--wa);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8);
}

.fab--wa::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulse 2.6s ease-out infinite;
}

.fab--wa:hover {
    color: #fff;
    transform: scale(1.08) rotate(-6deg);
}

.fab--top {
    bottom: 90px;
    width: 46px;
    height: 46px;
    background: var(--paper);
    color: var(--ink);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.fab--top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.fab--top:hover {
    color: var(--berry);
}

@media (min-width: 1024px) {
    .fab {
        display: grid;
    }
}

/* phones held sideways: short screen, keep the headline clear of the dock */
@media (orientation: landscape) and (max-height: 520px) {
    .hero {
        min-height: 100svh;
        padding: 76px 0 calc(var(--dock-space) + 28px);
    }

    .hero__content > * {
        max-width: 62%;
    }

    .hero h1 {
        margin-top: 12px;
        font-size: clamp(1.8rem, .9rem + 3vw, 2.4rem);
    }

    .hero__lead {
        display: none;
    }

    .hero__actions {
        margin-top: 18px;
    }

    .hero__toggle {
        top: 76px;
        bottom: auto;
    }

    .dock {
        --dock-h: 54px;
        max-width: 480px;
    }

    .dock__item {
        flex-direction: row;
        gap: 6px;
    }
}

/* ── touch feedback (phones) ──────────────────────────────────────────── */
@media (hover: none) {
    .tile:active,
    .program:active,
    .review:active,
    .gallery__item:active,
    .gallery__ig:active {
        transform: scale(.98);
        transition-duration: .12s;
    }
}

/* ── scroll reveal (only when JS is running; see <head>) ─────────────── */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ── keyframes ────────────────────────────────────────────────────────── */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    50% { transform: translateY(-10px) rotate(6deg); }
}

@keyframes drift {
    to { transform: translateX(40px); }
}

@keyframes bounce {
    50% { transform: rotate(-45deg) translate(4px, -4px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
    70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}

@keyframes sheet-in {
    from { transform: translateY(100%); }
}

@keyframes sheet-out {
    to { transform: translateY(100%); }
}

@keyframes fade-in {
    from { opacity: 0; }
}

@keyframes fade-out {
    to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after,
    .sheet::backdrop {
        animation: none !important;
        transition-duration: .01ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
