/* ==========================================================================
   MALOWANIE WROCLAW — Premium Redesign
   Architectural Modern aesthetic. Mobile-first, BEM, CSS Custom Properties.
   ========================================================================== */

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

:root {
    /* Premium palette */
    --color-dark: #0c0f13;
    --color-dark-soft: #141820;
    --color-dark-card: #1a1f2b;

    --color-light: #ffffff;
    --color-warm: #f8f6f3;
    --color-warm-deep: #f0ece6;
    --color-stone: #e8e2d9;

    --color-accent: #c49a4b;
    --color-accent-hover: #d4aa5b;
    --color-accent-glow: rgba(196, 154, 75, 0.15);

    --color-blue: #2563eb;
    --color-blue-dark: #1d4ed8;
    --color-blue-glow: rgba(37, 99, 235, 0.12);

    --color-text: #1a1a1a;
    --color-text-soft: #555555;
    --color-text-muted: #888888;
    --color-text-inverse: #ffffff;

    --color-border: rgba(0, 0, 0, 0.06);
    --color-border-light: rgba(255, 255, 255, 0.08);

    --color-success: #22c55e;

    /* Typography */
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Type scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.75rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;
    --text-7xl: 6rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    --space-section: clamp(5rem, 10vw, 9rem);

    /* Layout */
    --max-width: 1280px;
    --max-width-narrow: 800px;
    --max-width-wide: 1440px;
    --header-height: 80px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px var(--color-accent-glow);

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

/* ---------- UTILITY ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

.container--wide {
    max-width: var(--max-width-wide);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-accent);
    color: var(--color-dark);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 700;
}

.skip-link:focus {
    top: var(--space-md);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 154, 75, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--color-text-inverse);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-light);
}

.btn--white:hover {
    background: var(--color-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-dark);
}

.btn--outline-white {
    background: transparent;
    color: var(--color-text-inverse);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-text-inverse);
}

.btn--dark {
    background: var(--color-dark);
    color: var(--color-text-inverse);
    border-color: var(--color-dark);
}

.btn--dark:hover {
    background: var(--color-dark-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-text-inverse);
}

.btn--lg {
    padding: 1.1rem 2.5rem;
    font-size: var(--text-sm);
}

/* ---------- SECTION HEADER ---------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header--left {
    text-align: left;
}

.section-header__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.section-header__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-soft);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header--left .section-header__subtitle {
    margin: 0;
}

/* Dark section overrides */
.section--dark .section-header__title {
    color: var(--color-text-inverse);
}

.section--dark .section-header__subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition);
}

/* Transparent on hero, glass on scroll */
.site-header:not(.site-header--scrolled) {
    background: transparent;
}

.site-header--scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-header__logo-text {
    font-size: var(--text-lg);
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: color var(--transition);
}

/* White logo on transparent header, dark on scrolled */
.site-header:not(.site-header--scrolled) .site-header__logo-text {
    color: var(--color-text-inverse);
}

.site-header--scrolled .site-header__logo-text {
    color: var(--color-text);
}

/* Nav toggle (mobile) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    transition: all var(--transition);
}

.site-header:not(.site-header--scrolled) .nav-toggle__bar {
    background: var(--color-text-inverse);
}

.site-header--scrolled .nav-toggle__bar {
    background: var(--color-text);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
    background: var(--color-text);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Primary nav (mobile) */
.primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(90vw, 380px);
    height: 100dvh;
    background: var(--color-light);
    padding: calc(var(--header-height) + var(--space-2xl)) var(--space-2xl) var(--space-2xl);
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    z-index: 1000;
}

.primary-nav--open {
    transform: translateX(0);
}

