/* ============================================
   SIMAC - Estilos Corporativos
   Mantenimiento Integral de Comunidades
   ============================================ */

/* ============================================
   Variables CSS
   ============================================ */
:root {
    /* Colores Corporativos */
    --color-primary: #FF6B35;
    --color-primary-dark: #E55A28;
    --color-primary-light: #FF8555;
    --color-secondary: #F7931E;

    /* Grises */
    --color-dark: #2C3E50;
    --color-dark-light: #34495E;
    --color-gray: #7F8C8D;
    --color-gray-light: #95A5A6;
    --color-gray-lighter: #BDC3C7;
    --color-gray-lightest: #ECF0F1;
    --color-border: rgba(44, 62, 80, 0.12);

    /* Fondos */
    --color-white: #FFFFFF;
    --color-light: #F8F9FA;
    --color-background: #FAFBFC;

    /* Estados */
    --color-success: #27AE60;
    --color-error: #E74C3C;
    --color-warning: #F39C12;

    /* Tipografía */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Bordes - Diseño moderno */
    --border-radius: 12px;
    --border-radius-sm: 6px;
    --border-radius-lg: 16px;

    /* Sombras - Modernas y suaves */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);

    /* Transiciones */
    --transition: all 0.3s ease;
}

/* ============================================
   Reset y Base
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Tipografía
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-gray);
}

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

a:hover {
    color: var(--color-primary-dark);
}

/* ============================================
   Container y Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.bg-light {
    background-color: var(--color-light);
}

/* ============================================
   Header y Navegación
   ============================================ */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    color: var(--color-dark);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo-text-brand {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.logo-text-legal {
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(27, 35, 56, 0.72);
}

.logo-link:hover .logo-text {
    color: var(--color-primary);
}

.logo-link:hover .logo-text-legal {
    color: rgba(247, 147, 30, 0.82);
}

.logo-image {
    height: 60px;
    width: 100px;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    color: var(--color-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary) !important;
    background-color: var(--color-light);
}

.btn-nav {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
}

.btn-nav:hover {
    background-color: var(--color-gray-light);
    color: var(--color-primary) !important;
}

.btn-nav.active {
    background-color: transparent !important;
    color: var(--color-dark) !important;
    border-color: var(--color-primary);
    box-shadow: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, var(--color-dark) 100%);
    color: var(--color-white);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-with-photo {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)),
        linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, var(--color-dark) 100%);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    z-index: 0;
    opacity: 0.78;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    animation: heroFloat 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
}

@keyframes heroFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-50px, -50px) rotate(5deg);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(247, 147, 30, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.hero-logo-mark {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 4%;
    pointer-events: none;
    z-index: 0;
}

.hero-logo-bg {
    width: 620px;
    max-width: 80%;
    opacity: 0.26;
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.32)) saturate(1.22) brightness(1.08);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-brand,
.hero-title-legal {
    display: block;
}

.hero-title-brand {
    font-size: 1.08em;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-title-legal {
    margin-top: 0.4rem;
    font-size: 0.42em;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-weight: 400;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E55A28 0%, #E87E2A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-dark);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

.btn-white:hover {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, var(--color-dark) 100%);
    color: var(--color-white);
    padding: 6.5rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
    animation: pageHeaderFloat 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pageHeaderFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, -30px) rotate(3deg);
    }
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(247, 147, 30, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header-copy {
    max-width: 900px;
    margin: 0 auto;
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    font-weight: 500;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.84);
}

.page-breadcrumb a:hover {
    color: var(--color-white);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    position: relative;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

.about-page-header {
    padding-bottom: 4.2rem;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
}

.text-center {
    text-align: center;
}

/* ============================================
   Home Overview
   ============================================ */
.service-overview {
    position: relative;
    margin-top: -2.5rem;
    z-index: 2;
}

.service-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    background: var(--color-white);
    border: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 28px;
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.overview-card {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: none;
    position: relative;
}

.overview-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.4rem;
    right: calc(var(--spacing-lg) * -0.5);
    width: 1px;
    height: calc(100% - 2.8rem);
    background: rgba(44, 62, 80, 0.08);
}

