/* ===== MANCIPE — Referencia: estudios de arquitectura premium ===== */
:root {
    --serif: "Instrument Serif", Georgia, serif;
    --sans: "Inter", system-ui, sans-serif;

    --white: #FAFAF8;
    --surface: #FFFFFF;
    --off: #E8E3DA;
    --canvas: #D5CEC3;
    --ink: #141414;
    --ink-2: #2E2E2E;
    --ink-3: #5C5C5C;
    --line: rgba(20, 20, 20, 0.14);
    --line-strong: #B8AFA2;
    --line-light: rgba(255, 255, 255, 0.18);

    --accent: #7A6248;
    --accent-light: #9A7F5E;
    --accent-bar: #8B7355;

    --shadow-sm: 0 2px 12px rgba(20, 20, 20, 0.08);
    --shadow: 0 8px 32px rgba(20, 20, 20, 0.12);
    --shadow-lg: 0 20px 50px rgba(20, 20, 20, 0.16);

    --header-h: 76px;
    --promo-h: 40px;
    --max: 1200px;
    --ease: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    --section-pad: clamp(2.5rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

body.sitio-web {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16px;
    background: var(--canvas);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Marco general de secciones */
.sw-clients,
.sw-projects,
.sw-services,
.sw-process,
.sw-certs,
.sw-about,
.sw-testimonials,
.sw-social-section,
.sw-cta,
.sw-form-section,
.sw-contact {
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    border-left: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
    position: relative;
    width: min(100%, calc(var(--max) + 3rem));
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.sw-clients::before,
.sw-projects::before,
.sw-services::before,
.sw-process::before,
.sw-certs::before,
.sw-about::before,
.sw-testimonials::before,
.sw-social-section::before,
.sw-cta::before,
.sw-form-section::before,
.sw-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-bar);
    z-index: 1;
}

.sw-container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    position: relative;
    z-index: 2;
}

.sitio-web a { text-decoration: none; color: inherit; }
.sitio-web img { display: block; max-width: 100%; }

.sitio-web :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.sw-skip {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 999;
    padding: 0.75rem 1.25rem;
    background: var(--ink);
    color: var(--white);
    font-size: 0.85rem;
    border-radius: 4px;
}

.sw-skip:focus { top: 1rem; }

.sw-grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sw-panel {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

/* ----- Promo bar ----- */
.sw-promo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 250;
    height: var(--promo-h);
    background: var(--ink);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 3rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.sw-promo-text {
    color: var(--white);
    text-align: center;
    transition: opacity 0.25s;
}

.sw-promo-text:hover { opacity: 0.85; }

.sw-promo-close {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.25rem;
}

.sw-promo-close:hover { color: var(--white); }

.sw-header.has-promo {
    top: var(--promo-h);
}

/* ----- Header ----- */
.sw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--header-h);
    transition: background var(--ease), backdrop-filter var(--ease), border-color var(--ease);
    border-bottom: 1px solid transparent;
}

.sw-header.is-scrolled {
    background: rgba(250, 250, 248, 0.96);
    backdrop-filter: blur(20px);
    border-color: var(--line-strong);
    box-shadow: 0 4px 24px rgba(20, 20, 20, 0.08);
}

.sw-header-inner {
    max-width: var(--max);
    margin: 0 auto;
    height: 100%;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
}

.sw-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: auto;
}

.sw-brand-mark {
    width: 36px;
    height: 36px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
    flex-shrink: 0;
    transition: color var(--ease), border-color var(--ease);
}

.sw-header:not(.is-scrolled) .sw-brand-mark,
.sw-header:not(.is-scrolled) .sw-brand-name,
.sw-header:not(.is-scrolled) .sw-nav a,
.sw-header:not(.is-scrolled) .sw-burger span {
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.sw-brand-name {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color var(--ease);
}

::selection {
    background: rgba(139, 115, 85, 0.2);
    color: var(--ink);
}

.sw-nav {
    display: flex;
    gap: 1.15rem;
    flex-shrink: 1;
    min-width: 0;
}

.sw-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink-2);
    transition: color 0.25s, opacity 0.25s;
    position: relative;
}

.sw-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--ease);
}

.sw-nav a:hover::after { width: 100%; }

.sw-nav a.is-active {
    color: var(--ink);
    font-weight: 600;
}

.sw-nav a.is-active::after { width: 100%; }

