@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/glacial-indifference-2');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ROOT + HTML
   html gets the dark fallback color so iOS Safari's overscroll
   rubber-band zones and browser chrome use #0a0a0e, not white.
   Combined with viewport-fit=cover and theme-color meta tag,
   this is the definitive fix for white bars on iPhone 15.
═══════════════════════════════════════════════════════════════ */
html {
    scroll-behavior: smooth;
    min-height: 100%;
    min-height: 100dvh;
    height: 100%;
    /* This is THE key fix: any area Safari paints outside the body
       (safe-area zones, overscroll bounce) will be this dark color,
       not the browser default white. */
    background-color: #0a0a0e;
}

:root {
    --font-display: 'Abril Fatface', Georgia, serif;
    --font-body: 'Glacial Indifference', Inter, 'Segoe UI', Roboto, sans-serif;

    --text: #f5f3ef;
    --text-soft: rgba(245, 243, 239, 0.72);
    --text-muted: rgba(245, 243, 239, 0.44);
    --accent: #f2e7d6;
    --accent-strong: #ffffff;
    --accent-dark: #080808;

    --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.78);
    --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.60);
    --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.46);

    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-pill: 999px;

    --container: 1240px;
    --nav-height: 72px;
    --section-pad: clamp(20px, 4vw, 38px);

    --glass-bg: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
    --glass-border: rgba(255,255,255,0.13);
}

/* ═══════════════════════════════════════════════════════════════
   BODY
   Must be transparent so the fixed #bg-image div behind it
   shows through — including during iOS rubber-band overscroll.
   A solid body background is what causes the white (or color)
   bars at the top and bottom on iPhone.
═══════════════════════════════════════════════════════════════ */
body {
    font-family: var(--font-body);
    color: var(--text);
    background: transparent;   /* DO NOT set a solid color here */
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   FULL-BLEED BACKGROUND DIVS
   Using real <div> elements instead of pseudo-elements avoids
   the WebKit z-index painting bug where z-index values below -1
   get painted behind the browser's own layer and disappear.

   #bg-image  — the actual background photo (fixed, edge-to-edge)
   #bg-overlay — dark scrim over the photo for text legibility
   Both sit at z-index: 0, body content at z-index: 1.
═══════════════════════════════════════════════════════════════ */
#bg-image {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('https://iili.io/CBHrgBp.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-attachment: scroll is correct here.
       The element itself is position:fixed so it already
       stays locked to the viewport. Using 'fixed' on
       background-attachment breaks on iOS Safari. */
    background-attachment: scroll;
}

#bg-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.62);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 8%, rgba(255,255,255,0.022), transparent 22%),
        radial-gradient(circle at 88% 82%, rgba(255,255,255,0.016), transparent 20%);
    z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════
   iOS VIEWPORT EDGE FADE
   ─────────────────────────────────────────────────────────────
   iOS Safari uses a fixed viewport box. As the user scrolls,
   content hits the hard top/bottom viewport edges abruptly.
   This pair of pseudo-elements sits on top of the background
   image (z-index: 1, same layer as body content but pointer-
   events: none so it never blocks clicks) and fades the top
   and bottom edges to #0a0a0e (matching html background-color).
   This makes scrolling content appear to dissolve into black
   at both edges, blending seamlessly with the iOS chrome.

   We target iOS specifically using the -webkit-overflow-scrolling
   media query trick combined with supports(). The safest, most
   broadly-supported approach is a dedicated class added by JS
   (see script.js), but as a pure-CSS fallback we also apply it
   via the iOS-specific @supports selector below.

   The .ios-device class is toggled onto <html> by script.js.
═══════════════════════════════════════════════════════════════ */

/* JS-driven class — script.js adds .ios-device to <html> */
html.ios-device #bg-image::before,
html.ios-device #bg-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
}

html.ios-device #bg-image::before {
    top: 0;
    height: 18vh;
    background: linear-gradient(to bottom, #0a0a0e 0%, transparent 100%);
}

html.ios-device #bg-image::after {
    bottom: 0;
    height: 18vh;
    background: linear-gradient(to top, #0a0a0e 0%, transparent 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }
section, footer, nav { position: relative; z-index: 1; }

.container {
    width: min(var(--container), calc(100% - 24px));
    margin: 0 auto;
}

/* =========================
   Glass panels
========================= */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.section { padding: 10px 0; }
.section-inner { padding: var(--section-pad); }

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    color: var(--text-soft);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-family: var(--font-body);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.0;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--accent-strong);
}

.section-copy {
    color: var(--text-soft);
    font-size: 0.97rem;
    margin-bottom: 26px;
    max-width: 580px;
    line-height: 1.7;
}

/* =========================
   Navbar
========================= */
.navbar {
    position: sticky;
    top: 12px;
    z-index: 1000;
    padding: 12px 0 0;
}

