/* ==========================================================================
   ЛЕД Реклама Варна — Design system
   Dark "LED screen" palette: deep night navy + emerald/teal glow + RGB accents
   Colour tokens are HSL triplets so they compose with alpha via hsl(var(--x) / a)
   ========================================================================== */

:root {
    --background: 224 39% 6%;
    --foreground: 210 30% 96%;

    --card: 223 33% 9%;
    --card-foreground: 210 30% 96%;

    --popover: 223 36% 8%;
    --popover-foreground: 210 30% 96%;

    --primary: 160 78% 44%;
    --primary-foreground: 224 45% 5%;
    --primary-glow: 165 88% 56%;

    --secondary: 220 26% 15%;
    --secondary-foreground: 210 30% 96%;

    --muted: 220 22% 13%;
    --muted-foreground: 214 16% 64%;

    --accent: 190 92% 50%;
    --accent-foreground: 224 45% 5%;

    --destructive: 0 72% 51%;
    --destructive-foreground: 210 30% 98%;

    --success: 152 62% 45%;
    --warning: 38 92% 55%;

    --border: 219 24% 17%;
    --input: 219 24% 17%;
    --ring: 160 78% 44%;

    --radius: 0.85rem;

    --led-red: 0 84% 61%;
    --led-green: 142 70% 48%;
    --led-blue: 217 91% 62%;

    --gradient-primary: linear-gradient(135deg, hsl(160 80% 40%), hsl(182 74% 46%));
    --gradient-teal-glow: linear-gradient(120deg, hsl(160 85% 52%), hsl(190 88% 52%));
    --gradient-surface: linear-gradient(180deg, hsl(223 33% 10%), hsl(224 40% 6%));
    --gradient-hero: linear-gradient(90deg, hsl(224 44% 4% / .97) 0%, hsl(224 44% 4% / .78) 42%, hsl(224 44% 4% / .30) 100%);
    --gradient-rgb: linear-gradient(90deg, hsl(0 84% 61%), hsl(142 70% 48%), hsl(217 91% 62%));

    --shadow-glow: 0 0 48px -10px hsl(160 82% 46% / .5);
    --shadow-card: 0 22px 50px -26px hsl(224 65% 2% / .9);
    --shadow-elegant: 0 34px 70px -30px hsl(224 65% 2% / .95);

    --transition-smooth: .35s cubic-bezier(.4, 0, .2, 1);

    --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Oswald", system-ui, -apple-system, "Segoe UI", sans-serif;

    --header-h: 72px;
    --container: 1280px;
    --container-pad: 1.25rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid hsl(var(--border)); }

/* Any author display declaration outranks the user-agent [hidden] rule, so
   .btn, .cart-count and .chat-panel would all stay on screen while carrying
   the attribute. One !important here is cheaper than opting out per component. */
