/* ==========================================================================
   RedByteTech - Front-end stylesheet
   1. Fonts & tokens      5. Hero               9. Footer
   2. Base                6. Sections & cards   10. Widgets (cookie, chat, top)
   3. Buttons & forms     7. Page heroes        11. Responsive
   4. Header & navigation 8. Call to action
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------ */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
    --primary: #E3141F;
    --primary-dark: #B70C16;
    --primary-rgb: 227, 20, 31;
    --secondary: #1F2937;
    --heading: #111827;
    --text: #4B5563;
    --muted: #6B7280;
    --bg: #FFFFFF;
    --bg-soft: #FFF6F6;
    --bg-blush: #FDECEC;
    --border: #EEF0F3;
    --dark: #101216;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(17, 24, 39, .05);
    --shadow: 0 10px 30px rgba(17, 24, 39, .07);
    --shadow-lg: 0 24px 60px rgba(17, 24, 39, .12);
    --shadow-red: 0 12px 28px rgba(var(--primary-rgb), .30);
    --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { padding: 72px 0; position: relative; }
.section-sm { padding: 44px 0; }
.section-soft { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }

/* 3. Buttons & forms ------------------------------------------------------ */
.btn {
    --btn-h: 50px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--btn-h); padding: 0 28px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1;
    border-radius: 999px; border: 1.5px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
    white-space: nowrap; cursor: pointer; text-decoration: none;
}
.btn i { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover i.ri-arrow-right-line, .btn:hover i.ri-arrow-right-up-line { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(var(--primary-rgb), .38); }
.btn-outline { background: #fff; color: var(--heading); border-color: rgba(var(--primary-rgb), .35); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn-white:hover { color: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost-light:hover { background: #fff; color: var(--primary); }
.btn-sm { --btn-h: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.play-dot {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
    border: 1.5px solid var(--primary); color: var(--primary);
}
.play-dot i { font-size: 14px; margin-left: 2px; }

.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; font-size: 14px; color: var(--heading); margin-bottom: 7px; }
.form-control {
    width: 100%; min-height: 50px; padding: 12px 16px;
    font: inherit; color: var(--heading); background: #fff;
    border: 1px solid #E5E7EB; border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}
.form-control::placeholder { color: #9CA3AF; }
.form-control:focus { outline: none; border-color: rgba(var(--primary-rgb), .6); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .1); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.form-error { color: var(--primary); font-size: 13px; margin-top: 6px; }
.form-control.is-invalid { border-color: var(--primary); }
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: #ECFDF3; color: #067647; }
.alert-danger { background: #FEF3F2; color: #B42318; }

/* 4. Header & navigation -------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(17, 24, 39, .06); border-color: var(--border); background: rgba(255, 255, 255, .97); }
.site-header::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), #FF5A63, var(--primary));
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 70px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
    position: relative; display: block; padding: 10px 13px;
    font-family: var(--font-head); font-size: 14.5px; font-weight: 500; color: var(--heading);
}
.main-nav a::after {
    content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px;
    background: var(--primary); transform: translateX(-50%) scaleX(0); transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: translateX(-50%) scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-account {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    color: var(--heading); background: var(--bg-soft); font-size: 19px; transition: background .2s, color .2s;
}
.header-account:hover { background: var(--primary); color: #fff; }
.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 12px; border: 0;
    background: var(--bg-soft); color: var(--primary); font-size: 22px; place-items: center;
}

.mobile-drawer {
    position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none;
}
.mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(16, 18, 22, .5); opacity: 0; transition: opacity .3s; }
.mobile-drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
    background: #fff; padding: 22px; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
}
.mobile-drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer-head img { height: 34px; width: auto; }
.drawer-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--bg-soft); color: var(--heading); font-size: 20px; }
.drawer-nav { list-style: none; margin: 0 0 24px; padding: 0; }
.drawer-nav a {
    display: flex; align-items: center; justify-content: space-between; padding: 13px 4px;
    font-family: var(--font-head); font-weight: 500; color: var(--heading); border-bottom: 1px solid var(--border);
}
.drawer-nav a.is-active, .drawer-nav a:hover { color: var(--primary); }
.drawer-contact { margin-top: auto; padding-top: 20px; font-size: 14px; }
.drawer-contact a { display: flex; gap: 10px; align-items: center; color: var(--heading); margin-bottom: 10px; }
.drawer-contact i { color: var(--primary); }

/* 5. Hero ----------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    padding: 40px 0 36px;
    background:
        radial-gradient(900px 520px at 82% 30%, rgba(var(--primary-rgb), .10), transparent 65%),
        radial-gradient(600px 400px at 5% 0%, rgba(var(--primary-rgb), .05), transparent 70%),
        linear-gradient(180deg, #FFF8F8 0%, #FFFFFF 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(var(--primary-rgb), .14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(420px 300px at 92% 12%, #000, transparent 70%);
    mask-image: radial-gradient(420px 300px at 92% 12%, #000, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; margin-bottom: 22px;
    background: #fff; border: 1px solid rgba(var(--primary-rgb), .18); border-radius: 999px;
    font-size: 13px; font-weight: 500; color: var(--heading); box-shadow: var(--shadow-sm);
}
.hero-badge span {
    display: inline-grid; place-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
    background: rgba(var(--primary-rgb), .1); color: var(--primary); font-size: 12px; font-weight: 600;
}
.hero h1 { font-size: clamp(34px, 3.75vw, 54px); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 20px; }
.hero h1 .text-primary { display: block; background: linear-gradient(90deg, var(--primary), #FF3A44); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-services { font-family: var(--font-head); font-weight: 600; color: var(--heading); font-size: 16px; margin-bottom: 12px; }
.hero-services b { color: var(--primary); font-weight: 600; padding: 0 4px; }
.hero-text { font-size: 16.5px; max-width: 500px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-visual { position: relative; height: 470px; perspective: 1600px; }
.hero-glow { position: absolute; right: 2%; top: 4%; width: 78%; height: 86%; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; background: radial-gradient(circle at 40% 40%, rgba(var(--primary-rgb), .16), rgba(var(--primary-rgb), .04) 70%); filter: blur(4px); animation: morph 14s ease-in-out infinite; }
.desk { position: absolute; left: 6%; right: 2%; bottom: 34px; height: 120px; background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: 22px; transform: skewX(-24deg); box-shadow: 0 30px 60px rgba(var(--primary-rgb), .3); }
.desk::after { content: ""; position: absolute; inset: 10px 14px auto; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); }

.laptop { position: absolute; left: 19%; bottom: 96px; width: 71%; z-index: 1; transform: rotateY(-14deg) rotateX(4deg); transform-style: preserve-3d; animation: floaty 7s ease-in-out infinite; }
.laptop-screen { position: relative; background: #0D0F13; border-radius: 16px 16px 4px 4px; padding: 12px 12px 14px; box-shadow: 0 30px 60px rgba(17, 24, 39, .28); }
.laptop-screen::before { content: ""; position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #2A2E36; transform: translateX(-50%); }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #fff; container-type: inline-size; }
.laptop-base { position: relative; height: 16px; margin: 0 -9%; background: linear-gradient(180deg, #E5E7EB, #B9BEC7); border-radius: 0 0 18px 18px; box-shadow: 0 16px 30px rgba(17, 24, 39, .25); }
.laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; width: 18%; height: 6px; background: #9CA3AF; border-radius: 0 0 8px 8px; transform: translateX(-50%); }

/* Mini website rendered on the laptop screen; sized with container units */
.mini-site { position: absolute; inset: 0; font-family: var(--font-head); color: var(--heading); }
.mini-nav { display: flex; align-items: center; gap: 2.5cqw; padding: 2.4cqw 4cqw; border-bottom: 1px solid #F1F2F4; }
.mini-logo { width: 4cqw; height: 4cqw; border-radius: 1cqw; background: var(--primary); }
.mini-links { display: flex; gap: 2.2cqw; margin-left: auto; }
.mini-links i { display: block; width: 6cqw; height: .9cqw; border-radius: 1cqw; background: #E5E7EB; }
.mini-btn { width: 10cqw; height: 3.2cqw; border-radius: 3cqw; background: var(--primary); }
.mini-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4cqw; padding: 5cqw 4cqw 0; }
.mini-kicker { width: 22cqw; height: 1.4cqw; border-radius: 1cqw; background: rgba(var(--primary-rgb), .18); margin-bottom: 2.4cqw; }
.mini-title { font-size: 5.2cqw; line-height: 1.12; font-weight: 700; margin-bottom: 2.4cqw; }
.mini-title em { font-style: normal; color: var(--primary); display: block; }
.mini-line { height: 1cqw; border-radius: 1cqw; background: #E5E7EB; margin-bottom: 1.4cqw; }
.mini-line.short { width: 70%; }
.mini-cta { display: flex; gap: 1.6cqw; margin-top: 3cqw; }
.mini-cta i { display: block; height: 3.6cqw; width: 13cqw; border-radius: 3cqw; background: var(--primary); }
.mini-cta i + i { background: #fff; border: 1px solid rgba(var(--primary-rgb), .4); }
.mini-art { position: relative; border-radius: 2cqw; background: linear-gradient(140deg, #FFE3E4, #FFF5F5); overflow: hidden; }
.mini-art::before { content: ""; position: absolute; left: 12%; right: 12%; top: 18%; bottom: 26%; border-radius: 1.4cqw; background: #fff; box-shadow: 0 1.4cqw 3cqw rgba(var(--primary-rgb), .2); }
.mini-art::after { content: ""; position: absolute; left: 20%; top: 28%; width: 34%; height: 18%; border-radius: 1cqw; background: var(--primary); box-shadow: 0 6cqw 0 -.4cqw #FFE1E2, 12cqw 3cqw 0 -1cqw #FFC9CB; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; padding: 4cqw; }
.mini-stats i { display: block; height: 7cqw; border-radius: 1.4cqw; background: #FFF4F4; border: 1px solid #FBE4E5; }

.phone { position: absolute; left: 3%; bottom: 72px; width: 20%; aspect-ratio: 9 / 18.5; background: #0D0F13; border-radius: 26px; padding: 7px; box-shadow: 0 30px 50px rgba(17, 24, 39, .3); animation: floaty 6s ease-in-out infinite reverse; z-index: 2; container-type: inline-size; }
.phone::before { content: ""; position: absolute; top: 11px; left: 50%; width: 32%; height: 9px; border-radius: 9px; background: #0D0F13; transform: translateX(-50%); z-index: 2; }
.phone-screen { height: 100%; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, var(--primary) 0 36%, #fff 36%); padding: 22cqw 8cqw 0; }
.phone-screen .ph-title { height: 4cqw; width: 60%; border-radius: 3cqw; background: rgba(255, 255, 255, .85); margin-bottom: 4cqw; }
.phone-screen .ph-sub { height: 3cqw; width: 40%; border-radius: 3cqw; background: rgba(255, 255, 255, .5); margin-bottom: 10cqw; }
.phone-screen .ph-card { height: 30cqw; border-radius: 6cqw; background: #fff; box-shadow: 0 4cqw 10cqw rgba(17, 24, 39, .14); margin-bottom: 7cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; padding: 5cqw; }
.phone-screen .ph-card i { border-radius: 3cqw; background: #FFF0F0; }
.phone-screen .ph-card i:first-child { background: rgba(var(--primary-rgb), .9); }
.phone-screen .ph-row { height: 12cqw; border-radius: 4cqw; background: #F6F7F9; margin-bottom: 4cqw; }

.plant { position: absolute; right: -3%; bottom: 165px; width: 26%; z-index: 0; transform-origin: 50% 100%; animation: sway 8s ease-in-out infinite; }
.hero-chip {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
    background: rgba(255, 255, 255, .95); border-radius: 14px; box-shadow: var(--shadow-lg);
    font-family: var(--font-head); font-size: 12px; color: var(--muted); line-height: 1.3;
    animation: floaty 5s ease-in-out infinite;
}
.hero-chip strong { display: block; color: var(--heading); font-size: 15px; }
.hero-chip .chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(var(--primary-rgb), .1); color: var(--primary); font-size: 19px; }
.hero-chip.chip-a { top: 4%; right: 24%; animation-delay: -1.5s; }
.hero-chip.chip-b { bottom: 8px; left: 30%; animation-delay: -3s; }

.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; padding-top: 28px; }
.hero-stats::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), .18), transparent); }
.stat { display: flex; align-items: center; gap: 14px; }
.stat-icon {
    flex-shrink: 0; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
    background: #fff; color: var(--primary); font-size: 22px;
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .07), var(--shadow-sm);
}
.stat-value { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--heading); line-height: 1.1; }
.stat-label { font-size: 13.5px; color: var(--muted); }

@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes sway { 0%, 100% { rotate: 0deg; } 50% { rotate: 2deg; } }
@keyframes morph { 0%, 100% { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; } 50% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; } }

/* 6. Sections & cards ----------------------------------------------------- */
.section-head { margin-bottom: 44px; }
.section-head.text-center { max-width: 640px; margin-inline: auto; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.section-title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.01em; margin-bottom: 12px; }
.section-text { font-size: 16px; max-width: 620px; }

.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head-row .section-title { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--primary); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

.card-grid { display: grid; gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.icon-tile {
    display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, #FF2A35, var(--primary-dark)); color: #fff; font-size: 24px;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), .25);
}
.icon-soft {
    display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: rgba(var(--primary-rgb), .08); color: var(--primary); font-size: 24px;
    box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .04);
}
.service-card {
    position: relative; display: flex; flex-direction: column; align-items: flex-start;
    padding: 30px 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), #FF5A63); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card h3 { font-size: 17px; margin: 22px 0 10px; }
.service-card p { font-size: 14.5px; margin-bottom: 18px; }
.service-card .link-arrow { margin-top: auto; font-size: 13.5px; }

.tech-strip { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 14px; }
.tech-item {
    display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 14px;
    background: transparent; border: 1px solid transparent; border-radius: 14px;
    transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s;
}
.tech-item:hover { transform: translateY(-4px); background: #fff; border-color: var(--border); box-shadow: var(--shadow); }
.tech-logo { display: grid; place-items: center; width: 44px; height: 44px; }
.tech-logo img { width: 38px; height: 38px; object-fit: contain; }
.tech-name { font-size: 12.5px; font-weight: 500; color: var(--heading); text-align: center; line-height: 1.3; }

.projects-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 34px; align-items: center; }
.projects-intro .section-title { margin-bottom: 8px; }
.projects-kicker { font-family: var(--font-head); font-weight: 600; color: var(--heading); margin-bottom: 10px; }
.projects-kicker span { color: var(--primary); }
.projects-intro p:not(.projects-kicker) { font-size: 14.5px; margin-bottom: 22px; }
.projects-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.project-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card[hidden] { display: none; }
.project-thumb { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(var(--primary-rgb), .55)); opacity: 0; transition: opacity .35s; }
.project-card:hover .project-thumb::after { opacity: 1; }
.project-view { position: absolute; z-index: 1; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--primary); font-size: 18px; transform: translateY(12px); opacity: 0; transition: .35s var(--ease); }
.project-card:hover .project-view { transform: none; opacity: 1; }
.project-body { padding: 14px 16px 16px; }
.project-body h3 { font-size: 15px; margin-bottom: 4px; }
.project-body h3 a { color: var(--heading); }
.project-body h3 a:hover { color: var(--primary); }
.project-body .link-arrow { font-size: 12.5px; }

.slider-nav { display: flex; gap: 10px; }
.slider-nav button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(var(--primary-rgb), .25); background: #fff; color: var(--primary); font-size: 20px; transition: .25s; }
.slider-nav button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 16px; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card { scroll-snap-align: start; margin: 0; padding: 30px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial-card blockquote { margin: 14px 0 22px; font-size: 15px; color: var(--heading); flex: 1; }
.stars { color: #F5A524; display: flex; gap: 2px; font-size: 17px; }
.testimonial-card figcaption { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.testimonial-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-card figcaption strong { display: block; color: var(--heading); font-family: var(--font-head); font-size: 15px; }
.quote-mark { position: absolute; right: 0; top: 14px; font-size: 38px; color: rgba(var(--primary-rgb), .15); }

/* 7. Page heroes & inner pages ------------------------------------------- */
.page-hero {
    position: relative; overflow: hidden; padding: 56px 0 36px;
    background:
        radial-gradient(700px 380px at 85% 20%, rgba(var(--primary-rgb), .09), transparent 70%),
        linear-gradient(180deg, #FFF8F8 0%, #FFFFFF 100%);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.page-hero-grid.no-visual { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.02em; margin-bottom: 8px; }
.page-hero-sub { font-family: var(--font-head); font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; color: var(--primary); margin-bottom: 16px; }
.page-hero-text { font-size: 16px; max-width: 540px; margin-bottom: 24px; }
.hero-visual.is-compact { height: 300px; }
.hero-visual.is-compact .laptop { left: 20%; width: 58%; bottom: 70px; }
.hero-visual.is-compact .phone { width: 15%; left: 10%; bottom: 52px; }
.hero-visual.is-compact .desk { height: 80px; bottom: 30px; left: 12%; right: 4%; }
.hero-visual.is-compact .plant { width: 20%; right: 2%; bottom: 100px; }
.page-hero-illustration img { width: 100%; max-width: 520px; margin-left: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13.5px; margin-bottom: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--heading); font-weight: 500; }
.rich-text { color: var(--text); font-size: 15.5px; }
.rich-text h2 { font-size: 24px; margin: 30px 0 12px; }
.rich-text h3 { font-size: 19px; margin: 24px 0 10px; }
.rich-text ul, .rich-text ol { padding-left: 20px; margin: 0 0 18px; }
.rich-text li { margin-bottom: 6px; }
.rich-text li::marker { color: var(--primary); }
.rich-text blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--primary); background: var(--bg-soft); border-radius: 0 12px 12px 0; font-family: var(--font-head); font-weight: 500; color: var(--heading); }
.rich-text img { border-radius: 12px; margin: 18px 0; }
.rich-text a { text-decoration: underline; text-underline-offset: 3px; }

/* About */
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 0; background: #fff; color: var(--primary); font-size: 32px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .35), var(--shadow-lg); }
.play-btn i { margin-left: 4px; }
.play-btn:not(.is-static)::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: ping 2s ease-out infinite; }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mv-card { display: flex; gap: 18px; padding: 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mv-card h3 { font-size: 18px; margin-bottom: 8px; }
.mv-card p { margin: 0; }
.mv-icon { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 22px; box-shadow: 0 0 0 6px rgba(var(--primary-rgb), .1); }
.values-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.values-intro { padding: 26px 0; }
.values-intro p { font-size: 14.5px; }
.value-inline { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--bg-soft); }
.value-inline i { color: var(--primary); font-size: 22px; }
.value-inline strong { display: block; color: var(--heading); font-family: var(--font-head); }
.value-inline span { font-size: 13.5px; }
.value-card { text-align: center; padding: 30px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-card h3 { font-size: 17px; margin: 18px 0 6px; }
.value-card p { font-size: 14px; margin: 0; }

/* Detail pages */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: start; }
.detail-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 28px; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-subtitle { font-size: 22px; margin: 34px 0 16px; }
.detail-side { position: sticky; top: 100px; display: grid; gap: 22px; }
.side-card { padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 17px; margin-bottom: 16px; }
.side-cta { background: linear-gradient(140deg, #8E0A12, var(--primary)); border: 0; color: rgba(255, 255, 255, .85); }
.side-cta h3 { color: #fff; margin-top: 16px; }
.side-cta .icon-tile { background: rgba(255, 255, 255, .15); box-shadow: none; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 11px 0; color: var(--heading); font-weight: 500; font-size: 14.5px; border-bottom: 1px dashed var(--border); }
.side-links li:last-child a { border: 0; }
.side-links a i:first-child { color: var(--primary); }
.side-links a i:last-child, .side-links .count { margin-left: auto; color: var(--muted); font-size: 13px; }
.side-links a:hover { color: var(--primary); }
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-grid li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; background: var(--bg-soft); border-radius: 12px; color: var(--heading); font-weight: 500; }
.feature-grid i { color: var(--primary); font-size: 20px; }
.info-list { margin: 0 0 18px; }
.info-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; color: var(--heading); font-weight: 600; text-align: right; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag-list span, .tag-list a { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--heading); font-size: 13px; font-weight: 500; }
.tag-list a:hover { background: var(--primary); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.gallery-grid img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.filter-tabs button { height: 44px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--heading); font-family: var(--font-head); font-weight: 500; font-size: 14px; box-shadow: var(--shadow-sm); transition: .25s; }
.filter-tabs button:hover { border-color: rgba(var(--primary-rgb), .4); color: var(--primary); }
.filter-tabs button.is-active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-red); }
.portfolio-grid .project-body { padding: 18px 20px 20px; }
.portfolio-grid .project-body h3 { font-size: 17px; }
.project-body p { font-size: 13.5px; margin-bottom: 8px; }

/* Technologies */
.tech-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tech-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 12px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.tech-card[hidden] { display: none; }
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tech-card .tech-logo { width: 56px; height: 56px; }
.tech-card .tech-logo img { width: 48px; height: 48px; }
.tech-card .tech-name { font-size: 14px; }
.cta-dark { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 52px; border-radius: var(--radius-lg); background: #111318; color: #A3A9B5; }
.cta-dark::before { content: ""; position: absolute; right: -10%; top: -80%; width: 50%; height: 260%; background: radial-gradient(closest-side, rgba(var(--primary-rgb), .35), transparent); pointer-events: none; }
.cta-dark > * { position: relative; }
.cta-dark h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.cta-dark p { margin: 0; max-width: 620px; }

/* Pricing */
.pricing-hero { padding-bottom: 10px; }
.pricing-hero .page-hero-sub { font-family: var(--font-body); font-size: 16px; font-weight: 400; color: var(--text); }
.billing-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid rgba(var(--primary-rgb), .2); box-shadow: var(--shadow-sm); }
.billing-toggle button { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--heading); font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.billing-toggle button span { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(var(--primary-rgb), .1); color: var(--primary); margin-left: 4px; }
.billing-toggle button.is-active { background: var(--primary); color: #fff; box-shadow: var(--shadow-red); }
.billing-toggle button.is-active span { background: rgba(255, 255, 255, .2); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.is-popular { border: 2px solid rgba(var(--primary-rgb), .55); box-shadow: 0 24px 50px rgba(var(--primary-rgb), .14); }
.popular-badge { position: absolute; top: -14px; left: 50%; translate: -50% 0; padding: 5px 16px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; font-family: var(--font-head); box-shadow: var(--shadow-red); white-space: nowrap; }
.price-card h3 { font-size: 22px; margin-bottom: 4px; }
.price-desc { font-size: 14px; color: var(--muted); min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 22px; }
.price .amount { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--heading); letter-spacing: -.02em; }
.price .period { color: var(--muted); font-size: 15px; }
.price-features { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--heading); }
.price-features i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(var(--primary-rgb), .1); color: var(--primary); font-size: 14px; flex-shrink: 0; }
.pricing-note { text-align: center; margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.pricing-note i { color: #12B76A; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 50px; align-items: start; }
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--heading); font-size: 16px; }
.contact-list div span, .contact-list div a { color: var(--text); overflow-wrap: anywhere; }
.socials-red .socials a { background: var(--primary); border: 0; color: #fff; border-radius: 12px; box-shadow: var(--shadow-red); }
.socials-red .socials a:hover { background: var(--primary-dark); }
.form-card { padding: 34px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-card h2, .form-card h3 { font-size: 21px; margin-bottom: 22px; }
.form-card .form-control { background: #FBFBFC; }
.btn-square { border-radius: 10px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); height: 380px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.file-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px dashed rgba(var(--primary-rgb), .35); border-radius: 12px; background: var(--bg-soft); cursor: pointer; font-size: 14px; }
.file-drop i { font-size: 24px; color: var(--primary); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Careers */
.stats-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.stat-card { display: flex; align-items: center; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.perks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.perk-card { text-align: center; padding: 28px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.perk-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.perk-card h3 { font-size: 15.5px; margin: 16px 0 6px; }
.perk-card p { font-size: 13.5px; margin: 0; }
.job-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; gap: 20px; align-items: center; padding: 18px 22px; margin-bottom: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.job-row:hover { border-color: rgba(var(--primary-rgb), .35); box-shadow: var(--shadow); }
.job-title { display: flex; gap: 14px; align-items: center; }
.job-title a { display: block; font-family: var(--font-head); font-weight: 600; color: var(--heading); font-size: 16px; }
.job-title a:hover { color: var(--primary); }
.job-title span { font-size: 13px; color: var(--muted); }
.job-dot { width: 9px; height: 9px; border-radius: 50%; background: #12B76A; box-shadow: 0 0 0 5px rgba(18, 183, 106, .15); flex-shrink: 0; }
.job-type { font-size: 14px; color: var(--muted); }
.job-row .btn-outline { color: var(--primary); border-color: var(--primary); }
.job-row .btn-outline:hover { background: var(--primary); color: #fff; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--heading); font-weight: 500; font-size: 14.5px; }
.job-meta i { color: var(--primary); margin-right: 6px; }
.empty-state { text-align: center; padding: 50px 20px; border: 1.5px dashed var(--border); border-radius: var(--radius); color: var(--muted); }
.empty-state i { font-size: 40px; color: rgba(var(--primary-rgb), .5); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 50px; align-items: center; }
.accordion { display: grid; gap: 12px; }
.acc-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.acc-item.is-open { border-color: rgba(var(--primary-rgb), .3); box-shadow: var(--shadow); }
.acc-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 0; background: none; text-align: left; font-family: var(--font-head); font-weight: 500; font-size: 15.5px; color: var(--heading); }
.acc-head i { margin-left: auto; font-size: 22px; color: var(--muted); transition: transform .3s var(--ease); }
.acc-item.is-open .acc-head i { transform: rotate(180deg); color: var(--primary); }
.acc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body p { margin: 0; padding: 0 20px 20px 41px; font-size: 14.5px; }
.faq-art img { width: 100%; max-width: 440px; margin-inline: auto; }

/* Blog */
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.blog-head > div { flex: 1 1 420px; }
.blog-head .search-box { flex: 0 1 360px; }
.search-box { display: flex; align-items: center; width: 100%; max-width: 360px; padding: 5px 5px 5px 18px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: var(--heading); height: 40px; }
.search-box input:focus { outline: none; }
.search-box button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--bg-blush); color: var(--primary); font-size: 18px; }
.search-box button:hover { background: var(--primary); color: #fff; }
.side-card .search-box { max-width: none; box-shadow: none; }
.search-summary { margin-bottom: 20px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-cat { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--primary); font-size: 12px; font-weight: 600; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 17px; line-height: 1.4; margin-bottom: 10px; }
.post-body h3 a { color: var(--heading); }
.post-body h3 a:hover { color: var(--primary); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.post-meta i { color: var(--primary); margin-right: 5px; }
.post-body .link-arrow { margin-top: auto; }
.grid-ad { grid-column: 1 / -1; }
.article-head { max-width: 860px; }
.article-head h1 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.article-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.article-footer .tag-list { margin: 0; }
.share { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading); font-size: 14px; }
.share a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bg-soft); color: var(--primary); }
.share a:hover { background: var(--primary); color: #fff; }
.comments { margin-top: 20px; }
.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.comment-avatar { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-family: var(--font-head); }
.comment strong { color: var(--heading); }
.comment time { font-size: 12.5px; color: var(--muted); margin-left: 6px; }
.comment p { margin: 4px 0 0; }
.comment-form { margin-top: 26px; box-shadow: var(--shadow-sm); }
.mini-post { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.mini-post:last-child { border: 0; }
.mini-post img { width: 74px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mini-post strong { display: block; color: var(--heading); font-size: 14px; line-height: 1.35; font-weight: 600; }
.mini-post small { color: var(--muted); font-size: 12px; }
.mini-post:hover strong { color: var(--primary); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--heading); font-weight: 600; font-size: 14px; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .is-disabled { opacity: .45; }

/* Legal */
.legal-section { background: linear-gradient(180deg, #FFF8F8, #fff 300px); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 50px; align-items: start; }
.legal-side { position: sticky; top: 100px; }
.legal-side h1 { font-size: 30px; margin-bottom: 6px; }
.legal-updated { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.legal-toc { display: grid; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.legal-toc a { padding: 13px 18px; color: var(--heading); font-size: 14.5px; border-left: 3px solid transparent; border-bottom: 1px solid var(--border); }
.legal-toc a:last-child { border-bottom: 0; }
.legal-toc a:hover { color: var(--primary); }
.legal-toc a.is-active { background: var(--bg-soft); border-left-color: var(--primary); color: var(--primary); font-weight: 600; }
.legal-content { padding: 36px 40px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.legal-content h2 { color: #1E3A8A; font-size: 21px; scroll-margin-top: 100px; }
.legal-content h2:first-child { margin-top: 0; }

/* Status pages: thank you, 404 */
.status-page { overflow: hidden; padding: 70px 0 40px; background: radial-gradient(700px 420px at 50% 30%, rgba(var(--primary-rgb), .07), transparent 70%); }
.status-card { position: relative; max-width: 640px; margin: 0 auto; text-align: center; padding: 56px 40px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.status-check { display: inline-grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; border: 6px solid var(--primary); color: var(--primary); font-size: 60px; margin-bottom: 24px; box-shadow: 0 0 0 12px rgba(var(--primary-rgb), .08); animation: pop .6s var(--ease); }
.status-card h1 { font-size: 44px; margin-bottom: 8px; }
.status-lead { font-size: 17px; color: var(--heading); font-weight: 500; margin-bottom: 4px; }
.confetti { position: relative; }
.confetti::before { content: ""; position: absolute; inset: -20px; pointer-events: none; opacity: .7;
    background-image: radial-gradient(circle, rgba(var(--primary-rgb), .7) 3px, transparent 4px), radial-gradient(circle, rgba(var(--primary-rgb), .4) 2px, transparent 3px), radial-gradient(circle, rgba(var(--primary-rgb), .55) 2.5px, transparent 3.5px);
    background-size: 170px 150px, 120px 130px, 210px 190px; background-position: 10px 20px, 60px 80px, 120px 10px;
    -webkit-mask-image: radial-gradient(closest-side, transparent 55%, #000 80%); mask-image: radial-gradient(closest-side, transparent 55%, #000 80%); }
.error-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.error-copy { text-align: center; padding: 30px 0; }
.error-code { font-family: var(--font-head); font-size: clamp(90px, 13vw, 160px); font-weight: 800; line-height: 1; color: var(--primary); letter-spacing: -.04em; }
.error-copy h1 { font-size: clamp(26px, 3vw, 38px); margin: 10px 0; }
.error-art img { width: 100%; max-width: 460px; margin-inline: auto; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }

/* Checkout, customer account ----------------------------------------------- */
.mt-section { margin-top: 26px; }
.flex-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 34px; align-items: start; }
.gateway-list { display: grid; gap: 12px; }
.gateway-option input { position: absolute; opacity: 0; }
.gateway-box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.gateway-box img { width: 40px; height: 40px; object-fit: contain; padding: 6px; border-radius: 10px; background: #F6F7F9; }
.gateway-box strong { display: block; color: var(--heading); font-family: var(--font-head); }
.gateway-box small { color: var(--muted); font-size: 13px; }
.gateway-box .check-mark { margin-left: auto; font-size: 22px; color: #D0D5DD; }
.gateway-option input:checked + .gateway-box { border-color: var(--primary); background: var(--bg-soft); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .08); }
.gateway-option input:checked + .gateway-box .check-mark { color: var(--primary); }
.gateway-option input:focus-visible + .gateway-box { outline: 2px solid var(--primary); outline-offset: 2px; }
.bank-box { margin-top: 16px; padding: 20px; border-radius: 14px; background: #FAFBFC; border: 1px dashed rgba(var(--primary-rgb), .35); }
.bank-box h3 { font-size: 16px; }
.bank-box pre { white-space: pre-wrap; font-family: inherit; margin: 0 0 12px; color: var(--heading); overflow-wrap: anywhere; }
.check-line { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 6px; font-size: 14px; cursor: pointer; }
.check-line input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.order-summary { position: sticky; top: 100px; }
.summary-plan { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.summary-plan strong { display: block; font-family: var(--font-head); font-size: 18px; color: var(--heading); }
.summary-plan small { color: var(--muted); }
.summary-cycle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.summary-cycle a { display: flex; flex-direction: column; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; color: var(--heading); font-weight: 600; font-size: 14px; }
.summary-cycle a span { color: var(--muted); font-weight: 500; font-size: 13px; }
.summary-cycle a.is-active { border-color: var(--primary); background: var(--bg-soft); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; border-top: 1px dashed var(--border); }
.summary-total strong { font-family: var(--font-head); font-size: 30px; color: var(--heading); }
.secure-note { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.secure-note i { color: #12B76A; font-size: 16px; }
.order-dl { margin: 26px auto; max-width: 420px; text-align: left; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.order-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.order-dl div:last-child { border-bottom: 0; }
.order-dl dt { color: var(--muted); }
.order-dl dd { margin: 0; color: var(--heading); font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.auth-section { padding: 60px 0; background: radial-gradient(700px 400px at 80% 20%, rgba(var(--primary-rgb), .08), transparent 70%), linear-gradient(180deg, #FFF8F8, #fff); }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 60px; align-items: center; }
.auth-card { padding: 38px 34px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-lead { color: var(--muted); margin-bottom: 24px; }
.demo-box { display: grid; gap: 10px; margin-bottom: 22px; padding: 14px; border: 1px dashed rgba(227, 20, 31, .4); border-radius: 12px; background: #FFF8F8; font-size: 13px; text-align: center; }
.demo-box strong { text-align: left; }
.auth-switch { text-align: center; margin: 20px 0 0; font-size: 14px; }
.float-link { float: right; font-weight: 500; font-size: 13px; }
.auth-side h2 { font-size: clamp(24px, 2.6vw, 34px); max-width: 480px; }
.auth-side ul { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.auth-side li { display: flex; gap: 10px; align-items: center; color: var(--heading); font-weight: 500; }
.auth-side li i { color: var(--primary); font-size: 19px; }
.social-buttons { display: grid; gap: 10px; }
.social-btn { color: var(--heading); border-color: var(--border); }
.social-btn img { width: 20px; height: 20px; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.account-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.account-user { display: flex; align-items: center; gap: 16px; }
.account-user h1 { font-size: 28px; margin: 0; }
.account-user p { margin: 0; color: var(--muted); }
.account-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, #FF2A35, var(--primary-dark)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 22px; overflow: hidden; box-shadow: var(--shadow-red); }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.account-tabs a, .account-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--heading); font-weight: 600; font-size: 14px; font-family: var(--font-head); }
.account-tabs a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.account-tabs form { margin: 0; }
.orders-list { display: grid; gap: 12px; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 130px auto; gap: 16px; align-items: center; padding: 16px 20px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.order-main { display: flex; gap: 14px; align-items: center; min-width: 0; }
.order-main .icon-tile { width: 44px; height: 44px; font-size: 20px; flex-shrink: 0; }
.order-main strong { display: block; color: var(--heading); font-family: var(--font-head); }
.order-main strong small { color: var(--muted); font-weight: 500; }
.order-main span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.order-amount { font-family: var(--font-head); font-weight: 700; color: var(--heading); font-size: 17px; }
.order-status { justify-self: start; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #F2F4F7; color: #667085; }
.order-status.is-paid { background: #E8F8EF; color: #0E9F5A; }
.order-status.is-review, .order-status.is-pending { background: #FFF4E5; color: #DC6803; }
.order-status.is-failed { background: #FEECEC; color: #D92D20; }

/* 8. Call to action band --------------------------------------------------- */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    padding: 44px 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
    background: linear-gradient(110deg, #8E0A12 0%, var(--primary-dark) 30%, var(--primary) 70%, #FF2B36 100%);
    color: #fff; box-shadow: 0 24px 50px rgba(var(--primary-rgb), .25);
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; pointer-events: none; }
.cta-band::before { right: 18%; top: -60%; width: 46%; height: 220%; background: linear-gradient(100deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .12)); transform: skewX(-28deg); }
.cta-band::after { right: -6%; top: -40%; width: 30%; height: 180%; background: rgba(255, 255, 255, .06); transform: skewX(-28deg); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer { position: relative; margin-top: 120px; background: var(--dark); color: #A3A9B5; font-size: 14.5px; }
.site-footer::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 300px at 0% 100%, rgba(var(--primary-rgb), .18), transparent 70%),
        radial-gradient(500px 260px at 100% 0%, rgba(var(--primary-rgb), .12), transparent 70%);
}
.footer-cta {
    position: relative; top: -70px; margin-bottom: -30px;
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; align-items: center;
    padding: 34px 44px 34px 120px; border-radius: var(--radius-lg);
    background: #fff; box-shadow: 0 30px 60px rgba(17, 24, 39, .14); overflow: hidden;
}
.footer-cta::before { content: "\eefc"; font-family: "remixicon"; position: absolute; left: 34px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, #FF2A35, var(--primary-dark)); color: #fff; font-size: 28px; box-shadow: var(--shadow-red); }
.footer-cta::after { content: ""; position: absolute; right: -6%; top: -60%; width: 34%; height: 220%; background: rgba(var(--primary-rgb), .04); transform: skewX(-28deg); pointer-events: none; }
.footer-cta h3 { font-size: 23px; margin-bottom: 4px; }
.footer-cta p { margin: 0; }
.newsletter-form { position: relative; z-index: 1; display: flex; gap: 8px; padding: 6px; background: var(--bg-soft); border: 1px solid rgba(var(--primary-rgb), .14); border-radius: 999px; }
.newsletter-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; color: var(--heading); }
.newsletter-form input:focus { outline: none; }
.newsletter-note { position: absolute; z-index: 1; left: 120px; right: 44px; bottom: 6px; font-size: 13px; }
.newsletter-note .alert { margin: 0; padding: 6px 12px; display: inline-flex; }

.footer-main { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 36px; padding: 20px 0 50px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; margin-bottom: 22px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #fff; font-size: 17px;
    transition: background .25s, transform .25s var(--ease), border-color .25s;
}
.socials a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--primary); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 11px; }
.footer-links a { color: #A3A9B5; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, transform .2s; }
.footer-links a::before { content: ""; width: 0; height: 2px; background: var(--primary); transition: width .25s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { width: 10px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact i { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(var(--primary-rgb), .14); color: #FF4C55; font-size: 16px; }
.footer-contact a, .footer-contact span { color: #A3A9B5; overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a { color: #A3A9B5; }
.footer-bottom a:hover { color: #fff; }

/* 10. Widgets ----------------------------------------------------------------- */
.back-to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 46px; height: 46px; border: 0; border-radius: 14px;
    background: var(--primary); color: #fff; font-size: 20px; display: grid; place-items: center; box-shadow: var(--shadow-red);
    opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.whatsapp-float {
    position: fixed; left: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; border-radius: 50%;
    background: #25D366; color: #fff; font-size: 28px; display: grid; place-items: center;
    box-shadow: 0 12px 26px rgba(37, 211, 102, .35);
}
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.2s ease-out infinite; }
.whatsapp-float:hover { color: #fff; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

.cookie-bar {
    position: fixed; left: 50%; bottom: 20px; z-index: 150; width: min(720px, calc(100% - 32px));
    display: flex; align-items: center; gap: 18px; padding: 16px 18px 16px 22px;
    background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    transform: translate(-50%, 140%); transition: transform .5s var(--ease); font-size: 14px;
}
.cookie-bar:not(.is-visible) { visibility: hidden; }
.cookie-bar.is-visible { transform: translate(-50%, 0); }
.cookie-bar i { font-size: 26px; color: var(--primary); }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16, 18, 22, .6); backdrop-filter: blur(3px); }
.modal-dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); transform: translateY(20px); transition: transform .35s var(--ease); }
.modal.is-open .modal-dialog { transform: none; }
.modal-dialog.modal-video { width: min(900px, 100%); padding: 0; background: #000; overflow: hidden; }
.modal-video .ratio { aspect-ratio: 16 / 9; }
.modal-video iframe, .modal-video video { width: 100%; height: 100%; border: 0; display: block; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--bg-soft); color: var(--heading); font-size: 20px; z-index: 2; }
.modal-video .modal-close { background: rgba(255, 255, 255, .15); color: #fff; }
.modal-title { font-size: 24px; margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }

.ad-slot { margin: 30px auto; text-align: center; overflow: hidden; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* 11. Responsive ------------------------------------------------------------- */
@media (max-width: 1199px) {
    .main-nav a { padding: 10px 9px; font-size: 14px; }
    .header-inner { gap: 16px; }
    .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .tech-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .projects-layout { grid-template-columns: minmax(0, 1fr); }
    .tech-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .perks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .values-intro { grid-column: 1 / -1; padding: 0; }
    .projects-intro { max-width: 560px; }
}

@media (max-width: 1023px) {
    :root { --header-h: 72px; }
    .main-nav, .header-actions .btn { display: none; }
    .nav-toggle { display: grid; }
    .header-actions { margin-left: auto; }
    .hero { padding-top: 36px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .hero-visual { height: 420px; max-width: 640px; width: 100%; margin-inline: auto; margin-right: auto; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-cta { grid-template-columns: minmax(0, 1fr); padding: 30px 30px 30px 116px; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
    .section { padding: 70px 0; }
    .card-grid.cols-4, .card-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .projects-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .testimonial-track { grid-auto-columns: calc((100% - 24px) / 2); }
    .page-hero { padding: 40px 0 26px; }
    .page-hero-grid, .contact-grid, .faq-grid, .error-grid, .detail-layout, .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .hero-visual.is-compact { height: 260px; max-width: 520px; }
    .page-hero-illustration img { margin-inline: auto; max-width: 440px; }
    .detail-side, .legal-side { position: static; }
    .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; gap: 30px; }
    .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-dark { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
    .faq-art { order: -1; max-width: 300px; margin-inline: auto; }
    .checkout-grid, .auth-wrap { grid-template-columns: minmax(0, 1fr); }
    .order-summary { position: static; order: -1; }
    .auth-side { display: none; }
    .auth-wrap { max-width: 520px; }
}

@media (max-width: 767px) {
    .container { padding-inline: 16px; }
    .brand img { height: 34px; }
    .hero h1 { font-size: 36px; }
    .hero-services { font-size: 14px; }
    .hero-text { font-size: 15px; }
    .hero > .container { display: flex; flex-direction: column; }
    .hero-grid { display: contents; }
    .hero-copy { order: 1; }
    .hero-stats { order: 2; }
    .hero-visual { order: 3; margin-top: 26px; }
    .hero-actions { gap: 10px; flex-wrap: nowrap; }
    .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 14px; gap: 8px; }
    .hero-actions .play-dot { width: 24px; height: 24px; }
    .hero-visual { height: 300px; margin-right: 0; }
    .desk { height: 80px; bottom: 26px; border-radius: 16px; }
    .laptop { bottom: 64px; left: 24%; width: 64%; }
    .laptop-screen { padding: 7px 7px 8px; border-radius: 10px 10px 3px 3px; }
    .laptop-base { height: 10px; }
    .phone { left: 5%; bottom: 50px; width: 24%; border-radius: 16px; padding: 4px; }
    .phone::before { top: 7px; height: 5px; }
    .phone-screen { border-radius: 13px; }
    .plant { bottom: 96px; width: 26%; }
    .hero-chip { padding: 7px 10px 7px 7px; font-size: 10px; border-radius: 10px; }
    .hero-chip strong { font-size: 12px; }
    .hero-chip .chip-icon { width: 28px; height: 28px; font-size: 15px; border-radius: 8px; }
    .hero-chip.chip-a { top: 0; right: 0; }
    .hero-chip.chip-b { bottom: 0; left: 26%; }
    .hero-stats { gap: 18px 12px; margin-top: 18px; }
    .stat { gap: 10px; }
    .stat-icon { width: 44px; height: 44px; font-size: 18px; box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .07); }
    .stat-value { font-size: 21px; }
    .stat-label { font-size: 12.5px; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
    .footer-contact-col { grid-column: 1 / -1; }
    .footer-services-col { grid-column: 1 / -1; order: 3; }
    .footer-services-col .footer-links { columns: 2; column-gap: 20px; }
    .footer-services-col .footer-links li { break-inside: avoid; margin: 0 0 11px; }
    .footer-contact-col { order: 4; }
    .footer-cta { padding: 26px 20px; top: -50px; }
    .footer-cta::before { position: static; translate: none; width: 52px; height: 52px; font-size: 24px; border-radius: 14px; }
    .newsletter-note { left: 20px; }
    .footer-cta h3 { font-size: 20px; }
    .newsletter-form .btn { padding: 0 18px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom nav { justify-content: center; gap: 14px; }
    .cookie-bar { flex-direction: column; align-items: flex-start; }
    .form-row { grid-template-columns: minmax(0, 1fr); }
    .modal-dialog { padding: 26px 20px; }
    .section { padding: 56px 0; }
    .card-grid.cols-4, .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .home-services .card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .home-services .service-card { padding: 20px 16px; }
    .home-services .service-card h3 { font-size: 15px; margin: 16px 0 8px; }
    .home-services .service-card p { font-size: 13px; margin: 0; }
    .tech-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .section-head-row { flex-wrap: wrap; align-items: flex-start; }
    .projects-row { gap: 12px; }
    .project-body { padding: 10px 12px 12px; }
    .project-body h3 { font-size: 14px; }
    .testimonial-track { grid-auto-columns: 86%; gap: 14px; }
    .icon-tile { width: 46px; height: 46px; font-size: 21px; border-radius: 12px; }
    .page-hero h1 { font-size: 30px; }
    .hero-visual.is-compact { height: 210px; }
    .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .tech-card { padding: 20px 8px 16px; gap: 10px; }
    .tech-card .tech-logo img { width: 38px; height: 38px; }
    .tech-card .tech-name { font-size: 12.5px; }
    .filter-tabs { gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 10px; }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tabs button { flex-shrink: 0; height: 40px; padding: 0 16px; }
    .stats-cards, .perks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .stats-cards .stat-card:last-child:nth-child(odd), .perks-grid .perk-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .stat-card { padding: 16px; gap: 12px; }
    .stat-card .icon-soft { width: 44px; height: 44px; font-size: 20px; }
    .perk-card { padding: 20px 12px; }
    .job-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 16px; }
    .job-type { display: none; }
    .values-grid { grid-template-columns: minmax(0, 1fr); }
    .mv-card { padding: 22px; }
    .form-card { padding: 24px 18px; }
    .feature-grid { grid-template-columns: minmax(0, 1fr); }
    .map-frame { height: 280px; }
    .legal-content { padding: 24px 18px; }
    .legal-toc { display: none; }
    .status-card { padding: 40px 20px; }
    .status-card h1 { font-size: 34px; }
    .status-check { width: 90px; height: 90px; font-size: 48px; }
    .price-card { padding: 30px 22px; }
    .blog-head .search-box { max-width: none; }
    .article-footer { flex-direction: column; align-items: flex-start; }
    .auth-card { padding: 28px 20px; }
    .order-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 16px; }
    .order-actions { grid-column: 1 / -1; }
    .order-actions .btn { width: 100%; }
    .account-tabs { width: 100%; }
    .account-tabs a, .account-tabs form { flex: 1 1 auto; }
    .account-tabs a, .account-tabs button { width: 100%; justify-content: center; padding: 0 10px; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 24px; left: 16px; bottom: 16px; }
    .back-to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