.navbar .container {
    display: flex;
    justify-content: center;
}

.navbar-inner {
    width: 100%;
    max-width: 1080px;
    min-height: var(--nav-height);
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, rgba(8,8,10,0.72), rgba(4,4,6,0.65));
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow:
        0 16px 52px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.10);
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
    position: relative;
}

/* Logo + wordmark */
.logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 6px;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-wordmark {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.nav-menu li { display: flex; }

.nav-menu a {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    font-family: var(--font-body);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-strong);
    background: rgba(255,255,255,0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.nav-cta { display: inline-flex; flex-shrink: 0; }

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 10px;
    background: var(--accent-strong);
    transition: transform 0.25s ease, opacity 0.25s ease;
    display: block;
}

/* =========================
   Buttons
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    padding: 12px 22px;
    min-height: 48px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-body);
}

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

.btn-primary {
    color: var(--accent-dark);
    background: linear-gradient(180deg, #ffffff 0%, #ece5da 100%);
    box-shadow: 0 8px 22px rgba(255,255,255,0.15);
}

.btn-primary:hover { box-shadow: 0 14px 30px rgba(255,255,255,0.22); }

.btn-secondary {
    color: var(--text);
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.13);
}

.btn-secondary:hover { background: rgba(255,255,255,0.13); }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    transition: color 0.22s ease, transform 0.22s ease;
    font-family: var(--font-body);
}

.btn-link:hover {
    color: var(--accent-strong);
    transform: translateX(3px);
}

/* =========================
   Hero
========================= */
.hero { padding: 18px 0 10px; }

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: var(--section-pad);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    min-height: clamp(500px, 82vh, 860px);
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 26px;
    align-items: stretch;
    height: 100%;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    line-height: 1.0;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    color: var(--accent-strong);
}

.hero-copy > p {
    color: var(--text-soft);
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    margin-bottom: 26px;
    max-width: 44ch;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-pill {
    padding: 8px 13px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.05);
    color: var(--text-soft);
    font-size: 0.8rem;
}

.hero-visual {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 14px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 340px;
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: var(--shadow-md);
    background: none;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://iili.io/fpLVF9e.png") center center / cover no-repeat;
    z-index: 0;
    transition: transform 0.5s ease;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.18) 0%,
        rgba(0,0,0,0.55) 45%,
        rgba(0,0,0,0.92) 100%
    );
    z-index: 1;
}

.feature-card:hover::before {
    transform: scale(1.04);
}

.feature-content {
    position: absolute;
    inset: auto 20px 20px 20px;
    z-index: 2;
}

.feature-tag {
    display: inline-flex;
    padding: 6px 11px;
    margin-bottom: 10px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.13);
    color: var(--accent-strong);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.8vw, 1.7rem);
    line-height: 1.1;
    margin-bottom: 8px;
    color: var(--accent-strong);
}

.feature-content p {
    color: var(--text-soft);
    font-size: 0.88rem;
    max-width: 30ch;
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-mini-card {
    position: relative;
    min-height: 110px;
    padding: 14px;
    overflow: hidden;
    border-radius: 18px;
    background-color: rgba(255,255,255,0.06);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.13);
    display: flex;
    align-items: flex-end;
    transition: border-color 0.22s ease, transform 0.22s ease;
}

.hero-mini-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.62) 100%);
    border-radius: inherit;
    pointer-events: none;
}

.hero-mini-card:hover {
    border-color: rgba(255,255,255,0.26);
    transform: translateY(-3px);
}

.hero-mini-card span {
    position: relative;
    z-index: 1;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--accent-strong);
}

/* =========================
   Promo Cards
========================= */
.promo-section { padding: 10px 0; }

.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.promo-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: var(--shadow-md);
    display: block;
    cursor: pointer;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.promo-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255,255,255,0.28);
    box-shadow: var(--shadow-lg);
}

.promo-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.42s ease;
}

.promo-card:hover img { transform: scale(1.05); }

.promo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.promo-label {
    position: absolute;
    inset: auto 16px 18px 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.promo-label .tag {
    display: inline-flex;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.13);
    color: var(--accent-strong);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.promo-label h3 {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.1;
    color: var(--accent-strong);
}

.promo-label .promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.13);
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: var(--font-body);
    transition: background 0.22s ease;
}

.promo-card:hover .promo-btn {
    background: rgba(255,255,255,0.22);
}

/* =========================
   Services - accordion
========================= */
.services-section { padding: 10px 0; }

.service-accordion {
    margin-bottom: 12px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.04);
    transition: border-color 0.22s ease;
}

.service-accordion:last-of-type { margin-bottom: 0; }

.service-accordion[open] {
    border-color: rgba(255,255,255,0.13);
}

.service-accordion > summary {
    list-style: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
    transition: background 0.22s ease;
}

