/* ═══════════════════════════════════════════════════
      freeze-cream.css
      iOS Safari fixes applied throughout:
      ✓ -webkit-backdrop-filter prefixes
      ✓ min-height: 100dvh + -webkit-fill-available fallbacks
      ✓ inset:0 expanded to top/right/bottom/left
      ✓ -webkit-appearance:none on inputs/selects
      ✓ touch-action: manipulation on all interactive elements
      ✓ -webkit-overflow-scrolling: touch on scroll containers
      ✓ translate3d() instead of translateY() for GPU layers
      ✓ isolation: isolate to fix stacking context glitches
      ✓ overflow-x: clip instead of overflow-x: hidden on body
      ✓ scroll-behavior removed (handled by JS)
   ═══════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* Smooth scroll handled via JS for iOS compatibility */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a2340;
    /* clip instead of hidden — avoids iOS scroll-lock bug */
    overflow-x: clip;
    background: #fff;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-fun {
    font-family: 'Nunito', sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

/* ── PALETTE ── */
:root {
    --blue: #0047AB;
    --blue-dark: #1a2340;
    --blue-mid: #1560C0;
    --ice: #5CCEF5;
    --ice-light: #FFFFFF;
    --ice-pale: #E8F8FF;
    --teal: #35b9f8;
    --teal-lt: #FFFFFF;
    --orange: #FF8A00;
    --orange-lt: #FFFFFF;
    --yellow: #FF8A00;
    --pink: #FF6FC8;
    --pink-lt: #FFB3E6;
    --cream: #FFF8EC;
    --waffle: #D4882A;

    --grad-main: linear-gradient(135deg, #35b9f8, #92E2FF);
    --grad-hero: linear-gradient(145deg, #943fa3 0%, #6c2d7e 45%, #00b1ff 100%);
    --grad-btn: linear-gradient(135deg, var(--orange), #FF5C00);
    --grad-teal: linear-gradient(135deg, var(--teal), #009D8F);
    --grad-blue: linear-gradient(135deg, var(--blue), var(--blue-mid));
    --grad-pink: linear-gradient(135deg, var(--pink), #C84FAA);
    --grad-waffle: linear-gradient(135deg, #FFD17A, #E8950A);
    --grad-num: linear-gradient(135deg, var(--ice), var(--teal), var(--pink));
}

/* ── CONTAINER ── */
.container-xl {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
}

@media (max-width: 1280px) {
    .container-xl {
        max-width: 1280px;
    }
}

@media (max-width: 1024px) {
    .container-xl {
        max-width: 100%;
    }
}

/* ── HEADER ── */
#site-header {
    transition: box-shadow .3s, background .3s;
    border-bottom: 1px solid #EFF6FF;
}

#site-header.scrolled {
    box-shadow: 0 4px 32px rgba(0, 71, 171, .12);
    background: rgba(255, 255, 255, .98) !important;
}

/* Tailwind backdrop-blur needs -webkit- on iOS */
#site-header {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* ── MOBILE MENU ── */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .42s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 600px;
    opacity: 1;
}

/* Burger */
#burger-btn {
    background: #EAF6FF;
    border-radius: 12px;
    transition: background .2s, transform .15s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    border: none;
}

#burger-btn:hover {
    background: var(--ice-pale);
    transform: scale(1.07);
}

#burger-btn:active {
    background: var(--blue);
    transform: scale(.95);
}

#burger-btn:active span {
    background: #fff;
}

/* ── NAV ── */
.nav-link {
    font-weight: 600;
    font-size: .95rem;
    color: #334155;
    transition: color .2s;
    text-decoration: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2.5px;
    background: var(--grad-main);
    border-radius: 2px;
    transition: width .28s;
}

.nav-link:hover {
    color: var(--teal);
}

.nav-link:hover::after {
    width: 100%;
}

/* ── HERO ── */
.hero-section {
    position: relative;
    overflow: hidden;
    /* iOS Safari vh fix — three-line cascade */
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--grad-hero);
    /* GPU layer for iOS compositing */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* hero bg image overlay */
.hero-section::before {
    content: '';
    position: absolute;
    /* explicit instead of inset:0 for iOS 14.5 */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('https://servicecoffee.com.ua/wp-content/uploads/freezecream/30E099A5-6B85.png');
    background-size: cover;
    background-position: center;
    opacity: .12;
    /* mix-blend-mode can cause issues on iOS — guard with z-index */
    z-index: 0;
}

/* Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(3px);
    pointer-events: none;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.blob-1 {
    width: 520px;
    height: 520px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(92, 206, 245, .28), rgba(0, 201, 177, .12));
    animation: blobFloat1 18s ease-in-out infinite;
}

.blob-2 {
    width: 340px;
    height: 340px;
    bottom: -90px;
    left: 2%;
    background: radial-gradient(circle, rgba(255, 111, 200, .14), transparent);
    animation: blobFloat2 22s ease-in-out infinite;
}

.blob-3 {
    width: 220px;
    height: 220px;
    top: 28%;
    left: 7%;
    background: radial-gradient(circle, rgba(255, 224, 0, .10), transparent);
    animation: blobFloat3 26s ease-in-out infinite;
}

@keyframes blobFloat1 {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-40px, 60px, 0) scale(1.08);
    }
}

@keyframes blobFloat2 {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(30px, -50px, 0);
    }
}

@keyframes blobFloat3 {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-20px, 40px, 0) rotate(12deg);
    }
}

/* ── FLOATING IMAGES ── */
.float-img {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    border-radius: 50%;
    overflow: hidden;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* isolate to prevent bleed into header */
    isolation: isolate;
}

.float-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fi-1 {
    width: 320px;
    height: 320px;
    top: 10%;
    right: 3%;
    animation: floatA 20s ease-in-out infinite;
}

.fi-4 {
    width: 240px;
    height: 240px;
    bottom: 6%;
    right: 10%;
    animation: floatA 22s ease-in-out infinite;
    animation-delay: 4s;
}

@media (max-width: 1024px) {
    .fi-1 {
        width: 180px;
        height: 180px;
        top: 8%;
        right: 1%;
    }

    .fi-4 {
        width: 150px;
        height: 150px;
        bottom: 3%;
        right: 2%;
    }
}

@media (max-width: 600px) {
    .fi-1, .fi-4 {
        display: none;
    }
}

/* Section decorative floats */
.sf-img {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    overflow: hidden;
    opacity: .22;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.sf-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-1 {
    width: 200px;
    height: 200px;
    animation: floatB 28s ease-in-out infinite;
}

.sf-2 {
    width: 170px;
    height: 170px;
    animation: floatC 32s ease-in-out infinite;
    animation-delay: 5s;
}

/* Slow float keyframes — translate3d for iOS GPU */
@keyframes floatA {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    25% {
        transform: translate3d(0, -36px, 0) rotate(6deg);
    }
    50% {
        transform: translate3d(0, -16px, 0) rotate(-5deg);
    }
    75% {
        transform: translate3d(0, -44px, 0) rotate(9deg);
    }
}

@keyframes floatB {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    33% {
        transform: translate3d(0, -40px, 0) rotate(-7deg);
    }
    66% {
        transform: translate3d(0, -20px, 0) rotate(5deg);
    }
}

@keyframes floatC {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    40% {
        transform: translate3d(0, -50px, 0) scale(1.04);
    }
    70% {
        transform: translate3d(0, -24px, 0) scale(.97);
    }
}

/* ── WAVES ── */
.wave-down {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-down svg {
    display: block;
    width: 100%;
}

.wave-up {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-up svg {
    display: block;
    width: 100%;
}

/* ── MARQUEE ── */
.ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
    position: relative;
    z-index: 10;
}

.ticker-inner {
    display: inline-flex;
    animation: tickerScroll 32s linear infinite;
    will-change: transform;
}

.ticker-wrap:hover .ticker-inner {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 34px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: .04em;
    white-space: nowrap;
}

.ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── BUTTONS ── */
/* All buttons: touch-action + tap highlight removed for iOS */
.btn-orange, .btn-ghost, .btn-blue, .btn-blue2, .btn-blue3, .btn-teal {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.btn-orange {
    background: var(--grad-btn);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 18px 36px;
    border-radius: 18px;
    transition: transform .25s, box-shadow .25s, filter .25s;
    box-shadow: 0 12px 32px rgba(255, 138, 0, .42);
}

.btn-orange:hover, .btn-orange:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(255, 111, 200, .5);
    filter: hue-rotate(20deg) brightness(1.08);
}

.btn-orange:active {
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, .13);
    border: 2px solid rgba(255, 255, 255, .38) !important;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 30px;
    border-radius: 18px;
    transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover, .btn-ghost:focus-visible {
    background: rgba(92, 206, 245, .25);
    border-color: var(--ice) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(92, 206, 245, .3);
}

.btn-blue {
    background: var(--grad-blue);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    padding: 14px 26px;
    border-radius: 14px;
    gap: 9px;
    transition: transform .25s, box-shadow .25s, background .25s;
    box-shadow: 0 8px 24px rgba(0, 71, 171, .32);
}

.btn-blue:hover, .btn-blue:focus-visible {
    background: var(--grad-main);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 201, 177, .38);
}

.btn-blue2 {
    background: linear-gradient(135deg, #35b9f8 0%, #35b9f8 50%, #d8b595 100%);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    padding: 14px 26px;
    border-radius: 14px;
    gap: 9px;
    transition: transform .25s, box-shadow .25s, background .25s;
    box-shadow: 0 8px 24px rgba(0, 71, 171, .32);
}

.btn-blue2:hover, .btn-blue2:focus-visible {
    background: var(--grad-main);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgb(56 207 255 / 48%);
}

.btn-blue3 {
    background: linear-gradient(135deg, #b48860, #E2C4A4);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    padding: 14px 26px;
    border-radius: 14px;
    gap: 9px;
    transition: transform .25s, box-shadow .25s, background .25s;
    box-shadow: 0 8px 24px rgba(0, 71, 171, .32);
}

.btn-blue3:hover, .btn-blue3:focus-visible {
    background: var(--grad-main);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 201, 177, .38);
}

/* ── SECTION PILL ── */
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ice-pale);
    color: var(--blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.pill-grad {
    background: #ffffff;
    color: var(--blue-dark);
}

/* ── HERO EXTRAS ── */
.neon-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 138, 0, .2), rgba(255, 138, 0, .2));
    border: 1.5px solid rgb(255 98 0);
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: .82rem;
    padding: 8px 20px;
    border-radius: 100px;
    letter-spacing: .07em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 16px rgba(0, 201, 177, .2);
}

