/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

:root {
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --surface: #ffffff;
    --text: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --navy: #0F172A;
    --teal: #14B8A6;
    --teal-light: #e6f7f5;
    --teal-pale: #f0fcf9;
    --teal-dark: #0d9488;
    --line: #e2e8f0;
    --line-dark: rgba(255, 255, 255, 0.16);
    --radius: 4px;
    --serif: 'Taviraj', Georgia, serif;
    --sans: 'Hanken Grotesk', 'Helvetica Neue', sans-serif;
    --serif-ar: 'Noto Naskh Arabic', serif;
    --sans-ar: 'Tajawal', sans-serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    font-family: var(--sans);
    color: var(--text);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.rtl {
    font-family: var(--sans-ar);
    direction: rtl;
    text-align: right;
    letter-spacing: 0;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

::selection {
    background: var(--teal);
    color: #fff;
}

/* Serif display type */
.logo,
.hero-content h1,
.manifesto blockquote,
.section-title,
.builder-total .total-price,
.testimonial-card blockquote,
.cta-section h2,
footer .brand {
    font-family: var(--serif);
}
body.rtl .logo,
body.rtl .hero-content h1,
body.rtl .manifesto blockquote,
body.rtl .section-title,
body.rtl .testimonial-card blockquote,
body.rtl .cta-section h2 {
    font-family: var(--serif-ar);
    font-weight: 600;
    letter-spacing: 0;
}

/* Small uppercase labels */
.hero-content .badge,
.trusted .label,
.builder-total .total-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
body.rtl .hero-content .badge,
body.rtl .trusted .label,
body.rtl .builder-total .total-label {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.9rem;
}

/* ===== NOTIFICATION TOAST ===== */
.toast-container {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
    max-width: 480px;
    padding: 0 20px;
    pointer-events: none;
}

.toast {
    background: var(--navy);
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: auto;
    border-inline-start: 3px solid var(--teal);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast .toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 0.85rem;
}

.toast .toast-content {
    flex: 1;
}

.toast .toast-content .toast-title {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.toast .toast-content .toast-message {
    font-size: 0.82rem;
    opacity: 0.75;
    display: block;
}

.toast .toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 1rem;
    transition: color var(--transition);
    padding: 4px;
    pointer-events: auto;
}
.toast .toast-close:hover {
    color: #fff;
}

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown {
    position: relative;
    user-select: none;
}
.lang-dropdown .selected {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.lang-dropdown .selected:hover,
.lang-dropdown.open .selected {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}
.lang-dropdown .selected > i {
    font-size: 0.9rem;
    color: var(--teal);
}
.lang-current {
    min-width: 18px;
    text-align: center;
}
.lang-current[data-lang="ar"] {
    font-family: var(--sans-ar);
    font-size: 0.95rem;
    letter-spacing: 0;
}
.lang-dropdown .arrow {
    display: inline-flex;
    font-size: 0.6rem;
    color: var(--text-muted);
    transition: transform var(--transition);
}
.lang-dropdown.open .arrow {
    transform: rotate(180deg);
}

.lang-dropdown .menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: 230px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 24px 50px -20px rgba(15, 23, 42, 0.3), 0 2px 6px rgba(15, 23, 42, 0.05);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
body.rtl .lang-dropdown .menu {
    transform-origin: top left;
}
.lang-dropdown .menu::before {
    content: '';
    position: absolute;
    top: -6px;
    inset-inline-end: 22px;
    width: 10px;
    height: 10px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    transform: rotate(45deg);
}
.lang-dropdown.open .menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.lang-dropdown .menu-head {
    padding: 6px 10px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
body.rtl .lang-dropdown .menu-head {
    letter-spacing: 0;
    font-size: 0.8rem;
}
.lang-dropdown .menu .option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--transition);
}
.lang-dropdown .menu .option:hover,
.lang-dropdown .menu .option:focus-visible {
    background: var(--bg-light);
}
.lang-dropdown .menu .option.active {
    background: var(--teal-pale);
}
.opt-code {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--bg-light);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}
.option[lang="ar"] .opt-code {
    font-family: var(--sans-ar);
    font-size: 1rem;
    letter-spacing: 0;
}
.option.active .opt-code {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}
.opt-text {
    flex: 1;
    line-height: 1.25;
}
.opt-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}
.option[lang="ar"] .opt-text strong {
    font-family: var(--sans-ar);
}
.opt-text small {
    font-size: 0.74rem;
    color: var(--text-muted);
}
.lang-dropdown .menu .option > i {
    font-size: 0.75rem;
    color: var(--teal);
    opacity: 0;
    transition: opacity var(--transition);
}
.lang-dropdown .menu .option.active > i {
    opacity: 1;
}

/* ===== NAVIGATION ===== */
.navbar {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    transition: padding var(--transition);
}
.navbar.scrolled {
    padding: 12px 0;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 28px;
}
.navbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 2;
}
.nav-links {
    order: 1;
    margin-inline-start: auto;
    margin-inline-end: 12px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    font-size: 1.9rem;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.logo span {
    color: var(--teal);
}
.logo small {
    font-family: var(--sans);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0;
    line-height: 1.3;
}
body.rtl .logo small {
    font-family: var(--sans-ar);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2.4rem;
    list-style: none;
    font-size: 0.92rem;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
    padding-bottom: 4px;
}
.nav-links a:hover {
    color: var(--text);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 1px;
    background: var(--teal);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav-links a:hover::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text);
    background: none;
    border: none;
    padding: 4px 8px;
}
.hamburger:hover {
    color: var(--teal);
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-whatsapp,
.btn-outline,
.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--navy);
    color: #fff;
}
.btn-primary:hover {
    background: var(--teal-dark);
}
.btn-whatsapp,
.cta-whatsapp {
    background: #25D366;
    color: #fff;
}
.btn-whatsapp:hover,
.cta-whatsapp:hover {
    background: #1da851;
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}
.btn-outline:hover {
    background: var(--text);
    color: #fff;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    height: 2px;
    width: 100%;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 300;
    pointer-events: none;
}
body.rtl .scroll-progress {
    transform-origin: right;
}