[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: .01em;
    margin: 0;
    font-weight: 600;
    line-height: 1.15;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

::selection { background: hsl(var(--primary) / .35); color: hsl(var(--foreground)); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: hsl(224 39% 8%); }
::-webkit-scrollbar-thumb { background: hsl(219 20% 24%); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: hsl(160 60% 38%); }

:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout primitives ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.site { display: flex; min-height: 100vh; flex-direction: column; }
.site-main { flex: 1 1 auto; }

.section { padding-block: 6rem; }
.section--tight { padding-block: 4rem; }
.section--surface { background-image: var(--gradient-surface); border-block: 1px solid hsl(var(--border)); }
.page-hero { position: relative; padding-top: 9rem; padding-bottom: 3.5rem; overflow: hidden; }
.page-hero .container { position: relative; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stretch { align-items: stretch; }

/* ---------- Decorative backgrounds ---------- */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(hsl(var(--border) / .55) 1px, transparent 1px),
        linear-gradient(90deg, hsl(var(--border) / .55) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
    opacity: .3;
    pointer-events: none;
}

.pixel-grid { display: grid; pointer-events: none; }
.pixel-grid span { border-radius: 999px; animation: pixel-flicker 2.6s ease-in-out infinite; }
.pixel-grid--float { position: absolute; top: 6rem; right: 1.5rem; opacity: .2; }

.rgb-dots { display: inline-flex; gap: .25rem; align-items: center; }
.rgb-dots i { width: 6px; height: 6px; border-radius: 999px; display: block; }
.rgb-dots i:nth-child(1) { background: hsl(var(--led-red)); }
.rgb-dots i:nth-child(2) { background: hsl(var(--led-green)); }
.rgb-dots i:nth-child(3) { background: hsl(var(--led-blue)); }

/* ---------- Type helpers ---------- */
.font-display { font-family: var(--font-display); }
.text-gradient {
    background-image: var(--gradient-teal-glow);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.muted { color: hsl(var(--muted-foreground)); }
.small { font-size: .8125rem; }
.tiny { font-size: .75rem; }
.strong { font-weight: 700; color: hsl(var(--foreground)); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: hsl(var(--primary));
}

.section-heading { display: flex; flex-direction: column; gap: 1rem; max-width: 42rem; }
.section-heading--center { margin-inline: auto; text-align: center; align-items: center; }
.section-heading h2 {
    font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
    text-transform: uppercase;
    line-height: 1.1;
}
.section-heading p { color: hsl(var(--muted-foreground)); }

.page-hero h1 {
    font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.05;
    margin-top: 1rem;
}
.page-hero .lede { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    white-space: nowrap;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 600;
    font-size: .875rem;
    height: 2.25rem;
    padding-inline: 1rem;
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth), filter var(--transition-smooth), transform var(--transition-smooth);
    cursor: pointer;
    text-align: center;
}
.btn:disabled { opacity: .5; pointer-events: none; }
.btn svg { width: 1rem; height: 1rem; flex: none; }

.btn--lg { height: 2.75rem; padding-inline: 2rem; font-size: 1rem; }
.btn--xl { height: 3.5rem; padding-inline: 2.5rem; font-size: 1rem; border-radius: var(--radius); }
.btn--xl svg, .btn--lg svg { width: 1.25rem; height: 1.25rem; }
.btn--icon { height: 2.5rem; width: 2.5rem; padding: 0; border-radius: 999px; }
.btn--block { width: 100%; }

.btn--hero {
    background-image: var(--gradient-teal-glow);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-glow);
}
.btn--hero:hover { filter: brightness(1.1); }

.btn--outline {
    border: 1px solid hsl(var(--primary) / .45);
    background: hsl(var(--primary) / .05);
    color: hsl(var(--foreground));
}
.btn--outline:hover { background: hsl(var(--primary) / .15); border-color: hsl(var(--primary) / .7); }

.btn--ghost {
    border: 1px solid hsl(var(--border) / .7);
    background: hsl(var(--background) / .3);
    color: hsl(var(--foreground));
    backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: hsl(var(--secondary) / .6); }

.btn--secondary { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.btn--secondary:hover { background: hsl(var(--secondary) / .8); }

.btn--danger { background: hsl(var(--destructive) / .12); color: hsl(var(--destructive)); border: 1px solid hsl(var(--destructive) / .35); }
.btn--danger:hover { background: hsl(var(--destructive) / .2); }

.btn.is-busy { pointer-events: none; opacity: .75; }
.btn.is-busy::after {
    content: "";
    width: 1rem; height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: spin .7s linear infinite;
}

/* ---------- Badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border-radius: 999px;
    padding: .25rem .625rem;
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.4;
}
.badge--popular { background-image: var(--gradient-teal-glow); color: hsl(var(--primary-foreground)); }
.badge--value { background: hsl(var(--warning)); color: hsl(var(--background)); }
.badge--outline { border: 1px solid hsl(var(--primary) / .4); color: hsl(var(--primary)); background: transparent; }
.badge--soft { background: hsl(var(--primary) / .12); color: hsl(var(--primary)); }

/* ---------- Cards ---------- */
.card {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    border-radius: 1rem;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}
.card--hover:hover { transform: translateY(-6px); border-color: hsl(var(--primary) / .4); }
.card--glow { border-color: hsl(var(--primary) / .5); box-shadow: var(--shadow-glow); }

.glass {
    background: hsl(223 33% 9% / .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.icon-tile {
    display: grid;
    place-items: center;
    height: 3rem;
    width: 3rem;
    border-radius: .75rem;
    background: linear-gradient(135deg, hsl(var(--primary) / .2), hsl(var(--accent) / .1));
    color: hsl(var(--primary));
    flex: none;
}
.icon-tile svg { width: 1.5rem; height: 1.5rem; }
.icon-tile--sm { height: 2.75rem; width: 2.75rem; background: hsl(var(--primary) / .12); }
.icon-tile--sm svg { width: 1.25rem; height: 1.25rem; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes pixel-flicker {
    0%, 100% { opacity: 1; }
    45%      { opacity: .35; }
    60%      { opacity: .9; }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%      { opacity: .4; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 50;
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: hsl(223 33% 9% / .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: hsl(var(--border) / .7);
    box-shadow: var(--shadow-card);
}
.site-header .nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.site-logo img { height: 2rem; width: auto; }
.site-logo .logo-text { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; font-weight: 700; }

.primary-nav { display: none; align-items: center; gap: 2.25rem; }
.primary-nav a {
    position: relative;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: hsl(var(--muted-foreground));
    padding-block: .25rem;
    transition: color var(--transition-smooth);
}
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    border-radius: 999px;
    background-image: var(--gradient-rgb);
    transition: width var(--transition-smooth);
}
.primary-nav a:hover { color: hsl(var(--foreground)); }
.primary-nav a:hover::after { width: 100%; }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-parent > a,
.primary-nav a[aria-current="page"] { color: hsl(var(--foreground)); }
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav .current-menu-parent > a::after,
.primary-nav a[aria-current="page"]::after { width: 100%; }
.primary-nav ul { display: flex; align-items: center; gap: 2.25rem; }

.header-actions { display: flex; align-items: center; gap: .5rem; }

/* Language switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid hsl(var(--border));
    border-radius: 999px;
    padding: 2px;
    background: hsl(var(--card) / .6);
}
.lang-switch a {
    display: grid;
    place-items: center;
    min-width: 2.125rem;
    height: 1.875rem;
    padding-inline: .5rem;
    border-radius: 999px;
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: hsl(var(--muted-foreground));
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}
.lang-switch a:hover { color: hsl(var(--foreground)); }
.lang-switch a.is-active {
    background-image: var(--gradient-teal-glow);
    color: hsl(var(--primary-foreground));
}

/* Cart button */
.cart-toggle { position: relative; }
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    place-items: center;
    height: 1.25rem;
    min-width: 1.25rem;
    padding-inline: .25rem;
    border-radius: 999px;
    background-image: var(--gradient-teal-glow);
    color: hsl(var(--primary-foreground));
    font-size: .6875rem;
    font-weight: 800;
}
.cart-count[hidden] { display: none; }

/* Mobile drawer */
.nav-toggle { display: inline-flex; }
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    visibility: hidden;
    pointer-events: none;
}
.mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav__scrim {
    position: absolute;
    inset: 0;
    background: hsl(224 44% 3% / .7);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}
.mobile-nav.is-open .mobile-nav__scrim { opacity: 1; }
.mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 86%;
    max-width: 24rem;
    background: hsl(var(--card));
    border-left: 1px solid hsl(var(--border));
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__close { position: absolute; top: 1.25rem; right: 1.25rem; color: hsl(var(--muted-foreground)); }
.mobile-nav__links { display: flex; flex-direction: column; gap: .25rem; margin-top: 2rem; }
.mobile-nav__links a {
    border-radius: .75rem;
    padding: .75rem 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}
.mobile-nav__links a:hover { background: hsl(var(--secondary)); }
.mobile-nav__links .current-menu-item > a,
.mobile-nav__links .current_page_item > a { background: hsl(var(--primary) / .12); color: hsl(var(--primary)); }
.mobile-nav__links ul { display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav__foot { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid hsl(var(--border)); }

.phone-link { display: flex; align-items: center; gap: .75rem; }
.phone-link .icon-tile { border-radius: 999px; }

/* ==========================================================================
   Hero (front page)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { height: 100%; width: 100%; object-fit: cover; }
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--gradient-hero);
}
.hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--background)), transparent 45%, hsl(var(--background) / .4));
}
.hero .container { position: relative; z-index: 10; padding-top: 7rem; padding-bottom: 4rem; }
.hero__inner { max-width: 42rem; }
.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    border: 1px solid hsl(var(--primary) / .3);
    background: hsl(var(--primary) / .1);
    padding: .375rem 1rem;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: hsl(var(--primary));
}
.hero h1 {
    margin-top: 1.5rem;
    font-size: clamp(2.25rem, 1rem + 5vw, 4.5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.02;
}
.hero h1 span { display: block; }
.hero__lede { margin-top: 1.5rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 36rem; }
.hero__lede strong { color: hsl(var(--foreground)); font-weight: 600; }
.hero__cta { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1rem; }
.hero__meta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2rem;
    font-size: .875rem;
    color: hsl(var(--muted-foreground));
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); }
.dot-live { width: 8px; height: 8px; border-radius: 999px; background: hsl(var(--primary)); animation: pulse-dot 2s ease-in-out infinite; }
.hero__fade { position: absolute; bottom: 0; inset-inline: 0; height: 6rem; background: linear-gradient(to top, hsl(var(--background)), transparent); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 10; margin-top: -1rem; }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stat {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card) / .8);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}
.stat:hover { transform: translateY(-6px); border-color: hsl(var(--primary) / .4); }
.stat__value { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 700; }
.stat__label { margin-top: .5rem; font-size: .875rem; font-weight: 600; }
.stat__sub { margin-top: .25rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }

/* ---------- Clients marquee ---------- */
.marquee { position: relative; overflow: hidden; }
.marquee__track { display: flex; width: max-content; gap: 1.25rem; padding-inline: .75rem; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee::before, .marquee::after {
    content: "";
    position: absolute;
    inset-block: 0;
    width: 4rem;
    z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, hsl(var(--background)), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, hsl(var(--background)), transparent); }
.client-logo {
    flex: none;
    display: grid;
    place-items: center;
    height: 6rem;
    width: 6rem;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}
.client-logo:hover { transform: translateY(-4px); border-color: hsl(var(--primary) / .5); }
.client-logo img { height: 100%; width: 100%; object-fit: cover; }

.pill-row { margin-top: 3.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }
.pill {
    border-radius: 999px;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card) / .6);
    padding: .5rem 1.25rem;
    font-size: .875rem;
    font-weight: 500;
    color: hsl(var(--foreground) / .85);
}
.pill--primary { border-color: hsl(var(--primary) / .3); background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }

/* ---------- Feature / step cards ---------- */
.feature { padding: 1.75rem; }
.feature h3 { margin-top: 1.25rem; font-size: 1.25rem; text-transform: uppercase; }
.feature p { margin-top: .5rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }

.step { position: relative; padding: 1.75rem; }
.step__num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: hsl(var(--primary) / .15); line-height: 1; }
.step .icon-tile { position: absolute; top: 1.75rem; right: 1.75rem; }
.step h3 { margin-top: .75rem; font-size: 1.25rem; text-transform: uppercase; }
.step p { margin-top: .5rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }

/* ---------- Locations ---------- */
.location { display: flex; flex-direction: column; overflow: hidden; }
.location__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.location__media img { height: 100%; width: 100%; object-fit: cover; transition: transform .7s ease; }
.location:hover .location__media img { transform: scale(1.05); }
.location__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--card)), hsl(var(--card) / .2) 60%, transparent);
}
.location__tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    border-radius: 999px;
    background: hsl(var(--background) / .7);
    backdrop-filter: blur(8px);
    padding: .25rem .75rem;
    font-size: .75rem;
    font-weight: 600;
}
.location__tag svg { width: .875rem; height: .875rem; color: hsl(var(--primary)); }
.location__body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem; }
.location__body h3 { font-size: 1.5rem; text-transform: uppercase; }
.location__short { margin-top: .25rem; font-size: .875rem; font-weight: 500; color: hsl(var(--primary)); }
.location__desc { margin-top: .75rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.location__traffic { margin-top: auto; padding-top: 1.25rem; display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: hsl(var(--foreground) / .8); }
.location__traffic svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); flex: none; }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; padding: 1.75rem; }
.testimonial__quote { width: 2rem; height: 2rem; color: hsl(var(--primary) / .4); }
.testimonial p { margin-top: 1rem; flex: 1; font-size: .875rem; color: hsl(var(--foreground) / .9); }
.testimonial__foot { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.testimonial__name { font-weight: 600; font-size: .875rem; }
.testimonial__role { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.stars { display: flex; gap: 1px; }
.stars svg { width: 1rem; height: 1rem; fill: hsl(var(--warning)); color: hsl(var(--warning)); }

/* ---------- CTA banner ---------- */
.cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid hsl(var(--primary) / .3);
    background: hsl(var(--card));
    padding: 2.5rem;
    box-shadow: var(--shadow-glow);
}
.cta-banner__inner { position: relative; max-width: 42rem; }
.cta-banner h2 { font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.cta-banner p { margin-top: 1.25rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); }
.cta-banner__actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1rem; }
.cta-banner__pixels { position: absolute; right: -1.5rem; top: 50%; transform: translateY(-50%); opacity: .3; display: none; }