.sw-header:not(.is-scrolled) .sw-nav a.is-active {
    color: var(--white);
}

.sw-header-cta {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 0.7rem 1.35rem;
    background: var(--ink);
    color: var(--white) !important;
    border-radius: 100px;
    transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
    white-space: nowrap;
}

.sw-header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(20, 20, 20, 0.18);
}

.sw-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.sw-burger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    transition: background var(--ease);
}

.sw-burger span:nth-child(2) { width: 18px; }

/* ----- Hero ----- */
.sw-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sw-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sw-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    will-change: transform;
}

.sw-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.45) 45%, rgba(10,10,10,0.25) 100%),
        linear-gradient(to right, rgba(10,10,10,0.5) 0%, transparent 60%);
}

.sw-hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 80%, transparent);
}

.sw-hero-body {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: calc(var(--header-h) + 3rem) clamp(1.25rem, 4vw, 2.5rem) 4rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem 3rem;
}

body.has-promo .sw-hero-body {
    padding-top: calc(var(--header-h) + var(--promo-h) + 3rem);
}

.sw-hero-content { max-width: 720px; }

.sw-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin: 0 0 1.25rem;
}

.sw-eyebrow-dark { color: var(--accent); }

.sw-hero h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 7.5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--white);
    margin: 0 0 1.5rem;
}

.sw-hero-lead {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 300;
    color: rgba(255,255,255,0.72);
    max-width: 52ch;
    margin: 0 0 2.25rem;
    line-height: 1.75;
}

.sw-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.sw-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.85rem;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform var(--ease), background var(--ease), color var(--ease);
}

.sw-btn-light {
    background: var(--ink);
    color: var(--white) !important;
}

.sw-btn-light:hover {
    transform: translateY(-2px);
    background: var(--ink-2);
}

.sw-btn-ghost {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
}

.sw-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: var(--white);
}

.sw-btn-dark {
    background: var(--white);
    color: var(--ink) !important;
}

.sw-btn-dark:hover {
    transform: translateY(-2px);
    background: var(--off);
}

/* CTA oscuro: texto negro sobre botón blanco (evita heredar color blanco del contenedor) */
.sw-cta-inner .sw-btn-dark {
    background: var(--white);
    color: var(--ink) !important;
}

.sw-cta-inner .sw-btn-dark:hover {
    background: var(--off);
}

.sw-hero-stats {
    display: flex;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    padding-bottom: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.sw-hero .reveal {
    opacity: 1;
    transform: none;
}

.sw-hero-stat {
    text-align: left;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 1.25rem;
}

.sw-hero-stat:first-child {
    border-left: none;
    padding-left: 0;
}

.sw-hero-stat strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1;
}

.sw-hero-stat span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 0.35rem;
    display: block;
}

.sw-scroll-hint {
    position: absolute;
    bottom: 2rem;
    right: clamp(1.25rem, 4vw, 2.5rem);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sw-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ----- Section shared ----- */
.sw-section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sw-section-top.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sw-section-top h2 {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
}

.sw-section-top h2 em {
    font-style: italic;
    color: var(--accent);
}

.sw-section-desc {
    max-width: 36ch;
    color: var(--ink-3);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    margin: 0;
}

/* ----- Projects horizontal scroll ----- */
.sw-projects {
    padding: var(--section-pad) 0 1rem;
    background: var(--off);
    overflow: hidden;
}

.sw-projects > .sw-container {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    padding-top: clamp(1.75rem, 3vw, 2.5rem);
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 0;
}

.sw-projects-wrap {
    position: relative;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid var(--line-strong);
}

.sw-projects-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
}

.sw-projects-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--ink);
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.sw-projects-nav-btn:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
    transform: scale(1.05);
}

.sw-projects-track {
    display: flex;
    gap: 1.25rem;
    padding: 0 0 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.sw-projects-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.sw-projects-track::-webkit-scrollbar { display: none; }

.sw-project-card {
    flex: 0 0 clamp(280px, 38vw, 420px);
    scroll-snap-align: start;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    border: 2px solid var(--line-strong);
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.sw-project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.sw-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sw-project-card:hover img {
    transform: scale(1.06);
}

.sw-project-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
    color: var(--white);
}

.sw-project-cat {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.35rem;
}

.sw-project-info h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
}

.sw-project-more {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    margin-top: 0.65rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--ease), transform var(--ease);
}

.sw-project-card:hover .sw-project-more {
    opacity: 0.85;
    transform: translateY(0);
}