.service-accordion > summary::-webkit-details-marker { display: none; }

.service-accordion > summary:hover {
    background: rgba(255,255,255,0.04);
}

.summary-left { display: flex; flex-direction: column; gap: 4px; }

.summary-left h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--accent-strong);
    line-height: 1;
    margin: 0;
}

.summary-left p {
    color: var(--text-soft);
    font-size: 0.86rem;
    margin: 0;
}

.summary-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.category-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.06);
    color: var(--text-soft);
    font-size: 0.82rem;
    font-family: var(--font-body);
    transition: background 0.22s ease, color 0.22s ease;
    white-space: nowrap;
}

.category-cta:hover {
    background: rgba(255,255,255,0.12);
    color: var(--accent-strong);
}

.accordion-chevron {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.22s ease, transform 0.3s ease;
}

.accordion-chevron svg {
    transition: transform 0.3s ease;
}

.service-accordion[open] .accordion-chevron svg {
    transform: rotate(180deg);
}

.service-accordion[open] .accordion-chevron {
    background: rgba(255,255,255,0.12);
}

.accordion-body {
    padding: 0 18px 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.13);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.05);
}

.service-card h4 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-strong);
    line-height: 1.2;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.83rem;
    flex: 1;
    line-height: 1.55;
}

.price {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.13);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.84rem;
    width: fit-content;
    margin-top: auto;
    letter-spacing: 0.02em;
}

/* =========================
   Blog
========================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* =========================
   Guides
========================= */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.blog-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.13);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 190px;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.13);
}

.blog-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.15;
    color: var(--accent-strong);
}

.blog-card p {
    color: var(--text-soft);
    font-size: 0.88rem;
    flex: 1;
    line-height: 1.65;
}

/* Guide cards with image background */
.guide-card--image {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: var(--shadow-md);
    display: block;
    cursor: pointer;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    text-decoration: none;
}

.guide-card--image:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255,255,255,0.13);
    box-shadow: var(--shadow-lg);
}

.guide-card--image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.42s ease;
}

.guide-card--image:hover img { transform: scale(1.05); }

.guide-card--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.88) 100%);
    pointer-events: none;
    z-index: 1;
}

.guide-label {
    position: absolute;
    inset: auto 16px 20px 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.guide-label h3 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.1;
    color: var(--accent-strong);
}

.guide-label p {
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.55;
    max-width: 34ch;
}

/* =========================
   Booking
========================= */
.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.booking-info {
    position: relative;
    overflow: hidden;
    padding: var(--section-pad);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.13);
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: none;
}

.booking-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://iili.io/fpLVF9e.png") center center / cover no-repeat;
    z-index: 0;
    transition: transform 0.5s ease;
}

.booking-info::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.65) 50%,
        rgba(0,0,0,0.50) 100%
    );
    z-index: 1;
}

.booking-info:hover::before {
    transform: scale(1.03);
}

.booking-info > * {
    position: relative;
    z-index: 2;
}

.booking-features { display: grid; gap: 8px; }

.booking-features li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    padding: 11px 14px;
    border-radius: 13px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.13);
    font-size: 0.9rem;
}

.booking-features li svg { flex-shrink: 0; color: var(--accent); }

.phone-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.phone-frame {
    position: relative;
    width: min(100%, 300px);
    aspect-ratio: 9 / 18.7;
    padding: 12px;
    border-radius: 38px;
    background: linear-gradient(180deg, #181818, #040404);
    box-shadow: 0 28px 68px rgba(0,0,0,0.68);
    border: 1px solid rgba(255,255,255,0.13);
    overflow: hidden;
    display: block;
    transition: transform 0.25s ease;
}

.phone-frame:hover { transform: translateY(-5px) scale(1.01); }

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 22px;
    background: #040404;
    border-radius: 0 0 16px 16px;
    z-index: 4;
}

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: #0a0a0a;
}

.phone-screen-content,
.phone-screenshot {
    width: 100%;
    height: 100%;
}

.phone-screenshot {
    object-fit: cover;
    object-position: top center;
}

/* =========================
   Footer
========================= */
.footer { padding: 10px 0 36px; }

.footer-shell {
    padding: var(--section-pad);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: var(--shadow-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.footer-logo-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent-strong);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 26px;
    margin-bottom: 22px;
}

.footer-section h4 {
    font-family: var(--font-display);
    color: var(--accent-strong);
    font-size: 1rem;
    margin-bottom: 13px;
}

.footer-section p,
.footer-section a {
    color: var(--text-soft);
    font-size: 0.87rem;
    line-height: 1.75;
}

.footer-section ul { display: grid; gap: 8px; }
.footer-section a:hover { color: var(--accent-strong); }

.social-links { display: flex; flex-wrap: wrap; gap: 10px; }

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    transition: background 0.22s ease, transform 0.22s ease;
    flex-shrink: 0;
}