/* ==========================================================================
   Product (package) cards & single
   ========================================================================== */
.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.package-card__flag { position: absolute; top: 1rem; right: 1rem; z-index: 10; }
.package-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.package-card__media img { height: 100%; width: 100%; object-fit: cover; transition: transform .7s ease; }
.package-card:hover .package-card__media img { transform: scale(1.05); }
.package-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--card)), hsl(var(--card) / .4) 55%, transparent);
}
.package-card__minutes {
    position: absolute;
    bottom: .75rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 500;
    color: hsl(var(--foreground) / .9);
}
.package-card__minutes svg { width: .875rem; height: .875rem; color: hsl(var(--primary)); }
.package-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.package-card__meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.package-card__period { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: hsl(var(--primary)); }
.package-card__rate { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.package-card__body h3 { margin-top: .25rem; font-size: 1.5rem; text-transform: uppercase; }
.package-card__tagline { margin-top: .5rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }

.checklist { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.checklist li { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: hsl(var(--foreground) / .9); }
.checklist svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); flex: none; margin-top: .25rem; }

.package-card__price { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid hsl(var(--border)); }
.package-card__price-row { display: flex; align-items: flex-end; gap: .5rem; }
.package-card__price-row .from { font-size: .75rem; color: hsl(var(--muted-foreground)); margin-bottom: .25rem; }
.package-card__price-row .amount { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; }
.package-card__price .sub { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.package-card__cta { margin-top: 1.25rem; }
.package-card__spacer { margin-top: auto; }

/* Single package */
.single-package { display: grid; gap: 2.5rem; align-items: start; }
.single-package__media { position: relative; overflow: hidden; border-radius: 1.5rem; border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-elegant); }
.single-package__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.single-package__media-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    background: hsl(var(--background) / .7);
    backdrop-filter: blur(8px);
    padding: .375rem .75rem;
    font-size: .75rem;
    font-weight: 600;
}
.single-package__media-tag svg { width: .875rem; height: .875rem; color: hsl(var(--primary)); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.breadcrumb a:hover { color: hsl(var(--foreground)); }
.breadcrumb svg { width: 1rem; height: 1rem; }
.breadcrumb [aria-current] { color: hsl(var(--foreground)); font-weight: 500; }

.single-package__flags { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.single-package h1 { margin-top: 1rem; font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3rem); font-weight: 700; text-transform: uppercase; }
.single-package__tagline { margin-top: .75rem; color: hsl(var(--muted-foreground)); }

.fact-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.fact { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: .75rem; padding: 1rem; }
.fact__label { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.fact__value { margin-top: .25rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.fact__value small { font-size: .875rem; color: hsl(var(--muted-foreground)); font-family: var(--font-sans); font-weight: 400; }

.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.option {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    border-radius: .75rem;
    padding: 1rem;
    text-align: left;
    transition: border-color var(--transition-smooth), background-color var(--transition-smooth), box-shadow var(--transition-smooth);
    cursor: pointer;
    display: block;
    width: 100%;
}
.option:hover { border-color: hsl(var(--primary) / .4); }
.option.is-selected { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .1); box-shadow: var(--shadow-glow); }
.option__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.option__name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; text-transform: uppercase; }
.option__check { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); opacity: 0; transition: opacity var(--transition-smooth); }
.option.is-selected .option__check { opacity: 1; }
.option__price { margin-top: .25rem; display: block; font-size: .875rem; font-weight: 700; color: hsl(var(--primary)); }
.option__note { font-size: .75rem; color: hsl(var(--muted-foreground)); }

