/* 
  Forma Espacios - Design System
  Strategic Interior Design Studio
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #f9f8f6;
    --bg-secondary: #f2f1ef;
    --text-primary: #1A1A1A;
    --text-secondary: rgba(0, 0, 0, 0.6);
    --accent-color: #C4B5A0;
    --accent-dark: #A69681;
    --border-color: rgba(26, 26, 26, 0.08);
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 8rem 10%;
    --container-max: 1400px;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(253, 252, 251, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 1;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
    font-weight: 400;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--text-primary);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--white);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80vh;
    background-size: cover;
    background-position: center;
    z-index: 1;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* --- Sections --- */
section {
    padding: var(--section-padding);
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    max-width: 800px;
}

/* --- Philosophy --- */
.philosophy {
    background-color: var(--bg-secondary);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-item {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.pillar-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 0;
    background: transparent;
    border: none;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-img-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e5e5e5;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img-container img {
    transform: scale(1.05);
}

.service-card:hover {
    opacity: 0.8;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: #000;
    margin-bottom: 2rem;
}

.service-card h3 {
    color: #000;
}

.service-card .btn-link {
    color: rgba(0, 0, 0, 0.5) !important;
}

/* --- Projects --- */
.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.project-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-item.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.project-item.reverse .project-info {
    order: 1;
}

.project-img {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.project-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.6;
}

.project-details p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* --- About --- */
.about {
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 800px;
    margin: 4rem auto;
}

.stat-item h2 {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* --- Contact --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

input, textarea {
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

input:focus, textarea:focus {
    border-color: var(--text-primary);
}

/* --- Footer --- */
footer {
    padding: 4rem 10%;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-socials {
    display: flex;
    gap: 2rem;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-image {
        display: none;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .philosophy, .services-grid, .projects-showcase .project-item, .contact-container {
        grid-template-columns: 1fr;
    }
    .project-item.reverse {
        grid-template-columns: 1fr;
    }
    .project-item.reverse .project-info {
        order: 0;
    }
}

/* --- Final CTA / Minimalist Links --- */
.hero-minimal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.hero-minimal .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
}

.hero-minimal h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.8rem;
    font-weight: 300;
}

.hero-minimal p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin: 0 auto 2.5rem;
    font-weight: 300;
    max-width: 600px;
}

.hero-categories {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-color);
    margin-bottom: 3rem;
    font-weight: 500;
}

.final-cta {
    text-align: center;
    padding: 1rem 0;
}

.final-cta a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 0.5rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.final-cta a:hover {
    opacity: 0.6;
    padding-bottom: 0.8rem;
}

/* Custom Contact Form */
.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1.8rem;
    border-radius: 12px;
}
@media (max-width: 768px) {
    .custom-contact-form {
        padding: 1.5rem;
    }
}
.custom-contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.custom-contact-form .form-row {
    display: flex;
    gap: 1rem;
}
.custom-contact-form .form-row .form-group {
    flex: 1;
    min-width: 0;
}
@media (max-width: 600px) {
    .custom-contact-form .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}
.custom-contact-form label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
}
.custom-contact-form input[type="text"],
.custom-contact-form input[type="tel"],
.custom-contact-form input[type="email"],
.custom-contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    color: #495057;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}
.custom-contact-form input::placeholder,
.custom-contact-form textarea::placeholder {
    color: #6c757d;
}
.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    outline: none;
    border-color: #00b4d8;
}
.custom-contact-form .checkbox-group {
    margin-bottom: 0.5rem;
}
.custom-contact-form .custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.4;
}
.custom-contact-form .custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 1px solid #adb5bd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    margin-top: 2px;
}
.custom-contact-form .custom-checkbox input[type="checkbox"]:checked {
    background-color: #00b4d8;
    border-color: #00b4d8;
}
.custom-contact-form .custom-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.custom-contact-form .custom-checkbox a {
    color: #007bff;
    text-decoration: underline;
}
.custom-contact-form .btn-submit-yellow {
    background-color: #f6d34b;
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 1rem;
}
.custom-contact-form .btn-submit-yellow:hover {
    background-color: #f1c40f;
}
.custom-contact-form .btn-submit-yellow:active {
    transform: translateY(2px);
}
/* --- Compact & Centered Contact Section --- */
.contact-section.centered-compact {
    padding: 6rem 5% !important;
}