@media (hover: none) {
    .sw-project-more {
        opacity: 0.8;
        transform: none;
    }
}

/* ----- Clients strip ----- */
.sw-clients {
    padding: clamp(2.75rem, 5vw, 4rem) 0;
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(122, 98, 72, 0.18), transparent 65%),
        linear-gradient(180deg, #1c1c1c 0%, var(--ink) 100%);
    color: var(--white);
    overflow: hidden;
}

.sw-clients > .sw-container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.sw-clients-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto clamp(1.75rem, 3vw, 2.25rem);
}

.sw-clients .sw-eyebrow-dark {
    color: var(--accent-light);
}

.sw-clients-title {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 0.65rem;
}

.sw-clients-title em {
    font-style: italic;
    color: var(--accent-light);
}

.sw-clients-sub {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
}

.sw-clients-marquee {
    position: relative;
    overflow: hidden;
    padding: 0.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.sw-clients-marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
    width: max-content;
    padding: 1.15rem 0;
    animation: swClientsMarquee 55s linear infinite;
    will-change: transform;
}

.sw-clients-marquee:hover .sw-clients-marquee-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .sw-clients-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 1.5rem 2.5rem;
        padding: 1.25rem 0.5rem;
    }

    .sw-clients-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

@keyframes swClientsMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.sw-client-logo-cell {
    flex: 0 0 auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    min-width: 8rem;
    height: 4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sw-client-logo {
    display: block;
    width: auto;
    height: clamp(2.5rem, 3.2vw, 3.25rem);
    max-width: 11.5rem;
    object-fit: contain;
    object-position: center;
    filter: none;
    transition: transform 0.3s ease;
}

.sw-client-logo-cell:hover,
.sw-client-logo-cell:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.sw-client-logo-cell:hover .sw-client-logo,
.sw-client-logo-cell:focus-within .sw-client-logo {
    transform: scale(1.04);
}

.sw-clients-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
}

.sw-client-chip {
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    transition: border-color var(--ease), background var(--ease);
}

.sw-client-chip:hover {
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.12);
}

/* ----- Project filters ----- */
.sw-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.sw-filter-btn {
    padding: 0.55rem 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: all var(--ease);
}

.sw-filter-btn:hover,
.sw-filter-btn.active {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.sw-no-projects {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--ink-3);
    width: 100%;
}

/* ----- Services list (editorial rows) ----- */
.sw-services {
    padding: var(--section-pad) 0;
    background: var(--ink);
    color: var(--white);
}

.sw-services .sw-section-top h2 { color: var(--white); }
.sw-services .sw-eyebrow-dark { color: var(--accent-light); }

.sw-services-list {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.sw-service-row {
    display: grid;
    grid-template-columns: 60px 48px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 2.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: background var(--ease), padding-left var(--ease);
}

.sw-service-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

.sw-service-row:hover {
    padding-left: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

.sw-service-num {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    padding-top: 0.15rem;
}

.sw-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    color: var(--accent-light);
    background: rgba(255, 255, 255, 0.06);
    transition: background var(--ease), border-color var(--ease);
}

.sw-service-row:hover .sw-service-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.sw-service-body h3 {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 400;
    margin: 0 0 0.5rem;
    color: var(--white);
}

.sw-service-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    font-weight: 300;
    max-width: 58ch;
    line-height: 1.7;
}

/* ----- Process ----- */
.sw-process {
    padding: var(--section-pad) 0;
    background: var(--surface);
}

.sw-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 2px solid var(--line-strong);
    background: var(--line-strong);
}

.sw-process-step {
    background: var(--surface);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    transition: background var(--ease);
    border-right: 1px solid var(--line-strong);
}

.sw-process-step:last-child { border-right: none; }

.sw-process-step:hover { background: var(--off); }

.sw-process-num {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--line);
    display: block;
    margin-bottom: 1.25rem;
    line-height: 1;
    transition: color var(--ease);
}

.sw-process-step:hover .sw-process-num { color: var(--accent); }

.sw-process-step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.sw-process-step p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink-3);
    font-weight: 300;
    line-height: 1.65;
}

/* ----- About ----- */
.sw-about {
    padding: var(--section-pad) 0;
    background: var(--canvas);
}

.sw-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    background: var(--surface);
    border: 2px solid var(--line-strong);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    overflow: hidden;
}