.primary-nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.primary-nav__list li a {
    display: block;
    padding: var(--space-md) var(--space-sm);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.primary-nav__list li a:hover,
.primary-nav__list li.current-menu-item a {
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

.primary-nav__cta {
    margin-top: var(--space-xl);
    width: 100%;
    text-align: center;
}

/* Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
}

.nav-overlay--visible {
    opacity: 1;
    visibility: visible;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__fallback {
    display: none;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 15, 19, 0.4) 0%, rgba(12, 15, 19, 0.2) 40%, rgba(12, 15, 19, 0.7) 100%),
        linear-gradient(135deg, rgba(12, 15, 19, 0.5) 0%, transparent 60%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-4xl);
    max-width: 720px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-4xl), 8vw, var(--text-7xl));
    font-weight: 800;
    color: var(--color-text-inverse);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-xl);
}

.hero__title-accent {
    display: block;
    color: var(--color-accent);
    margin-top: 0.1em;
}

.hero__subtitle {
    font-size: clamp(var(--text-base), 2vw, var(--text-xl));
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

/* Stats overlap bar */
.hero__stats-bar {
    position: relative;
    z-index: 2;
    margin-top: -3.5rem;
    padding: 0 var(--space-md);
}

.hero__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(12, 15, 19, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 154, 75, 0.2);
    border-radius: 16px;
    padding: var(--space-xl) var(--space-2xl);
    max-width: 720px;
    margin: 0 auto;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    text-align: center;
    padding: var(--space-sm) var(--space-md);
}

.hero__stat-icon {
    color: var(--color-accent);
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.hero__stat-number {
    font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero__stat-label {
    font-size: var(--text-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__stat-divider {
    width: 1px;
    height: 3rem;
    background: linear-gradient(180deg, transparent, rgba(196, 154, 75, 0.3), transparent);
    flex-shrink: 0;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
    background: var(--color-dark);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.trust-bar__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.trust-bar__item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.trust-bar__item svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

.trust-bar__item span {
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.01em;
}

/* ---------- SERVICES ---------- */
.services {
    padding: var(--space-section) 0;
    background: var(--color-light);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.service-card {
    position: relative;
    background: var(--color-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.service-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover .service-card__image::after {
    opacity: 1;
}

.service-card__image img,
.service-card__image picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__image img,
.service-card:hover .service-card__image picture img {
    transform: scale(1.08);
}

.service-card__body {
    padding: var(--space-xl) var(--space-xl) var(--space-2xl);
}

.service-card__title {
    font-size: var(--text-xl);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.service-card__desc {
    font-size: var(--text-base);
    color: var(--color-text-soft);
    margin-bottom: var(--space-lg);
    line-height: 1.65;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: gap var(--transition);
}

.service-card__link:hover {
    gap: 0.85rem;
    color: var(--color-accent);
}

/* ---------- WHY US ---------- */
.why-us {
    padding: var(--space-section) 0;
    background: var(--color-warm);
}

.why-us__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.why-us__reasons {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.reason {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.reason__number {
    flex-shrink: 0;
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.04em;
    opacity: 0.3;
    min-width: 64px;
}

.reason__title {
    font-size: var(--text-lg);
    font-weight: 800;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.reason__desc {
    font-size: var(--text-base);
    color: var(--color-text-soft);
    line-height: 1.65;
}

.why-us__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.why-us__image::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-accent), transparent 60%);
    z-index: -1;
    opacity: 0.4;
}

.why-us__image img,
.why-us__image picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: transform var(--transition-slow);
}

.why-us__image:hover img,
.why-us__image:hover picture img {
    transform: scale(1.02);
}

/* ---------- PROCESS ---------- */
.process {
    padding: var(--space-section) 0;
    background: var(--color-light);
}

.process__timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    position: relative;
}

.process__step {
    position: relative;
    padding: var(--space-2xl);
    background: var(--color-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition);
}

.process__step:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--color-accent);
}

.process__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--color-dark);
    background: var(--color-accent);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    transition: all var(--transition);
}

.process__step:hover .process__step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(196, 154, 75, 0.4);
}

.process__step-title {
    font-size: var(--text-lg);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.process__step-desc {
    font-size: var(--text-base);
    color: var(--color-text-soft);
    line-height: 1.65;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: var(--space-section) 0;
    background: var(--color-dark);
}

.gallery .section-header__title {
    color: var(--color-text-inverse);
}

.gallery .section-header__subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Masonry-like: first two items (before) are portrait, rest are landscape */
.gallery__item:nth-child(1),
.gallery__item:nth-child(2) {
    aspect-ratio: 3 / 4;
}

.gallery__item:nth-child(n+3) {
    aspect-ratio: 16 / 10;
}

.gallery__item img,
.gallery__item picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.05);
}

.gallery__item:hover img,
.gallery__item:hover picture img {
    transform: scale(1.06);
}

/* Before/after labels */
.gallery__label {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.35rem 0.85rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    z-index: 2;
    backdrop-filter: blur(8px);
}

.gallery__label--before {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery__label--after {
    background: rgba(196, 154, 75, 0.2);
    color: var(--color-accent);
    border: 1px solid rgba(196, 154, 75, 0.3);
}

/* Hover overlay */
.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 15, 19, 0.5), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius-md);
}

.gallery__item:hover::after {
    opacity: 1;
}

