:root {
    /* Color Palette - Premium Dark Brown Theme */
    --color-lead: #2c1e1a; /* Marrom Café Profundo */
    --color-lead-light: #3d2b26;
    --color-offwhite: #fafafa;
    --color-white: #ffffff;
    --color-gold: #d4af37;
    --color-gold-hover: #e8c454;
    --color-wood: #8b5a2b;
    --color-wood-light: #a67c52;
    --color-text-dark: #1a1a1a;
    --color-text-light: #e0e0e0;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;
    --color-ribbon: #1f1512;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --header-height: 80px;
    --ribbon-height: 40px;
    --padding-section: 6rem 5%;
    --border-radius: 8px;
    --transition-fast: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    --transition-border: border-color 0.3s ease-in-out;
    --transition-bg: background-color 0.3s ease-in-out;
    --transition-shadow: box-shadow 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-offwhite);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.serif-text {
    font-family: var(--font-heading);
    font-weight: 600;
    text-wrap: balance;
}

a {
    text-decoration: none;
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Scroll margin for fixed header + ribbon */
section[id] {
    scroll-margin-top: calc(var(--header-height) + var(--ribbon-height));
}

/* Utilities */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-lead);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 1rem auto 0;
}

/* ===================== */
/* Urgency Ribbon        */
/* ===================== */
.urgency-ribbon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--ribbon-height);
    background-color: var(--color-ribbon);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.3px;
    z-index: 1100;
    text-align: center;
    padding: 0 1rem;
}

.ribbon-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ===================== */
/* Header & Nav          */
/* ===================== */
header {
    position: fixed;
    top: var(--ribbon-height);
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-bg);
    height: var(--header-height);
}