.social-links a:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
}

.social-bubble {
    background: rgba(255,255,255,0.90) !important;
    border-color: rgba(255,255,255,0.13) !important;
}

.social-bubble:hover {
    background: rgba(255,255,255,1) !important;
    transform: translateY(-2px);
}

.social-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.13);
    color: var(--text-muted);
    font-size: 0.83rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text-soft); }

/* =========================
   Scroll reveal
========================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero .reveal,
.hero-panel {
    opacity: 1;
    transform: none;
    transition: none;
}

/* =========================
   Responsive - Tablet <= 1024px
========================= */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-panel { min-height: auto; }
    .hero-copy h1 { font-size: clamp(2.6rem, 9vw, 4.5rem); }
    .feature-card { min-height: 280px; }

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

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

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

    .footer-content { grid-template-columns: 1fr 1fr; }
}

/* =========================
   Responsive - Mobile nav <= 820px
========================= */
@media (max-width: 820px) {
    .navbar { top: 8px; padding-top: 8px; }
    .mobile-menu-toggle { display: inline-flex; }

    /* Hide ALL nav-cta content on mobile, overriding any inline styles */
    .nav-cta,
    .nav-cta * {
        display: none !important;
    }

    .navbar-inner {
        position: relative;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
    }

    .logo-wrap {
        gap: 0;
        height: 40px;
        padding: 0;
    }

    .logo-wordmark {
        display: none;
    }

    .navbar-inner::after {
        content: 'PhenomeBeauty';
        font-family: var(--font-display);
        font-size: 1rem;
        color: #ffffff;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        pointer-events: none;
        grid-column: 2;
        grid-row: 1;
    }

    .mobile-menu-toggle {
        flex: 0 0 auto;
        grid-column: 3;
        grid-row: 1;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 10px;
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(6,6,8,0.96), rgba(4,4,6,0.94));
        border: 1px solid rgba(255,255,255,0.13);
        box-shadow:
            0 22px 55px rgba(0,0,0,0.55),
            inset 0 1px 0 rgba(255,255,255,0.10);
        backdrop-filter: blur(40px) saturate(160%);
        -webkit-backdrop-filter: blur(40px) saturate(160%);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

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

    .nav-menu a {
        width: 100%;
        justify-content: flex-start;
        padding: 13px 14px;
        border-radius: 14px;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .booking-content { grid-template-columns: 1fr; }
    .phone-mockup { order: -1; }
    .phone-frame { width: min(100%, 240px); }
}

/* =========================
   Responsive - Small mobile <= 600px
========================= */
@media (max-width: 600px) {
    :root {
        --section-pad: 18px;
        --radius-xl: 20px;
    }

    .container { width: calc(100% - 16px); }
    .navbar-inner { padding: 6px 10px; }
    .logo-img { height: 30px; }

    .section { padding: 7px 0; }
    .hero { padding: 10px 0 7px; }
    .hero-panel { border-radius: 22px; padding: 18px; min-height: auto; }
    .hero-copy h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); margin-bottom: 12px; }
    .hero-copy > p { margin-bottom: 18px; }
    .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 16px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-meta { gap: 6px; }
    .meta-pill { font-size: 0.76rem; padding: 6px 10px; }
    .feature-card { min-height: 220px; }
    .hero-mini-grid { gap: 8px; }
    .hero-mini-card { min-height: 80px; padding: 10px; border-radius: 14px; }
    .hero-mini-card span { font-size: 0.73rem; }

    .promo-grid { grid-template-columns: 1fr; }
    .promo-card { aspect-ratio: 4 / 3; }

    .guides-grid { grid-template-columns: 1fr; }
    .guide-card--image { aspect-ratio: 4 / 3; }

    .blog-grid,
    .services-grid { grid-template-columns: 1fr; }

    .glass-panel,
    .section-inner { border-radius: 20px; padding: 18px; }

    .blog-card { border-radius: 16px; min-height: auto; padding: 18px; }

    .service-card { border-radius: 14px; padding: 16px; }

    .service-accordion > summary { padding: 14px 16px; }
    .accordion-body { padding: 0 14px 14px; }
    .summary-left h3 { font-size: 1.2rem; }
    .summary-right .category-cta { display: none; }

    .booking-info { border-radius: 18px; }
    .booking-info h3 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
    .booking-info .btn { width: 100%; justify-content: center; }
    .booking-features li { padding: 10px 12px; font-size: 0.86rem; border-radius: 11px; }

    .phone-frame { width: min(100%, 200px); border-radius: 28px; }
    .phone-screen { border-radius: 20px; }

    .footer-content { grid-template-columns: 1fr; gap: 20px; }
    .footer-shell { border-radius: 20px; padding: 18px; }
    .footer-bottom { font-size: 0.78rem; flex-direction: column; align-items: flex-start; }
}
