:root {
    --color-primary: #1a5f7a;
    --color-primary-dark: #134b61;
    --color-primary-light: #2d8fb5;
    --color-secondary: #e87c3e;
    --color-secondary-dark: #c5632e;
    --color-accent: #f4c430;
    --color-dark: #1a1a2e;
    --color-light: #f8f9fa;
    --color-gray: #6c757d;
    --color-success: #28a745;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.navbar.scrolled .logo {
    color: var(--color-primary);
}

.logo i {
    font-size: 1.8rem;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--color-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition);
    border-radius: 3px;
}

.navbar.scrolled .hamburger span {
    background: var(--color-dark);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.shape-1 { width: 300px; height: 300px; top: -100px; right: -50px; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; animation: float 10s ease-in-out infinite 1s; }
.shape-3 { width: 150px; height: 150px; top: 40%; right: 20%; animation: float 7s ease-in-out infinite 0.5s; }
.shape-4 { width: 100px; height: 100px; bottom: 20%; right: 10%; animation: float 9s ease-in-out infinite 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--color-accent);
    position: relative;
}

.hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--color-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(232, 124, 62, 0.4);
}

.btn-primary:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 124, 62, 0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Hero Visual - Building Inspection */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.inspection-scene {
    position: relative;
    width: 430px;
    height: 380px;
}

.building {
    position: absolute;
    width: 210px;
    height: 255px;
    left: 128px;
    bottom: 42px;
}