.overview-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.overview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.overview-card p {
    margin-bottom: 1.25rem;
}

.home-clarity {
    padding-top: 5rem;
    background:
        linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.clarity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.clarity-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.clarity-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--color-primary);
    font-size: 1.4rem;
}

.clarity-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* ============================================
   Featured Projects Home
   ============================================ */
.featured-projects {
    background:
        radial-gradient(circle at top left, rgba(255, 107, 53, 0.08), transparent 32%),
        linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
    align-items: stretch;
}

.featured-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.featured-card-link:hover {
    color: inherit;
}

.featured-card-compact .featured-image {
    height: 220px;
}

.featured-image {
    position: relative;
    height: 100%;
    min-height: 260px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-card-baldosas .featured-image img {
    object-position: center 32%;
}

.featured-image img.featured-image-legends-seats {
    object-position: center 68% !important;
}

.featured-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 15, 35, 0.75);
    color: var(--color-white);
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.featured-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.featured-meta i {
    color: var(--color-primary);
}

/* ============================================
   Testimonials Home
   ============================================ */
.project-testimonials {
    background:
        linear-gradient(180deg, #f6f8fb 0%, #eef2f7 100%);
}

.why-choose {
    background:
        radial-gradient(circle at top right, rgba(255, 107, 53, 0.08), transparent 26%),
        linear-gradient(180deg, #fffdfa 0%, #f7f9fc 100%);
    padding-bottom: 2rem;
}

.coverage-area {
    background:
        linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
    padding-top: 2rem;
}

.coverage-header {
    margin-bottom: 2.5rem;
}

.coverage-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coverage-summary-title {
    max-width: 14ch;
    margin-bottom: 1rem;
    font-size: clamp(1.95rem, 3vw, 2.6rem);
    line-height: 1.15;
    color: var(--color-dark);
}

.coverage-summary-text {
    max-width: 34rem;
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-gray);
}

.testimonial-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: stretch;
}

.testimonial-signature {
    background: linear-gradient(135deg, #203247 0%, #2c3e50 100%);
    color: var(--color-white);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-signature-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonial-signature blockquote {
    font-size: 1.55rem;
    line-height: 1.45;
    font-weight: 600;
    margin-bottom: 2rem;
}

.testimonial-signature-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
}

.testimonial-signature-footer strong,
.testimonial-signature-footer span {
    display: block;
}

.testimonial-signature-footer > div span {
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.72);
}

.testimonial-service-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 0.9rem;
    white-space: nowrap;
}

.testimonial-list {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
    height: 100%;
}