/* ===== HERO ===== */
.hero {
    padding: 80px 0 104px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
    position: relative;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0 calc(50% - 50vw);
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 45% 65% at 72% 45%, #000 15%, transparent 75%);
    mask-image: radial-gradient(ellipse 45% 65% at 72% 45%, #000 15%, transparent 75%);
    opacity: 0.7;
    z-index: -2;
}
.hero::after {
    content: '';
    position: absolute;
    width: 560px;
    height: 560px;
    inset-inline-end: -120px;
    top: 4%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2), transparent 65%);
    z-index: -1;
    pointer-events: none;
}
body.rtl .hero::before {
    -webkit-mask-image: radial-gradient(ellipse 45% 65% at 28% 45%, #000 15%, transparent 75%);
    mask-image: radial-gradient(ellipse 45% 65% at 28% 45%, #000 15%, transparent 75%);
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    color: var(--teal-dark);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    margin-bottom: 28px;
    box-shadow: 0 6px 20px -8px rgba(15, 23, 42, 0.12);
}
.hero-content .badge i {
    margin: 0 !important;
    margin-inline-end: 10px !important;
}

.hero-content h1 {
    font-weight: 300;
    font-size: clamp(2.8rem, 5.6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
}
.hero-content h1 .highlight {
    color: var(--teal);
    font-style: italic;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 50 2, 120 2, 198 7' fill='none' stroke='%2314B8A6' stroke-width='3' stroke-linecap='round' opacity='.45'/%3E%3C/svg%3E") 0 86% / 100% 0.2em no-repeat;
}
body.rtl .hero-content h1 .highlight {
    font-style: normal;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    margin-top: 48px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.hero-stats div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 18px 0;
    padding-inline: 0 28px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.hero-stats div + div {
    border-inline-start: 1px solid var(--line);
    padding-inline-start: 28px;
}
.hero-stats i {
    color: var(--teal);
}

/* Hero image */
.hero-visual {
    position: relative;
    margin: 0;
    padding: 0 0 28px 28px;
}
.hero-visual::before {
    content: '';
    position: absolute;
    inset: 28px 28px 0 0;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--teal-light), var(--teal-pale));
    border: 1px solid var(--teal-light);
    z-index: -1;
}
body.rtl .hero-visual {
    padding: 0 28px 28px 0;
}
body.rtl .hero-visual::before {
    inset: 28px 0 0 28px;
}
.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 40px 90px -30px rgba(15, 23, 42, 0.35);
}
.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: 0 14px 34px -10px rgba(15, 23, 42, 0.3);
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}
.float-chip i {
    color: var(--teal);
}
.chip-1 {
    top: 36px;
    inset-inline-start: 0;
    animation-delay: -1s;
}
.chip-2 {
    top: 46%;
    inset-inline-end: -22px;
    animation-delay: -3s;
}
.chip-3 {
    bottom: 72px;
    inset-inline-start: 0;
    animation-delay: -4.5s;
}
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== MANIFESTO ===== */
.manifesto {
    text-align: center;
    padding: 128px 0 112px;
}
.manifesto .quote-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 32px;
    border-radius: 50%;
    background: var(--teal-pale);
    color: var(--teal);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}
.manifesto blockquote {
    font-weight: 300;
    font-size: clamp(1.8rem, 3.8vw, 3.2rem);
    line-height: 1.22;
    letter-spacing: -0.025em;
    max-width: 980px;
    margin: 0 auto;
}
.manifesto blockquote .highlight {
    color: var(--teal);
    font-style: italic;
}
body.rtl .manifesto blockquote {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    line-height: 1.7;
}
body.rtl .manifesto blockquote .highlight {
    font-style: normal;
}
.manifesto .author {
    margin-top: 44px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-align: start;
}
.manifesto .author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--teal);
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 1.2rem;
}
.manifesto .author .info {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.manifesto .author .info strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
}

/* ===== SECTION TITLES ===== */
section {
    padding: 112px 0;
}

.section-header {
    margin-bottom: 56px;
    max-width: 780px;
}

.section-title {
    font-weight: 300;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}