header.scrolled {
    background-color: rgba(44, 30, 26, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.logo-img {
    height: 42px;
    width: auto;
    mix-blend-mode: screen;
    transition: var(--transition-fast);
}

header.scrolled .logo-img {
    filter: none;
}

/* Desktop Nav */
nav[aria-label="Menu principal"] {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav[aria-label="Menu principal"] a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.85;
    transition: opacity 0.2s ease-in-out;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

nav[aria-label="Menu principal"] a:hover {
    opacity: 1;
}

.nav-cta {
    padding: 0.55rem 1.4rem;
    background-color: var(--color-gold);
    color: var(--color-lead) !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition-bg), var(--transition-shadow);
    text-shadow: none !important;
}

.nav-cta:hover {
    background-color: var(--color-gold-hover);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    padding: 0.3rem;
    touch-action: manipulation;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: calc(var(--ribbon-height) + var(--header-height));
    left: 0;
    width: 100%;
    background-color: rgba(28, 28, 28, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 5%;
    gap: 1.2rem;
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav a {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: 500;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-cta-mobile {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-gold);
    color: var(--color-lead) !important;
    font-weight: 700 !important;
    border-radius: var(--border-radius);
    text-align: center;
    border-bottom: none !important;
}

/* ===================== */
/* Hero Section          */
/* ===================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    color: var(--color-white);
    padding-top: calc(var(--header-height) + var(--ribbon-height));
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Dark overlay for readability */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 30, 26, 0.7), rgba(44, 30, 26, 0.4), rgba(44, 30, 26, 0.7));
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.slide.active,
.slide.fade-out {
    animation: kenburns 12s linear forwards;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide.fade-out {
    opacity: 0;
    z-index: 1;
}

@keyframes kenburns {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    max-width: 900px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.hero p:not(.hero-microcopy) {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-gold);
    color: var(--color-lead);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-bg), transform 0.3s ease-in-out, var(--transition-shadow);
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.cta-button:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-microcopy {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.9s forwards;
    opacity: 0;
}

.microcopy-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ===================== */
/* Differentials         */
/* ===================== */
.differentials {
    padding: var(--padding-section);
    background-color: var(--color-white);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.diff-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--color-offwhite);
    transition: transform 0.3s ease-in-out, var(--transition-shadow), var(--transition-border);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.diff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-gold);
}

.diff-icon {
    font-size: 3rem;
    color: var(--color-wood);
    margin-bottom: 1.5rem;
    width: 48px;
    height: 48px;
}

.diff-card h3 {
    font-size: 1.5rem;
    color: var(--color-lead);
    margin-bottom: 1rem;
}

.diff-card p {
    color: #555;
}

/* ===================== */
/* Authority Section     */
/* ===================== */
.authority {
    padding: var(--padding-section);
    background-color: var(--color-lead);
    color: var(--color-white);
}

.authority .section-title {
    color: var(--color-white);
}

.authority-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.authority-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.stat-item {
    flex: 1;
    min-width: 160px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.authority-quote {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-style: italic;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    border-left: 3px solid var(--color-gold);
    padding-left: 1.5rem;
    text-align: left;
}

/* ===================== */
/* Gallery Section       */
/* ===================== */
.gallery {
    padding: var(--padding-section);
    background-color: var(--color-offwhite);
    color: var(--color-text-dark);
}

.gallery .section-title {
    color: var(--color-lead);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 1.2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: var(--color-white);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

/* Always show overlay on touch devices */
@media (hover: none) {
    .gallery-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 1.5rem 0.75rem 0.75rem;
    }

    .gallery-overlay h4 {
        font-size: 0.9rem;
    }

    .gallery-cta {
        font-size: 0.75rem;
    }
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.gallery-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

.gallery-cta:hover {
    opacity: 0.8;
}

/* ===================== */
/* Testimonials          */
/* ===================== */
.testimonials {
    padding: var(--padding-section);
    background-color: var(--color-white);
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    scrollbar-width: none;
    cursor: grab;
}

.carousel:active {
    cursor: grabbing;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    background: var(--color-offwhite);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: left;
    border-left: 4px solid var(--color-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.stars {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 2px;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-wood), var(--color-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.client-name {
    font-weight: 600;
    color: var(--color-lead);
    line-height: 1.3;
}

.client-city {
    font-size: 0.82rem;
    color: #888;
    margin-top: 0.1rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #4285F4;
    font-weight: 500;
    margin-top: 0.3rem;
    transition: opacity 0.2s ease;
}

.verified-badge:hover {
    opacity: 0.75;
}

.verified-badge svg {
    width: 12px;
    height: 12px;
}

/* ===================== */
/* Location Section      */
/* ===================== */
.location {
    padding: var(--padding-section);
    background-color: var(--color-offwhite);
}

.location-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.location-card {
    flex: 1;
    min-width: 300px;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.location-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    width: 48px;
    height: 48px;
}

.location-card h3 {
    font-size: 2rem;
    color: var(--color-lead);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.location-card p {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.location-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    animation: none;
    opacity: 1;
}

.map-embed {
    flex: 1.5;
    min-width: 300px;
    min-height: 400px;
    background-color: #e5e3df;
}

/* ===================== */
/* Footer / CTA          */
/* ===================== */
footer {
    padding: 5rem 5%;
    background-color: var(--color-lead);
    text-align: center;
    color: var(--color-white);
}

footer h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

footer>p:first-of-type {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Quick Reply */
.quick-reply {
    max-width: 700px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.quick-reply-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.2rem !important;
    font-weight: 500;
    opacity: 1 !important;
    font-size: 1rem !important;
}

.quick-reply-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.quick-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-bg), transform 0.2s ease-in-out, var(--transition-border);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.quick-reply-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.quick-reply-btn--other {
    border-style: dashed;
    color: rgba(255, 255, 255, 0.65);
}

.footer-separator {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 1.5rem 0 !important;
    opacity: 1 !important;
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    background-color: var(--color-whatsapp);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition-bg), transform 0.3s ease-in-out, var(--transition-shadow);
}

.whatsapp-cta:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================== */
/* Floating WhatsApp     */
/* ===================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-whatsapp);
    color: white;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-bg), transform 0.3s ease-in-out, var(--transition-shadow);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background-color: var(--color-whatsapp);
    animation: ripple-pulse 2.5s ease-out infinite;
    z-index: -1;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
    background-color: var(--color-whatsapp-dark);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    flex-shrink: 0;
}

.floating-label {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ===================== */
/* Animations            */
/* ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes ripple-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.4);
        opacity: 0;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ===================== */
/* Preloader             */
/* ===================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-lead);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-logo {
    height: 60px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--color-gold);
    border-radius: 2px;
    transition: width 0.3s ease;
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* ===================== */
/* Scroll Reveal         */
/* ===================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ===================== */
/* Process / Timeline    */
/* ===================== */
.process {
    padding: var(--padding-section);
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-offwhite) 100%);
}

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-gold);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.process-step h3 {
    font-size: 1.25rem;
    color: var(--color-lead);
    margin-bottom: 0.75rem;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin-top: 5.5rem;
    flex-shrink: 0;
    opacity: 0.5;
}

/* ===================== */
/* Google Reviews Badge  */
/* ===================== */
.google-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    padding: 1rem 2rem;
    background: var(--color-offwhite);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.google-badge-stars {
    display: flex;
    gap: 2px;
    color: #FBBC04;
}

.google-badge-stars svg {
    width: 16px;
    height: 16px;
}

.google-badge-text {
    font-size: 0.9rem;
    color: var(--color-lead);
}

.google-badge-divider {
    color: rgba(0, 0, 0, 0.2);
}

.google-badge-count {
    font-size: 0.85rem;
    color: #666;
}

/* ===================== */
/* Lightbox              */
/* ===================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.lightbox-caption {
    text-align: center;
    margin-top: 1.5rem;
    color: white;
}

.lightbox-caption h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.lightbox-cta {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--color-gold);
    color: var(--color-lead);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.lightbox-cta:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===================== */
/* Micro-interactions    */
/* ===================== */

/* Shine sweep on CTA buttons */
.cta-button,
.nav-cta {
    position: relative;
    overflow: hidden;
}

.cta-button::after,
.nav-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.cta-button:hover::after,
.nav-cta:hover::after {
    animation: shineSweep 0.6s ease forwards;
}

@keyframes shineSweep {
    to {
        left: 125%;
    }
}

/* Diff card icon rotation */
.diff-card .diff-icon {
    transition: transform 0.4s ease, color 0.4s ease;
}

.diff-card:hover .diff-icon {
    transform: rotate(8deg) scale(1.15);
    color: var(--color-gold);
}

/* Diff card glow on hover */
.diff-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.3);
}

/* Gallery custom cursor */
.gallery-item {
    cursor: zoom-in;
}

/* Nav link underline animation */
nav[aria-label="Menu principal"] a:not(.nav-cta) {
    position: relative;
}

nav[aria-label="Menu principal"] a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease, left 0.3s ease;
}