/* ---------- FAQ ---------- */
.faq {
    padding: var(--space-section) 0;
    background: var(--color-warm);
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq__item {
    background: var(--color-light);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq__item:hover {
    box-shadow: var(--shadow-md);
}

.faq__item[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    transition: color var(--transition);
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__item[open] .faq__question {
    color: var(--color-accent);
}

.faq__icon {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--color-accent);
    opacity: 0.6;
}

.faq__item[open] .faq__icon {
    transform: rotate(180deg);
    opacity: 1;
}

.faq__answer {
    padding: 0 var(--space-xl) var(--space-xl);
}

.faq__answer p {
    font-size: var(--text-base);
    color: var(--color-text-soft);
    line-height: 1.75;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: var(--space-section) 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

/* Decorative gradient orb */
.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-accent-glow), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-section__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2xl);
}

.cta-section__title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    font-weight: 800;
    color: var(--color-text-inverse);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cta-section__text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    line-height: 1.6;
}

.cta-section__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--color-dark);
    padding: var(--space-4xl) 0 var(--space-xl);
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid var(--color-border-light);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.site-footer__heading {
    font-size: var(--text-base);
    font-weight: 800;
    color: var(--color-text-inverse);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

.site-footer__desc {
    line-height: 1.65;
    font-size: var(--text-sm);
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.site-footer__links a,
.site-footer__links span {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    transition: color var(--transition);
}

.site-footer__links a:hover {
    color: var(--color-accent);
}

.site-footer__contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-footer__contact svg {
    flex-shrink: 0;
    color: var(--color-accent);
    opacity: 0.6;
}

.site-footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border-light);
    text-align: center;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- FLOATING CTA (mobile) ---------- */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 900;
    transform: translateY(100%);
    transition: transform var(--transition);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.floating-cta--visible {
    transform: translateY(0);
}

.floating-cta__phone,
.floating-cta__quote {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--transition);
}

.floating-cta__phone {
    background: var(--color-success);
    color: var(--color-text-inverse);
}

.floating-cta__phone:hover {
    background: #16a34a;
    color: var(--color-text-inverse);
}

.floating-cta__quote {
    background: var(--color-accent);
    color: var(--color-dark);
}

.floating-cta__quote:hover {
    background: var(--color-accent-hover);
    color: var(--color-dark);
}

/* ---------- PAGE CONTENT ---------- */
.page-content {
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-section);
}

.page-content__title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
    font-weight: 800;
    margin-bottom: var(--space-2xl);
    color: var(--color-text);
    letter-spacing: -0.03em;
}

.page-content__body h2 {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin: var(--space-2xl) 0 var(--space-md);
    letter-spacing: -0.02em;
}

.page-content__body h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin: var(--space-xl) 0 var(--space-sm);
}

.page-content__body p {
    margin-bottom: var(--space-md);
    line-height: 1.75;
    color: var(--color-text-soft);
}

.page-content__body ul,
.page-content__body ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.page-content__body ul { list-style: disc; }
.page-content__body ol { list-style: decimal; }

.page-content__body li {
    margin-bottom: var(--space-xs);
    line-height: 1.65;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
    padding: calc(var(--header-height) + var(--space-md)) 0 0;
    margin: 0 auto;
    max-width: var(--max-width-narrow);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.breadcrumb__sep {
    margin: 0 var(--space-xs);
}

.breadcrumb__list a {
    color: var(--color-text-muted);
}

.breadcrumb__list a:hover {
    color: var(--color-accent);
}

.breadcrumb__item--current {
    color: var(--color-text);
    font-weight: 600;
}

/* ---------- TESTIMONIALS (placeholder) ---------- */
.testimonials {
    padding: var(--space-section) 0;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.testimonial {
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition);
}

.testimonial:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial__stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-lg);
}