.contact-section.centered-compact .container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-section.centered-compact .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-section.centered-compact .contact-text {
    text-align: left;
}

.contact-section.centered-compact .contact-text .section-title {
    margin: 0 0 1rem;
}

.contact-section.centered-compact .custom-contact-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.contact-section.centered-compact .btn-submit-yellow {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-section.centered-compact .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
/* --- Chatbot Widget --- */
.whatsapp-chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.whatsapp-float {
    position: relative;
    bottom: 0; right: 0;
    width: 60px; height: 60px;
    background-color: #25d366; color: #fff;
    border-radius: 50px; border: none; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
#chatbot-widget {
    background: #fff;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: scale(1);
    display: flex;
    flex-direction: column;
}
#chatbot-widget.chatbot-hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}
.chatbot-header {
    background: #075e54;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-agent-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.chatbot-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
}
.chatbot-close:hover { opacity: 1; }
.chatbot-body {
    padding: 20px;
    background: #ece5dd;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.chat-message {
    background: #fff;
    padding: 12px 15px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.95rem;
    color: #303030;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    align-self: flex-start;
}
.chat-message::before {
    content: "";
    position: absolute;
    top: 0; left: -8px;
    width: 0; height: 0;
    border-top: 10px solid #fff;
    border-left: 10px solid transparent;
}
.chat-btn {
    background: #25d366;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background 0.2s;
}
.chat-btn:hover { background: #1ebe5d; }
.chat-btn:hover { background: #1ebe5d; }
body {
    padding-bottom: 120px; /* offset for fixed footer (2 rows: main + legal/contact) */
}
.whatsapp-chatbot-container {
    bottom: 130px !important; /* avoid overlapping with fixed footer */
}

/* --- Language Dropdown --- */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}
.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: all 0.2s ease;
}
.lang-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-color);
}
.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.4rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    overflow: hidden;
    z-index: 1001;
    min-width: 130px;
}
.lang-dropdown:hover .lang-menu,
.lang-dropdown.open .lang-menu {
    display: block;
}
.lang-menu a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s;
    border-bottom: 1px solid #f0f0f0;
}
.lang-menu a:last-child {
    border-bottom: none;
}
.lang-menu a:hover {
    background: var(--bg-secondary);
    color: var(--accent-color);
}

/* --- Proyecto destacado (carrusel reutilizable en páginas de servicio) --- */
.featured-project {
    padding: 4rem 10% 1rem;
}
.featured-project .container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: center;
}
.fp-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}
.fp-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.fp-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.fp-img.active {
    opacity: 1;
    z-index: 1;
}
.fp-nav {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    display: flex;
    gap: 0.6rem;
    z-index: 5;
}
.fp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.fp-dot.active {
    background: #000;
    transform: scale(1.25);
}
.fp-tag {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.2rem;
}
.fp-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    line-height: 1.25;
    color: #000;
    margin-bottom: 1.2rem;
}
.fp-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #000;
}
@media (max-width: 900px) {
    .featured-project .container { grid-template-columns: 1fr; gap: 2rem; }
    .featured-project { padding: 3rem 6% 0.5rem; }
}

/* --- Nav Phone + Right group --- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-phone:hover { color: #000; }
.nav-phone svg { flex-shrink: 0; }
@media (max-width: 860px) {
    .nav-phone span { display: none; }
}
@media (max-width: 640px) {
    .nav-phone { display: none; }
}

/* =============================================
   BENCHMARK UPGRADE — CICLO 1
   ============================================= */