.building-base {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 5px;
    backdrop-filter: blur(5px);
    box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.floor {
    flex: 1;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.window {
    flex: 1;
    height: 80%;
    background: rgba(244, 196, 48, 0.3);
    border: 1px solid rgba(244, 196, 48, 0.5);
    border-radius: 2px;
    animation: windowGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.door {
    width: 30%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 2px 2px 0 0;
    animation: doorOpen 4s ease-in-out infinite;
}

@keyframes windowGlow {
    0%, 100% { background: rgba(244, 196, 48, 0.3); }
    50% { background: rgba(244, 196, 48, 0.6); }
}

@keyframes doorOpen {
    0%, 100% { transform: perspective(100px) rotateY(0deg); }
    50% { transform: perspective(100px) rotateY(-30deg); }
}

.roof {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 116px solid transparent;
    border-right: 116px solid transparent;
    border-bottom: 42px solid rgba(255,255,255,0.16);
    filter: drop-shadow(0 14px 18px rgba(0,0,0,0.16));
}

.ladder {
    position: absolute;
    left: 80px;
    bottom: 38px;
    width: 34px;
    height: 252px;
    border-left: 5px solid rgba(255,255,255,0.72);
    border-right: 5px solid rgba(255,255,255,0.72);
    transform: rotate(9deg);
    transform-origin: bottom center;
    z-index: 5;
}

.ladder span {
    position: absolute;
    left: -2px;
    width: 28px;
    height: 4px;
    background: rgba(255,255,255,0.62);
    border-radius: 3px;
}

.ladder span:nth-child(1) { top: 34px; }
.ladder span:nth-child(2) { top: 82px; }
.ladder span:nth-child(3) { top: 130px; }
.ladder span:nth-child(4) { top: 178px; }

.roof-inspector,
.clipboard-inspector,
.room-inspector {
    position: absolute;
    z-index: 6;
}

.roof-inspector {
    left: 72px;
    bottom: 145px;
    width: 42px;
    height: 86px;
    animation: climbRoof 5s ease-in-out infinite;
}

.clipboard-inspector {
    right: 14px;
    bottom: 54px;
    width: 58px;
    height: 108px;
    animation: clipboardNote 2.6s ease-in-out infinite;
}

.room-inspector {
    width: 22px;
    height: 38px;
    bottom: 4px;
}

.person-head {
    position: absolute;
    left: 50%;
    top: 13px;
    width: 17px;
    height: 17px;
    background: #f5d0b0;
    border-radius: 50%;
    transform: translateX(-50%);
}

.roof-inspector .helmet,
.clipboard-inspector .helmet,
.room-inspector .helmet {
    position: absolute;
    left: 50%;
    top: 4px;
    width: 24px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 14px 14px 3px 3px;
    transform: translateX(-50%);
    z-index: 2;
}

.person-body {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 24px;
    height: 34px;
    background: var(--color-secondary);
    border-radius: 8px 8px 4px 4px;
    transform: translateX(-50%);
}

.clipboard-inspector .person-body {
    background: var(--color-primary-light);
}

.room-inspector .helmet {
    top: 0;
    width: 13px;
    height: 7px;
}

.room-inspector .person-head {
    top: 3px;
    width: 9px;
    height: 9px;
}

.room-inspector .person-body {
    top: 13px;
    width: 13px;
    height: 19px;
    background: rgba(26, 95, 122, 0.94);
}

.person-leg,
.arm {
    position: absolute;
    background: rgba(255,255,255,0.78);
    border-radius: 5px;
}

.person-leg {
    top: 60px;
    width: 7px;
    height: 24px;
}

.leg-left { left: 12px; transform: rotate(8deg); }
.leg-right { right: 12px; transform: rotate(-8deg); }

.room-inspector .person-leg {
    top: 31px;
    width: 4px;
    height: 9px;
    background: rgba(255,255,255,0.72);
}

.room-inspector .leg-left { left: 8px; }
.room-inspector .leg-right { right: 8px; }

.room-inspector .arm {
    top: 14px;
    width: 3px;
    height: 14px;
    background: rgba(255,255,255,0.82);
}

.room-inspector .arm-left { left: 4px; }
.room-inspector .arm-right { right: 4px; }

.cable-tech {
    left: 30px;
    animation: inspectCables 3.2s ease-in-out infinite;
}

.bath-tech {
    left: 6px;
    animation: inspectBath 3.8s ease-in-out infinite;
}

.paint-tech {
    left: 6px;
    animation: inspectPaint 3.4s ease-in-out infinite;
}

.arm {
    top: 34px;
    width: 6px;
    height: 23px;
}

.arm-left { left: 7px; transform: rotate(20deg); }
.arm-right { right: 7px; transform: rotate(-25deg); }

.clipboard-inspector .arm {
    top: 36px;
    background: rgba(255,255,255,0.82);
    z-index: 2;
}

.clipboard-inspector .arm-left {
    left: 10px;
    transform: rotate(15deg);
}

.clipboard-inspector .arm-right {
    right: 5px;
    transform: rotate(-55deg);
}

.mini-clipboard {
    position: absolute;
    top: 29px;
    right: -4px;
    width: 25px;
    height: 34px;
    padding: 8px 4px 0;
    background: white;
    border-radius: 3px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
    transform: rotate(-8deg);
}

.mini-clipboard::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    width: 10px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 3px;
    transform: translateX(-50%);
}

.mini-clipboard span {
    display: block;
    height: 2px;
    margin-bottom: 5px;
    background: var(--color-primary);
    border-radius: 2px;
}

.wire {
    position: absolute;
    height: 3px;
    background: var(--color-accent);
    border-radius: 3px;
    transform-origin: left center;
}

.wire-1 { width: 30px; left: 5px; top: 15px; transform: rotate(15deg); }
.wire-2 { width: 24px; left: 10px; top: 29px; transform: rotate(-12deg); background: var(--color-secondary); }
.wire-3 { width: 26px; left: 7px; top: 43px; transform: rotate(8deg); background: rgba(255,255,255,0.76); }

.sink-icon {
    position: absolute;
    right: 6px;
    bottom: 8px;
    width: 24px;
    height: 14px;
    border: 3px solid rgba(255,255,255,0.72);
    border-top: 0;
    border-radius: 0 0 14px 14px;
}

.sink-icon::before {
    content: '';
    position: absolute;
    left: 5px;
    top: -18px;
    width: 12px;
    height: 14px;
    border-top: 3px solid rgba(255,255,255,0.72);
    border-right: 3px solid rgba(255,255,255,0.72);
    border-radius: 0 8px 0 0;
}

.water-line {
    position: absolute;
    right: 16px;
    top: 30px;
    width: 3px;
    height: 16px;
    background: var(--color-primary-light);
    border-radius: 3px;
    animation: tinyWater 1.6s ease-in-out infinite;
}

.paint-roller {
    position: absolute;
    right: 9px;
    top: 15px;
    width: 23px;
    height: 8px;
    background: white;
    border-radius: 5px;
    animation: rollerMove 2.4s ease-in-out infinite;
}

.paint-roller::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 6px;
    width: 12px;
    height: 3px;
    background: rgba(255,255,255,0.76);
    transform: rotate(90deg);
}

.paint-swatch {
    position: absolute;
    right: 8px;
    bottom: 9px;
    width: 27px;
    height: 27px;
    background: rgba(255,255,255,0.26);
    border-radius: 4px;
}

.magnifying-glass {
    position: absolute;
    top: 52%;
    right: 26px;
    width: 80px;
    height: 80px;
    animation: glassMove 5s ease-in-out infinite;
    z-index: 8;
}

.glass {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-accent);
    border-radius: 50%;
    background: rgba(244, 196, 48, 0.1);
    position: absolute;
    top: 0;
    left: 0;
}

