/* ===========================================================
   WEBA — DARK / NEON edition
   Black space background, glowing cyan clouds, interactive.
   =========================================================== */

/* ---------- Fonts (self-hosted, so visitors' IPs never go to Google) ----------
   Raleway and Fasthand, SIL Open Font License 1.1. Latin sets only;
   Raleway has no Greek letters, so Greek text uses the fallback in --font. */
/* Fasthand normal, latin */
@font-face {
    font-family: 'Fasthand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/fasthand-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Raleway italic, latin-ext */
@font-face {
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/raleway-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Raleway italic, latin */
@font-face {
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/raleway-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Raleway normal, latin-ext */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/raleway-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Raleway normal, latin */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('fonts/raleway-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg:           #05070d;
    --bg-2:         #0a0f1c;
    --cyan:         #8ee5ff;
    --cyan-bright:  #c4f3ff;
    --cyan-deep:    #4cc6ef;
    --indigo:       #7d8ae6;
    --text:         #e3eef9;
    --muted:        #93a7bd;
    --panel:        rgba(255, 255, 255, 0.04);
    --panel-2:      rgba(255, 255, 255, 0.06);
    --border:       rgba(142, 229, 255, 0.18);
    --border-hi:    rgba(142, 229, 255, 0.45);
    --glow:         rgba(110, 226, 255, 0.55);
    --glow-soft:    rgba(110, 226, 255, 0.22);
    --radius:       22px;
    --radius-sm:    14px;
    --maxw:         1180px;
    --nav-h:        72px;
    --font:         'Raleway', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.65;
    background:
        radial-gradient(1100px 700px at 18% 6%,  rgba(20, 44, 86, .55), transparent 60%),
        radial-gradient(1000px 800px at 85% 90%, rgba(76, 198, 239, .12), transparent 55%),
        var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { color: #fff; line-height: 1.15; font-weight: 700; }
::selection { background: var(--cyan); color: #04121b; }

.skip-link {
    position: absolute; left: 50%; top: 8px;
    transform: translateX(-50%) translateY(-150%);
    background: var(--cyan); color: #04121b; font-weight: 700;
    padding: 10px 18px; border-radius: 0 0 12px 12px; z-index: 200;
    text-decoration: none; transition: transform .25s ease;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ---------- Starfield + glowing clouds ---------- */
.stars {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background: url(wimages/stars.png) repeat;
    opacity: .5;
    animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .6; } }

.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.cloud {
    position: absolute;
    mix-blend-mode: screen;
    opacity: .9;
    will-change: transform;
}
.cloud--1 { width: 55vw; top: 2%;  left: -14%; animation: drift1 65s linear infinite alternate; }
.cloud--2 { width: 46vw; top: 40%; left: 58%;  animation: drift2 80s linear infinite alternate; opacity: .8; }
.cloud--3 { width: 62vw; top: 66%; left: -12%; animation: drift3 95s linear infinite alternate; opacity: .75; }

@keyframes drift1 { from { transform: translate(0,0); } to { transform: translate(34vw, 6vh); } }
@keyframes drift2 { from { transform: translate(0,0); } to { transform: translate(-40vw,-5vh); } }
@keyframes drift3 { from { transform: translate(0,0); } to { transform: translate(30vw,-4vh); } }

/* ---------- Navbar ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
    display: flex; align-items: center;
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(5, 7, 13, .72);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
}
.nav__inner {
    width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo {                 /* the full WEBA wordmark (sphere W + EBA) */
    height: 54px; width: auto;
    filter: drop-shadow(0 0 8px var(--glow-soft));
}
.footer .brand__logo { height: 66px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
    text-decoration: none; color: var(--text); font-weight: 600; font-size: .98rem;
    padding: 10px 16px; border-radius: 10px;
    transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: var(--cyan-bright); background: rgba(142, 229, 255, .1); }
.nav__cta {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
    color: #04121b !important; margin-left: 6px;
    box-shadow: 0 0 18px var(--glow-soft);
}
.nav__cta:hover { box-shadow: 0 0 26px var(--glow); }

/* Language switch: EN | EL pill, current language highlighted */
.lang-switch {
    display: inline-flex; align-items: center; gap: 2px; margin-left: 10px;
    padding: 3px; border: 1px solid var(--border); border-radius: 999px;
    font-size: .8rem; font-weight: 700; letter-spacing: 1px; line-height: 1;
}
.lang-switch > span, .nav__links .lang-switch a {
    padding: 6px 10px; border-radius: 999px; font-size: .8rem; color: var(--muted);
}
.lang-switch [aria-current] { background: rgba(142, 229, 255, .14); color: var(--cyan-bright); }

.nav__toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
}
.nav__toggle span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--cyan); transition: transform .3s ease, opacity .3s ease; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border: none; border-radius: 999px;
    font-family: var(--font); font-weight: 700; font-size: 1rem; cursor: pointer;
    text-decoration: none; position: relative;
    transition: transform .12s ease, box-shadow .25s ease, background .2s ease;
}
.btn--primary {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
    color: #04121b; box-shadow: 0 0 22px var(--glow-soft);
}
.btn--primary:hover { box-shadow: 0 0 34px var(--glow); }
.btn--ghost {
    background: rgba(142, 229, 255, .05); color: var(--cyan-bright);
    border: 1px solid var(--border-hi);
}
.btn--ghost:hover { background: rgba(142, 229, 255, .12); box-shadow: 0 0 24px var(--glow-soft); }
.btn--full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh; display: flex; align-items: center; gap: 40px;
    max-width: var(--maxw); margin: 0 auto;
    padding: calc(var(--nav-h) + 40px) 24px 80px; position: relative;
}
.hero__content { max-width: 620px; }
.hero__eyebrow {
    text-transform: uppercase; letter-spacing: 5px; font-weight: 700; font-size: .85rem;
    color: var(--cyan); margin-bottom: 10px; text-shadow: 0 0 12px var(--glow-soft);
}
.hero__title {
    font-size: clamp(4rem, 14vw, 9rem); font-weight: 800; letter-spacing: 4px;
    line-height: .95; margin-bottom: 18px;
    background: linear-gradient(100deg, var(--cyan-bright), var(--indigo), var(--cyan));
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 26px rgba(110, 226, 255, .35));
    animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 540px; }