.buy-box { margin-top: 2rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 1rem; padding: 1.25rem; }
.buy-box__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.buy-box__total-label { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.buy-box__total { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; }
.buy-box__total-eur { font-size: .75rem; color: hsl(var(--muted-foreground)); }

.qty { display: inline-flex; align-items: center; gap: .25rem; border: 1px solid hsl(var(--border)); border-radius: 999px; padding: .25rem; }
.qty button {
    display: grid;
    place-items: center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 999px;
    color: hsl(var(--muted-foreground));
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}
.qty button:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.qty svg { width: 1rem; height: 1rem; }
.qty input {
    width: 2.5rem;
    text-align: center;
    font-weight: 600;
    background: transparent;
    border: 0;
    -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.note-box { margin-top: 1.5rem; display: flex; gap: .75rem; border: 1px solid hsl(var(--border)); background: hsl(var(--background) / .4); border-radius: .75rem; padding: 1rem; }
.note-box svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); flex: none; margin-top: .125rem; }
.note-box p { font-size: .875rem; color: hsl(var(--muted-foreground)); }
.note-box a { color: hsl(var(--primary)); font-weight: 500; }
.note-box a:hover { text-decoration: underline; }

.loc-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.loc-tags span { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.loc-tags svg { width: .875rem; height: .875rem; color: hsl(var(--primary)); }

/* ---------- Price table ---------- */
.price-table-wrap { overflow: hidden; border-radius: 1rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); box-shadow: var(--shadow-card); }
.price-table-scroll { overflow-x: auto; }
.price-table { min-width: 720px; font-size: .875rem; }
.price-table thead tr { background-image: var(--gradient-primary); }
.price-table th {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .02em;
    color: hsl(var(--primary-foreground));
    padding: 1rem 1.25rem;
    text-align: center;
    font-weight: 600;
}
.price-table th:first-child { text-align: left; }
.price-table th.is-best { background: rgb(0 0 0 / .15); }
.price-table td { padding: 1rem 1.25rem; text-align: center; border-top: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); }
.price-table td:first-child { text-align: left; font-weight: 600; color: hsl(var(--foreground)); }
.price-table td.is-best { background: hsl(var(--primary) / .1); font-weight: 700; color: hsl(var(--primary)); }
.price-table tbody tr:nth-child(odd) { background: hsl(var(--background) / .3); }
.price-table-notes { padding: 1rem 1.25rem; border-top: 1px solid hsl(var(--border)); display: flex; flex-direction: column; gap: .375rem; }
.price-table-notes p { display: flex; align-items: flex-start; gap: .5rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.price-table-notes svg { width: .875rem; height: .875rem; color: hsl(var(--primary)); flex: none; margin-top: .25rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 0;
    height: 240px;
    text-align: left;
}
.gallery-item img { height: 100%; width: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(224 44% 4% / .92), hsl(224 44% 4% / .15) 55%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    gap: .25rem;
}
.gallery-item__title { font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; }
.gallery-item__loc { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.gallery-item__loc svg { width: .875rem; height: .875rem; color: hsl(var(--primary)); }
.gallery-item__icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 999px;
    background: hsl(var(--background) / .65);
    backdrop-filter: blur(6px);
    color: hsl(var(--foreground));
    opacity: 0;
    transition: opacity var(--transition-smooth);
}
.gallery-item:hover .gallery-item__icon { opacity: 1; }
.gallery-item__icon svg { width: 1.125rem; height: 1.125rem; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: hsl(224 44% 3% / .92);
    backdrop-filter: blur(6px);
    animation: fade-in .2s ease;
}
.lightbox.is-open { display: flex; }
.lightbox__inner { max-width: 72rem; width: 100%; }
.lightbox img, .lightbox video { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 1rem; }
.lightbox__caption { margin-top: 1rem; text-align: center; font-family: var(--font-display); text-transform: uppercase; }
.lightbox__close { position: absolute; top: 1.5rem; right: 1.5rem; color: hsl(var(--foreground)); }
.lightbox__close svg { width: 1.75rem; height: 1.75rem; }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .875rem; font-weight: 500; }
.field label .req { color: hsl(var(--destructive)); }

.input, .textarea, .select {
    width: 100%;
    border: 1px solid hsl(var(--input));
    background: hsl(var(--background));
    border-radius: calc(var(--radius) - 2px);
    padding: .625rem .875rem;
    font-size: .9375rem;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: hsl(var(--primary) / .6);
    box-shadow: 0 0 0 3px hsl(var(--primary) / .15);
}
.input::placeholder, .textarea::placeholder { color: hsl(var(--muted-foreground) / .8); }
.textarea { resize: vertical; min-height: 8rem; }

.form-grid { display: grid; gap: 1.25rem; }
.form-stack { display: flex; flex-direction: column; gap: 1.25rem; }