.stat-pill {
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    padding: 16px 20px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    text-align: center;
    transition: transform .25s, background .25s;
    cursor: default;
}

.stat-pill:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .2);
}

.stat-pill-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    background: rgba(255, 255, 255, .15);
    font-size: .95rem;
}

/* ── TRUST BAR ── */
.brand-pill {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    color: #8caccc;
    font-size: 1rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: color .2s, text-shadow .2s;
    cursor: default;
    white-space: nowrap;
}

.brand-pill:hover {
    color: var(--blue);
    text-shadow: 0 0 20px rgba(0, 71, 171, .3);
}

/* ── WHY CARDS ── */
.why-card {
    background: #fff;
    border-radius: 26px;
    padding: 40px 32px;
    transition: box-shadow .35s, transform .35s;
    position: relative;
    overflow: hidden;
    border: 1.5px solid #d0eaff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: .06;
    transition: opacity .35s, transform .35s;
}

.why-card:hover {
    box-shadow: 0 32px 72px rgba(0, 71, 171, .14);
    transform: translateY(-10px);
}

.why-card:hover::after {
    opacity: .15;
    transform: scale(1.15);
}

.wc-blue::after {
    background: var(--blue);
}

.wc-teal::after {
    background: var(--teal);
}

.wc-orange::after {
    background: var(--pink);
}

.why-num {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 4.5rem;
    line-height: 1;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient border helper */
.grad-border {
    border: 1.5px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--grad-main) border-box;
}

/* ── GRAD HELPERS ── */
.grad-bar {
    height: 4px;
    border-radius: 4px;
    background: var(--grad-main);
}

.grad-text {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-h {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    color: #1a2340;
    line-height: 1.15;
}

/* ── CATALOG SECTIONS ── */
.catalog-section {
    position: relative;
    overflow: hidden;
}

.catalog-section-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: .055;
    transition: opacity .6s;
    pointer-events: none;
}

.catalog-section:hover .catalog-section-bg {
    opacity: .09;
}

/* Cat hero header */
.cat-hero {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    padding: 38px 44px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cat-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.cat-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.cat-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cat-icon-wrap {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .3), 0 0 0 3px rgba(255, 255, 255, .25);
    animation: floatA 20s ease-in-out infinite;
}

.cat-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .cat-hero {
        padding: 24px 20px;
    }

    .cat-icon-wrap {
        width: 80px;
        height: 80px;
    }
}

/* ── BADGES ── */
.badge-blue {
    background: var(--grad-blue);
    color: #fff;
}