.handle {
    width: 8px;
    height: 35px;
    background: var(--color-accent);
    position: absolute;
    bottom: -10px;
    right: 5px;
    transform: rotate(-45deg);
    border-radius: 4px;
}

@keyframes glassMove {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-22px, -34px); }
    50% { transform: translate(-58px, -4px); }
    75% { transform: translate(-20px, 30px); }
}

@keyframes climbRoof {
    0%, 100% { transform: translate(0, 38px); }
    45% { transform: translate(12px, -18px); }
    72% { transform: translate(22px, -70px); }
}

@keyframes clipboardNote {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes inspectCables {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

@keyframes inspectBath {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes inspectPaint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(16px); }
}

@keyframes tinyWater {
    0%, 100% { height: 4px; opacity: 0.4; }
    50% { height: 16px; opacity: 1; }
}

@keyframes rollerMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(26px); }
}

.checkmarks {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.checkmark {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    opacity: 0;
    animation: checkAppear 3s ease-in-out infinite;
}

.check-1 { top: 20%; left: 10%; animation-delay: 0s; }
.check-2 { top: 50%; right: 5%; animation-delay: 1s; }
.check-3 { bottom: 20%; left: 20%; animation-delay: 2s; }

@keyframes checkAppear {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.scan-line {
    position: absolute;
    top: 82px;
    left: 128px;
    width: 210px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    animation: scanMove 3s linear infinite;
    opacity: 0.6;
    z-index: 4;
}

@keyframes scanMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(255px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.5s infinite;
}

@keyframes wheelScroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light .section-tag,
.section-header.light .section-title,
.section-header.light .section-desc {
    color: white;
}

.section-tag {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--color-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Servicios */
.servicios {
    padding: 54px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f6 100%);
}

.servicios .section-header {
    margin-bottom: 28px;
}

.servicios .section-title {
    margin-bottom: 10px;
}

.servicios .section-desc {
    font-size: 0.98rem;
    max-width: 620px;
    line-height: 1.45;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.servicio-card {
    min-height: 250px;
    background: var(--color-dark);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 24px 60px rgba(10, 25, 41, 0.14);
    transition: var(--transition);
    border: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    isolation: isolate;
    outline: none;
}

.servicio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 25, 41, 0.04) 0%, rgba(10, 25, 41, 0.22) 38%, rgba(10, 25, 41, 0.88) 100%);
    z-index: -1;
    transition: opacity 0.35s ease;
}