.checkbox-row { display: flex; align-items: flex-start; gap: .625rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.checkbox-row input[type="checkbox"] { margin-top: .25rem; accent-color: hsl(var(--primary)); width: 1rem; height: 1rem; flex: none; }
.checkbox-row a { color: hsl(var(--primary)); }
.checkbox-row a:hover { text-decoration: underline; }

.notice {
    display: flex;
    gap: .75rem;
    border-radius: .75rem;
    padding: 1rem;
    font-size: .875rem;
    border: 1px solid;
}
.notice svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: .125rem; }
.notice--success { border-color: hsl(var(--success) / .4); background: hsl(var(--success) / .1); color: hsl(var(--success)); }
.notice--error { border-color: hsl(var(--destructive) / .4); background: hsl(var(--destructive) / .1); color: hsl(var(--destructive)); }
.notice--info { border-color: hsl(var(--primary) / .35); background: hsl(var(--primary) / .08); color: hsl(var(--primary)); }

.contact-card { display: flex; align-items: center; gap: 1rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 1rem; padding: 1.5rem; transition: border-color var(--transition-smooth); }
.contact-card:hover { border-color: hsl(var(--primary) / .5); }
.contact-card--primary { border-color: hsl(var(--primary) / .3); box-shadow: var(--shadow-glow); }
.contact-card .icon-tile { height: 3.5rem; width: 3.5rem; border-radius: 1rem; }
.contact-card--primary .icon-tile { background-image: var(--gradient-teal-glow); color: hsl(var(--primary-foreground)); }
.contact-card__label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: hsl(var(--muted-foreground)); }
.contact-card__value { font-weight: 600; overflow-wrap: anywhere; }
.contact-card__value--big { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }

.map-card { overflow: hidden; border-radius: 1rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.map-card__head { padding: 1rem 1.25rem; border-bottom: 1px solid hsl(var(--border)); }
.map-card__head p:first-child { font-family: var(--font-display); text-transform: uppercase; }
.map-card iframe { width: 100%; height: 16rem; filter: grayscale(.2) contrast(1.1); border: 0; }
.map-placeholder {
    height: 16rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    text-align: center;
    padding: 1.5rem;
    background: hsl(var(--background) / .5);
}
.map-placeholder p { font-size: .875rem; color: hsl(var(--muted-foreground)); max-width: 22rem; }

/* ==========================================================================
   Cart
   ========================================================================== */
.cart-drawer { position: fixed; inset: 0; z-index: 65; visibility: hidden; pointer-events: none; }
.cart-drawer.is-open { visibility: visible; pointer-events: auto; }
.cart-drawer__scrim { position: absolute; inset: 0; background: hsl(224 44% 3% / .7); opacity: 0; transition: opacity var(--transition-smooth); }
.cart-drawer.is-open .cart-drawer__scrim { opacity: 1; }
.cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 92%;
    max-width: 27rem;
    background: hsl(var(--card));
    border-left: 1px solid hsl(var(--border));
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
}
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid hsl(var(--border)); }
.cart-drawer__head h2 { font-size: 1.25rem; text-transform: uppercase; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.cart-drawer__foot { border-top: 1px solid hsl(var(--border)); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }

.cart-line { display: flex; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid hsl(var(--border)); }
.cart-line:last-child { border-bottom: 0; }
.cart-line__media { width: 5rem; height: 4rem; border-radius: .625rem; overflow: hidden; flex: none; background: hsl(var(--secondary)); }
.cart-line__media img { height: 100%; width: 100%; object-fit: cover; }
.cart-line__body { flex: 1; min-width: 0; }
.cart-line__name { font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; }
.cart-line__meta { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.cart-line__row { margin-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cart-line__price { font-weight: 700; }
.cart-line__remove { color: hsl(var(--muted-foreground)); transition: color var(--transition-smooth); }
.cart-line__remove:hover { color: hsl(var(--destructive)); }
.cart-line__remove svg { width: 1rem; height: 1rem; }

.cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding-block: 3rem; }
.cart-empty svg { width: 3rem; height: 3rem; color: hsl(var(--muted-foreground) / .5); }

.totals { display: flex; flex-direction: column; gap: .5rem; }
.totals__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.totals__row--grand { padding-top: .75rem; border-top: 1px solid hsl(var(--border)); font-size: 1rem; color: hsl(var(--foreground)); }
.totals__row--grand .value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }

.cart-table { width: 100%; }
.cart-table th { text-align: left; font-family: var(--font-display); text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; color: hsl(var(--muted-foreground)); padding-bottom: .75rem; font-weight: 600; }
.cart-table td { padding-block: 1rem; border-top: 1px solid hsl(var(--border)); vertical-align: middle; }
.cart-table .col-right { text-align: right; }

.checkout-grid { display: grid; gap: 2rem; align-items: start; }
.checkout-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); }