.sw-about-image {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--line-strong);
}

.sw-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sw-about-copy {
    min-width: 0;
}

.sw-about-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--white);
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.sw-about-badge strong {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    line-height: 1;
}

.sw-about-badge span {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.sw-about-copy h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 1.5rem;
}

.sw-about-copy > p {
    color: var(--ink-2);
    font-weight: 300;
    line-height: 1.8;
    margin: 0 0 1.15rem;
}

.sw-values-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--line-strong);
}

.sw-value-chip {
    min-width: 0;
    padding: 1rem;
    background: var(--off);
    border: 1px solid var(--line-strong);
}

.sw-value-chip strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sw-value-chip span {
    font-size: 0.78rem;
    color: var(--ink-3);
    line-height: 1.45;
}

/* ----- CTA ----- */
.sw-cta {
    padding: var(--section-pad) 0;
    background: var(--off);
}

.sw-cta-inner {
    background: var(--ink);
    color: var(--white);
    border-radius: 0;
    border: 2px solid var(--line-strong);
    padding: clamp(3rem, 6vw, 5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sw-cta-inner::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    top: -250px;
    right: -100px;
    pointer-events: none;
}

.sw-cta-inner h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin: 0 0 0.85rem;
    position: relative;
}

.sw-cta-inner p {
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    max-width: 44ch;
    margin: 0 auto 2rem;
    position: relative;
}

/* ----- Contact ----- */
.sw-contact {
    padding: var(--section-pad) 0;
    background: var(--canvas);
}

.sw-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0;
    align-items: stretch;
    border: 2px solid var(--line-strong);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.sw-contact-left {
    padding: clamp(2rem, 4vw, 3rem);
    border-right: 2px solid var(--line-strong);
}

.sw-contact-left h2 {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1.08;
    margin: 0 0 1rem;
}

.sw-contact-intro {
    color: var(--ink-3);
    font-weight: 300;
    margin: 0 0 2.5rem;
    max-width: 38ch;
}

.sw-contact-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sw-contact-items li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.sw-contact-items li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sw-contact-items a,
.sw-contact-items span:not(.sw-ci-label) {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.5;
}

.sw-contact-items a[href^="mailto"] {
    word-break: break-word;
}

.sw-ci-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.sw-contact-items a {
    transition: color 0.25s;
}

.sw-contact-items a:hover { color: var(--accent); }

.sw-contact-map {
    border-radius: 0;
    overflow: hidden;
    border: none;
    border-left: none;
    display: flex;
    flex-direction: column;
    background: var(--off);
    min-height: 100%;
}

.sw-contact-map iframe {
    width: 100%;
    flex: 1;
    min-height: 360px;
    height: 100%;
    border: 0;
    filter: grayscale(15%) contrast(1.02);
    display: block;
}

.sw-map-link {
    display: block;
    padding: 0.85rem 1rem;
    text-align: center;
    background: var(--off);
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent);
    transition: background 0.25s;
}

.sw-map-link:hover { background: var(--line); }

/* ----- Footer ----- */
.sw-footer {
    padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
    border-top: none;
    background: var(--ink);
    color: rgba(255,255,255,0.7);
}

.sw-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.sw-footer-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sw-footer-left strong {
    display: block;
    font-size: 0.9rem;
}

.sw-footer-left span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.sw-footer p {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

.sw-footer-links {
    display: flex;
    gap: 1.75rem;
}

.sw-footer-links a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.25s;
}

.sw-footer-links a:hover { color: var(--white); }

/* ----- Drawer ----- */
.sw-drawer {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--ease), visibility var(--ease);
}

.sw-drawer.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.sw-drawer nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.sw-drawer nav a {
    font-family: var(--serif);
    font-size: 2.5rem;
    color: var(--ink);
}

.sw-drawer-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--ink);
}