.servicio-card::after {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 6px;
    opacity: 0;
    transform: scale(0.96);
    transition: var(--transition);
    pointer-events: none;
}

.servicio-card:hover,
.servicio-card:focus,
.servicio-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 32px 80px rgba(10, 25, 41, 0.22);
}

.servicio-card:hover::before,
.servicio-card:focus::before,
.servicio-card:focus-visible::before {
    opacity: 0.96;
}

.servicio-card:hover::after,
.servicio-card:focus::after,
.servicio-card:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}

.servicio-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    z-index: -2;
}

.servicio-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.12), rgba(232, 124, 62, 0.16));
    mix-blend-mode: multiply;
}

.servicio-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.35s ease;
}

.servicio-card:hover .servicio-media img,
.servicio-card:focus .servicio-media img,
.servicio-card:focus-visible .servicio-media img {
    transform: scale(1.08);
    filter: saturate(1.05) contrast(1.04);
}

.servicio-card h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: white;
    margin-bottom: 9px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-shadow: 0 8px 22px rgba(0,0,0,0.36);
    transition: transform 0.35s ease;
}

.servicio-card > p {
    color: rgba(255,255,255,0.84);
    font-size: 0.82rem;
    margin-bottom: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.servicio-card:hover h3,
.servicio-card:focus h3,
.servicio-card:focus-visible h3 {
    transform: translateY(-78px);
}

.servicio-card:hover > p,
.servicio-card:focus > p,
.servicio-card:focus-visible > p {
    opacity: 0;
    transform: translateY(-16px);
}

.checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(10, 25, 41, 0.22);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.28s ease, transform 0.35s ease;
    pointer-events: none;
}

.servicio-card:hover .checklist,
.servicio-card:focus .checklist,
.servicio-card:focus-visible .checklist {
    opacity: 1;
    transform: translateY(0);
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--color-dark);
    font-size: 0.72rem;
    line-height: 1.25;
    margin-bottom: 0;
}

.checklist i {
    color: var(--color-success);
    font-size: 0.76rem;
    margin-top: 2px;
}

/* === ANIMACIONES POR SERVICIO === */

/* 1. Pisos - Nivel de burbuja */
.floor-animation .tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floor-animation .tile {
    background: var(--color-primary);
    border-radius: 2px;
    opacity: 0.8;
}

.floor-animation .tile.center {
    background: var(--color-secondary);
}

.level-bubble {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-dark);
    border-radius: 50%;
    top: 10px;
    right: 0;
    background: rgba(255,255,255,0.8);
    overflow: hidden;
    animation: bubbleTilt 3s ease-in-out infinite;
}

.bubble-inner {
    width: 12px;
    height: 12px;
    background: var(--color-secondary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bubbleMove 3s ease-in-out infinite;
}

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

@keyframes bubbleMove {
    0%, 100% { transform: translate(-60%, -50%); }
    50% { transform: translate(-40%, -50%); }
}

/* 2. Electricidad - Destellos */
.electric-animation .outlet {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 45px;
    background: var(--color-dark);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.electric-animation .socket {
    width: 20px;
    height: 25px;
    background: var(--color-gray);
    border-radius: 3px;
    position: relative;
}

.electric-animation .socket::before,
.electric-animation .socket::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--color-dark);
    top: 5px;
}

.electric-animation .socket::before { left: 4px; }
.electric-animation .socket::after { right: 4px; }

.electric-animation .plug {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 25px;
    background: var(--color-primary);
    border-radius: 5px 5px 0 0;
    animation: plugInsert 2s ease-in-out infinite;
}

.electric-animation .prongs {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    display: flex;
    justify-content: space-between;
    padding: 0 3px;
}

.electric-animation .prongs::before,
.electric-animation .prongs::after {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 2px;
}