.pay-methods { display: flex; flex-direction: column; gap: .75rem; }
.pay-method {
    display: flex;
    gap: .875rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    border-radius: .75rem;
    padding: 1rem;
    cursor: pointer;
    transition: border-color var(--transition-smooth), background-color var(--transition-smooth);
}
.pay-method:hover { border-color: hsl(var(--primary) / .4); }
.pay-method.is-selected { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .08); }
.pay-method input { margin-top: .25rem; accent-color: hsl(var(--primary)); flex: none; }
.pay-method__title { font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.pay-method__title svg { width: 1.125rem; height: 1.125rem; color: hsl(var(--primary)); }
.pay-method__desc { font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-top: .125rem; }

.card-brands { display: flex; align-items: center; gap: .375rem; margin-left: auto; }
.card-brands svg { height: 1.375rem; width: auto; }

.secure-note { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.secure-note svg { width: .875rem; height: .875rem; color: hsl(var(--success)); }

.order-success { max-width: 40rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.order-success__icon { display: grid; place-items: center; height: 5rem; width: 5rem; border-radius: 999px; background: hsl(var(--primary) / .12); color: hsl(var(--primary)); }
.order-success__icon svg { width: 2.5rem; height: 2.5rem; }
.order-box { width: 100%; text-align: left; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 1rem; padding: 1.5rem; }

/* ==========================================================================
   Legal / editorial content
   ========================================================================== */
.prose { max-width: 52rem; color: hsl(var(--foreground) / .88); }
.prose > * + * { margin-top: 1.125rem; }
.prose h2 {
    margin-top: 2.75rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: hsl(var(--foreground));
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.prose h3 { margin-top: 2rem; font-size: 1.125rem; color: hsl(var(--foreground)); }
.prose p, .prose li { font-size: .9375rem; line-height: 1.75; }
.prose ul, .prose ol { margin-top: .75rem; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: hsl(var(--foreground)); }
.prose table { margin-top: 1rem; font-size: .875rem; border: 1px solid hsl(var(--border)); border-radius: .75rem; overflow: hidden; }
.prose th { background: hsl(var(--secondary)); text-align: left; padding: .75rem 1rem; font-family: var(--font-display); text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; }
.prose td { padding: .75rem 1rem; border-top: 1px solid hsl(var(--border)); vertical-align: top; }
.prose hr { border-top: 1px solid hsl(var(--border)); margin-block: 2rem; }
.prose blockquote { border-left: 3px solid hsl(var(--primary) / .5); padding-left: 1rem; color: hsl(var(--muted-foreground)); }
.prose code { background: hsl(var(--secondary)); padding: .125rem .375rem; border-radius: .25rem; font-size: .875em; }

.legal-layout { display: grid; gap: 2.5rem; align-items: start; }
.legal-toc { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 1rem; padding: 1.25rem; }
.legal-toc h2 { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; color: hsl(var(--muted-foreground)); }
.legal-toc ol { margin-top: .875rem; display: flex; flex-direction: column; gap: .5rem; counter-reset: toc; }
.legal-toc a { font-size: .8125rem; color: hsl(var(--muted-foreground)); transition: color var(--transition-smooth); display: block; }
.legal-toc a:hover, .legal-toc a.is-active { color: hsl(var(--primary)); }
.legal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-top: 1rem; }
.legal-meta span { display: inline-flex; align-items: center; gap: .375rem; }
.legal-meta svg { color: hsl(var(--primary)); flex: none; }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cookie-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 80;
    padding: 1rem;
    transform: translateY(120%);
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.cookie-bar.is-visible { transform: none; }
.cookie-bar__inner {
    max-width: var(--container);
    margin-inline: auto;
    border: 1px solid hsl(var(--primary) / .28);
    background: hsl(223 33% 9% / .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cookie-bar__top { display: flex; gap: .875rem; }
.cookie-bar__top .icon-tile { height: 2.5rem; width: 2.5rem; border-radius: .625rem; }
.cookie-bar__top .icon-tile svg { width: 1.25rem; height: 1.25rem; }
.cookie-bar h2 { font-size: 1.125rem; text-transform: uppercase; }
.cookie-bar p { margin-top: .375rem; font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.cookie-bar p a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions { display: flex; flex-direction: column; gap: .5rem; }
.cookie-bar__actions .btn { width: 100%; }

.cookie-prefs { display: none; flex-direction: column; gap: .75rem; padding-top: 1rem; border-top: 1px solid hsl(var(--border)); }
.cookie-prefs.is-open { display: flex; }
.cookie-cat {
    display: flex;
    gap: .875rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--background) / .5);
    border-radius: .75rem;
    padding: .875rem 1rem;
}
.cookie-cat__body { flex: 1; }
.cookie-cat__name { font-weight: 600; font-size: .875rem; }
.cookie-cat__desc { font-size: .75rem; color: hsl(var(--muted-foreground)); margin-top: .125rem; }

.switch { position: relative; display: inline-flex; flex: none; align-items: center; width: 2.75rem; height: 1.5rem; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch__track {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    transition: background-color var(--transition-smooth);
    position: relative;
}
.switch__track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 999px;
    background: hsl(var(--muted-foreground));
    transition: transform var(--transition-smooth), background-color var(--transition-smooth);
}
.switch input:checked + .switch__track { background: hsl(var(--primary) / .3); border-color: hsl(var(--primary) / .5); }
.switch input:checked + .switch__track::after { transform: translateX(1.2rem); background: hsl(var(--primary)); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + .switch__track { opacity: .65; }
.switch input:focus-visible + .switch__track { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }

.cookie-reopen {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 45;
    display: none;
    align-items: center;
    gap: .5rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card) / .9);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: .5rem .875rem;
    font-size: .75rem;
    color: hsl(var(--muted-foreground));
    box-shadow: var(--shadow-card);
    transition: color var(--transition-smooth), border-color var(--transition-smooth);
}
.cookie-reopen.is-visible { display: inline-flex; }
.cookie-reopen:hover { color: hsl(var(--foreground)); border-color: hsl(var(--primary) / .5); }
.cookie-reopen svg { width: .875rem; height: .875rem; }

.consent-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px dashed hsl(var(--border));
    border-radius: .75rem;
    background: hsl(var(--background) / .5);
}
.consent-block svg { width: 1.75rem; height: 1.75rem; color: hsl(var(--muted-foreground)); }
.consent-block p { font-size: .8125rem; color: hsl(var(--muted-foreground)); max-width: 24rem; }

/* ==========================================================================
   Toasts
   ========================================================================== */
.toast-stack {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: min(92vw, 24rem);
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    display: flex;
    gap: .75rem;
    border: 1px solid hsl(var(--border));
    background: hsl(223 36% 8% / .96);
    backdrop-filter: blur(12px);
    border-radius: .75rem;
    padding: .875rem 1rem;
    box-shadow: var(--shadow-elegant);
    animation: fade-in .25s ease;
}
.toast--success { border-color: hsl(var(--success) / .45); }
.toast--error { border-color: hsl(var(--destructive) / .45); }
.toast svg { width: 1.125rem; height: 1.125rem; flex: none; margin-top: .125rem; }
.toast--success svg { color: hsl(var(--success)); }
.toast--error svg { color: hsl(var(--destructive)); }
.toast__title { font-weight: 600; font-size: .875rem; }
.toast__desc { font-size: .75rem; color: hsl(var(--muted-foreground)); margin-top: .125rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; margin-top: 6rem; border-top: 1px solid hsl(var(--border)); background-image: var(--gradient-surface); }
.site-footer__rgb { height: 4px; width: 100%; background-image: var(--gradient-rgb); }
.site-footer__grid { display: grid; gap: 3rem; padding-block: 4rem; }
.site-footer h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1.25rem; }
.site-footer ul { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.site-footer a { color: hsl(var(--muted-foreground)); transition: color var(--transition-smooth); }
.site-footer a:hover { color: hsl(var(--primary)); }
.site-footer__about { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-top: 1.25rem; max-width: 20rem; }
.site-footer__slogan { margin-top: 1rem; font-family: var(--font-display); font-size: .875rem; text-transform: uppercase; letter-spacing: .15em; color: hsl(var(--primary)); }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; color: hsl(var(--muted-foreground)); }
.footer-contact svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); flex: none; margin-top: .25rem; }
.site-footer__bottom {
    padding-block: 2rem;
    border-top: 1px solid hsl(var(--border));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}
.site-footer__bottom p, .site-footer__bottom a { font-size: .75rem; color: hsl(var(--muted-foreground)); }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; }