.section-title .highlight {
    color: var(--teal);
    font-style: italic;
}
body.rtl .section-title .highlight {
    font-style: normal;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* ===== TRUSTED BY (marquee) ===== */
.trusted {
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trusted .container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0;
}
.trusted .label {
    color: var(--text-muted);
    flex-shrink: 0;
}
.marquee {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track {
    animation-play-state: paused;
}
.marquee-track > span {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-inline-end: 56px;
}
body.rtl .marquee-track > span {
    font-family: var(--sans-ar);
    font-size: 1.05rem;
}
body.rtl .marquee-track {
    animation-name: marquee-rtl;
}
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}
@keyframes marquee-rtl {
    to {
        transform: translateX(50%);
    }
}

/* ===== SERVICES (bento) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 16px;
}
.services-grid.stagger > .service-card {
    transition: opacity 0.6s ease, transform 0.35s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
    transition-delay: 0s;
}
.service-card {
    position: relative;
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
}
.service-card i {
    position: absolute;
    top: 28px;
    inset-inline-start: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--teal);
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.service-card::after {
    content: '↗';
    position: absolute;
    top: 26px;
    inset-inline-end: 28px;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.35s ease, color 0.35s ease;
}
body.rtl .service-card::after {
    content: '↖';
}
.service-card h4 {
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 6px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.35s ease;
}
.service-card:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: translateY(-4px);
}
.service-card:hover p {
    color: rgba(255, 255, 255, 0.65);
}
.service-card:hover i {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--navy);
}
.service-card:hover::after {
    color: var(--teal);
    transform: translate(3px, -3px);
}
body.rtl .service-card:hover::after {
    transform: translate(-3px, -3px);
}

/* Featured first card */
.service-card:first-child {
    grid-column: span 2;
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.service-card:first-child::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    inset-inline-end: -120px;
    top: -160px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.45), transparent 65%);
    z-index: -1;
    transition: transform 0.6s ease;
}
.service-card:first-child:hover::before {
    transform: scale(1.15);
}
.service-card:first-child i {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--navy);
}
.service-card:first-child h4 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
}
body.rtl .service-card:first-child h4 {
    font-family: var(--serif-ar);
    font-weight: 600;
}
.service-card:first-child p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
}
.service-card:last-child {
    grid-column: span 2;
    background: var(--teal-pale);
    border-color: var(--teal-light);
}

/* ===== KEY FIGURES ===== */
.stats-band {
    padding: 0;
    margin-bottom: 112px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--text);
    border-bottom: 1px solid var(--line);
}
.stat {
    padding: 40px 28px 36px;
}
.stat + .stat {
    border-inline-start: 1px solid var(--line);
}
.stat:first-child {
    padding-inline-start: 0;
}
.stat-num {
    display: block;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.035em;
    margin-bottom: 12px;
    direction: ltr;
    text-align: start;
}
body.rtl .stat-num {
    text-align: right;
}
.stat-num em {
    font-style: normal;
    color: var(--teal);
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 96px 56px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
    counter-reset: why;
}
.why-card {
    position: relative;
    padding-block: 32px 12px;
    padding-inline: 0 24px;
    counter-increment: why;
}
.why-card + .why-card {
    border-inline-start: 1px solid var(--line);
    padding-inline-start: 24px;
}
.why-card::before {
    content: '';
    position: absolute;
    top: -1px;
    inset-inline-start: 0;
    width: 100%;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
body.rtl .why-card::before {
    transform-origin: right;
}
.why-card:hover::before {
    transform: scaleX(1);
}
.why-card::after {
    content: counter(why, decimal-leading-zero);
    position: absolute;
    top: 36px;
    inset-inline-end: 24px;
    font-family: var(--serif);
    font-size: 0.95rem;
    color: var(--text-muted);
}
.why-card .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--teal);
    font-size: 1.05rem;
    margin-bottom: 28px;
    transition: background 0.3s ease, color 0.3s ease;
}
.why-card:hover .icon-wrap {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}
.why-card h4 {
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.35;
}
.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Why: header, sourced KPIs and closing call to action */
.why-head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
}
.why-head .section-title {
    margin-bottom: 0;
}
.why-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 14px;
}
body.rtl .why-kicker {
    letter-spacing: 0;
    font-size: 0.9rem;
}
.why-lead {
    color: var(--text-secondary);
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.7;
}
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}
.kpi {
    display: flex;
    flex-direction: column;
    padding: 26px 24px 22px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kpi-grid.stagger > .kpi {
    transition: opacity 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.kpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -30px rgba(15, 23, 42, 0.4);
}
.kpi:first-child {
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.35), transparent 55%),
        var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--teal-pale);
    color: var(--teal-dark);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.kpi:first-child .kpi-icon {
    background: rgba(20, 184, 166, 0.2);
    color: var(--teal);
}
.kpi-num {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
    direction: ltr;
    text-align: start;
}
body.rtl .kpi-num {
    text-align: right;
}
.kpi-num em {
    font-style: normal;
    color: var(--teal);
    font-size: 0.6em;
    margin-left: 2px;
}
.kpi-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
}
.kpi-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 18px;
}
.kpi:first-child .kpi-text {
    color: rgba(255, 255, 255, 0.7);
}
.kpi-source {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1.4;
}
.kpi-source i {
    font-size: 0.65rem;
    margin-inline-end: 4px;
}
.kpi-source:hover {
    color: var(--teal-dark);
}
.kpi:first-child .kpi-source {
    border-top-color: var(--line-dark);
    color: rgba(255, 255, 255, 0.55);
}
.kpi:first-child .kpi-source:hover {
    color: var(--teal);
}
.why-subtitle {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
body.rtl .why-subtitle {
    font-family: var(--serif-ar);
    font-weight: 600;
}
.why-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding: 24px 28px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
}
.why-cta p {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.45rem;
    letter-spacing: -0.015em;
    line-height: 1.3;
}
.why-cta strong {
    font-weight: 400;
    color: var(--teal-dark);
    font-style: italic;
}
body.rtl .why-cta p {
    font-family: var(--serif-ar);
    font-weight: 600;
    font-size: 1.25rem;
}
body.rtl .why-cta strong {
    font-style: normal;
}
/* The key figures band now follows this section */
.why-section + .stats-band {
    margin-top: 96px;
}