@keyframes plugInsert {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

.sparkles {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
}

.spark {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0;
}

.spark-1 { top: 10px; left: 0; animation: spark 2s ease-in-out infinite 0.5s; }
.spark-2 { top: 0; left: 50%; animation: spark 2s ease-in-out infinite 0.8s; }
.spark-3 { top: 10px; right: 0; animation: spark 2s ease-in-out infinite 1.1s; }

@keyframes spark {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* 3. Tuberías - Flujo de agua */
.pipe-animation .pipe-system {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
}

.pipe-animation .pipe {
    background: var(--color-primary);
    border-radius: 4px;
    position: absolute;
}

.pipe-h {
    width: 40px;
    height: 8px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.pipe-v {
    width: 8px;
    height: 40px;
    top: 0;
    right: 5px;
}

.pipe-connector {
    width: 16px;
    height: 16px;
    background: var(--color-primary-light);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
}

.water-drop {
    position: absolute;
    bottom: 5px;
    right: 15px;
    width: 8px;
    height: 12px;
    background: var(--color-secondary);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: waterDrop 2s ease-in-out infinite;
}

@keyframes waterDrop {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(15px) scale(0.8); opacity: 0.5; }
    100% { transform: translateY(20px); opacity: 0; }
}

.water-flow {
    position: absolute;
    top: 0;
    right: 6px;
    width: 6px;
    height: 100%;
}

.flow-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: 50%;
    opacity: 0;
}

.flow-particle.p1 { animation: flowDown 1.5s linear infinite; }
.flow-particle.p2 { animation: flowDown 1.5s linear infinite 0.5s; }
.flow-particle.p3 { animation: flowDown 1.5s linear infinite 1s; }

@keyframes flowDown {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* 4. Redes - Paquetes de datos */
.network-animation .network-box {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    background: var(--color-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.network-animation .port {
    width: 8px;
    height: 8px;
    background: var(--color-gray);
    border-radius: 1px;
}

.network-animation .cable {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 35px;
    animation: cablePlug 2s ease-in-out infinite;
}

.network-animation .cable-end {
    width: 18px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 3px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.network-animation .cable-end::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 2px;
}

@keyframes cablePlug {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.data-packets {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 20px;
}

.packet {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    opacity: 0;
}

.packet.pkt-1 { left: 0; animation: dataMove 1.5s linear infinite; }
.packet.pkt-2 { left: 0; animation: dataMove 1.5s linear infinite 0.5s; }
.packet.pkt-3 { left: 0; animation: dataMove 1.5s linear infinite 1s; }

@keyframes dataMove {
    0% { left: 0; opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* 5. Yeso - Alisado */
.wall-animation .wall-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 4px;
}

.wall-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.wall-layer.base {
    background: var(--color-gray);
    opacity: 0.5;
}

.wall-layer.finish {
    background: var(--color-primary-light);
    width: 0;
    animation: spreadFinish 3s ease-in-out infinite;
}

@keyframes spreadFinish {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

.trowel {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    animation: trowelMove 3s ease-in-out infinite;
}

.trowel .blade {
    width: 25px;
    height: 18px;
    background: var(--color-secondary);
    border-radius: 2px;
    position: absolute;
    top: 0;
    right: 0;
}

.trowel .handle-tool {
    width: 6px;
    height: 12px;
    background: var(--color-dark);
    position: absolute;
    bottom: 0;
    right: 10px;
}

@keyframes trowelMove {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(-35px); }
}

/* 6. Puertas - Apertura */
.door-animation .door-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 55px;
    border: 3px solid var(--color-dark);
    border-radius: 3px 3px 0 0;
    background: rgba(0,0,0,0.05);
}

.door-panel {
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px 2px 0 0;
    position: relative;
    transform-origin: left center;
    animation: doorSwing 3s ease-in-out infinite;
}

.door-knob {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
}

@keyframes doorSwing {
    0%, 100% { transform: perspective(80px) rotateY(0deg); }
    50% { transform: perspective(80px) rotateY(-75deg); }
}

/* 7. Techos - Escaneo y gotas */
.roof-animation .ceiling {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    display: flex;
    gap: 3px;
}

.ceiling-tile {
    flex: 1;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: tileCheck 2s ease-in-out infinite;
}

.ceiling-tile:nth-child(2) { animation-delay: 0.3s; }
.ceiling-tile:nth-child(3) { animation-delay: 0.6s; }

@keyframes tileCheck {
    0%, 100% { background: var(--color-primary); }
    50% { background: var(--color-secondary); }
}

.inspection-light {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: lightPulse 2s ease-in-out infinite;
}

@keyframes lightPulse {
    0%, 100% { opacity: 0.2; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.5; transform: translateX(-50%) scale(1.2); }
}

.rain-drop {
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
    opacity: 0;
}

.rain-drop.rd-1 { top: 30px; left: 20px; animation: rainFall 2s ease-in infinite 0.5s; }
.rain-drop.rd-2 { top: 30px; right: 20px; animation: rainFall 2s ease-in infinite 1.2s; }

@keyframes rainFall {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(40px); }
}

/* 8. Baños - Grifo y agua */
.bath-animation .sink {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 35px;
}

.bath-animation .basin {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--color-primary-light);
    border-radius: 0 0 20px 20px;
    opacity: 0.6;
}

.bath-animation .faucet {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 15px;
    background: var(--color-dark);
}

.bath-animation .faucet-neck {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 6px;
    background: var(--color-dark);
    border-radius: 0 3px 3px 0;
}

.water-stream {
    position: absolute;
    top: 10px;
    left: calc(50% + 8px);
    width: 3px;
    height: 0;
    background: var(--color-secondary);
    border-radius: 2px;
    animation: waterFlow 2s ease-in-out infinite;
}

@keyframes waterFlow {
    0%, 100% { height: 0; opacity: 0; }
    50% { height: 20px; opacity: 0.8; }
}

/* Proceso */
.proceso {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    position: relative;
    overflow: hidden;
}

.proceso::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.proceso-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    min-height: 310px;
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(90px);
}

.step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(232, 124, 62, 0.28));
    transform: scaleX(0);
    transform-origin: left;
    z-index: 0;
}