/* Back to top */
.to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: grid;
    place-items: center;
    height: 2.75rem;
    width: 2.75rem;
    border-radius: 999px;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card) / .9);
    backdrop-filter: blur(10px);
    color: hsl(var(--foreground));
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
    box-shadow: var(--shadow-card);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: hsl(var(--primary) / .6); }
.to-top svg { width: 1.125rem; height: 1.125rem; }

/* ==========================================================================
   Editor / archive fallbacks
   ========================================================================== */
.post-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card__media img { height: 100%; width: 100%; object-fit: cover; }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.post-card__body h2 { font-size: 1.25rem; text-transform: uppercase; }
.post-card__meta { font-size: .75rem; color: hsl(var(--muted-foreground)); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination .page-numbers {
    display: grid;
    place-items: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding-inline: .625rem;
    border-radius: .625rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    font-size: .875rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    transition: border-color var(--transition-smooth), color var(--transition-smooth);
}
.pagination .page-numbers:hover { color: hsl(var(--foreground)); border-color: hsl(var(--primary) / .5); }
.pagination .page-numbers.current { background-image: var(--gradient-teal-glow); color: hsl(var(--primary-foreground)); border-color: transparent; }

.error-404 { text-align: center; max-width: 36rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.error-404__code { font-family: var(--font-display); font-size: clamp(4rem, 2rem + 12vw, 9rem); font-weight: 700; line-height: 1; }

.search-form { display: flex; gap: .5rem; }
.search-form .input { flex: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
    .hero__cta, .cta-banner__actions { flex-direction: row; }
    .stats__grid { gap: 1.5rem; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cookie-bar__actions { flex-direction: row; justify-content: flex-end; }
    .cookie-bar__actions .btn { width: auto; }
    .cookie-bar__inner { padding: 1.5rem; }
    .cta-banner { padding: 4rem; }
    .site-logo img { height: 2.25rem; }
    .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
    .client-logo { height: 7rem; width: 7rem; }
    .marquee::before, .marquee::after { width: 7rem; }
    .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .grid-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cta-banner__pixels { display: grid; }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-item.is-tall { grid-row: span 2; height: auto; min-height: 240px; }
}

@media (min-width: 1024px) {
    .primary-nav { display: flex; }
    .nav-toggle { display: none; }
    .grid-lg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 240px; }
    .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; }
    .single-package { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
    .single-package__media-wrap { position: sticky; top: calc(var(--header-h) + 1.5rem); }
    .checkout-grid { grid-template-columns: 1.35fr 1fr; }
    .legal-layout { grid-template-columns: 16rem 1fr; gap: 3.5rem; }
    .legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
    .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; align-items: center; }
    .contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
    .pricing-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
    .pricing-cta__right { text-align: right; }
}

@media (max-width: 1023px) {
    .split { display: flex; flex-direction: column; gap: 2rem; }
    .contact-layout { display: flex; flex-direction: column; gap: 2rem; }
    .pricing-cta { display: flex; flex-direction: column; gap: 2rem; }
}

@media (max-width: 639px) {
    .section { padding-block: 4rem; }
    .page-hero { padding-top: 7.5rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .fact-grid { grid-template-columns: 1fr; }
    .btn--xl { height: 3.25rem; padding-inline: 1.5rem; font-size: .9375rem; }
    .cta-banner { padding: 2rem 1.5rem; }
    .cart-table thead { display: none; }
    .cart-table td { display: block; border-top: 0; padding-block: .25rem; }
    .cart-table tr { display: block; border-top: 1px solid hsl(var(--border)); padding-block: 1rem; }
    .cart-table .col-right { text-align: left; }
}

/* Print — legal pages are commonly printed/archived */
@media print {
    .site-header, .site-footer, .cookie-bar, .cookie-reopen, .to-top, .cart-drawer, .mobile-nav, .toast-stack, .legal-toc { display: none !important; }
    body { background: #fff; color: #111; }
    .prose, .prose h2, .prose h3, .prose strong { color: #111; }
    .prose a { color: #111; }
    .page-hero { padding-top: 1rem; }
}

/* ==========================================================================
   Chat assistant
   ========================================================================== */
.chat-widget { position: fixed; right: 1rem; bottom: 1rem; z-index: 75; }

.chat-fab {
    position: relative;
    display: grid;
    place-items: center;
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 999px;
    background-image: var(--gradient-teal-glow);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-glow), var(--shadow-card);
    transition: transform var(--transition-smooth), filter var(--transition-smooth);
}
.chat-fab:hover { filter: brightness(1.08); transform: translateY(-2px); }
.chat-fab__open,
.chat-fab__close { display: grid; place-items: center; transition: opacity .2s ease, transform .2s ease; }
.chat-fab__close { position: absolute; opacity: 0; transform: rotate(-45deg) scale(.6); }
.chat-widget.is-open .chat-fab__open { opacity: 0; transform: rotate(45deg) scale(.6); }
.chat-widget.is-open .chat-fab__close { opacity: 1; transform: none; }

.chat-fab__dot {
    position: absolute;
    top: 2px;
    right: 2px;
    height: .625rem;
    width: .625rem;
    border-radius: 999px;
    background: hsl(var(--led-red));
    border: 2px solid hsl(var(--background));
    animation: ledr-pulse-dot 2s ease-in-out infinite;
}
.chat-widget.is-open .chat-fab__dot,
.chat-widget.is-seen .chat-fab__dot { display: none; }

.chat-panel {
    position: absolute;
    right: 0;
    bottom: 4.25rem;
    width: min(92vw, 23rem);
    max-height: min(78vh, 34rem);
    display: flex;
    flex-direction: column;
    border: 1px solid hsl(var(--border));
    background: hsl(223 36% 8% / .98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem;
    box-shadow: var(--shadow-elegant);
    overflow: hidden;
    transform-origin: bottom right;
    animation: ledr-chat-in .28s cubic-bezier(.4, 0, .2, 1);
}

@keyframes ledr-chat-in {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to   { opacity: 1; transform: none; }
}

.chat-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1rem;
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--card) / .6);
}
.chat-avatar {
    display: grid;
    place-items: center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 999px;
    background: hsl(var(--primary) / .12);
    border: 1px solid hsl(var(--primary) / .3);
    flex: none;
}
.chat-avatar .rgb-dots { gap: 2px; }
.chat-avatar .rgb-dots i { width: 4px; height: 4px; }
.chat-head__text { flex: 1; min-width: 0; }
.chat-head__title { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: .9375rem; }
.chat-head__status { display: flex; align-items: center; gap: .375rem; font-size: .6875rem; color: hsl(var(--muted-foreground)); }
.chat-head__status .dot-live { width: 6px; height: 6px; }
.chat-head__btn {
    display: grid;
    place-items: center;
    height: 1.875rem;
    width: 1.875rem;
    border-radius: .5rem;
    color: hsl(var(--muted-foreground));
    flex: none;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}
.chat-head__btn:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }

.chat-log {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    scrollbar-width: thin;
}

.chat-msg { display: flex; max-width: 100%; animation: ledr-fade-in .25s ease; }
.chat-msg__bubble {
    border-radius: 1rem;
    padding: .75rem .875rem;
    font-size: .875rem;
    line-height: 1.55;
    max-width: 88%;
    overflow-wrap: anywhere;
}
.chat-msg--bot { justify-content: flex-start; }
.chat-msg--bot .chat-msg__bubble {
    background: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    border-bottom-left-radius: .25rem;
    color: hsl(var(--foreground) / .92);
}
.chat-msg--user { justify-content: flex-end; }
.chat-msg--user .chat-msg__bubble {
    background-image: var(--gradient-teal-glow);
    color: hsl(var(--primary-foreground));
    border-bottom-right-radius: .25rem;
    font-weight: 500;
}
.chat-msg__bubble p + p { margin-top: .5rem; }
.chat-msg__bubble a { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 2px; }
.chat-msg--user .chat-msg__bubble a { color: inherit; }
.chat-msg__bubble strong { color: hsl(var(--foreground)); font-weight: 700; }
.chat-msg--user .chat-msg__bubble strong { color: inherit; }

.chat-list { margin-top: .5rem; display: flex; flex-direction: column; gap: .375rem; }
.chat-list li { padding-left: .875rem; position: relative; }
.chat-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: hsl(var(--primary));
}
.chat-list--ordered li::before { display: none; }
.chat-list--ordered li { padding-left: 0; }
.chat-dim { color: hsl(var(--muted-foreground)); font-size: .8125rem; }