.badge-teal {
    background: linear-gradient(135deg, #005E9E, #00A0CC);
    color: #fff;

}

.badge-granitor {
    background: var(--grad-hero);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .75rem;
    padding: 4px 14px;
    border-radius: 100px;
}

.btn-granitor {
    background: var(--grad-hero);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    padding: 14px 26px;
    border-radius: 14px;
    gap: 9px;
    transition: transform .25s, box-shadow .25s, background .25s;
    box-shadow: 0 8px 24px rgba(0, 71, 171, .32);
}

.badge-hairdresser {
    background: linear-gradient(135deg, #35b9f8 0%, #35b9f8 50%, #d8b595 100%);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .75rem;
    padding: 4px 14px;
    border-radius: 100px;
}

.badge-coffe {
    background: linear-gradient(135deg, #b48860, #E2C4A4);
    color: #fff;
}

.badge-pink {
    background: var(--grad-pink);
    color: #fff;
}

.badge-waffle {
    background: var(--grad-waffle);
    color: #5A3500;
}

.badge-ice {
    background: linear-gradient(135deg, var(--ice-light), var(--ice));
    color: #004a8f;
}

.badge-orange {
    background: linear-gradient(135deg, #b48860, #E2C4A4);
    color: #fff;
}

.badge-blue, .badge-teal, .badge-pink, .badge-waffle, .badge-ice, .badge-orange {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .75rem;
    padding: 4px 14px;
    border-radius: 100px;
}

/* ── SLIDER ── */
.slider-outer {
    position: relative;
    padding-bottom: 40px;
}

.slider-viewport {
    overflow: hidden;
    /* iOS momentum scrolling (read-only) */
    -webkit-overflow-scrolling: touch;
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform .52s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.slide-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}

@media (max-width: 960px) {
    .slide-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 600px) {
    .slide-card {
        flex: 0 0 100%;
    }
}

/* Slider arrows */
.slider-btn {
    position: absolute;
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #fff;
    color: var(--blue);
    box-shadow: 0 6px 24px rgba(0, 71, 171, .18);
    transition: transform .22s, box-shadow .22s, background .22s, color .22s;
    top: 50%;
    transform: translateY(-50%);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.slider-btn:hover, .slider-btn:focus-visible {
    transform: translateY(-50%) scale(1.14);
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 12px 32px rgba(0, 201, 177, .4);
}

.slider-btn-prev {
    left: -26px;
}

.slider-btn-next {
    right: -26px;
}

/* On mobile — arrows sit at image midpoint (540px image / 2 = 270px), but image is .product-img-wrap height 540px → arrows at 270px from top */
@media (max-width: 768px) {
    .slider-btn-prev {
        left: 8px;
        top: 270px;
        transform: none;
    }

    .slider-btn-next {
        right: 8px;
        top: 270px;
        transform: none;
    }

    .slider-btn:hover, .slider-btn:focus-visible {
        transform: scale(1.1);
    }
}

/* Dots */
.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}

.sdot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all .28s;
    padding: 0;
    background: #d0dded;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.sdot.active {
    width: 26px;
    border-radius: 5px;
    background: var(--grad-main);
}

/* ── PRODUCT CARD ── */
.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 71, 171, .07);
    border: 1.5px solid rgba(92, 206, 245, .22);
    transition: box-shadow .35s, transform .35s;
    position: relative;
    /* GPU layer */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.product-card:hover {
    box-shadow: 0 28px 64px rgba(0, 71, 171, .15);
    transform: translateY(-7px);
}

/* shine sweep */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, .18), transparent);
    transform: skewX(-20deg);
    transition: left .65s;
    z-index: 5;
    pointer-events: none;
}

.product-card:hover::before {
    left: 150%;
}

.product-img-wrap {
    position: relative;
    overflow: hidden;
    height: 540px;
}

@media (max-width: 768px) {
    .product-img-wrap {
        height: 300px;
    }
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.09);
}

.price-tag {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    background: var(--grad-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-tag2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    background: linear-gradient(135deg, #005E9E, #00A0CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-tag3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    background: linear-gradient(135deg, #b48860, #E2C4A4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.spec-chip {
    background: var(--ice-pale);
    border-radius: 10px;
    padding: 7px 11px;
    text-align: center;
    transition: background .2s;
}

.product-card:hover .spec-chip {
    background: linear-gradient(135deg, rgba(92, 206, 245, .15), rgba(0, 201, 177, .1));
}

.spec-chip-label {
    font-size: .7rem;
    color: #7090b0;
    display: block;
}

.spec-chip-val {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: .9rem;
    color: #1a2340;
}

/* ── SERVICE ── */
.service-bg {
    background: linear-gradient(135deg, #001F5C 0%, #003EA0 60%, #0052CC 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.service-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(145deg, #943fa3 0%, #6c2d7e 45%, #00b1ff 100%);
    z-index: 0;
}

.service-bg::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 206, 245, .15), transparent);
    z-index: 0;
}