.step > * {
    position: relative;
    z-index: 1;
}

.process-active .step {
    animation: stepSlideIn 0.65s ease forwards;
}

.process-active .step::before {
    animation: stepFill 1.05s ease forwards;
}

.process-active .step[data-step="1"],
.process-active .step[data-step="1"]::before {
    animation-delay: 0s;
}

.process-active .step[data-step="2"] {
    animation-delay: 1.15s;
}

.process-active .step[data-step="2"]::before {
    animation-delay: 1.15s;
}

.process-active .step[data-step="3"] {
    animation-delay: 2.3s;
}

.process-active .step[data-step="3"]::before {
    animation-delay: 2.3s;
}

.process-active .step[data-step="4"] {
    animation-delay: 3.45s;
}

.process-active .step[data-step="4"]::before {
    animation-delay: 3.45s;
}

.step:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    margin-bottom: 10px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(232, 124, 62, 0.4);
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.step p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.55;
}

.step-arrow {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-top: 60px;
    opacity: 0;
    transform: translateX(18px);
}

.process-active .step-arrow {
    animation: arrowAppear 0.35s ease forwards, arrowPulse 2s ease-in-out infinite;
}

.process-active .step-arrow:nth-child(2) {
    animation-delay: 0.98s, 1.28s;
}

.process-active .step-arrow:nth-child(4) {
    animation-delay: 2.13s, 2.43s;
}

.process-active .step-arrow:nth-child(6) {
    animation-delay: 3.28s, 3.58s;
}