.testimonial__text {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial__footer {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial__author {
    font-weight: 700;
    font-style: normal;
    color: var(--color-text);
}

.testimonial__source {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.testimonial__source::before {
    content: '\00b7';
    margin-right: var(--space-sm);
}

/* ---------- ANIMATIONS ---------- */
/* Scroll animations — only hide if JS is available */
.js-ready [data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fallback: if .js-ready is never added, content stays visible */
[data-animate] {
    /* default: fully visible */
}

.js-ready [data-animate="fade-right"] {
    transform: translateX(-40px);
}

.js-ready [data-animate="fade-left"] {
    transform: translateX(40px);
}

.js-ready [data-animate="zoom-in"] {
    transform: scale(0.92);
}

.js-ready [data-animate="fade-up"] {
    transform: translateY(40px);
}

.js-ready [data-animate].animated {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Stagger delay for grid items */
[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }
[data-animate-delay="5"] { transition-delay: 0.5s; }
[data-animate-delay="6"] { transition-delay: 0.6s; }

/* Hero text reveal */
.hero__title,
.hero__subtitle,
.hero__actions,
.hero__stats-bar {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero__title { animation-delay: 0.2s; }
.hero__subtitle { animation-delay: 0.5s; }
.hero__actions { animation-delay: 0.7s; }
.hero__stats-bar { animation-delay: 0.9s; }

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE: SMALL (max 640px) ---------- */
@media (max-width: 640px) {
    /* Reduce section spacing on mobile */
    :root {
        --space-section: clamp(3.5rem, 8vw, 5rem);
    }

    /* Hero mobile tweaks */
    .hero {
        min-height: 100svh;
    }

    .hero__content {
        padding-top: calc(var(--header-height) + var(--space-lg));
        padding-bottom: var(--space-lg);
    }

    .hero__title {
        font-size: clamp(2.25rem, 10vw, var(--text-4xl));
        margin-bottom: var(--space-md);
    }

    .hero__subtitle {
        font-size: var(--text-base);
        margin-bottom: var(--space-xl);
    }

    /* Buttons stack on small mobile */
    .hero__actions {
        flex-direction: column;
        margin-bottom: var(--space-lg);
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Stats bar compact on mobile */
    .hero__stats-bar {
        margin-top: 0;
        padding: 0 var(--space-md);
        position: relative;
        z-index: 2;
    }

    .hero__stats {
        flex-direction: row;
        gap: 0;
        padding: var(--space-lg) var(--space-sm);
        border-radius: 12px;
        max-width: 100%;
    }

    .hero__stat {
        flex-direction: column;
        text-align: center;
        gap: 0.15rem;
        padding: var(--space-xs) 0;
    }

    .hero__stat-icon {
        margin-bottom: 0.15rem;
        width: 20px;
        height: 20px;
    }

    .hero__stat-number {
        font-size: var(--text-base);
        font-weight: 800;
    }

    .hero__stat-label {
        font-size: 0.65rem;
    }

    .hero__stat-divider {
        width: 1px;
        height: 2.5rem;
        background: linear-gradient(180deg, transparent, rgba(196, 154, 75, 0.25), transparent);
    }

    /* Trust bar: single column on small mobile */
    .trust-bar {
        padding: var(--space-lg) 0;
    }

    .trust-bar__inner {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .trust-bar__item {
        padding: var(--space-sm) var(--space-md);
    }

    .trust-bar__item span {
        font-size: var(--text-xs);
    }

    /* Services card compact */
    .service-card__body {
        padding: var(--space-lg);
    }

    .service-card__title {
        font-size: var(--text-lg);
    }

    .service-card__desc {
        font-size: var(--text-sm);
    }

    /* Why-us: smaller reason numbers */
    .reason {
        gap: var(--space-md);
    }

    .reason__number {
        font-size: var(--text-2xl);
        min-width: 40px;
    }

    .reason__title {
        font-size: var(--text-base);
    }

    .reason__desc {
        font-size: var(--text-sm);
    }

    .why-us__image {
        border-radius: var(--radius-lg);
        max-height: 350px;
        overflow: hidden;
    }

    .why-us__image img,
    .why-us__image picture img {
        border-radius: var(--radius-lg);
        max-height: 350px;
        width: 100%;
        object-fit: cover;
    }

    /* Process compact */
    .process__step {
        padding: var(--space-lg);
    }

    .process__step-number {
        width: 42px;
        height: 42px;
        font-size: var(--text-base);
        margin-bottom: var(--space-md);
    }

    .process__step-desc {
        font-size: var(--text-sm);
    }

    /* Gallery: single column on very small screens */
    .gallery__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .gallery__item:nth-child(1),
    .gallery__item:nth-child(2) {
        aspect-ratio: 16 / 10;
    }

    .gallery__item:nth-child(n+3) {
        aspect-ratio: 16 / 10;
    }

    .gallery .section-header {
        margin-bottom: var(--space-xl);
    }

    /* FAQ compact */
    .faq__question {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--text-sm);
    }

    .faq__answer {
        padding: 0 var(--space-lg) var(--space-lg);
    }

    .faq__answer p {
        font-size: var(--text-sm);
    }

    /* CTA compact */
    .cta-section__actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-section__actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Section headers compact */
    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-header__title {
        font-size: clamp(1.5rem, 7vw, var(--text-3xl));
    }

    .section-header__subtitle {
        font-size: var(--text-sm);
    }

    /* Footer compact — extra bottom padding for floating CTA */
    .site-footer {
        padding: var(--space-2xl) 0 calc(var(--space-md) + 60px);
    }

    .site-footer__grid {
        gap: var(--space-xl);
        margin-bottom: var(--space-xl);
    }

    /* Floating CTA: iPhone safe area */
    .floating-cta {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .floating-cta__phone,
    .floating-cta__quote {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--text-sm);
        min-height: 52px;
    }
}

/* ---------- RESPONSIVE: SMALL-MEDIUM (480px+) ---------- */
@media (min-width: 480px) and (max-width: 767px) {
    /* Gallery 2 columns on mid-mobile */
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__item:nth-child(1),
    .gallery__item:nth-child(2) {
        aspect-ratio: 3 / 4;
    }

    .gallery__item:nth-child(n+3) {
        aspect-ratio: 16 / 10;
    }

    /* Trust bar 2 columns */
    .trust-bar__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero buttons side by side again */
    .hero__actions {
        flex-direction: row;
    }

    .hero__actions .btn {
        width: auto;
    }
}

/* ---------- RESPONSIVE: TABLET (768px+) ---------- */
@media (min-width: 768px) {
    .trust-bar__inner {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

    /* Gallery: 3 columns with first two spanning */
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .gallery__item:nth-child(1),
    .gallery__item:nth-child(2) {
        aspect-ratio: auto;
        grid-row: span 2;
    }

    .gallery__item:nth-child(n+3) {
        aspect-ratio: 16 / 10;
    }

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

    .site-footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-header__title {
        font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    }

    .cta-section__title {
        font-size: var(--text-5xl);
    }
}

/* ---------- RESPONSIVE: DESKTOP (1024px+) ---------- */
@media (min-width: 1024px) {
    /* Desktop nav */
    .nav-toggle {
        display: none;
    }

    .primary-nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        transform: none;
        box-shadow: none;
        overflow: visible;
        display: flex;
        align-items: center;
        gap: var(--space-sm);
    }

    .primary-nav__list {
        flex-direction: row;
        gap: 0;
    }

    .primary-nav__list li a {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-sm);
        font-weight: 500;
        border-radius: var(--radius-full);
    }

    /* Nav link colors adapt to header state */
    .site-header:not(.site-header--scrolled) .primary-nav__list li a {
        color: rgba(255, 255, 255, 0.75);
    }

    .site-header:not(.site-header--scrolled) .primary-nav__list li a:hover,
    .site-header:not(.site-header--scrolled) .primary-nav__list li.current-menu-item a {
        color: var(--color-text-inverse);
        background: rgba(255, 255, 255, 0.1);
    }

    .site-header--scrolled .primary-nav__list li a {
        color: var(--color-text-soft);
    }

    .site-header--scrolled .primary-nav__list li a:hover,
    .site-header--scrolled .primary-nav__list li.current-menu-item a {
        color: var(--color-text);
        background: rgba(0, 0, 0, 0.04);
    }

    .primary-nav__cta {
        margin-top: 0;
        width: auto;
    }

    /* CTA button color adapts */
    .site-header:not(.site-header--scrolled) .primary-nav__cta {
        background: var(--color-accent);
        color: var(--color-dark);
        border-color: var(--color-accent);
    }

    .site-header--scrolled .primary-nav__cta {
        background: var(--color-dark);
        color: var(--color-text-inverse);
        border-color: var(--color-dark);
    }

    /* Why us side by side */
    .why-us__layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }

    /* Services 2x2 with more gap */
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }

    /* Process 4 columns */
    .process__timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }

    /* Connecting line between process steps */
    .process__step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: calc(var(--space-2xl) + 26px);
        right: -0.75rem;
        width: 1.5rem;
        height: 2px;
        background: var(--color-stone);
        z-index: 1;
    }

    /* Testimonials 3 columns */
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* CTA horizontal */
    .cta-section__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cta-section__text {
        margin: 0;
    }

    /* Floating CTA hidden on desktop */
    .floating-cta {
        display: none;
    }
}

/* ---------- RESPONSIVE: WIDE (1280px+) ---------- */
@media (min-width: 1280px) {
    .hero__title {
        font-size: var(--text-7xl);
    }

    .reason__number {
        font-size: var(--text-5xl);
        min-width: 80px;
    }
}

/* ---------- PRINT ---------- */
@media print {
    .site-header,
    .floating-cta,
    .cta-section,
    .nav-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero__overlay { display: none; }
    .hero__title { color: #000; }
}