.service-item-card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: 20px 24px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background .28s, transform .28s, border-color .28s;
}

.service-item-card:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateX(8px);
    border-color: rgba(92, 206, 245, .4);
}

/* ── STEPS ── */
.step-dot {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--grad-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 28px rgba(0, 71, 171, .3);
    position: relative;
    z-index: 1;
    transition: transform .25s, box-shadow .25s;
}

.step-dot:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 36px rgba(0, 201, 177, .4);
}

.step-connector {
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), rgba(92, 206, 245, .25));
    min-height: 36px;
    margin-left: 28px;
}

.step-card {
    border-radius: 22px;
    padding: 22px 26px;
    transition: box-shadow .3s, transform .3s;
}

.step-card:hover {
    box-shadow: 0 14px 44px rgba(0, 71, 171, .1);
    transform: translateX(8px);
}

/* ── GALLERY ── */
.gallery-full {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 12px;
    padding: 0 12px;
}

@media (min-width: 1600px) {
    .gallery-mosaic {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 340px;
    }
}

@media (max-width: 900px) {
    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 230px;
    }
}

@media (max-width: 550px) {
    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
}

.gallery-tile {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
}

.gallery-tile:hover img {
    transform: scale(1.08);
}

.gallery-tile-tall {
    grid-row: span 2;
}

.gallery-tile-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 71, 171, .3), rgba(255, 111, 200, .2));
    opacity: 0;
    transition: opacity .32s;
    border-radius: 20px;
}

.gallery-tile:hover .gallery-tile-overlay {
    opacity: 1;
}

/* ── CLIENT LOGOS ── */
.client-logo-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #d8eeff;
    transition: box-shadow .28s, transform .28s, border-color .28s;
}

.client-logo-card:hover {
    box-shadow: 0 8px 32px rgba(0, 71, 171, .1);
    transform: translateY(-5px);
    border-color: var(--ice);
}

/* ── FAQ ── */
.faq-item {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1.5px solid #d8eeff;
    transition: box-shadow .28s, border-color .28s;
}

.faq-item.open {
    border-color: var(--ice);
    box-shadow: 0 8px 36px rgba(0, 71, 171, .09);
}

.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: transparent;
    cursor: pointer;
    border: none;
    text-align: left;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a2340;
    transition: color .2s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.faq-btn:hover {
    color: var(--blue);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--ice-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform .38s cubic-bezier(.4, 0, .2, 1), background .25s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--grad-main);
    color: #fff;
}

.faq-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .5s cubic-bezier(.4, 0, .2, 1), padding .3s ease;
    padding: 0 28px;
    color: #4a6080;
    line-height: 1.8;
    font-size: 1rem;
}

.faq-item.open .faq-body {
    max-height: 440px;
    padding-bottom: 24px;
}

/* ── FOOTER ── */
.footer-bg {
    background: var(--grad-hero);
    position: relative;
}

.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(92, 206, 245, .04), rgba(255, 111, 200, .04), rgba(0, 201, 177, .04));
    pointer-events: none;
}

/* ── FORM INPUTS ── */
.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    font-size: .97rem;
    outline: none;
    transition: border-color .2s, background .2s;
    font-family: 'Inter', sans-serif;
    /* iOS removes inner shadow & rounded corners on inputs */
    -webkit-appearance: none;
    appearance: none;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, .42);
}

.input-field:focus {
    border-color: var(--ice);
    background: rgba(255, 255, 255, .13);
}

/* Select — needs -webkit-appearance: none for custom styling on iOS */
select.input-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
}

/* ── WAVY BG ── */
.wavy-bg {
    background-color: var(--ice-pale);
    position: relative;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity .72s ease, transform .72s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
    transition-delay: .12s;
}

.reveal-delay-2 {
    transition-delay: .24s;
}

.reveal-delay-3 {
    transition-delay: .36s;
}