/* ----- Reveal ----- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
    .sw-nav { gap: 0.85rem; }
    .sw-nav a { font-size: 0.76rem; }
    .sw-header-cta { padding: 0.65rem 1.1rem; font-size: 0.78rem; }
}

@media (max-width: 1024px) {
    .sw-nav, .sw-header-cta { display: none; }
    .sw-burger { display: flex; }
    .sw-process-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-process-step { border-right: none; border-bottom: 1px solid var(--line-strong); }
    .sw-process-step:nth-child(2n) { border-right: none; }
    .sw-about-grid,
    .sw-contact-layout,
    .sw-form-layout { grid-template-columns: 1fr; }
    .sw-about-image { max-height: 480px; aspect-ratio: 16/10; }
    .sw-form-intro { border-right: none; border-bottom: 2px solid var(--line-strong); }
    .sw-contact-left { border-right: none; border-bottom: 2px solid var(--line-strong); }
    .sw-certs-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-testimonials-grid { grid-template-columns: 1fr; }
    .sw-form-layout { grid-template-columns: 1fr; }
    .sw-hero-body {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .sw-hero-stats {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .sw-social-header { flex-direction: column; align-items: flex-start; }
    .sw-values-row { grid-template-columns: 1fr; }
}

/* ----- Quick contact actions ----- */
.sw-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.sw-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--off);
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.sw-quick-btn:hover {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
    transform: translateY(-1px);
}