.testimonial-proof-card {
    background: var(--color-white);
    border: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 22px;
    padding: 1.6rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-proof-head {
    margin-bottom: 1rem;
}

.proof-category {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.12);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.testimonial-proof-head h3 {
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.testimonial-proof-card p {
    color: var(--color-dark-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-proof-card cite {
    color: var(--color-gray);
    font-style: normal;
    font-weight: 600;
}

/* ============================================
   Grid Systems
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.grid-2-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    background: rgba(255, 255, 255, 0.45);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: none;
    border: 1px solid rgba(44, 62, 80, 0.08);
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(6px);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 53, 0.14);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--border-radius-lg);
    color: var(--color-white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.feature-description {
    color: var(--color-gray);
    line-height: 1.6;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gray-lightest) 0%, var(--color-light) 100%);
    color: var(--color-gray-light);
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}

.service-content {
    padding: var(--spacing-lg);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.service-description {
    color: var(--color-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ============================================
   Service Detail Pages
   ============================================ */
.service-detail {
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    border-bottom: 1px solid var(--color-gray-lightest);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.service-detail.reverse .service-detail-content {
    direction: rtl;
}

.service-detail.reverse .service-detail-text,
.service-detail.reverse .service-detail-image {
    direction: ltr;
}

.service-tag {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-detail-description {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-list,
.service-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li,
.service-benefits li {
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--color-gray);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.service-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

.service-image-placeholder.large {
    height: 400px;
    border-radius: var(--border-radius-lg);
}

/* ============================================
   Coverage Area
   ============================================ */
.coverage-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--spacing-xl);
    align-items: stretch;
}

.coverage-summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.coverage-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.coverage-capabilities span {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(44, 62, 80, 0.08);
    color: var(--color-dark);
    font-weight: 600;
}

.coverage-visual {
    display: grid;
    gap: 1.25rem;
    align-content: start;
}

.coverage-process {
    display: grid;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.coverage-process-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

.coverage-process-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.coverage-point-step {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.12);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.coverage-process-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.coverage-process-item p {
    margin-bottom: 0;
    line-height: 1.7;
}

.coverage-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: var(--spacing-md);
    margin-top: 1.5rem;
}

.metric-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.metric-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.metric-label {
    display: block;
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.metric-value {
    display: block;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-primary);
}

.metric-detail {
    display: block;
    color: var(--color-gray);
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-gray-lightest) 100%);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
}

.coverage-map iframe {
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.coverage-map iframe[data-consent-src]:not([data-loaded="true"]) {
    display: none;
}

.coverage-map iframe:hover {
    box-shadow: var(--shadow-xl);
}

.coverage-map {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.coverage-map-notice {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.coverage-map-notice[hidden] {
    display: none !important;
}

.coverage-map-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coverage-map-intro {
    padding: 0 0 0.25rem;
}

.coverage-map-intro strong {
    display: block;
    font-size: 1.2rem;
    color: var(--color-dark);
}


.projects-section {
    background:
        linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
    padding: var(--spacing-xxl) 0;
}

.contact-section {
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.faq-quick {
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
}

.legal-section {
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.testimonial-rating {
    color: var(--color-secondary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    margin-top: 1rem;
}

.author-name {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.testimonial-card-large {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.testimonial-text-large {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author-large {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-location {
    font-size: 0.875rem;
    color: var(--color-gray-light);
    margin-top: 0.25rem;
}

.testimonial-card-admin {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--color-primary);
}

/* ============================================
   Projects
   ============================================ */
.project-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.project-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.project-image {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gray-lightest) 0%, var(--color-light) 100%);
    color: var(--color-gray-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.project-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.project-description {
    color: var(--color-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-lightest);
}

.project-detail-item {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.project-detail-item strong {
    color: var(--color-dark);
}

/* ============================================
   Floating Action Buttons
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 94px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.4), 0 4px 12px -2px rgba(0, 0, 0, 0.3);
    transition: all 0.55s cubic-bezier(.19, 1, .22, 1);
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    z-index: 1090;
}

.whatsapp-hint {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    min-width: 170px;
    max-width: 220px;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--color-dark);
    font-size: 0.8rem;
    line-height: 1.35;
    box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.28);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    display: grid;
    gap: 0.2rem;
}

.whatsapp-hint strong {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    color: #128c7e;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.whatsapp-hint span {
    display: block;
    font-weight: 600;
    color: var(--color-dark);
}

.whatsapp-hint small {
    display: block;
    color: var(--color-gray);
    font-size: 0.72rem;
}

.floating-whatsapp::after {
    content: '';
    position: absolute;
    right: 58px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.97);
    transform: translateY(-50%) rotate(45deg) translateX(8px);
    opacity: 0;
    box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.floating-whatsapp.show-whatsapp-hint .whatsapp-hint,
.floating-whatsapp.show-whatsapp-hint::after {
    opacity: 1;
}

.floating-whatsapp.show-whatsapp-hint .whatsapp-hint {
    transform: translateY(-50%) translateX(0);
}

.floating-whatsapp.show-whatsapp-hint::after {
    transform: translateY(-50%) rotate(45deg) translateX(0);
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
    color: var(--color-white);
    box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.5), 0 6px 16px -3px rgba(0, 0, 0, 0.35);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-whatsapp {
    animation: whatsappPulse 2s infinite;
}

.floating-call {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 12px 28px -10px rgba(25, 118, 210, 0.45), 0 4px 12px -2px rgba(0, 0, 0, 0.3);
    transition: all 0.55s cubic-bezier(.19, 1, .22, 1);
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #2f7de1 0%, #1455b0 100%);
    z-index: 1090;
}

.floating-call:hover {
    transform: translateY(-4px) scale(1.03);
    color: var(--color-white);
    box-shadow: 0 14px 34px -12px rgba(25, 118, 210, 0.6), 0 6px 16px -3px rgba(0, 0, 0, 0.35);
}

.floating-whatsapp i,
.floating-call i {
    font-size: 1.5rem;
    color: var(--color-white);
}

.floating-icon {
    width: 28px;
    height: 28px;
    display: block;
    color: currentColor;
}

.icon-svg {
    width: 1.2rem;
    height: 1.2rem;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .service-overview {
        margin-top: -1.5rem;
    }

    .service-overview-grid,
    .clarity-grid,
    .testimonial-showcase {
        grid-template-columns: 1fr;
    }

    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .service-overview-grid {
        padding: 0.25rem;
    }

    .overview-card:not(:last-child)::after {
        top: auto;
        right: 1.4rem;
        bottom: 0;
        width: calc(100% - 2.8rem);
        height: 1px;
    }

    .featured-image,
    .featured-card-compact .featured-image {
        min-height: 220px;
        height: 220px;
    }

    .testimonial-signature {
        padding: 2rem;
    }

    .testimonial-signature blockquote {
        font-size: 1.2rem;
    }

    .testimonial-signature-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-call {
        bottom: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp {
        bottom: 94px;
        right: 24px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-hint {
        right: 62px;
        min-width: 150px;
        max-width: 190px;
        padding: 0.62rem 0.75rem;
        font-size: 0.76rem;
    }

    .whatsapp-hint strong {
        font-size: 0.68rem;
    }

    .whatsapp-hint small {
        font-size: 0.66rem;
    }

    .floating-whatsapp::after {
        right: 52px;
        width: 10px;
        height: 10px;
    }

    .floating-icon {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   Stats
   ============================================ */
.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-gray);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-number-large {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-large {
    font-size: 1.125rem;
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* ============================================
   About Page
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.about-points {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.about-point {
    padding: 1rem 1.1rem 1rem 1.25rem;
    border-left: 3px solid var(--color-primary);
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.06), transparent 72%);
    border-radius: 0 18px 18px 0;
}

.about-point h3 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
    color: var(--color-dark);
}

.about-point p {
    margin-bottom: 0;
    color: var(--color-gray);
    line-height: 1.7;
}

.mission-vision-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mission-vision-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mission-card {
    border-left-color: var(--color-primary);
    background: linear-gradient(to right, rgba(255, 107, 53, 0.03) 0%, var(--color-white) 15%);
}

.vision-card {
    border-left-color: var(--color-secondary);
    background: linear-gradient(to right, rgba(247, 147, 30, 0.03) 0%, var(--color-white) 15%);
}

.mission-vision-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.mission-vision-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray);
}

.about-text {
    line-height: 1.8;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--color-dark);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.value-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.values-grid .value-card {
    height: 100%;
}

.about-photo {
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--color-light);
}

.about-photo-team {
    background-image: linear-gradient(180deg, rgba(32, 50, 71, 0.12), rgba(32, 50, 71, 0.12)), url('../images/obra-4.jpeg');
    background-position: center 34%;
}

.about-photo-safety {
    background-image: linear-gradient(180deg, rgba(32, 50, 71, 0.08), rgba(32, 50, 71, 0.12)), url('../images/seguridad.JPG');
    background-position: center 30%;
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--border-radius-lg);
    color: var(--color-white);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.value-description {
    color: var(--color-gray);
    line-height: 1.6;
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gray-lightest);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: var(--spacing-xl);
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.timeline-description {
    color: var(--color-gray);
    line-height: 1.6;
}

/* ============================================
   Team Section
   ============================================ */
.team-content,
.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.check-list {
    list-style: none;
    margin: 1rem 0;
}

.check-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--color-gray);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.25rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
}

.contact-info {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
    color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-info-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-detail-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.contact-detail-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.contact-detail-text a {
    color: rgba(255, 255, 255, 0.92);
}

.contact-detail-text a:hover {
    color: var(--color-white);
}

.contact-features {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-features-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-features-list {
    list-style: none;
}

.contact-features-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.contact-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* ============================================
   Forms
   ============================================ */
.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    color: var(--color-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray-lightest);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--color-gray);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-helper-text {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: 0.5rem;
}

.form-footer-text {
    text-align: center;
    color: var(--color-gray);
    margin-top: 1rem;
}

/* ============================================
   Success and Error Messages
   ============================================ */
.success-message,
.error-message {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-top: 2rem;
}

.success-message {
    background-color: #D4EDDA;
    border: 2px solid var(--color-success);
}

.error-message {
    background-color: #F8D7DA;
    border: 2px solid var(--color-error);
}

.success-icon,
.error-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
}

.success-icon {
    background-color: var(--color-success);
    color: var(--color-white);
}

.error-icon {
    background-color: var(--color-error);
    color: var(--color-white);
}

.success-title,
.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.success-title {
    color: var(--color-success);
}

.error-title {
    color: var(--color-error);
}

.success-text,
.error-text {
    color: var(--color-dark);
}

/* ============================================
   Urgency Section
   ============================================ */
.urgency-info {
    max-width: 600px;
    margin: 0 auto;
}

.urgency-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.urgency-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    color: var(--color-white);
}

.urgency-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.urgency-description {
    color: var(--color-gray);
    line-height: 1.6;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.faq-item {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: var(--color-gray);
    line-height: 1.6;
}

/* ============================================
   Call to Action
   ============================================ */
.cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta .btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.cta .btn-white:hover {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 107, 53, 0.16), transparent 28%),
        linear-gradient(180deg, #16212d 0%, #101821 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 42%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.footer-logo {
    width: 66px;
    height: auto;
    flex-shrink: 0;
}

.footer-brand-name {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    color: var(--color-white);
    letter-spacing: 0.01em;
}

.footer-brand-primary {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.footer-brand-legal {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 2.3rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-text {
    line-height: 1.75;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: var(--color-primary);
}

.footer-contact-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

.footer-contact-list li,
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.24);
    transition: var(--transition);
}

.footer-cta:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--color-primary);
}

.footer-cookie-settings {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font: inherit;
    padding: 0;
    transition: var(--transition);
}

.footer-cookie-settings:hover {
    color: var(--color-primary);
}

.cookie-banner {
    position: fixed;
    left: 1.5rem;
    right: auto;
    bottom: 1.5rem;
    width: min(390px, calc(100vw - 3rem));
    z-index: 1200;
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.cookie-banner-hidden {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    pointer-events: none;
}

.cookie-banner__content {
    display: grid;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 1.1rem 1.15rem 1rem;
    border: 1px solid rgba(255, 107, 53, 0.22);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 252, 248, 0.99), rgba(255, 246, 239, 0.97)),
        radial-gradient(circle at top right, rgba(255, 107, 53, 0.16), transparent 40%);
    box-shadow: 0 22px 50px rgba(13, 23, 36, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.cookie-banner__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.cookie-banner__copy {
    max-width: 100%;
}

.cookie-banner__eyebrow {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--color-primary);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cookie-banner__title {
    margin-bottom: 0.45rem;
    font-size: 1.1rem;
    line-height: 1.25;
    color: var(--color-dark);
}

.cookie-banner__copy p,
.cookie-banner__copy a {
    color: var(--color-gray);
}

.cookie-banner__copy p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.cookie-banner__copy a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
    color: var(--color-dark);
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    min-height: 2.7rem;
    padding: 0.78rem 1.05rem;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.18);
}

.cookie-btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: var(--color-white);
    border-color: rgba(44, 62, 80, 0.14);
    color: var(--color-dark);
}

.cookie-btn-secondary:hover {
    background: var(--color-light);
}

.cookie-inline-notice {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(44, 62, 80, 0.06);
    border: 1px solid rgba(44, 62, 80, 0.12);
    color: var(--color-dark);
    font-size: 0.95rem;
}

.cookie-inline-notice__action {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0;
    text-decoration: underline;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* ============================================
   Páginas legales
   ============================================ */
.legal-header {
    position: relative;
    overflow: hidden;
}

.legal-header .page-header-overlay {
    background:
        radial-gradient(circle at 20% 80%, rgba(247, 147, 30, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 1;
}

.legal-section {
    background: var(--color-white);
    padding-top: calc(var(--spacing-xxl) - 0.5rem);
}

.legal-intro {
    max-width: 860px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--color-gray);
    line-height: 1.7;
}

.legal-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

.legal-content {
    display: grid;
    gap: 1.25rem;
}

.legal-sidebar {
    position: sticky;
    top: 7rem;
    display: grid;
    gap: 1rem;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(22, 80, 225, 0.08);
    color: var(--color-primary);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.legal-meta-card {
    background: linear-gradient(150deg, #0f172a, #1d2b50);
    color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.legal-meta-card h3 {
    margin: 0 0 0.5rem;
    color: var(--color-white);
}

.legal-meta-grid {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.legal-meta-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: start;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
}

.legal-meta-label {
    font-weight: 700;
}

.legal-meta-value a {
    color: var(--color-white);
    text-decoration: underline;
}

.legal-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 80, 225, 0.08), rgba(22, 80, 225, 0));
    opacity: 0;
    transition: var(--transition);
}

.legal-card:hover::before {
    opacity: 1;
}

.legal-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
    position: relative;
    z-index: 1;
}

.legal-card p,
.legal-card ul {
    position: relative;
    z-index: 1;
}

.legal-card p {
    margin: 0;
    color: var(--color-gray);
    line-height: 1.6;
}

.legal-list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.legal-list li + li {
    margin-top: 0.4rem;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.legal-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.legal-timeline li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 0.75rem;
    align-items: start;
}

.legal-dot {
    width: 10px;
    height: 10px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 6px rgba(22, 80, 225, 0.12);
}

.legal-highlight {
    background: rgba(22, 80, 225, 0.06);
    border-left: 4px solid var(--color-primary);
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius);
    color: var(--color-gray);
    margin-top: 1rem;
}

@media (max-width: 1100px) {
    .legal-layout {
        grid-template-columns: 1.6fr 1fr;
    }
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: relative;
        top: 0;
    }
}

/* ============================================
   Servicios Modernos
   ============================================ */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.services-intro {
    padding-bottom: 1rem;
}

.services-page-overview {
    margin-top: 0;
}

.services-modern-alt {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.service-modern-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-modern-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-modern-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.service-modern-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.service-modern-description {
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-modern-features {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    flex-grow: 1;
}

.service-modern-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-gray);
    font-size: 0.9375rem;
}

.service-modern-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: transparent;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    align-self: flex-start;
}