nav[aria-label="Menu principal"] a:not(.nav-cta):hover::after,
nav[aria-label="Menu principal"] a:not(.nav-cta).active::after {
    width: 100%;
    left: 0;
}

/* Stat number pulse */
.stat-number.counted {
    animation: goldPulse 0.6s ease;
}

@keyframes goldPulse {
    0% {
        text-shadow: 0 0 0 transparent;
    }

    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }

    100% {
        text-shadow: 0 0 0 transparent;
    }
}

/* ===================== */
/* Scroll to Top         */
/* ===================== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--color-lead);
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-gold);
    color: var(--color-lead);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

/* ===================== */
/* Reduced Motion        */
/* ===================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero h1,
    .hero p,
    .cta-button,
    .hero-microcopy {
        opacity: 1;
    }

    .reveal,
    .reveal-scale,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }

    .floating-whatsapp::before {
        display: none;
    }

    .preloader {
        display: none;
    }
}

/* ===================== */
/* Responsiveness        */
/* ===================== */
@media (max-width: 900px) {
    nav[aria-label="Menu principal"] {
        display: none;
    }

    .hamburger {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --ribbon-height: 36px;
    }

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

    .hero {
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p:not(.hero-microcopy) {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .authority-stats {
        border-radius: 8px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 0 calc(50% - 2rem);
        padding: 1.5rem 1rem;
    }

    .authority-quote {
        font-size: 1.1rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 16px;
        padding: 0 16px;
        height: 52px;
    }

    .floating-label {
        display: none;
    }

    .floating-whatsapp {
        border-radius: 50%;
        width: 56px;
        height: 56px;
        padding: 0;
    }

    .quick-reply {
        padding: 1.5rem 1rem;
    }

    .urgency-ribbon {
        font-size: 0.75rem;
    }

    .location-card {
        padding: 2.5rem 1.5rem;
    }

    .process-timeline {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0;
        background: linear-gradient(180deg, transparent, var(--color-gold), transparent);
    }

    .process-step {
        padding: 1.5rem 1rem;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .google-badge {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
    }

    .google-badge-divider {
        display: none;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }

    .scroll-top {
        bottom: 84px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}