.reveal-left {
    opacity: 0;
    transform: translate3d(-36px, 0, 0);
    transition: opacity .72s ease, transform .72s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.reveal-right {
    opacity: 0;
    transform: translate3d(36px, 0, 0);
    transition: opacity .72s ease, transform .72s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ── SHIMMER ── */
.shimmer-text {
    background: linear-gradient(90deg, #FFD600 0%, #FFB347 30%, #FF8A00 50%, #FFB347 70%, #FFD600 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3.5s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

/* Inline minimal overrides that need to run before render */
:root {
    color-scheme: light;
}

/* Safe area insets for notch devices */
#site-header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* Prevent iOS tap flash */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Tailwind backdrop-blur override — ensure webkit prefix */
.backdrop-blur-md {
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
}

.space-y-4 .wpcf7-form-control.wpcf7-select.input-field option {
    color: #333;
}

.wpcf7-form-control-wrap .input-field {
    color: rgba(255, 255, 255, .65);
}

.step-connector {
    width: 1px;
    background: #79d7fd;
    min-height: 36px;
    margin-left: unset;
}

.trust_logo {
    max-width: 200px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: unset;
    color: #FFFFFF;
    bottom: 2%;
    position: absolute;
    left: 20%;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border: unset;
    color: #FFFFFF;
    bottom: 2%;
    position: absolute;
    left: 0;
    font-size: 15px;
}

.koala_heart img {
    max-width: 60px !important;
}

/* Koala masters logo in footer */
@keyframes heart {
    0% {
        transform: scale(1);
    }
    19% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.1);
    }
    30% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

.koala {
    transition: .2s;
    animation: heart 2s infinite;
    margin: 0 5px;
}

/* end Koala masters */

.koala_wrapper {
    display: flex;
    align-items: center;
    color: rgba(180, 220, 255, 0.6)
}

.anp_logo {
    max-width: 140px;
}
.text-after-button{
    margin-top: 10px;
    text-align: center;
}

#wpcf7-f3765-p3717-o1 {
    max-width: 500px;
}

#wpcf7-f3765-p3717-o1 .wpcf7-form {
    width: 100%;
}

#wpcf7-f3765-p3717-o1 .wpcf7-form label {
    display: block;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
}

#wpcf7-f3765-p3717-o1 .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

#wpcf7-f3765-p3717-o1 input[type="text"],
#wpcf7-f3765-p3717-o1 input[type="tel"] {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #dcdcdc;
    background: #fff;
    font-size: 16px;
    color: #222;
    outline: none;
    box-sizing: border-box;
}

#wpcf7-f3765-p3717-o1 input[type="text"]:focus,
#wpcf7-f3765-p3717-o1 input[type="tel"]:focus {
    border-color: #8cc63f;
}

#wpcf7-f3765-p3717-o1 input[type="submit"] {
    width: 100%;
    height: 56px;
    border: none;
    background: #191919;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
}

#wpcf7-f3765-p3717-o1 input[type="submit"]:hover {
    background: #8cc63f;
}

#wpcf7-f3765-p3717-o1 .wpcf7-spinner {
    display: block;
    margin: 15px auto 0;
}

#wpcf7-f3765-p3717-o1 .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 12px 15px !important;
    font-size: 14px;
}
/* ===== Freeze Cream Supply: contrast + slider clipping fixes ===== */
/* White headings only on dark/gradient blocks. Regular section headings stay dark. */
.hero-section .section-h.text-white,
.cat-hero .section-h.text-white,
#launch-points .reveal-left .text-white,
#launch-points .reveal-right .text-white,
#launch-points .reveal > .cat-hero-content .text-white,
#launch-points [style*="linear-gradient"] .text-white,
.service-bg .section-h.text-white {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* The global .section-h rule was overriding Tailwind's text-white class. */
.cat-hero-content h2,
.hero-section h1.section-h {
    color: #fff !important;
}

/* Allow slider controls to stay visible while cards remain clipped by viewport. */
.slider-outer {
    overflow: visible;
}

.slider-viewport {
    width: 100%;
    min-width: 0;
}

.slider-track {
    box-sizing: border-box;
}

/* Prevent the last card/button from being visually cut. */
.sc-extra-slider .slide-card,
.sc-extra-slider .product-card {
    min-width: 0;
}

.sc-extra-slider .ingredient-card-footer {
    flex-wrap: wrap;
}

.sc-extra-slider .ingredient-card-footer .btn-granitor,
.sc-extra-slider .ingredient-card-footer .btn-blue2,
.sc-extra-slider .ingredient-card-footer .btn-blue3 {
    max-width: 100%;
}

@media (max-width: 1100px) {
    .slider-btn-prev { left: -10px; }
    .slider-btn-next { right: -10px; }
}

@media (max-width: 767px) {
    .slider-btn-prev { left: 8px; }
    .slider-btn-next { right: 8px; }
}