.btn-modern:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    gap: 0.75rem;
}

.service-case-study {
    background: var(--color-light);
}

.service-case-study-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.service-case-study-copy p {
    font-size: 1.05rem;
    line-height: 1.75;
}

.service-case-study-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.service-case-study-list li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.5rem;
    color: var(--color-gray);
}

.service-case-study-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 800;
}

.service-case-study-gallery {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
}

.service-case-study-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.service-case-study-gallery img:first-child {
    grid-row: span 2;
    height: 100%;
    min-height: 456px;
}

/* Beneficios Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.benefit-text {
    color: var(--color-gray);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* ============================================
   Utility Classes
   ============================================ */
.mt-20 { margin-top: 1.25rem; }
.mt-30 { margin-top: 1.875rem; }
.mt-40 { margin-top: 2.5rem; }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .service-case-study-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Logo */
    .logo-image {
        height: 56px;
    }

    .logo-link {
        gap: 0.6rem;
    }

    .logo-text-brand {
        font-size: 1.2rem;
    }

    .logo-text-legal {
        font-size: 0.52rem;
        letter-spacing: 0.06em;
    }

    .hero-logo-bg {
        width: 360px;
        max-width: 84%;
        opacity: 0.28;
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3)) saturate(1.24) brightness(1.08);
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    /* Grids */
    .grid-2,
    .grid-2-large,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .service-case-study-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .service-case-study-gallery img,
    .service-case-study-gallery img:first-child {
        min-height: 0;
        height: 190px;
    }

    .service-detail-content,
    .coverage-layout,
    .team-content,
    .safety-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .coverage-summary-title {
        max-width: none;
    }

    .coverage-process {
        padding: 1.2rem;
    }

    .service-detail.reverse .service-detail-content {
        direction: ltr;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-section .container {
        padding: 0 var(--spacing-sm);
    }

    .contact-info,
    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand-legal {
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }

    .cookie-banner {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
    }

    .cookie-banner__content {
        gap: 0.75rem;
        padding: 0.9rem;
        border-radius: 18px 18px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        background:
            linear-gradient(180deg, rgba(255, 252, 248, 0.88), rgba(255, 246, 239, 0.84)),
            radial-gradient(circle at top right, rgba(255, 107, 53, 0.14), transparent 40%);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .cookie-banner__actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .cookie-btn {
        width: 100%;
        min-height: 2.45rem;
        padding: 0.72rem 0.85rem;
        font-size: 0.95rem;
    }

    .cookie-banner__eyebrow {
        font-size: 0.66rem;
        letter-spacing: 0.12em;
    }

    .cookie-banner__title {
        margin-bottom: 0.3rem;
        font-size: 1rem;
    }

    .cookie-banner__copy p {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    body.cookie-banner-active .floating-whatsapp,
    body.cookie-banner-active .floating-call {
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 3rem 0;
    }

    .page-header {
        padding: 3rem 0 2.5rem;
    }

    .page-header::before {
        width: 80%;
        height: 150%;
        opacity: 0.6;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: var(--spacing-md);
    }

    .btn {
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}
/* =========================
   Formulario Netlify
========================= */

.hidden {
    display: none;
  }
  
  /* =========================
     Botón Back to Top
  ========================= */
  
  .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 14px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }
  
  .back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
  }

/* ============================================
   Projects Page - Modern Design
   ============================================ */
.projects-section {
    padding: var(--spacing-xxl) 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.projects-toolbar {
    margin-bottom: 2.5rem;
}

.projects-header {
    margin-bottom: 1.5rem;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.project-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(44, 62, 80, 0.1);
    background: var(--color-white);
    color: var(--color-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.project-filter:hover,
.project-filter.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.18);
}

.project-card-modern {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.project-card-modern[hidden] {
    display: none;
}

.project-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-image-muro-perimetral {
    object-position: 66% center;
}

.project-image-museo-fachada {
    object-position: center 38%;
}

.project-card-modern:hover .project-card-image img {
    transform: scale(1.08);
}

.project-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--color-gray);
}

.project-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.project-card-meta i {
    color: var(--color-primary);
}

.project-card-excerpt {
    color: var(--color-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.project-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.project-card-btn:hover {
    gap: 0.75rem;
}

.project-card-btn i {
    transition: var(--transition);
}

/* Project Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.project-modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.project-modal.active .project-modal-content {
    transform: translateY(0) scale(1);
}

.project-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-dark);
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition);
}

.project-modal-close:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.project-modal-body {
    padding: 0;
}

.project-modal-header {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.project-modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-modal-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-modal-info {
    padding: 2rem;
}

.project-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.project-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-lightest);
}

.project-modal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
}

.project-modal-meta-item i {
    color: var(--color-primary);
    font-size: 1.125rem;
}

.project-modal-meta-item strong {
    color: var(--color-dark);
}

.project-modal-description {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-modal-section {
    margin-bottom: 2rem;
}

.project-modal-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-modal-section-title i {
    color: var(--color-primary);
}

.project-modal-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.project-modal-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
    font-size: 0.9375rem;
}

.project-modal-list li::before {
    content: '✓';
    color: var(--color-success);
    font-weight: bold;
}

.project-modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.project-modal-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.project-modal-gallery img:hover {
    transform: scale(1.05);
}

.project-modal-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-lightest);
}

/* Responsive Projects */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card-image {
        height: 200px;
    }

    .project-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .project-modal-header {
        height: 250px;
    }

    .project-modal-info {
        padding: 1.5rem;
    }

    .project-modal-title {
        font-size: 1.5rem;
    }

    .project-modal-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .project-modal-list {
        grid-template-columns: 1fr;
    }

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

    .project-modal-cta {
        flex-direction: column;
    }
}
  