.sw-quick-btn-wa:hover { background: #25D366; border-color: #25D366; }

/* ----- Certs header ----- */
.sw-certs-head {
    text-align: center;
    margin-bottom: 2rem;
}

.sw-certs-head h2 {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin: 0.5rem 0 0;
}

@media (max-width: 768px) {
    .sw-wa-float { display: none; bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

/* ----- Social section ----- */
.sw-social-section {
    padding: var(--section-pad) 0;
    background: var(--ink);
    color: var(--white);
}

.sw-social-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.sw-social-header h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
}

.sw-social-header h2 em { font-style: italic; color: var(--accent-light); }

.sw-social-header h2 { color: var(--white); }

.sw-social-sub {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    max-width: 42ch;
    margin: 1rem 0 0;
    line-height: 1.7;
}

.sw-social-section .sw-eyebrow-dark { color: var(--accent-light); }

.sw-social-icons-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.sw-social-link,
.sw-social-link-lg,
.sw-social-link-footer {
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--white);
    transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}

.sw-social-link { width: 40px; height: 40px; }
.sw-social-link-lg {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
}
.sw-social-link-footer { width: 44px; height: 44px; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }

.sw-social-link:hover,
.sw-social-link-lg:hover {
    transform: translateY(-3px);
    color: var(--white);
    border-color: transparent;
}

a.sw-social-link[aria-label="Instagram"]:hover,
a.sw-social-link-lg[aria-label="Instagram"]:hover { background: #E1306C; }

a.sw-social-link[aria-label="LinkedIn"]:hover,
a.sw-social-link-lg[aria-label="LinkedIn"]:hover { background: #0A66C2; }

a.sw-social-link[aria-label="Facebook"]:hover,
a.sw-social-link-lg[aria-label="Facebook"]:hover { background: #1877F2; }

a.sw-social-link[aria-label="TikTok"]:hover,
a.sw-social-link-lg[aria-label="TikTok"]:hover { background: #000; }

a.sw-social-link[aria-label="YouTube"]:hover,
a.sw-social-link-lg[aria-label="YouTube"]:hover { background: #FF0000; }

.sw-social-link-footer:hover {
    background: var(--white);
    color: var(--ink);
    transform: translateY(-2px);
}

.sw-social-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.sw-social-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

.sw-social-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--social-color, var(--accent-light));
    background: rgba(255, 255, 255, 0.09);
}

.sw-social-card-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
}

.sw-social-card-cta {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: auto;
}

.sw-contact-social {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.sw-footer-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sw-footer-inner .sw-footer-left span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

.sw-footer-inner .sw-footer-left strong { color: var(--white); }
.sw-footer-inner .sw-brand-mark { border-color: rgba(255,255,255,0.5); color: var(--white); }
.sw-footer p { color: rgba(255,255,255,0.5); }
.sw-footer-links a { color: rgba(255,255,255,0.55); }
.sw-footer-links a:hover { color: var(--white); }

.sw-form-privacy {
    font-size: 0.75rem;
    color: var(--ink-3);
    margin: 0;
    line-height: 1.5;
}

.sw-form-privacy a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ----- Sticky mobile bar ----- */
.sw-sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 350;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    gap: 0.65rem;
}

.sw-sticky-btn {
    flex: 1;
    text-align: center;
    padding: 0.85rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
}

.sw-sticky-quote {
    background: var(--ink);
    color: var(--white);
}

.sw-sticky-wa {
    background: #25D366;
    color: var(--white);
}

@media (max-width: 900px) {
    .sw-social-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    body.sitio-web { padding-bottom: 5.5rem; }
    .sw-sticky-mobile { display: flex; }
    .sw-wa-float { display: none; }

    .sw-clients,
    .sw-projects,
    .sw-services,
    .sw-process,
    .sw-certs,
    .sw-about,
    .sw-testimonials,
    .sw-social-section,
    .sw-cta,
    .sw-form-section,
    .sw-contact {
        max-width: 100%;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .sw-promo {
        padding: 0 2.5rem 0 1rem;
        font-size: 0.72rem;
    }

    .sw-brand-name {
        font-size: 0.82rem;
        max-width: 11rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sw-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .sw-footer-left {
        flex-direction: column;
        text-align: center;
    }

    .sw-footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.25rem;
    }

    .sw-hero-body {
        grid-template-columns: 1fr;
        align-items: flex-start;
        padding-bottom: 5rem;
    }
    .sw-hero-stats {
        width: 100%;
        justify-content: space-between;
        gap: 0.75rem;
    }
    .sw-hero-stat { border-left: none; padding-left: 0; flex: 1; min-width: 0; }

    .sw-section-top { flex-direction: column; align-items: flex-start; }
    .sw-service-row {
        grid-template-columns: 48px 1fr;
        align-items: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .sw-service-num { display: none; }

    .sw-values-row { grid-template-columns: 1fr; }
    .sw-process-grid { grid-template-columns: 1fr; }

    .sw-scroll-hint { display: none; }

    .sw-certs-grid { grid-template-columns: 1fr; }
    .sw-form-row { grid-template-columns: 1fr; }
    .sw-modal-meta { grid-template-columns: 1fr; }
    .sw-form-actions { flex-direction: column; }
    .sw-btn-primary-form, .sw-btn-email { width: 100%; }
}

@media (max-width: 480px) {
    .sw-hero-btns { flex-direction: column; width: 100%; }
    .sw-btn { justify-content: center; width: 100%; }
}

/* ----- Certifications ----- */
.sw-certs {
    padding: var(--section-pad) 0;
    background: var(--off);
}

.sw-certs > .sw-container {
    background: var(--surface);
    border: 2px solid var(--line-strong);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
}

.sw-certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.sw-cert-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--off);
    border: 1px solid var(--line-strong);
}

.sw-cert-icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.sw-cert-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.sw-cert-item span {
    font-size: 0.78rem;
    color: var(--ink-3);
    line-height: 1.45;
}

/* ----- Testimonials ----- */
.sw-testimonials {
    padding: var(--section-pad) 0;
    background: var(--surface);
}

.sw-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.sw-testimonial {
    background: var(--off);
    padding: 2rem;
    border-radius: 0;
    border: 2px solid var(--line-strong);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

.sw-testimonial:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.sw-testimonial p {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.65;
    color: var(--ink-2);
    margin: 0 0 1.5rem;
}

.sw-testimonial footer strong {
    display: block;
    font-size: 0.88rem;
    font-style: normal;
    font-family: var(--sans);
}

.sw-testimonial footer span {
    font-size: 0.75rem;
    color: var(--ink-3);
}

/* ----- Quote form ----- */
.sw-form-section {
    padding: var(--section-pad) 0;
    background: var(--off);
}

.sw-form-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: stretch;
    border: 2px solid var(--line-strong);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.sw-form-intro {
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--ink);
    color: var(--white);
    border-right: 2px solid var(--line-strong);
}

.sw-form-intro .sw-eyebrow-dark { color: var(--accent-light); }
.sw-form-intro h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: var(--white);
}

.sw-form-intro > p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin: 0 0 2rem;
    line-height: 1.7;
}

.sw-form-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sw-form-perks li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
    padding-left: 1.25rem;
    position: relative;
}

.sw-form-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.sw-form {
    background: var(--surface);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.sw-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sw-form label span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.sw-form input,
.sw-form select,
.sw-form textarea {
    font-family: var(--sans);
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--white);
    color: var(--ink);
    transition: border-color 0.25s, box-shadow 0.25s;
    width: 100%;
}

.sw-form select {
    appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23737373' stroke-width='1.5' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.sw-form textarea {
    resize: vertical;
    min-height: 120px;
}

.sw-form input:focus,
.sw-form select:focus,
.sw-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.12);
}

.sw-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.sw-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.sw-btn-primary-form {
    background: #25D366;
    color: var(--white);
    flex: 1;
    min-width: 180px;
}