/* ===== PROCESS (dark) ===== */
.process-section {
    background: var(--navy);
    color: #fff;
    border-radius: 16px;
    padding: 96px 56px;
    margin-top: 112px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.process-section::before {
    content: '';
    position: absolute;
    width: 620px;
    height: 620px;
    inset-inline-end: -200px;
    top: -260px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.28), transparent 65%);
    z-index: -1;
}
.process-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    counter-reset: step;
}
.process-step {
    position: relative;
    counter-increment: step;
    border-top: 1px solid var(--line-dark);
    padding-top: 28px;
}
.process-step::after {
    content: '';
    position: absolute;
    top: -5px;
    inset-inline-start: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.2);
}
.process-step::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--serif);
    font-weight: 300;
    font-size: 3.2rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(20, 184, 166, 0.7);
    margin-bottom: 28px;
}
.process-step h4 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.6rem;
    margin-bottom: 8px;
}
body.rtl .process-step h4 {
    font-family: var(--serif-ar);
    font-weight: 600;
    font-size: 1.4rem;
}
.process-step p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ===== PROJECTS ===== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.project {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.project-grid.stagger > .project {
    transition: opacity 0.6s ease, transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    transition-delay: 0s;
}
.project:hover {
    transform: translateY(-6px);
    border-color: var(--teal);
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
}
.project-media {
    display: block;
    text-decoration: none;
    margin: 12px 12px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-light);
}
.project-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 9px 12px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--line);
    direction: ltr;
}
.project-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}
.project-bar i:first-child {
    background: var(--teal);
}
.project-bar em {
    flex: 1;
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-style: normal;
    font-size: 0.68rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.project-screen {
    display: block;
    height: 260px;
    overflow: hidden;
}
.project-screen img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 5s ease;
}
/* Scroll through the site on hover */
.project:hover .project-screen img {
    transform: translateY(calc(-100% + 260px));
}
.project-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 26px;
}
.project-type {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 6px;
}
body.rtl .project-type {
    letter-spacing: 0;
    font-size: 0.88rem;
}
.project-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 10px;
}
.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.project-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
}
.project-tags li {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--teal-pale);
    border: 1px solid var(--teal-light);
    font-size: 0.78rem;
    color: var(--teal-dark);
}
.project-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    transition: color var(--transition), border-color var(--transition);
}
.project-link i {
    font-size: 0.72rem;
}
.project-link:hover {
    color: var(--teal-dark);
    border-color: var(--teal);
}

/* Featured (latest) project: full width, preview beside the text */
.project-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}
.project-featured .project-media {
    margin: 12px;
}
.project-featured .project-screen {
    height: 420px;
}
.project-featured:hover .project-screen img {
    transform: translateY(calc(-100% + 420px));
}
.project-featured .project-body {
    justify-content: center;
    padding: 32px 36px 32px 20px;
}
body.rtl .project-featured .project-body {
    padding: 32px 20px 32px 36px;
}
.project-featured .project-title {
    font-size: 2.2rem;
}
.project-new {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.rtl .project-new {
    letter-spacing: 0;
    font-size: 0.8rem;
}
.project-featured .project-link {
    margin-top: 6px;
}

/* ===== STYLE TEASER ===== */
.styles-teaser {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
}
.styles-teaser-lead {
    color: var(--text-secondary);
    font-size: 1.08rem;
    font-weight: 300;
    max-width: 520px;
    margin-bottom: 30px;
}
.styles-teaser-visual {
    position: relative;
    display: block;
    height: 380px;
}
.styles-teaser-visual img {
    position: absolute;
    width: 62%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.5);
    transition: transform 0.5s ease;
}
.styles-teaser-visual img:nth-child(1) { top: 0; left: 0; transform: rotate(-4deg); }
.styles-teaser-visual img:nth-child(2) { top: 70px; right: 0; transform: rotate(3deg); z-index: 1; }
.styles-teaser-visual img:nth-child(3) { bottom: 0; left: 14%; transform: rotate(-1deg); z-index: 2; }
.styles-teaser-visual:hover img:nth-child(1) { transform: rotate(-7deg) translateX(-10px); }
.styles-teaser-visual:hover img:nth-child(2) { transform: rotate(6deg) translateX(10px); }
.teaser-palette {
    position: absolute;
    right: 8%;
    bottom: 10px;
    z-index: 3;
    display: flex;
    padding: 8px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: 0 14px 30px -14px rgba(15, 23, 42, 0.45);
}
.teaser-palette i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    margin-inline-start: -8px;
}
.teaser-palette i:first-child {
    margin-inline-start: 0;
}

/* Chosen style in the builder summary */
.summary-style {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-dark);
}
.summary-style[hidden] {
    display: none;
}
.summary-style-swatches {
    display: flex;
}
.summary-style-swatches i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    margin-inline-start: -6px;
}
.summary-style-swatches i:first-child {
    margin-inline-start: 0;
}
.summary-style-text {
    flex: 1;
    line-height: 1.3;
}
.summary-style-text small {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
}
.summary-style-text strong {
    font-size: 0.9rem;
    color: #fff;
}
.summary-style-remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.summary-style-remove:hover {
    color: #f87171;
}