.hero__tagline {
    font-family: 'Fasthand', cursive; font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--cyan-bright); margin: 18px 0 28px; text-shadow: 0 0 18px var(--glow);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__logo { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.hero__logo::before {
    content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
    filter: blur(6px); z-index: 0;
}
/* The sphere stays still; weba1.js rolls the W toward the cursor like an eyeball. */
.hero__eye {
    position: relative; z-index: 1; display: block;
    width: min(420px, 44vw); height: auto; overflow: visible;
}

.hero__scroll {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    width: 26px; height: 42px; border: 2px solid var(--border-hi); border-radius: 16px; opacity: .8;
}
.hero__scroll span {
    position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
    background: var(--cyan); border-radius: 4px; box-shadow: 0 0 8px var(--glow);
    animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px; }
.section__head { text-align: center; margin-bottom: 50px; }
.section__eyebrow {
    text-transform: uppercase; letter-spacing: 4px; font-weight: 700; font-size: .82rem;
    color: var(--cyan); margin-bottom: 10px; text-shadow: 0 0 12px var(--glow-soft);
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about__text { font-size: 1.15rem; color: var(--muted); }
.about__cards { display: grid; gap: 18px; }
.mini-card {
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 22px 24px; backdrop-filter: blur(6px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mini-card:hover { transform: translateY(-4px); border-color: var(--border-hi); box-shadow: 0 0 28px var(--glow-soft); }
.mini-card__num { font-weight: 800; font-size: 1.4rem; color: var(--cyan); }
.mini-card h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.mini-card p { font-size: .98rem; color: var(--muted); }

/* ---------- Services (with 3D tilt) ---------- */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
@media (min-width: 1000px) {     /* five services: three on top, two wider ones below */
    .services__grid { grid-template-columns: repeat(6, 1fr); }
    .services__grid > .card { grid-column: span 2; }
    .services__grid > .card:nth-child(n+4) { grid-column: span 3; }
}
.card {
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 28px; backdrop-filter: blur(8px);
    transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
    transform-style: preserve-3d; will-change: transform;
}
.card:hover, .card.is-tilted { border-color: var(--border-hi); box-shadow: 0 14px 40px -10px rgba(0,0,0,.6), 0 0 30px var(--glow-soft); }
/* Touch: while a finger is steering the card it follows quickly; a tap eases into place. */
.card.is-tilted { transition: transform .35s ease, box-shadow .25s ease, border-color .25s ease; }
.card.is-held   { transition: transform .08s linear, box-shadow .25s ease, border-color .25s ease; }
@media (pointer: coarse) {
    /* A long press should steer the card, not select its text. */
    .card { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
}
.card__icon {
    width: 62px; height: 62px; display: grid; place-items: center; font-size: 1.8rem;
    border-radius: 16px; margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(142,229,255,.2), rgba(76,198,239,.06));
    border: 1px solid var(--border); box-shadow: 0 0 18px var(--glow-soft);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { font-size: 1rem; color: var(--muted); }

/* ---------- Work / project gallery ---------- */
.work__lead { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-size: 1.05rem; }

.work__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 38px; }
.chip {
    font-family: var(--font); font-size: .92rem; font-weight: 700; letter-spacing: .5px;
    padding: 9px 20px; border-radius: 999px; cursor: pointer;
    background: rgba(142, 229, 255, .05); color: var(--muted);
    border: 1px solid var(--border);
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.chip:hover { color: var(--cyan-bright); border-color: var(--border-hi); }
.chip.is-active {
    color: #04121b; border-color: transparent;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
    box-shadow: 0 0 22px var(--glow-soft);
}

.work__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }

.work-card {
    display: flex; flex-direction: column;
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; backdrop-filter: blur(8px);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, opacity .3s ease;
}
.work-card:hover {
    transform: translateY(-6px); border-color: var(--border-hi);
    box-shadow: 0 18px 46px -14px rgba(0,0,0,.7), 0 0 34px var(--glow-soft);
}
/* Filtered out — collapses without breaking the grid flow. */
.work-card.is-hidden { display: none; }
/* Re-entering the grid after a filter change. */
.work-card.is-entering { animation: cardIn .45s cubic-bezier(.2,.7,.3,1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

.work-card__preview {
    display: block; width: 100%; padding: 0; border: none; cursor: pointer; position: relative;
    background: linear-gradient(180deg, #0d1524, #070b14);
    border-bottom: 1px solid var(--border);
    font-family: var(--font);
}
.work-card__preview:focus-visible { outline: 2px solid var(--cyan); outline-offset: -4px; }

.work-card__bar {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px; background: rgba(255,255,255,.045);
    border-bottom: 1px solid rgba(142,229,255,.12);
}
.work-card__dots { display: inline-flex; gap: 6px; flex: none; }
.work-card__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(142,229,255,.28); }
.work-card__dots i:first-child { background: rgba(255,122,144,.55); }
.work-card__dots i:nth-child(2) { background: rgba(255,206,120,.55); }
.work-card__dots i:last-child  { background: rgba(86,230,168,.55); }
.work-card__url {
    flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    text-align: left; font-size: .76rem; letter-spacing: .3px; color: var(--muted);
    background: rgba(0,0,0,.28); border-radius: 999px; padding: 4px 12px;
}

.work-card__shot { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.work-card__shot img {
    width: 100%; height: 100%; object-fit: cover; object-position: top center;
    transition: transform .6s cubic-bezier(.2,.7,.3,1), filter .4s ease;
    filter: saturate(.92) brightness(.92);
}
.work-card:hover .work-card__shot img { transform: scale(1.05); filter: saturate(1) brightness(1); }

/* Cyan wash + sheen sweep, so the shots sit inside the neon world. */
.work-card__shot::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(76,198,239,.10), transparent 45%, rgba(5,7,13,.55));
    transition: opacity .4s ease;
}
.work-card:hover .work-card__shot::before { opacity: .45; }
.work-card__shot::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(196,243,255,.22) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform .85s cubic-bezier(.2,.7,.3,1);
}
.work-card:hover .work-card__shot::after { transform: translateX(120%); }

/* "Open preview" hint that fades in over the shot. */
.work-card__preview::after {
    content: "Open preview";
    position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 14px); z-index: 3;
    font-size: .82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: #04121b; background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
    padding: 9px 20px; border-radius: 999px; box-shadow: 0 0 24px var(--glow);
    opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.work-card:hover .work-card__preview::after,
.work-card__preview:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

.work-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 26px; flex: 1; }
.work-card__title { font-size: 1.2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.work-card__kind {
    font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px;
    color: var(--cyan-bright); background: rgba(142,229,255,.1);
    border: 1px solid var(--border); padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.work-card__text { font-size: .97rem; color: var(--muted); }
.work-card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.work-card__tags li {
    font-size: .76rem; font-weight: 600; color: var(--muted);
    background: rgba(255,255,255,.04); border: 1px solid rgba(142,229,255,.12);
    padding: 4px 11px; border-radius: 8px;
}
.work-card__live {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
    color: var(--cyan); font-weight: 700; font-size: .95rem; text-decoration: none;
    transition: color .2s ease, gap .2s ease;
}
.work-card__live span { transition: transform .2s ease; }
.work-card__live:hover { color: var(--cyan-bright); gap: 11px; }
.work-card__live:hover span { transform: translate(2px, -2px); }

.work__empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.05rem; }
/* Only the first six until "See all" is pressed (weba1.js); phones swipe instead. */
.work-card.is-extra { display: none; }
.work__more { display: flex; justify-content: center; margin-top: 34px; }
.work__more[hidden] { display: none; }
.work__dots { display: none; }

.work__cta {
    margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 18px 28px; text-align: center;
    border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 36px;
    background: linear-gradient(135deg, rgba(20,44,86,.5), rgba(142,229,255,.05));
    box-shadow: 0 0 50px -14px var(--glow-soft);
}
.work__cta p { font-size: 1.1rem; color: var(--text); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing__lead { max-width: 660px; margin: 14px auto 0; color: var(--muted); font-size: 1.05rem; }
.pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .price-card__for { font-size: .98rem; margin-bottom: 18px; }
.price-card .price-card__price {
    font-size: 2.1rem; font-weight: 800; line-height: 1.1; color: var(--cyan-bright);
    text-shadow: 0 0 18px var(--glow-soft); margin-bottom: 20px;
}
.price-card .price-card__price span {
    font-size: .95rem; font-weight: 600; color: var(--muted); text-shadow: none; margin-right: 4px;
}
.price-card__list {
    list-style: none; display: grid; gap: 9px; align-content: start;
    padding-top: 18px; border-top: 1px solid var(--border);
}
.price-card__list li { position: relative; padding-left: 24px; font-size: .95rem; line-height: 1.5; }
.price-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.price-card--featured {
    border-color: var(--border-hi);
    background: linear-gradient(180deg, rgba(142,229,255,.09), rgba(255,255,255,.03));
    box-shadow: 0 0 40px -12px var(--glow);
}
.price-card__badge {
    position: absolute; top: -13px; left: 28px;
    padding: 4px 14px; border-radius: 999px;
    font-size: .72rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    color: #04121b; background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
    box-shadow: 0 0 18px var(--glow-soft);
}
/* Line the prices and lists up across cards that sit in the same row. */
@supports (grid-template-rows: subgrid) {
    .pricing__grid { row-gap: 0; margin-bottom: -24px; }
    .price-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 24px; }
}
.pricing__note p { max-width: 640px; font-size: 1.02rem; font-weight: 500; color: var(--muted); }
.pricing__note strong { color: var(--text); }

/* Video ads: a smaller second group of price cards under the website packages */
.pricing__video { margin-top: 80px; }
.pricing__subhead { margin-bottom: 40px; }
.pricing__subtitle { font-size: clamp(1.5rem, 3.2vw, 2rem); }
.pricing__grid--video { max-width: 780px; margin-inline: auto; }

/* ---------- Lightbox slideshow ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
    position: absolute; inset: 0; background: rgba(3, 5, 10, .86);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    animation: fadeIn .3s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__panel {
    position: relative; z-index: 1;
    width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow-y: auto;
    background: linear-gradient(180deg, rgba(13,21,36,.96), rgba(7,11,20,.98));
    border: 1px solid var(--border-hi); border-radius: var(--radius);
    box-shadow: 0 30px 90px -20px rgba(0,0,0,.9), 0 0 60px -10px var(--glow-soft);
    animation: lbIn .35s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes lbIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

.lightbox__close {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.7rem; line-height: 1;
    color: var(--cyan-bright); background: rgba(5,7,13,.7); border: 1px solid var(--border-hi);
    transition: background .2s ease, box-shadow .25s ease, transform .2s ease;
}
.lightbox__close:hover { background: rgba(142,229,255,.16); box-shadow: 0 0 22px var(--glow-soft); transform: rotate(90deg); }

.lightbox__frame { border-bottom: 1px solid var(--border); background: #070b14; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.lightbox__bar {
    display: flex; align-items: center; gap: 12px; padding: 12px 64px 12px 16px;
    background: rgba(255,255,255,.045); border-bottom: 1px solid rgba(142,229,255,.12);
}
.lightbox__url {
    flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: .82rem; color: var(--muted);
    background: rgba(0,0,0,.3); border-radius: 999px; padding: 5px 14px;
}
/* Fixed height (not aspect-ratio, which would shrink the width to match) so the
   title, tags and live link always stay above the fold on desktop. */
.lightbox__shot { position: relative; width: 100%; height: 54vh; background: #05070d; }
.lightbox__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lightbox__shot img.is-swapping { opacity: 0; }
.lightbox__shot img { transition: opacity .25s ease; }

.lightbox__info { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 14px; }
.lightbox__heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.lightbox__heading h3 { font-size: 1.5rem; }
.lightbox__info p { color: var(--muted); }
.lightbox__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.lightbox__count { font-size: .9rem; font-weight: 700; color: var(--cyan); letter-spacing: 1px; }

.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
    font-size: 2rem; line-height: 1; padding-bottom: 4px;
    color: var(--cyan-bright); background: rgba(5,7,13,.75); border: 1px solid var(--border-hi);
    transition: background .2s ease, box-shadow .25s ease, transform .2s ease;
}
.lightbox__nav:hover { background: rgba(142,229,255,.16); box-shadow: 0 0 26px var(--glow-soft); }
.lightbox__nav--prev { left: 26px; }
.lightbox__nav--next { right: 26px; }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }

body.lb-open { overflow: hidden; }

@media (max-width: 1240px) {
    .lightbox__nav { top: auto; bottom: 22px; transform: none; width: 46px; height: 46px; font-size: 1.7rem; }
    .lightbox__nav--prev { left: 22px; }
    .lightbox__nav--next { left: 76px; right: auto; }
    .lightbox__nav--prev:hover, .lightbox__nav--next:hover { transform: none; }
    .lightbox { padding: 16px; }
}
@media (max-width: 620px) {
    /* Phones: one swipeable row with the next card peeking in, not a long column */
    .work__grid {
        display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scroll-padding-inline: 18px;
        margin-inline: -18px; padding: 6px 18px 10px; scrollbar-width: none;
    }
    .work__grid::-webkit-scrollbar { display: none; }
    .work-card { flex: 0 0 86%; scroll-snap-align: start; }
    .work-card.is-extra { display: flex; }
    .work-card__body { padding: 18px 20px 20px; gap: 10px; }
    .work-card__text {                     /* full text is in the full-screen view */
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
    }
    .work__more, .work__more[hidden] { display: none; }
    .work__dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
    .work__dots i {
        width: 7px; height: 7px; border-radius: 4px; background: rgba(142,229,255,.25);
        transition: width .25s ease, background .25s ease;
    }
    .work__dots i.is-on { width: 20px; background: var(--cyan); box-shadow: 0 0 10px var(--glow-soft); }
    .lightbox__panel { max-height: calc(100vh - 32px); }
    /* Narrow screens: show the whole page rather than a cropped slice of it. */
    .lightbox__shot { height: auto; aspect-ratio: 16 / 10; }
    .lightbox__info { padding: 22px 20px 84px; }
    .lightbox__heading h3 { font-size: 1.25rem; }
    .lightbox__actions { flex-direction: column; align-items: stretch; }
    .lightbox__actions .btn { width: 100%; }
    .lightbox__count { text-align: center; }
    .work__cta { padding: 26px 22px; }
}

/* ---------- Contact ---------- */
.contact__panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 48px; backdrop-filter: blur(10px);
    box-shadow: 0 0 50px -10px rgba(110,226,255,.12);
}
.contact__intro .section__title { text-align: left; margin-bottom: 14px; }
.contact__text { margin-bottom: 24px; color: var(--muted); }
.contact__links { display: flex; flex-direction: column; gap: 12px; }
.contact__link {
    display: inline-flex; align-items: center; gap: 10px; color: var(--text);
    font-weight: 600; text-decoration: none; transition: color .2s ease;
}
.contact__link img { width: 24px; height: 24px; filter: drop-shadow(0 0 6px var(--glow-soft)); }
.contact__link:hover { color: var(--cyan-bright); }

.contact__form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--cyan); }
.field input, .field textarea {
    font-family: var(--font); font-size: 1rem; padding: 13px 16px;
    border: 1px solid var(--border); border-radius: 12px;
    background: rgba(255, 255, 255, .04); color: #fff; outline: none; resize: vertical;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #5f7488; }
.field input:focus, .field textarea:focus { border-color: var(--cyan-deep); box-shadow: 0 0 0 4px rgba(76,198,239,.16); }

.form-note { font-size: .82rem; color: var(--muted); margin-top: -6px; }
.form-note a { color: var(--cyan); }
/* Bot trap field: off-screen for people, still "fillable" for bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-msg { font-weight: 600; min-height: 1.2em; }
.form-msg.success { color: #56e6a8; }
.form-msg.error   { color: #ff7a90; }

.spinner {
    width: 18px; height: 18px; border: 3px solid rgba(4,18,27,.35); border-top-color: #04121b;
    border-radius: 50%; display: none; animation: spin .8s linear infinite;
}
.btn.loading .btn__label { opacity: .7; }
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(10,15,28,.6)); }
.footer__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 48px 24px 32px;
    display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.footer__tag { font-family: 'Fasthand', cursive; font-size: 1.4rem; color: var(--cyan); text-shadow: 0 0 14px var(--glow-soft); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer__links a { color: var(--text); text-decoration: none; font-weight: 600; transition: color .2s ease; }
.footer__links a:hover { color: var(--cyan-bright); }
.footer__copy { font-size: .9rem; color: var(--muted); }
.footer__legal { font-size: .85rem; color: var(--muted); margin-top: -8px; }
.footer__legal a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.footer__legal a:hover { color: var(--cyan-bright); }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 30px 24px 60px; }
.legal__updated { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 12px; }
.legal__body {
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 40px clamp(22px, 5vw, 48px);
}
.legal__body h2 { font-size: 1.25rem; color: var(--cyan-bright); margin: 36px 0 12px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { padding-left: 1.3em; margin: 10px 0; display: grid; gap: 6px; }
.legal__body a { color: var(--cyan); }
.legal__body dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin-top: 10px; }
.legal__body dt { color: var(--muted); }
/* Unfilled business details: visible on purpose so they get filled in before going live */
.legal__todo { background: rgba(255, 122, 144, .16); color: #ffb3c0; padding: 0 6px; border-radius: 6px; }
@media (max-width: 520px) {
    .legal__body dl { grid-template-columns: 1fr; gap: 2px; }
    .legal__body dd { margin-bottom: 8px; }
}

/* ---------- News page ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.news-hero { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--nav-h) + 70px) 24px 10px; text-align: center; }
.news-hero .section__title { font-size: clamp(2rem, 5vw, 3rem); }
.news-hero__lead { max-width: 620px; margin: 16px auto 0; font-size: 1.15rem; color: var(--muted); }
.news__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.news-card {
    position: relative;
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 12px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news-card:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: 0 0 30px var(--glow-soft); }
.news-card__tag {
    align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--cyan-bright); background: rgba(142,229,255,.1); border: 1px solid var(--border);
    padding: 6px 12px; border-radius: 999px;
}
.news-card h2 { font-size: 1.3rem; }
.news-card p { font-size: 1rem; color: var(--muted); }
.news-card__meta { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--cyan); }
.newsletter {
    margin-top: 48px; border: 1px solid var(--border-hi); border-radius: var(--radius);
    padding: 44px 48px; display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(20,44,86,.5), rgba(142,229,255,.06));
    box-shadow: 0 0 50px -12px var(--glow-soft);
}
.newsletter h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.newsletter p { color: var(--muted); margin-top: 6px; max-width: 420px; }
.newsletter__form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter__form input {
    font-family: var(--font); font-size: 1rem; padding: 14px 18px; border: 1px solid var(--border);
    border-radius: 999px; min-width: 240px; outline: none; background: rgba(255,255,255,.05); color: #fff;
}
.newsletter__form input::placeholder { color: var(--muted); }

/* Cards link to their article; the link covers the whole card */
.news-card__link { color: inherit; text-decoration: none; }
.news-card__link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.news-card__link:focus-visible { outline: none; }
.news-card:focus-within { border-color: var(--cyan); box-shadow: 0 0 30px var(--glow-soft); }
.news-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.news-card__top:empty { display: none; }
.news-card__badge {
    font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
    color: #04121b; background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
    padding: 6px 12px; border-radius: 999px; box-shadow: 0 0 18px var(--glow-soft);
}
.news-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.news-card__foot .news-card__meta { margin-top: 0; }
.news-card__more { font-size: .85rem; font-weight: 700; color: var(--cyan-bright); }

/* Article of the month: full width and glowing */
.news-card--featured {
    grid-column: 1 / -1; padding: 40px clamp(24px, 4vw, 48px); border-color: var(--border-hi);
    background: linear-gradient(135deg, rgba(20,44,86,.55), rgba(142,229,255,.06));
    box-shadow: 0 0 50px -12px var(--glow-soft);
}
.news-card--featured h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.news-card--featured p { font-size: 1.1rem; max-width: 720px; }
.news__empty { text-align: center; color: var(--muted); font-size: 1.1rem; }

/* ---------- Article page ---------- */
.article { max-width: 800px; margin: 0 auto; padding: 30px 24px 60px; }
.article__meta { margin-top: 14px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.article__body {
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 44px clamp(22px, 5vw, 52px); font-size: 1.08rem; line-height: 1.8;
}
.article__body > * + * { margin-top: 18px; }
.article__body h2 { font-size: 1.45rem; color: var(--cyan-bright); margin-top: 40px; }
.article__body h3 { font-size: 1.15rem; margin-top: 30px; }
.article__body ul, .article__body ol { padding-left: 1.4em; display: grid; gap: 8px; }
.article__body a { color: var(--cyan); }
.article__body strong { color: #fff; }
.article__cta {
    margin-top: 40px; text-align: center; border: 1px solid var(--border-hi); border-radius: var(--radius);
    padding: 40px 28px; background: linear-gradient(135deg, rgba(20,44,86,.5), rgba(142,229,255,.06));
    box-shadow: 0 0 50px -12px var(--glow-soft);
}
.article__cta h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.article__cta p { color: var(--muted); margin: 10px auto 22px; max-width: 480px; }
.article__more { margin-top: 56px; }
.article__more > h2 { font-size: 1.4rem; text-align: center; margin-bottom: 20px; }
.article__back { display: inline-block; margin-top: 32px; color: var(--cyan); font-weight: 700; text-decoration: none; }
.article__back:hover { color: var(--cyan-bright); }

@media (max-width: 600px) {
    .newsletter { padding: 32px 24px; flex-direction: column; align-items: stretch; text-align: center; }
    .newsletter__form { justify-content: center; }
    .newsletter__form input { min-width: 0; flex: 1; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .nav__toggle { display: flex; }
    .nav__links {
        position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(5, 7, 13, .97); backdrop-filter: blur(14px);
        padding: 12px 18px 22px; border-bottom: 1px solid var(--border);
        transform: translateY(-120%); opacity: 0; pointer-events: none;
        transition: transform .35s ease, opacity .35s ease;
    }
    .nav.open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav__links a { padding: 14px 12px; border-radius: 10px; }
    .nav__cta { margin: 8px 0 0; text-align: center; }
    .lang-switch { align-self: center; margin: 14px 0 0; }

    .hero { flex-direction: column; justify-content: center; text-align: center; gap: 24px; }
    .hero__content { max-width: 100%; }
    .hero__actions { justify-content: center; }
    .hero__lead { margin-inline: auto; }
    .hero__logo { order: -1; }
    .hero__eye { width: min(260px, 64vw); }
    .hero__scroll { display: none; }

    .about__grid { grid-template-columns: 1fr; gap: 30px; }
    .contact__panel { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
    .contact__intro .section__title { text-align: center; }
}
@media (max-width: 480px) {
    .section { padding: 64px 18px; }
    .nav__inner { padding: 0 16px; }
    .hero { padding: calc(var(--nav-h) + 24px) 18px 60px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