.sw-btn-primary-form:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

.sw-btn-email {
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--line);
    flex: 1;
    min-width: 160px;
}

.sw-btn-email:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.sw-form-note {
    font-size: 0.82rem;
    margin: 0;
    min-height: 1.2em;
}

.sw-form-note.error { color: #c0392b; }
.sw-form-note.success { color: #27ae60; }

/* ----- Project modal ----- */
.sw-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}

.sw-modal.open {
    opacity: 1;
    visibility: visible;
}

.sw-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(6px);
}

.sw-modal-box {
    position: relative;
    background: var(--white);
    border-radius: 4px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.sw-modal.open .sw-modal-box {
    transform: translateY(0) scale(1);
}

.sw-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s;
}

.sw-modal-close:hover { transform: scale(1.08); }

.sw-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2px;
    background: var(--line);
}

.sw-modal-gallery img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.sw-modal-body {
    padding: clamp(1.75rem, 3vw, 2.5rem);
}

.sw-modal-tag {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.sw-modal-body h2 {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    margin: 0.5rem 0 1rem;
}

.sw-modal-desc {
    color: var(--ink-2);
    font-weight: 300;
    line-height: 1.75;
    margin: 0 0 1.5rem;
}

.sw-modal-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.5rem;
}

.sw-modal-meta strong {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.25rem;
}

.sw-modal-meta span {
    font-size: 0.9rem;
    color: var(--ink);
}

.sw-modal-cta { display: inline-flex; }

/* ----- WhatsApp float ----- */
.sw-wa-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 400;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
    transition: transform var(--ease), box-shadow var(--ease);
    animation: waPulse 3s ease infinite;
}

.sw-wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 8px 36px rgba(37, 211, 102, 0.65); }
}

/* ----- Brochure page ----- */
.sw-brochure-page {
    background: var(--canvas);
    padding-top: var(--header-h);
    --brochure-stage-h: calc(100dvh - var(--header-h) - 7.5rem);
}

.sw-brochure-page.sw-brochure-viewing {
    background: #1c1b19;
}

.sw-brochure-header-bar .sw-nav a { color: var(--ink); }

.sw-brochure-main {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ----- Landing ----- */
#brochureLanding {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) 3rem;
}

.sw-brochure-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sw-brochure-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 400;
    margin: 0.35rem 0 0.75rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.sw-brochure-hero > p {
    color: var(--ink-3);
    max-width: 520px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.sw-brochure-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.sw-brochure-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.sw-brochure-icon-btn:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.sw-brochure-share-hint {
    margin: 1rem auto 0;
    font-size: 0.88rem;
    color: var(--accent);
    text-align: center;
}

.sw-brochure-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.sw-brochure-cat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 1.5rem 1.35rem;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line-strong);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
    font-family: inherit;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.sw-brochure-cat-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-bar);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.sw-brochure-cat-card:hover,
.sw-brochure-cat-card.is-active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.sw-brochure-cat-card:hover::after,
.sw-brochure-cat-card.is-active::after { transform: scaleX(1); }

.sw-brochure-cat-num {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--accent);
}

.sw-brochure-cat-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--ink);
    line-height: 1.2;
}

.sw-brochure-cat-desc {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--ink-3);
    flex: 1;
}

.sw-brochure-cat-cta {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-top: 0.25rem;
}

/* ----- Viewer (full width) ----- */
.sw-brochure-viewer {
    display: flex;
    flex-direction: column;
    min-height: var(--brochure-stage-h);
}