/* ============================================================
    GLOBAL BUILDER SECTION
============================================================ */
/* Step bar */
.builder-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 40px;
}
.builder-steps button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0 0;
    background: none;
    border: none;
    border-top: 3px solid var(--line);
    font: inherit;
    color: var(--text-muted);
    cursor: pointer;
    text-align: start;
    transition: color var(--transition), border-color var(--transition);
}
.builder-steps button:hover {
    color: var(--text);
}
.builder-steps .step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.builder-steps .step-num i {
    display: none;
    font-size: 0.75rem;
}
.builder-steps .step-label {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.25;
}
.builder-steps li.done button {
    border-top-color: var(--teal);
    color: var(--text);
}
.builder-steps li.done .step-num {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}
.builder-steps li.done .step-num span {
    display: none;
}
.builder-steps li.done .step-num i {
    display: block;
}
.builder-steps li.active button {
    border-top-color: var(--navy);
    color: var(--text);
}
.builder-steps li.active .step-num {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* Step panels */
.builder-step {
    animation: stepIn 0.35s ease;
}
.builder-step[hidden] {
    display: none;
}
@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateX(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
body.rtl .builder-step {
    animation-name: stepInRtl;
}
@keyframes stepInRtl {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.builder-category-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--teal-dark);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
body.rtl .builder-category-title {
    letter-spacing: 0;
    font-size: 0.9rem;
}
.builder-category-title i {
    font-size: 0.85rem;
}
.step-question {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 8px;
}
body.rtl .step-question {
    font-family: var(--serif-ar);
    font-weight: 600;
}
.step-hint {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Step navigation */
.builder-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.builder-nav .step-count {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.builder-nav .nav-total {
    display: none;
    flex: 1;
    text-align: center;
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.2;
}
.builder-nav button[disabled] {
    opacity: 0.35;
    pointer-events: none;
}
.builder-nav button[hidden] {
    display: none;
}
body.rtl .builder-nav .fa-arrow-left,
body.rtl .builder-nav .fa-arrow-right {
    transform: scaleX(-1);
}

/* Review step */
.review-list {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
}
.review-group + .review-group,
.review-group + .review-total {
    border-top: 1px solid var(--line);
}
.review-group-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--bg-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
body.rtl .review-group-head {
    letter-spacing: 0;
    font-size: 0.85rem;
}
.review-edit {
    background: none;
    border: none;
    font: inherit;
    font-size: 0.82rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--teal-dark);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.review-row,
.review-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
}
.review-row + .review-row {
    border-top: 1px dashed var(--line);
}
.review-row strong {
    font-weight: 500;
    white-space: nowrap;
}
.review-total {
    background: var(--navy);
    color: #fff;
    align-items: baseline;
}
.review-total strong {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}
.review-total-monthly {
    padding-top: 0;
}
.review-total-monthly strong {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: 0;
}
.review-empty {
    padding: 32px 24px;
    text-align: center;
    color: var(--text-muted);
}
.review-empty p {
    margin-bottom: 16px;
}
.review-send {
    width: 100%;
    padding: 18px 28px;
    font-size: 1rem;
}

.builder-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}

.builder-option {
    background: var(--surface);
    border-radius: 12px;
    padding: 24px 22px 18px;
    border: 1px solid var(--line);
    transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    position: relative;
    user-select: none;
}
.builder-option:hover {
    border-color: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.35);
}
.builder-option.selected {
    border-color: var(--teal);
    background: var(--teal-pale);
    box-shadow: inset 0 0 0 1px var(--teal);
}
.builder-option.selected:hover {
    box-shadow: inset 0 0 0 1px var(--teal), 0 14px 30px -18px rgba(15, 23, 42, 0.35);
}

/* Selector: radio for the single-choice step, checkbox elsewhere */
.builder-option .option-check {
    position: absolute;
    top: 18px;
    inset-inline-end: 18px;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 1.5px solid #cbd5e1;
    background: var(--surface);
    color: #fff;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.builder-step[data-step="0"] .builder-option .option-check {
    border-radius: 50%;
}
.builder-option .option-check i {
    transform: scale(0);
    transition: transform 0.2s ease;
}
.builder-option:hover .option-check {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}
.builder-option.selected .option-check {
    background: var(--teal);
    border-color: var(--teal);
}
.builder-option.selected .option-check i {
    transform: scale(1);
}
/* Draw attention to the first choice until something is picked */
.builder-section:not(.has-selection) .builder-step[data-step="0"] .option-check {
    animation: selectPulse 2.2s ease-in-out infinite;
}
@keyframes selectPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.35);
        border-color: #cbd5e1;
    }
    50% {
        box-shadow: 0 0 0 7px rgba(20, 184, 166, 0);
        border-color: var(--teal);
    }
}

/* Call to action at the bottom of each card */
.builder-option::after {
    margin-top: auto;
    padding-top: 14px;
    width: 100%;
    border-top: 1px dashed var(--line);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition);
}
.builder-option .option-desc {
    margin-bottom: 16px;
}
.builder-option:hover::after,
.builder-option.selected::after {
    color: var(--teal-dark);
}
.builder-option.selected::after {
    border-top-color: rgba(20, 184, 166, 0.35);
}
html[lang="fr"] .builder-option::after { content: '+ Sélectionner'; }
html[lang="fr"] .builder-option.selected::after { content: '✓ Sélectionné'; }
html[lang="en"] .builder-option::after { content: '+ Select'; }
html[lang="en"] .builder-option.selected::after { content: '✓ Selected'; }
html[lang="ar"] .builder-option::after { content: '+ اختيار'; }
html[lang="ar"] .builder-option.selected::after { content: '✓ تم الاختيار'; }