@keyframes stepSlideIn {
    0% {
        opacity: 0;
        transform: translateX(90px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes stepFill {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@keyframes arrowAppear {
    0% {
        opacity: 0;
        transform: translateX(18px);
    }
    100% {
        opacity: 0.85;
        transform: translateX(0);
    }
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(10px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .step,
    .step::before,
    .step-arrow {
        animation: none !important;
        opacity: 1;
        transform: none;
    }

    .step::before {
        transform: scaleX(1);
    }
}

/* Nosotros */
.nosotros {
    padding: 100px 0 84px;
    background: white;
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.inspector-illustration {
    width: 280px;
    height: 320px;
    margin: 0 auto;
    position: relative;
}

.inspector-body {
    position: relative;
    width: 100%;
    height: 100%;
}

.inspector-head {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 90px;
}

.helmet {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 40px;
    background: var(--color-accent);
    border-radius: 35px 35px 0 0;
    z-index: 2;
}

.helmet-stripe {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-secondary);
}

.face {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 55px;
    background: #f5d0b0;
    border-radius: 0 0 25px 25px;
}

.inspector-torso {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 120px;
    background: var(--color-primary);
    border-radius: 20px 20px 0 0;
}

.inspector-arm {
    position: absolute;
    top: 120px;
    width: 30px;
    height: 90px;
    border-radius: 15px;
}

.inspector-arm.left {
    left: 60px;
    background: var(--color-primary-dark);
    transform-origin: top center;
    animation: armWrite 3s ease-in-out infinite;
}

.inspector-arm.right {
    right: 60px;
    background: var(--color-primary-dark);
}

@keyframes armWrite {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.clipboard {
    position: absolute;
    bottom: -10px;
    left: -20px;
    width: 40px;
    height: 50px;
    background: var(--color-dark);
    border-radius: 4px;
    transform: rotate(-15deg);
}

.clipboard .paper {
    position: absolute;
    top: 5px;
    left: 3px;
    width: 34px;
    height: 40px;
    background: white;
    border-radius: 2px;
}

.clipboard .paper::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 5px;
    width: 24px;
    height: 3px;
    background: var(--color-gray);
    box-shadow: 0 8px 0 var(--color-gray), 0 16px 0 var(--color-gray);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: var(--color-secondary);
    color: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    line-height: 1.3;
}

.nosotros-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.nosotros-text p {
    color: var(--color-gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-dark);
}

.feature i {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

/* FAQ */
.faq {
    position: relative;
    padding: 76px 0 90px;
    background: #eef3f6;
    box-shadow: inset 0 18px 40px rgba(10, 25, 41, 0.035);
}

.faq .section-header {
    margin-bottom: 36px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.faq-item {
    position: relative;
    min-height: 210px;
    padding: 26px;
    border-radius: 8px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(10, 25, 41, 0.1);
    box-shadow: 0 18px 45px rgba(10, 25, 41, 0.08);
    overflow: hidden;
}

.faq-item:first-child {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}

.faq-item::after {
    content: '';
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(232, 124, 62, 0.14);
}

.faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(26, 95, 122, 0.1);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
}

.faq-item:first-child .faq-number {
    background: rgba(255,255,255,0.16);
    color: white;
}

.faq-item h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.28;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.faq-item:first-child h3 {
    color: white;
    font-size: 1.35rem;
}

.faq-item p {
    position: relative;
    z-index: 1;
    color: var(--color-gray);
    font-size: 0.94rem;
    line-height: 1.6;
}

.faq-item:first-child p {
    color: rgba(255,255,255,0.86);
    max-width: 620px;
}

/* Contacto */
.contacto {
    padding: 100px 0;
    background: var(--color-light);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.contacto-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.form-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(26, 95, 122, 0.08);
    border: 1px solid rgba(26, 95, 122, 0.15);
    border-radius: 10px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--color-gray);
}

.form-notice i {
    color: var(--color-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.info-content p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-body {
    background: #eef3f6;
}

.legal-nav {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.legal-nav .logo {
    color: var(--color-primary);
}

.legal-nav .nav-links a {
    color: var(--color-dark);
}

.legal-page {
    padding: 130px 0 80px;
}

.legal-hero {
    max-width: 880px;
    margin-bottom: 34px;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.legal-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: 1.08;
    color: var(--color-dark);
    margin-bottom: 18px;
}

.legal-hero p {
    color: var(--color-gray);
    font-size: 1.05rem;
    max-width: 760px;
}

.legal-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 95px;
    padding: 22px;
    border-radius: 8px;
    background: white;
    border: 1px solid rgba(10, 25, 41, 0.08);
    box-shadow: 0 18px 45px rgba(10, 25, 41, 0.08);
}

.legal-toc h2 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 14px;
    color: var(--color-dark);
}

.legal-toc a {
    display: block;
    padding: 9px 0;
    color: var(--color-gray);
    font-size: 0.9rem;
    text-decoration: none;
    border-top: 1px solid rgba(10, 25, 41, 0.06);
}

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

.legal-content {
    padding: 38px;
    border-radius: 8px;
    background: white;
    border: 1px solid rgba(10, 25, 41, 0.08);
    box-shadow: 0 22px 60px rgba(10, 25, 41, 0.09);
}

.legal-note {
    padding: 16px 18px;
    margin-bottom: 28px;
    border-left: 4px solid var(--color-secondary);
    border-radius: 6px;
    background: rgba(232, 124, 62, 0.08);
    color: var(--color-dark);
}

.legal-content section {
    scroll-margin-top: 110px;
    padding-top: 4px;
    margin-bottom: 34px;
}

.legal-content section:last-child {
    margin-bottom: 0;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
    color: var(--color-gray);
    line-height: 1.75;
    font-size: 0.98rem;
}

.legal-content ul {
    margin: 10px 0 0 20px;
}

.legal-content strong {
    color: var(--color-dark);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.legal-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: white;
    color: var(--color-primary);
    border: 1px solid rgba(26, 95, 122, 0.16);
    font-size: 0.86rem;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .inspection-scene {
        transform: scale(0.82);
        transform-origin: center;
        margin: -35px 0 -45px;
    }

    .nosotros-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features {
        max-width: 400px;
        margin: 30px auto 0;
    }

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

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

    .faq-item:first-child {
        grid-column: span 2;
    }

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

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

    .legal-shell {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .legal-nav .nav-container {
        align-items: flex-start;
        gap: 14px;
    }

    .legal-nav .nav-links {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 14px;
        background: transparent;
        backdrop-filter: none;
        transition: none;
    }

    .legal-nav .nav-links a,
    .navbar.scrolled.legal-nav .nav-links a {
        color: var(--color-dark);
        font-size: 0.9rem;
    }

    .navbar.scrolled .nav-links a {
        color: var(--color-dark);
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .inspection-scene {
        transform: scale(0.68);
        margin: -70px 0 -85px;
    }

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

    .servicios {
        padding: 56px 0;
    }

    .servicios .section-header {
        margin-bottom: 28px;
    }

    .faq {
        padding: 58px 0 68px;
    }

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

    .faq-item,
    .faq-item:first-child {
        grid-column: auto;
        min-height: auto;
    }

    .servicio-media {
        height: 100%;
    }

    .proceso-steps {
        flex-direction: column;
        align-items: stretch;
        max-width: 360px;
        margin: 0 auto;
    }

    .step {
        max-width: none;
        min-height: 250px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .legal-page {
        padding: 110px 0 60px;
    }

    .legal-content {
        padding: 26px;
    }
}

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

    .servicio-card {
        min-height: 280px;
        padding: 18px;
    }

    .servicio-card::before {
        width: 100%;
        height: 100%;
    }

    .servicio-media {
        height: 100%;
        margin: 0;
    }

    .servicio-card h3 {
        font-size: 0.98rem;
        margin-top: 2px;
    }

    .servicio-card > p {
        font-size: 0.78rem;
        margin-bottom: 10px;
    }

    .servicio-card:hover h3,
    .servicio-card:focus h3,
    .servicio-card:focus-visible h3 {
        transform: translateY(-88px);
    }

    .checklist {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 12px;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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