.sw-brochure-toolbar {
    position: sticky;
    top: var(--header-h);
    z-index: 50;
    background: rgba(250, 250, 248, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 4px 24px rgba(20, 20, 20, 0.06);
}

.sw-brochure-toolbar-row {
    display: flex;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 0.85rem clamp(1rem, 3vw, 2rem);
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.sw-brochure-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: none;
    padding: 0.4rem 0;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-3);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.sw-brochure-back:hover { color: var(--accent); }

.sw-brochure-toolbar-title {
    flex: 1;
    min-width: 0;
}

.sw-brochure-toolbar-title h2 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin: 0;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-brochure-toolbar-title p {
    margin: 0.1rem 0 0;
    font-size: 0.78rem;
    color: var(--ink-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-brochure-toolbar-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.sw-brochure-tool {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.sw-brochure-tool:hover {
    border-color: var(--accent);
    background: var(--off);
}

.sw-brochure-tool-primary {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.sw-brochure-tool-primary:hover {
    background: var(--ink-2);
    border-color: var(--ink-2);
    color: var(--white);
}

.sw-brochure-tool.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.sw-brochure-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0  clamp(1rem, 3vw, 2rem) 0.75rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.sw-brochure-tabs::-webkit-scrollbar { display: none; }

.sw-brochure-tab {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--ink-3);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.sw-brochure-tab:hover {
    color: var(--ink);
    background: var(--off);
}

.sw-brochure-tab.is-active {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

/* ----- PDF stage (large) ----- */
.sw-brochure-stage {
    flex: 1;
    background: linear-gradient(180deg, #2a2826 0%, #1c1b19 100%);
    padding: clamp(0.75rem, 2vw, 1.25rem) clamp(0.5rem, 2vw, 1.5rem) 1rem;
    min-height: var(--brochure-stage-h);
}

.sw-brochure-stage:fullscreen {
    padding: 0;
    background: #1c1b19;
}

.sw-brochure-stage:fullscreen .sw-brochure-stage-inner,
.sw-brochure-stage:fullscreen .sw-brochure-pdf-frame,
.sw-brochure-stage:fullscreen .sw-brochure-pdf {
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
}

.sw-brochure-stage-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: var(--brochure-stage-h);
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.sw-brochure-pdf-frame {
    flex: 1;
    min-height: 0;
    background: #3d3a36;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 24px 80px rgba(0, 0, 0, 0.45);
}

.sw-brochure-pdf {
    width: 100%;
    height: 100%;
    min-height: calc(var(--brochure-stage-h) - 2.5rem);
    border: 0;
    display: block;
    background: #525252;
}

.sw-brochure-pdf-fallback {
    margin: 0.65rem 0 0;
    padding: 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    background: none;
    border: 0;
}

.sw-brochure-pdf-fallback a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sw-brochure-loading,
.sw-brochure-error {
    display: grid;
    place-items: center;
    min-height: 400px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem;
}

/* ----- Gallery (collapsed) ----- */
.sw-brochure-gallery-panel {
    background: var(--canvas);
    border-top: 1px solid var(--line-strong);
    max-width: 100%;
}

.sw-brochure-gallery-panel summary {
    padding: 0.85rem clamp(1rem, 3vw, 2rem);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
    cursor: pointer;
    list-style: none;
    max-width: 1400px;
    margin: 0 auto;
}

.sw-brochure-gallery-panel summary::-webkit-details-marker { display: none; }

.sw-brochure-gallery-panel summary:hover { color: var(--accent); }

.sw-brochure-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: var(--line);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem) 1.5rem;
}

.sw-brochure-page {
    margin: 0;
    background: var(--white);
}

.sw-brochure-page img {
    width: 100%;
    height: auto;
    display: block;
}

.sw-brochure-page figcaption {
    padding: 0.45rem 0.75rem;
    font-size: 0.72rem;
    color: var(--ink-3);
    text-align: center;
    background: var(--off);
}

.sw-brochure-footer.is-minimal {
    background: #1c1b19;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

.sw-brochure-footer.is-minimal .sw-brand-mark,
.sw-brochure-footer.is-minimal strong,
.sw-brochure-footer.is-minimal a,
.sw-brochure-footer.is-minimal span { color: rgba(255, 255, 255, 0.65); }

.sw-nav-brochure {
    font-weight: 600;
}

.sw-header:not(.is-scrolled) .sw-nav-brochure {
    color: var(--white) !important;
}

.sw-header.is-scrolled .sw-nav-brochure {
    color: var(--accent) !important;
}

@media (max-width: 900px) {
    .sw-brochure-page { --brochure-stage-h: calc(100dvh - var(--header-h) - 6.5rem); }
    .sw-brochure-toolbar-title p { display: none; }
    .sw-brochure-tool span { display: none; }
    .sw-brochure-tool { padding: 0.55rem; }
}

@media (max-width: 640px) {
    .sw-brochure-hero-actions { flex-direction: column; align-items: stretch; }
    .sw-brochure-icon-btn { justify-content: center; }
    .sw-brochure-toolbar-row { flex-wrap: wrap; }
    .sw-brochure-toolbar-actions { width: 100%; justify-content: flex-end; }
    .sw-brochure-pdf { min-height: calc(100dvh - var(--header-h) - 8rem); }
}