.builder-option .option-icon {
    font-size: 1.1rem;
    color: var(--teal);
    margin-bottom: 20px;
}

.builder-option .option-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.builder-option .option-price {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--text);
    margin: 10px 0 4px;
    letter-spacing: -0.02em;
}
.builder-option .option-price span {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0;
}
body.rtl .builder-option .option-price span {
    font-family: var(--sans-ar);
}

.builder-option .option-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Builder layout & sticky summary */
.builder-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
}
.builder-main .builder-category:last-child {
    margin-bottom: 0;
}
.builder-summary {
    position: sticky;
    top: 100px;
    background: var(--navy);
    color: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    isolation: isolate;
}
.builder-summary::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    inset-inline-end: -140px;
    top: -140px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 65%);
    z-index: -1;
}
.builder-summary-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 1.7rem;
    letter-spacing: -0.02em;
}
body.rtl .builder-summary-title {
    font-family: var(--serif-ar);
    font-weight: 600;
}

.builder-total {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
}
.builder-total .total-label,
.builder-total .total-monthly {
    flex-basis: 100%;
}
.builder-total .total-label {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}
.builder-total .total-price {
    font-size: 3.4rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.035em;
    line-height: 1;
}
.builder-total > [data-lang]:not(.total-label) {
    color: rgba(255, 255, 255, 0.7);
}
.builder-total .total-monthly {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    margin-top: 6px;
}
.builder-total .total-monthly[hidden] {
    display: none;
}

.builder-selected-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--line-dark);
    padding-top: 20px;
}
.builder-selected-list:empty::before {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}
html[lang="fr"] .builder-selected-list:empty::before {
    content: 'Sélectionnez des services pour composer votre offre.';
}
html[lang="en"] .builder-selected-list:empty::before {
    content: 'Select services to build your package.';
}
html[lang="ar"] .builder-selected-list:empty::before {
    content: 'اختر الخدمات لتكوين باقتك.';
}
.builder-selected-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-dark);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    animation: fadeSlideDown 0.25s ease;
}
.builder-selected-item .remove-btn {
    cursor: pointer;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}
.builder-selected-item .remove-btn:hover {
    color: #f87171;
}

.builder-actions .btn-whatsapp {
    width: 100%;
    padding: 16px 24px !important;
    font-size: 0.95rem !important;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding-top: 0;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.testimonial-card {
    position: relative;
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 32px 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 6px;
    inset-inline-end: 24px;
    font-family: var(--serif);
    font-size: 6rem;
    line-height: 1;
    color: var(--teal);
    opacity: 0.25;
}
.testimonial-card:nth-child(2) {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.testimonial-card:nth-child(2) blockquote {
    color: #fff;
}
.testimonial-card:nth-child(2) .author .info .role {
    color: rgba(255, 255, 255, 0.55);
}
.testimonial-card:nth-child(2) .author .avatar {
    background: var(--teal);
    color: var(--navy);
}
.testimonial-card .stars {
    color: var(--teal);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.testimonial-card blockquote {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 32px;
    flex: 1;
}
body.rtl .testimonial-card blockquote {
    font-size: 1.15rem;
    line-height: 1.8;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.testimonial-card:nth-child(2) .author {
    border-top-color: var(--line-dark);
}
.testimonial-card .author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--teal-dark);
}
.testimonial-card .author .info {
    font-size: 0.88rem;
}
.testimonial-card .author .info .name {
    font-weight: 600;
}
.testimonial-card .author .info .role {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Review slider dots (tablet & phone only) */
.slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}
.slider-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}
.slider-dots button[aria-current="true"] {
    width: 26px;
    background: var(--teal);
}

/* ============================================================
    FAQ SECTION
============================================================ */
.faq-section {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 96px 56px;
}
.faq-section .container {
    padding: 0;
    max-width: none;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    border-top: 1px solid var(--line);
}

.faq-card {
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
    cursor: pointer;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-content: start;
}
.faq-card > * {
    grid-column: 2;
}
.faq-card .faq-number {
    grid-column: 1;
    grid-row: 1;
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--teal-dark);
    padding-top: 2px;
}

.faq-card .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    font-weight: 500;
    font-size: 1.08rem;
    color: var(--text);
}
.faq-card .faq-question .q-text {
    flex: 1;
}
.faq-card .faq-question .q-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.7rem;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-card:hover .faq-question .q-icon {
    border-color: var(--text);
}
.faq-card.open .faq-question .q-icon {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    transform: rotate(180deg);
}
.faq-card .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.3s ease;
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 0.98rem;
    line-height: 1.7;
}
.faq-card.open .faq-answer {
    max-height: 300px;
    padding-top: 14px;
}

.faq-card .faq-tag {
    justify-self: start;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal-dark);
    margin-top: 12px;
}
body.rtl .faq-card .faq-tag {
    letter-spacing: 0;
    font-size: 0.8rem;
}