/* HOOK STATEMENT */
.hook-statement {
    padding: 5rem 10%;
    background: #0a0a0a;
    text-align: center;
    overflow: hidden;
}
.hook-big {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4.5vw, 3.8rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0;
}
.hook-big em {
    font-style: italic;
    color: rgba(255,255,255,0.78);
}
.darkband-cta-link:hover {
    color: #fff !important;
    border-color: rgba(255,255,255,0.5) !important;
}

/* STATS BAND */
.stats-band {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3.5rem 10%;
    display: flex;
    justify-content: center;
}
.stat-item {
    flex: 1;
    text-align: center;
    padding: 1rem 2rem;
    border-right: 1px solid var(--border-color);
}
.stat-item:last-child { border-right: none; }
.stat-num-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
}
.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 300;
    color: #000;
    line-height: 1;
    letter-spacing: -0.04em;
}
.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    font-weight: 300;
    color: #000;
    letter-spacing: -0.02em;
}
.stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.6rem;
}
@media (max-width: 640px) {
    .stats-band { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); padding: 1.5rem; }
    .stat-item:last-child { border-bottom: none; }
}

/* PROCESO 3 PASOS */
.proceso-section {
    padding: 7rem 10%;
    background: #fff;
    text-align: center;
}
.proceso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 3rem;
    max-width: 900px;
    margin: 3.5rem auto 0;
    position: relative;
}
.proceso-grid::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}
.proceso-step { position: relative; z-index: 1; }
.proceso-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 1.3rem;
}
.proceso-step h3 {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.7rem;
}
.proceso-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 640px) {
    .proceso-grid { grid-template-columns: 1fr; gap: 2rem; }
    .proceso-grid::before { display: none; }
}

/* MEJORAR HOVER MAP-ITEM */
.map-item {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}
.map-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.09) !important;
    border-color: #bbb !important;
}

/* SCROLL INDICATOR HERO */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-top: 3rem;
    opacity: 0.35;
    animation: scrollBob 2s ease-in-out infinite;
    color: var(--text-secondary);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.scroll-indicator svg { animation: scrollBounce 2s ease-in-out infinite; }
@keyframes scrollBob { 0%,100% { opacity: 0.25; } 50% { opacity: 0.55; } }
@keyframes scrollBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* =============================================
   BENCHMARK UPGRADE — CICLO 2
   ============================================= */

/* GALERÍA HORIZONTAL DE PROYECTOS */
.gallery-strip-section {
    overflow: hidden;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.gallery-strip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 10%;
    border-bottom: 1px solid var(--border-color);
}
.gallery-strip-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.gallery-strip-link {
    font-size: 0.82rem;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}
.gallery-strip-link:hover { opacity: 0.6; }
.gallery-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.gallery-strip.is-dragging { cursor: grabbing; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-item {
    flex: 0 0 auto;
    width: 380px;
    height: 300px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    border-right: 1px solid var(--border-color);
    display: block;
    text-decoration: none;
}
.gallery-item:last-child { border-right: none; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.3rem 1.2rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.gallery-item:hover .gallery-item-caption { opacity: 1; }
.gallery-item-caption span {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}
@media (max-width: 640px) {
    .gallery-item { width: 270px; height: 210px; }
}

/* HERO H1 — PALABRA EN ITÁLICA PARA CONTRASTE VISUAL */
.hero-photo-h1 em {
    font-style: italic;
    font-weight: 200;
    opacity: 0.7;
}

/* CONTACTO — PRE-HEADER OSCURO */
.contact-pre {
    background: #0a0a0a;
    padding: 3rem 10%;
    text-align: center;
}
.contact-pre p {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.2vw, 1.65rem);
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    letter-
/* === SECURITY: Inline event handlers removidos — hover via CSS === */
.footer-hover-link:hover { color: #000 !important; }
nav .nav-phone:hover { opacity: 0.7; }
 — mejorar sombra */
.testimonial-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