.chat-typing { display: inline-flex; align-items: center; gap: .25rem; padding: .125rem 0; }
.chat-typing i {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: hsl(var(--muted-foreground));
    animation: ledr-chat-bounce 1.2s infinite ease-in-out;
}
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }

@keyframes ledr-chat-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: .45; }
    30%           { transform: translateY(-4px); opacity: 1; }
}

.chat-quick { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; padding: 0 1rem .75rem; }
.chat-quick__label {
    flex-basis: 100%;
    font-size: .6875rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: hsl(var(--muted-foreground));
    margin-bottom: .125rem;
}
.chat-quick__label:empty { display: none; }
.chat-quick:empty { display: none; }
.chat-chip {
    border: 1px solid hsl(var(--primary) / .35);
    background: hsl(var(--primary) / .08);
    color: hsl(var(--foreground));
    border-radius: 999px;
    padding: .375rem .75rem;
    font-size: .75rem;
    font-weight: 600;
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}
.chat-chip:hover { background: hsl(var(--primary) / .18); border-color: hsl(var(--primary) / .6); }

.chat-form { display: flex; gap: .5rem; padding: .75rem 1rem; border-top: 1px solid hsl(var(--border)); }
.chat-input {
    flex: 1;
    min-width: 0;
    border: 1px solid hsl(var(--input));
    background: hsl(var(--background));
    border-radius: 999px;
    padding: .5rem .875rem;
    font-size: .875rem;
}
.chat-input:focus { outline: none; border-color: hsl(var(--primary) / .6); box-shadow: 0 0 0 3px hsl(var(--primary) / .15); }
.chat-send {
    display: grid;
    place-items: center;
    height: 2.25rem;
    width: 2.25rem;
    flex: none;
    border-radius: 999px;
    background-image: var(--gradient-teal-glow);
    color: hsl(var(--primary-foreground));
    transition: filter var(--transition-smooth);
}
.chat-send:hover { filter: brightness(1.1); }

.chat-disclaimer {
    padding: 0 1rem .75rem;
    font-size: .6875rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
}

/* The back-to-top button and the chat launcher share the bottom-right corner. */
.to-top { bottom: 5.25rem; }

/* The consent bar spans the full width and would sit on top of the launcher.
   Step the chat aside until the visitor has answered it. */
.cookie-bar.is-visible ~ .chat-widget {
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

@media (max-width: 639px) {
    .chat-panel { right: -.25rem; width: calc(100vw - 1.5rem); max-height: 72vh; }
}

@media print {
    .chat-widget { display: none !important; }
}

/* ==========================================================================
   Utility odds and ends used by the templates
   ========================================================================== */
.btn--sm { height: 2rem; padding-inline: .75rem; font-size: .75rem; }

.hide-on-mobile { display: none; }
@media (min-width: 1024px) { .hide-on-mobile { display: inline-flex; } }

@media (min-width: 1024px) { .pixel-grid--float { display: grid !important; } }

.widget { padding: 1.5rem; }
.widget + .widget { margin-top: 1.5rem; }
.widget-title { font-size: .875rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.widget ul { display: flex; flex-direction: column; gap: .625rem; font-size: .875rem; }
.widget a { color: hsl(var(--muted-foreground)); transition: color var(--transition-smooth); }
.widget a:hover { color: hsl(var(--primary)); }

/* Core block output inside .prose */
.prose .wp-block-image { margin-block: 1.75rem; }
.prose .wp-block-image img { border-radius: .75rem; }
.prose .wp-block-quote { border-left: 3px solid hsl(var(--primary) / .5); padding-left: 1rem; }
.prose .wp-block-button__link { display: inline-flex; align-items: center; border-radius: calc(var(--radius) - 2px); background-image: var(--gradient-teal-glow); color: hsl(var(--primary-foreground)); padding: .625rem 1.5rem; font-weight: 600; text-decoration: none; }
.prose .wp-block-separator { border-top: 1px solid hsl(var(--border)); }
.prose figcaption { font-size: .8125rem; color: hsl(var(--muted-foreground)); margin-top: .5rem; }

/* Comments */
.comment-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.comment-list li { list-style: none; }
.comment-body { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: .75rem; padding: 1.25rem; }
.comment-meta { font-size: .75rem; color: hsl(var(--muted-foreground)); margin-bottom: .5rem; }
.comment-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%;
    border: 1px solid hsl(var(--input));
    background: hsl(var(--background));
    border-radius: calc(var(--radius) - 2px);
    padding: .625rem .875rem;
}
.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    height: 2.75rem;
    padding-inline: 2rem;
    border-radius: calc(var(--radius) - 2px);
    background-image: var(--gradient-teal-glow);
    color: hsl(var(--primary-foreground));
    font-weight: 600;
    cursor: pointer;
}