/* ===== CONTACT CTA ===== */
.cta-section {
    text-align: center;
    padding: 128px 40px;
    margin-top: 112px;
    background: var(--navy);
    color: #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%);
    z-index: -1;
}
.cta-section::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    left: 50%;
    bottom: -520px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(20, 184, 166, 0.45), transparent 65%);
    z-index: -1;
}
.cta-section h2 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin-bottom: 20px;
}
.cta-section h2 .highlight {
    color: var(--teal);
    font-style: italic;
}
body.rtl .cta-section h2 .highlight {
    font-style: normal;
}
.cta-section .sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 44px;
    font-weight: 300;
}
.cta-whatsapp {
    padding: 18px 40px;
    font-size: 1.05rem;
    box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.55);
}
.cta-whatsapp i {
    font-size: 1.4rem;
}
.cta-phone {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}
.cta-phone i {
    color: var(--teal);
    margin-inline-end: 6px;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 80px 0 32px;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}
.site-footer .brand {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--text);
    letter-spacing: -0.03em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 14px;
}
.site-footer .brand span {
    color: var(--teal);
}
.footer-about p {
    max-width: 360px;
    margin-bottom: 20px;
}
.site-footer h4 {
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
body.rtl .site-footer h4 {
    letter-spacing: 0;
    font-size: 0.9rem;
}
.site-footer ul {
    list-style: none;
    display: grid;
    gap: 10px;
}
.site-footer ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}
.site-footer ul a:hover {
    color: var(--teal-dark);
}
.site-footer .social {
    display: flex;
    gap: 10px;
}
.site-footer .social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--text);
    font-size: 1.05rem;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.site-footer .social a:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    inset-inline-end: 28px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    z-index: 200;
    text-decoration: none;
    transition: transform var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.08);
}

/* ===== LANGUAGE HELPER ===== */
[data-lang] {
    display: none;
}
[data-lang].active {
    display: inline-block;
}

.service-card h4[data-lang].active,
.service-card p[data-lang].active,
.why-card h4[data-lang].active,
.why-card p[data-lang].active,
.sub[data-lang].active,
.logo small[data-lang].active,
.section-title[data-lang].active,
.section-subtitle[data-lang].active,
.process-step h4[data-lang].active,
.process-step p[data-lang].active,
.testimonial-card blockquote[data-lang].active,
.faq-card .faq-answer[data-lang].active,
.hero-content h1[data-lang].active,
.hero-content p[data-lang].active,
.builder-option .option-name[data-lang].active,
.builder-option .option-desc[data-lang].active,
.kpi-label[data-lang].active,
.kpi-text[data-lang].active,
.why-lead[data-lang].active,
.stat-label[data-lang].active {
    display: block;
}
.faq-card .faq-tag[data-lang].active {
    display: inline-block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-featured {
        grid-column: 1 / -1;
    }
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .why-card:nth-child(4) {
        border-inline-start: none;
        padding-inline-start: 0;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 40px;
    }
    .builder-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 28px;
    }
}

@media (max-width: 960px) {
    .why-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-section + .stats-band {
        margin-top: 72px;
    }
    .styles-teaser {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .styles-teaser-visual {
        height: 300px;
        max-width: 560px;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .project {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .project-media {
        margin: 12px;
    }
    .project-screen {
        height: 260px;
    }
    .project:hover .project-screen img {
        transform: translateY(calc(-100% + 260px));
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 56px;
        padding: 56px 0 80px;
    }
    .hero-visual {
        max-width: 640px;
    }
    section {
        padding: 80px 0;
    }
    .manifesto {
        padding: 96px 0 80px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-band {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 80px;
    }
    .stat:nth-child(3) {
        border-inline-start: none;
        padding-inline-start: 0;
    }
    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }
    .testimonial-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        margin-inline: -20px;
        padding: 4px 20px 6px;
        scrollbar-width: none;
    }
    .testimonial-grid::-webkit-scrollbar {
        display: none;
    }
    .testimonial-card {
        flex: 0 0 min(85%, 420px);
        scroll-snap-align: start;
    }
    .slider-dots {
        display: flex;
    }
    .why-section,
    .process-section,
    .faq-section {
        padding: 64px 32px;
    }
    .process-section,
    .cta-section {
        margin-top: 80px;
    }
    .builder-layout {
        grid-template-columns: 1fr;
    }
    .builder-summary {
        display: none;
    }
    .builder-nav .step-count {
        display: none;
    }
    .builder-nav .nav-total {
        display: block;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .container {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 8px 0;
        border-top: 1px solid var(--line);
        margin-top: 8px;
    }
    .nav-links.open {
        display: flex;
        animation: fadeSlideDown 0.25s ease;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        padding: 12px 0;
        width: 100%;
    }
    .nav-links a.active {
        display: block;
    }
    .nav-links a::after {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .navbar {
        padding: 12px 0;
        gap: 4px;
    }
    .navbar-left {
        flex: 1;
    }
    .nav-links {
        order: 3;
        margin: 8px 0 0;
    }
    .lang-dropdown .selected {
        height: 38px;
        padding: 0 10px 0 12px;
    }
    .logo {
        font-size: 1.6rem;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-card,
    .why-card + .why-card {
        border-inline-start: none;
        padding: 28px 0 8px;
    }
    .why-card::after {
        inset-inline-end: 0;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .trusted .container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .trusted .label {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .kpi-grid {
        gap: 10px;
        margin-bottom: 44px;
    }
    .kpi {
        padding: 16px 14px 14px;
        border-radius: 12px;
    }
    .kpi-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    .kpi-num {
        font-size: 2.6rem;
        margin-bottom: 6px;
    }
    .kpi-label {
        font-size: 0.86rem;
    }
    .kpi-text {
        font-size: 0.76rem;
        margin-bottom: 10px;
    }
    .kpi-source {
        font-size: 0.64rem;
        padding-top: 10px;
    }
    .why-subtitle {
        font-size: 1.4rem;
    }
    .why-cta {
        padding: 20px;
    }
    .why-cta p {
        font-size: 1.2rem;
    }
    .why-cta .btn-primary {
        width: 100%;
    }
    .project {
        display: flex;
    }
    .project-media {
        margin: 10px 10px 0;
    }
    .project-screen {
        height: 220px;
    }
    .project-featured {
        display: flex;
    }
    .project-featured .project-media {
        margin: 10px 10px 0;
    }
    .project-featured .project-screen {
        height: 220px;
    }
    .project-featured:hover .project-screen img {
        transform: translateY(calc(-100% + 220px));
    }
    .project-featured .project-body,
    body.rtl .project-featured .project-body {
        padding: 20px;
    }
    .project-featured .project-title {
        font-size: 1.8rem;
    }
    .project:hover .project-screen img {
        transform: translateY(calc(-100% + 220px));
    }
    .builder-steps {
        display: flex;
    }
    .builder-steps li {
        flex: 0 0 48px;
    }
    .builder-steps li.active {
        flex: 1;
    }
    .builder-steps .step-label {
        display: none;
    }
    .builder-steps li.active .step-label {
        display: block;
    }
    .builder-nav {
        gap: 10px;
    }
    .builder-nav button {
        padding: 13px 18px;
    }
    .builder-nav .nav-total {
        font-size: 1rem;
    }
    /* Services: 2 columns, featured first and last cards span the row */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(168px, auto);
        gap: 10px;
    }
    .service-card {
        padding: 16px;
        border-radius: 12px;
    }
    .service-card i {
        top: 16px;
        inset-inline-start: 16px;
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .service-card::after {
        top: 14px;
        inset-inline-end: 16px;
        font-size: 1rem;
    }
    .service-card h4 {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    .service-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    .service-card:first-child {
        min-height: 190px;
    }
    .service-card:first-child h4 {
        font-size: 1.7rem;
    }

    /* Why: 2 columns of compact cards, last card spans the row */
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        border-top: none;
    }
    .why-card,
    .why-card + .why-card {
        padding: 16px 14px 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--surface);
    }
    .why-card:last-child {
        grid-column: 1 / -1;
    }
    .why-card::before {
        display: none;
    }
    .why-card::after {
        top: 16px;
        inset-inline-end: 14px;
        font-size: 0.8rem;
    }
    .why-card .icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        margin-bottom: 14px;
    }
    .why-card h4 {
        font-size: 0.92rem;
    }
    .why-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Process: 2 x 2 steps */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }
    .process-step {
        padding-top: 20px;
    }
    .process-step::before {
        font-size: 2.3rem;
        margin-bottom: 12px;
    }
    .process-step h4 {
        font-size: 1.25rem;
    }
    .process-step p {
        font-size: 0.82rem;
        line-height: 1.45;
    }
    .hero-visual {
        padding: 0 0 16px 16px;
    }
    body.rtl .hero-visual {
        padding: 0 16px 16px 0;
    }
    .hero-visual::before {
        inset: 16px 16px 0 0;
    }
    body.rtl .hero-visual::before {
        inset: 16px 0 0 16px;
    }
    .chip-2 {
        inset-inline-end: -6px;
    }
    .float-chip {
        font-size: 0.75rem;
        padding: 7px 12px;
    }
    .why-section,
    .process-section,
    .faq-section {
        padding: 56px 20px;
        margin-inline: -20px;
        border-radius: 0;
    }
    .cta-section {
        padding: 80px 24px;
        border-radius: 16px;
    }
    .faq-card {
        grid-template-columns: 36px 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: 1.05rem;
    }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline,
    .hero-actions .btn-whatsapp {
        width: 100%;
    }
    .hero-stats div {
        padding: 16px 0 0;
        width: 100%;
    }
    .hero-stats div + div {
        border-inline-start: none;
        padding-inline-start: 0;
    }
    .stat {
        padding: 28px 16px 24px;
    }
    .stat:first-child,
    .stat:nth-child(3) {
        padding-inline-start: 0;
    }
    .builder-summary {
        padding: 28px 22px;
    }
    .builder-total .total-price {
        font-size: 2.8rem;
    }
    .cta-whatsapp {
        padding: 16px 28px;
        font-size: 0.98rem;
        white-space: normal;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 16px;
        inset-inline-end: 16px;
    }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.stagger>* {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger.visible>*:nth-child(1) {
    transition-delay: 0.05s;
}
.stagger.visible>*:nth-child(2) {
    transition-delay: 0.1s;
}
.stagger.visible>*:nth-child(3) {
    transition-delay: 0.15s;
}
.stagger.visible>*:nth-child(4) {
    transition-delay: 0.2s;
}
.stagger.visible>*:nth-child(5) {
    transition-delay: 0.25s;
}
.stagger.visible>*:nth-child(6) {
    transition-delay: 0.3s;
}
.stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ===== KEYBOARD FOCUS ===== */
.builder-option:focus-visible,
.faq-question:focus-visible,
.lang-dropdown .selected:focus-visible,
.lang-dropdown .option:focus-visible,
.remove-btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
    .fade-up,
    .stagger > * {
        opacity: 1;
        transform: none;
    }
    .marquee-track,
    .float-chip,
    .builder-option .option-check {
        animation: none !important;
    }
}
