/* theme.css – complete styles for INICIO WP theme matching the Next.js build. */

/* ===================================================================
   0. CSS CUSTOM PROPERTIES
   =================================================================== */
:root {
    --foreground: #f5f5f5;
    --background: #595959;
    --accent: #f5f5f5;
    --accent-dark: #e5e5e5;
    --navy: #0a1929;
    --navy-light: #0d1b2a;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --red-50: #fef2f2;
    --red-600: #dc2626;
    --green-500: #22c55e;
    --blue-100: #dbeafe;
    --blue-800: #1e40af;
    --green-100: #dcfce7;
    --green-800: #166534;
    --nav-height: 64px;
    --nav-height-md: 80px;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
    --transition: 300ms ease;
}

/* ===================================================================
   1. RESET & BASE
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 350;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===================================================================
   2. TYPOGRAPHY
   =================================================================== */
.brand-logo {
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 0.18em;
}
.brand-subtitle {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    letter-spacing: 0.06em;
}

h1, h2, h3, h4, h5, h6 { line-height: 1.2; }

/* ===================================================================
   3. LAYOUT UTILITIES
   =================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
.container-sm { max-width: 896px; margin: 0 auto; padding: 0 1rem; }

@media (min-width: 640px) {
    .container, .container-sm { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
    .container, .container-sm { padding: 0 2rem; }
}

.section-padding { padding: 5rem 0; }
@media (min-width: 768px) { .section-padding { padding: 7rem 0; } }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .grid { gap: 2rem; } }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===================================================================
   4. FIXED NAVBAR
   =================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: transform .25s ease, background-color .3s ease, backdrop-filter .3s ease;
    height: var(--nav-height);
}
@media (min-width: 768px) { .site-header { height: var(--nav-height-md); } }

.site-header.scrolled {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.site-header.hidden-up { transform: translateY(-100%); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    transition: transform .2s ease;
}
.header-logo:hover { transform: scale(1.02); }
.header-logo .logo-name {
    font-size: 1.125rem;
    color: var(--accent);
}
.header-logo .logo-tagline {
    font-size: 0.75rem;
    color: rgba(245,245,245,.8);
}
@media (min-width: 768px) {
    .header-logo .logo-name { font-size: 1.5rem; }
    .header-logo .logo-tagline { font-size: 0.875rem; }
}

.site-header.theme-light .header-logo .logo-name { color: #000; }
.site-header.theme-light .header-logo .logo-tagline { color: #000; }

/* Menu button */
.menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: none;
    border: none;
    color: var(--accent);
    transition: transform .2s ease, color .2s ease;
}
.menu-btn:hover { transform: scale(1.05) translateY(-1px); }

.site-header.theme-light .menu-btn { color: #000; }

.menu-btn-icon {
    position: relative;
    width: 12px;
    height: 12px;
}
.menu-btn-icon span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%);
}
.menu-btn-icon span:last-child { transform: translate(-50%, -50%) rotate(90deg); }

/* ===================================================================
   5. SIDE DRAWER MENU
   =================================================================== */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 320px;
    max-width: 85vw;
    background: var(--white);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    box-shadow: var(--shadow-2xl);
    border-left: 1px solid var(--gray-200);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
}
.drawer-panel.open { transform: translateX(0); }

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(12px);
}
.drawer-header span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gray-500);
}
.drawer-close {
    padding: 0.5rem;
    border-radius: var(--radius-full);
    border: none;
    background: none;
    color: var(--gray-700);
    transition: background .2s;
}
.drawer-close:hover { background: var(--gray-100); }

.drawer-nav {
    flex: 1;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    background: var(--gray-50);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-900);
    transition: background .2s ease;
    box-shadow: var(--shadow-sm);
}
.drawer-link:hover { background: var(--gray-100); }
.drawer-link-num {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-400);
}

.drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(12px);
}
.drawer-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: var(--gray-900);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
    transition: background .2s;
}
.drawer-cta:hover { background: var(--accent-dark); }

/* ===================================================================
   6. HERO SECTION
   =================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 72rem;
    padding: 0 1rem;
}
.hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 350; /* match Next.js: body weight + h1 without font-bold */
    color: var(--accent);
    margin-bottom: 1rem;
}
.hero .hero-tagline {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    color: rgba(245,245,245,.9);
    margin-bottom: 1.5rem;
}
.hero .hero-slogan {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--accent);
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

.hero-portfolio-link {
    color: rgba(245,245,245,.9);
    font-size: 0.875rem;
    margin-top: 1rem;
}
@media (min-width: 768px) { .hero-portfolio-link { font-size: 1rem; } }
.hero-portfolio-link a {
    text-decoration: underline;
    font-weight: 500;
    transition: color .2s;
}
.hero-portfolio-link a:hover { color: var(--accent); }

/* ===================================================================
   7. BUTTONS
   =================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all .2s ease;
    border: none;
    text-decoration: none;
    line-height: 1;
}
.btn:hover { transform: scale(1.05) translateY(-2px); }

.btn-primary {
    padding: 1.25rem 2.5rem;
    background: var(--accent);
    color: var(--gray-900);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    box-shadow: 0 10px 25px rgba(245,245,245,.3);
}
.btn-primary:hover {
    background: rgba(245,245,245,.9);
    box-shadow: 0 15px 35px rgba(245,245,245,.4);
}

.btn-outline {
    padding: 1.25rem 2.5rem;
    background: transparent;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid rgba(245,245,245,.6);
    letter-spacing: 0.025em;
    backdrop-filter: blur(4px);
}
.btn-outline:hover { border-color: var(--accent); background: rgba(245,245,245,.1); }

.btn-navy {
    padding: 0.75rem 2rem;
    background: var(--navy);
    color: var(--white);
    font-size: 1.125rem;
    box-shadow: 0 4px 14px rgba(10,25,41,.3);
}
.btn-navy:hover { background: var(--navy-light); }

.btn-white {
    padding: 0.75rem 2rem;
    background: var(--white);
    color: var(--navy);
    font-size: 1.125rem;
    border: 2px solid var(--gray-300);
    box-shadow: var(--shadow);
}
.btn-white:hover { background: var(--gray-50); border-color: var(--gray-400); }

.btn-gray {
    padding: 0.75rem 2rem;
    background: var(--gray-800);
    color: var(--white);
    font-size: 1.125rem;
    box-shadow: 0 4px 14px rgba(31,41,55,.3);
}
.btn-gray:hover { background: var(--gray-900); }

.btn-sm { padding: 0.625rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-block { display: flex; width: 100%; }

/* ===================================================================
   8. TRUST STRIP
   =================================================================== */
.trust-strip {
    background: var(--background);
    padding: 1.5rem 0;
}
@media (min-width: 768px) { .trust-strip { padding: 2rem 0; } }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; } }

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform .2s;
}
.trust-item:hover { transform: scale(1.05) translateY(-5px); }

.trust-icon {
    margin-bottom: 0.75rem;
    animation: trustFloat 2.5s ease-in-out infinite;
    color: var(--gray-900);
    transition: color .2s;
}
.trust-item:hover .trust-icon { color: var(--accent); }

@keyframes trustFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.trust-item:nth-child(2) .trust-icon { animation-delay: .4s; }
.trust-item:nth-child(3) .trust-icon { animation-delay: .8s; }
.trust-item:nth-child(4) .trust-icon { animation-delay: 1.2s; }
.trust-item:nth-child(5) .trust-icon { animation-delay: 1.6s; }

.trust-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    transition: color .2s;
}
@media (min-width: 768px) { .trust-text { font-size: 1rem; } }
.trust-item:hover .trust-text { color: var(--accent); }

/* ===================================================================
   9. ABOUT SECTION (white bg)
   =================================================================== */
.section-white { background: var(--white); color: var(--gray-900); }
.section-gray { background: var(--background); }
.section-dark { background: var(--gray-900); color: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-subheading {
    font-size: 1.25rem;
    max-width: 48rem;
    margin: 0 auto;
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-text h3 {
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}
.about-text p {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 16rem;
}
@media (min-width: 768px) { .about-image { height: 20rem; } }
@media (min-width: 1024px) { .about-image { height: 24rem; } }
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values timeline */
.values-container {
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-200);
}
@media (min-width: 768px) { .values-container { padding: 3rem; } }

.values-list { display: flex; flex-direction: column; gap: 3rem; position: relative; }
.values-list::before {
    content: '';
    display: none;
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}
@media (min-width: 768px) { .values-list::before { display: block; } }

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.value-icon-wrap {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-full);
    background: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--gray-50);
    color: var(--white);
}
.value-content {
    flex: 1;
    background: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}
.value-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}
.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}
.value-desc { color: var(--gray-700); line-height: 1.7; }

/* ===================================================================
   10. SERVICE CARDS
   =================================================================== */
.services-section { background: var(--background); }

.service-card {
    display: block;
    height: 100%;
    transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-8px) scale(1.02); }

.service-card-inner {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-200);
    height: 100%;
    transition: box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .service-card-inner { padding: 2rem; } }
.service-card:hover .service-card-inner {
    box-shadow: 0 24px 50px -18px rgba(0,0,0,.35);
    border-color: var(--navy);
}

.service-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    color: var(--gray-700);
    transition: transform .5s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.15) rotate(-10deg); }

.service-card-inner h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: color .2s;
}
.service-card:hover .service-card-inner h3 { color: var(--navy); }

.service-card-inner p {
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 1rem;
    transition: color .2s;
}
.service-card:hover .service-card-inner p { color: var(--gray-900); }

.service-more {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===================================================================
   11. PROCESS ROTATOR (scroll-driven)
   =================================================================== */
.section-rotator {
    position: relative;
    isolation: isolate;
    background: var(--white);
    overflow: visible;
}
.rotator-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.symptoms-rotator { position: relative; height: 60vh; margin: 0; z-index: 1; }
.symptoms-rotator__lead,
.symptoms-rotator__trail { height: 0; }
.symptoms-rotator__sticky {
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
    padding-top: 2vh;
    padding-bottom: 2vh;
}
@media (min-width: 768px) {
    .symptoms-rotator__sticky { top: var(--nav-height-md); height: calc(100vh - var(--nav-height-md)); }
}
.symptoms-rotator__sticky.fallback-fixed {
    position: fixed !important;
    top: var(--nav-height);
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 40px));
    height: calc(100vh - var(--nav-height));
    z-index: 50;
}
@media (min-width: 768px) {
    .symptoms-rotator__sticky.fallback-fixed {
        top: var(--nav-height-md);
        height: calc(100vh - var(--nav-height-md));
    }
}
.symptoms-rotator__sticky.fallback-absolute {
    position: absolute !important;
    left: 0; right: 0;
    height: calc(100vh - var(--nav-height));
    z-index: 2;
}

.symptoms-rotator__title {
    font-size: clamp(3.2rem, 6vw, 4.8rem);
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    letter-spacing: -0.01em;
    width: 100%;
}
.symptoms-rotator__display {
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: clamp(1.15rem, 3vw, 1.9rem);
    color: var(--gray-900);
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    transition: transform 200ms ease, opacity 300ms ease;
    position: relative;
    z-index: 3;
}
.symptoms-rotator__display.pop {
    animation: wordPop 300ms cubic-bezier(0.2, 0.7, 0, 0.9);
}
@keyframes wordPop {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.symptoms-rotator__button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #000;
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.25rem);
    transition: all 200ms ease;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
}
.symptoms-rotator__button:hover { background: #333; transform: scale(1.05); }

.symptoms-scroller { visibility: hidden; height: 0; overflow: hidden; }
.symptoms-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 14px;
    max-width: 1100px;
    margin: 0 auto;
}
.symptoms-track span {
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--gray-800);
    opacity: 0;
    transform: translateY(14px);
    transition: transform 500ms cubic-bezier(0.2, 0.7, 0, 0.9), opacity 500ms cubic-bezier(0.2, 0.7, 0, 0.9);
}
.symptoms-scroller.in-view .symptoms-track span { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
    .symptoms-rotator__display { font-size: clamp(1.2rem, 6vw, 2rem); }
    .symptoms-rotator__sticky { padding-top: 4vh; padding-bottom: 4vh; }
}
@media (prefers-reduced-motion: reduce) {
    .symptoms-track span { transition: none; opacity: 1; transform: none; }
}

/* ===================================================================
   12. FAQ & AREAS
   =================================================================== */
.faq-item {
    border: 2px solid var(--gray-700);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--gray-800);
    transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--gray-600); box-shadow: var(--shadow); }
.faq-item h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .faq-item h3 { font-size: 1.125rem; } }
.faq-item p { font-size: 0.875rem; color: var(--gray-300); font-weight: 500; }
@media (min-width: 768px) { .faq-item p { font-size: 1rem; } }

.areas-card {
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #0b1220, #020617);
    border: 1px solid rgba(55,65,81,.8);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
}
@media (min-width: 768px) { .areas-card { padding: 1.75rem; } }

.areas-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(0,0,0,.2);
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255,255,255,.1);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-300);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.areas-badge-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--radius-full);
    background: var(--accent);
}

.map-wrap {
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-700);
    overflow: hidden;
    background: rgba(0,0,0,.3);
    margin-top: 1.5rem;
}
.map-header {
    padding: 1rem 1rem 0.5rem;
    border-bottom: 1px solid rgba(55,65,81,.7);
}
.map-header p:first-child { font-size: 0.875rem; font-weight: 600; color: var(--gray-100); }
.map-header p:last-child  { font-size: 0.75rem; color: var(--gray-400); }
.map-wrap iframe { width: 100%; aspect-ratio: 16/9; border: 0; }

/* ===================================================================
   13. BLOG SECTION
   =================================================================== */
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
    transition: box-shadow .3s, border-color .3s;
    height: 100%;
}
.blog-card:hover { box-shadow: var(--shadow-xl); border-color: var(--gray-300); }

.blog-card-image {
    position: relative;
    width: 100%;
    height: 12rem;
    overflow: hidden;
    background: var(--gray-200);
}
@media (min-width: 768px) { .blog-card-image { height: 14rem; } }
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}
.blog-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card:hover .blog-card-body h3 { color: var(--navy); }
.blog-card-body .excerpt {
    color: var(--gray-600);
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy);
    font-weight: 600;
    transition: gap .2s;
    margin-top: auto;
}
.blog-card:hover .blog-read-more { gap: 0.75rem; }

/* ===================================================================
   14. CONTACT FORM
   =================================================================== */
.contact-section { background: var(--white); color: var(--gray-900); }
.contact-section .section-heading { color: var(--navy); }
.contact-section .section-subheading { color: var(--navy); }

.contact-form-wrap {
    max-width: 56rem;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-200);
}
@media (min-width: 768px) { .contact-form-wrap { padding: 2.5rem; } }

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}
.form-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem;
    border-radius: var(--radius-full);
    background: rgba(245,245,245,.1);
    color: var(--accent);
}

.form-group { margin-bottom: 1rem; }
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    background: var(--white);
    color: var(--navy);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray-500); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(245,245,245,.3);
}
.form-input.error,
.form-select.error,
.form-textarea.error { border-color: var(--red-600); background: var(--red-50); }

.form-error { font-size: 0.875rem; color: var(--red-600); margin-top: 0.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-divider { border: none; border-top: 1px solid var(--gray-200); margin: 1.5rem 0; }

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 8rem;
    border: 2px dashed var(--gray-300);
    border-radius: 0.5rem;
    background: var(--gray-50);
    cursor: pointer;
    transition: background .2s;
}
.file-upload-area:hover { background: var(--gray-100); }
.file-upload-area.disabled { opacity: .6; cursor: not-allowed; }

.file-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}
.file-item span { font-size: 0.875rem; color: var(--gray-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.file-remove {
    padding: 0.25rem;
    color: var(--red-600);
    background: none;
    border: none;
    flex-shrink: 0;
}
.file-remove:hover { color: #991b1b; }

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}
.consent-label input {
    margin-top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--navy);
}
.consent-text { font-size: 0.875rem; color: var(--gray-700); }

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--navy);
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    box-shadow: 0 4px 14px rgba(10,25,41,.3);
    transition: background .2s, transform .2s;
}
.form-submit:hover:not(:disabled) { background: var(--navy-light); transform: scale(1.02) translateY(-2px); }
.form-submit:disabled { opacity: .5; cursor: not-allowed; }

.form-success {
    text-align: center;
    padding: 3rem 0;
}
.form-success-icon { color: var(--green-500); margin-bottom: 1rem; }
.form-success h3 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { color: var(--gray-600); margin-bottom: 1.5rem; }
.form-success-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center; }
@media (min-width: 640px) { .form-success-actions { flex-direction: row; } }

.alert-error {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--red-50);
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* ===================================================================
   15. SERVICES LISTING PAGE
   =================================================================== */
.services-page { background: linear-gradient(180deg, var(--gray-50), var(--white), var(--gray-50)); color: var(--gray-900); }
.services-page h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.services-page h1 span {
    display: block;
    background: linear-gradient(to right, var(--gray-900), var(--gray-800), var(--gray-900));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-5px) scale(1.05); box-shadow: var(--shadow-xl); }
.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: var(--white);
    margin-bottom: 1rem;
    transition: transform .2s;
}
.stat-card:hover .stat-icon { transform: scale(1.1); }
.stat-number { font-size: clamp(1.875rem, 3vw, 2.25rem); font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.stat-label { font-size: 0.875rem; color: var(--gray-600); font-weight: 500; }

.service-detail-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-200);
    transition: transform .3s, box-shadow .3s;
}
.service-detail-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2xl); }
.service-detail-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    opacity: .5;
    transition: opacity .3s;
}
.service-detail-card:hover .service-detail-bg { opacity: .7; }
.service-detail-content { position: relative; padding: 2rem; }
@media (min-width: 768px) { .service-detail-content { padding: 2.5rem; } }

.service-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--gray-700), var(--gray-800));
    color: var(--white);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    transition: transform .5s;
}
.service-detail-card:hover .service-detail-icon { transform: scale(1.15) rotate(-10deg); }

.service-detail-content h2 {
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    transition: color .2s;
}
.service-detail-card:hover .service-detail-content h2 { color: var(--navy); }
.service-detail-content > p {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: color .2s;
}
.service-detail-card:hover .service-detail-content > p { color: var(--gray-900); }

.service-includes-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}
.service-includes li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
}
.service-includes li i { color: var(--gray-700); flex-shrink: 0; margin-top: 2px; }
.service-includes li span { color: var(--gray-800); font-weight: 500; }

/* Why choose us banner */
.why-choose-banner {
    background: linear-gradient(to right, var(--gray-900), var(--gray-800));
    border-radius: var(--radius-2xl);
    padding: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-2xl);
}
@media (min-width: 768px) { .why-choose-banner { padding: 3rem; } }
.why-item { display: flex; gap: 1rem; }
.why-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.why-item h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.why-item p { color: var(--gray-300); line-height: 1.7; }

/* ===================================================================
   16. PORTFOLIO PAGE
   =================================================================== */
.portfolio-page { background: var(--white); color: var(--gray-900); }

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    transition: all .2s;
    background: var(--gray-100);
    color: var(--gray-700);
    box-shadow: var(--shadow);
}
.filter-btn:hover { background: var(--gray-200); transform: scale(1.1) translateY(-2px); }
.filter-btn.active {
    background: var(--gray-800);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(31,41,55,.3);
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: box-shadow .3s, transform .3s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.portfolio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.portfolio-card-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}
@media (min-width: 768px) { .portfolio-card-image { height: 20rem; } }
.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s;
}
.portfolio-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}
.badge-interior { background: var(--blue-100); color: var(--blue-800); }
.badge-exterior { background: var(--green-100); color: var(--green-800); }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 0.5rem;
    opacity: 0;
    transition: opacity .2s, background .2s;
}
.portfolio-card-image:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: rgba(0,0,0,.7); }
.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }

.carousel-dots {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.375rem;
    opacity: 0;
    transition: opacity .2s;
}
.portfolio-card-image:hover .carousel-dots { opacity: 1; }
.carousel-dot {
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,.5);
    width: 6px;
    transition: all .2s;
    border: none;
    padding: 0;
}
.carousel-dot.active { background: var(--white); width: 1.5rem; }

.portfolio-card-body { padding: 1.5rem; flex: 1; }
.portfolio-card-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.portfolio-card-body p {
    color: var(--gray-700);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Portfolio modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 56rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(.9);
    transition: transform .3s;
}
.modal-backdrop.open .modal-content { transform: scale(1); }

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 0.5rem;
    border: none;
    box-shadow: var(--shadow-lg);
    color: var(--gray-900);
    transition: background .2s;
}
.modal-close:hover { background: var(--gray-100); }

.modal-image-wrap { position: relative; height: 16rem; }
@media (min-width: 768px) { .modal-image-wrap { height: 24rem; } }
.modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-body { padding: 1.5rem; }
@media (min-width: 768px) { .modal-body { padding: 2rem; } }
.modal-body h2 { font-size: 1.875rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.modal-body > p { font-size: 1.125rem; color: var(--gray-700); margin-bottom: 2rem; }
.scope-title { font-size: 1.25rem; font-weight: 600; color: var(--gray-900); margin-bottom: 1rem; }
.scope-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.5rem; color: var(--gray-700); }
.scope-list .check { color: var(--accent); margin-top: 0.25rem; }

/* ===================================================================
   17. BLOG PAGE TEMPLATES
   =================================================================== */
.blog-page { background: var(--gray-50); color: var(--gray-900); }

.single-post { background: var(--gray-50); color: var(--gray-900); }
.single-post-image {
    position: relative;
    width: 100%;
    height: 16rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 2rem;
    background: var(--gray-200);
}
@media (min-width: 768px) { .single-post-image { height: 24rem; } }
.single-post-image img { width: 100%; height: 100%; object-fit: cover; }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}
.post-meta-item { display: flex; align-items: center; gap: 0.5rem; }

.prose h1 { font-size: 2.25rem; font-weight: 700; color: var(--gray-900); margin: 2rem 0 1.5rem; }
.prose h2 { font-size: 1.875rem; font-weight: 700; color: var(--gray-900); margin: 1.5rem 0 1rem; }
.prose h3 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin: 1rem 0 0.75rem; }
.prose p { color: var(--gray-800); line-height: 1.8; margin-bottom: 1rem; }
.prose a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.prose a:hover { color: #020617; }
.prose strong { color: var(--gray-900); font-weight: 700; }
.prose ul { list-style: disc; margin-left: 1.5rem; margin-bottom: 1rem; color: var(--gray-800); }
.prose ol { list-style: decimal; margin-left: 1.5rem; margin-bottom: 1rem; color: var(--gray-800); }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote { border-left: 4px solid var(--navy); padding-left: 1rem; font-style: italic; margin: 1rem 0; }
.prose img { border-radius: 0.75rem; box-shadow: var(--shadow-lg); margin: 1.5rem 0; }
.prose hr { border: none; border-top: 1px solid var(--gray-300); margin: 2rem 0; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2rem;
    transition: color .2s;
}
.back-link:hover { color: #020617; }
.back-link span { text-decoration: underline; text-underline-offset: 2px; }

/* ===================================================================
   18. FOOTER
   =================================================================== */
.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 0;
}
@media (min-width: 768px) { .site-footer { padding: 4rem 0; } }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-text { font-size: 0.875rem; color: var(--gray-200); margin-bottom: 1rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-200);
    transition: color .2s;
}
.footer-contact a:hover { color: var(--white); }

.footer-areas li { font-size: 0.875rem; color: var(--gray-200); padding: 0.25rem 0; }

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    color: var(--gray-300);
    transition: color .2s;
}
.footer-social a:hover { color: var(--white); }

.footer-links li { padding: 0.25rem 0; }
.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-200);
    transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(30,64,175,.5);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}
.footer-bottom p { font-size: 0.875rem; color: var(--gray-200); }
.footer-bottom .credit { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.5rem; }
.footer-bottom .credit a { text-decoration: underline; transition: color .2s; }
.footer-bottom .credit a:hover { color: var(--gray-200); }

/* ===================================================================
   19. MOBILE ACTION BAR
   =================================================================== */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--background);
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 -2px 10px rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 3rem;
}
@media (min-width: 768px) { .mobile-action-bar { display: none; } }

.mobile-action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: var(--accent);
    transition: color .2s;
}
.mobile-action-link:hover { color: var(--accent-dark); }
.mobile-action-link span {
    font-size: 10px;
    margin-top: 0;
}

/* ===================================================================
   20. 404 PAGE
   =================================================================== */
.page-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    color: var(--gray-900);
}
.page-404 h1 { font-size: 6rem; font-weight: 800; color: var(--gray-300); margin-bottom: 1rem; }
.page-404 h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.page-404 p { color: var(--gray-600); margin-bottom: 2rem; }

/* ===================================================================
   21. ANIMATIONS
   =================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-in { animation: fadeIn .6s ease both; }
.animate-slide-up { animation: slideUp .6s ease both; }
.animate-slide-left { animation: slideInLeft .8s ease both; }
.animate-slide-right { animation: slideInRight .8s ease both; }
.animate-scale-in { animation: scaleIn .5s ease both; }

.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }

/* IntersectionObserver-driven reveal */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   22. UTILITY HELPERS
   =================================================================== */
.pb-mobile { padding-bottom: 4rem; }
@media (min-width: 768px) { .pb-mobile { padding-bottom: 0; } }

.hidden { display: none !important; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Service detail page */
.service-single-page { background: linear-gradient(180deg, var(--gray-50), var(--white), var(--gray-50)); color: var(--gray-900); }
.service-single-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .service-single-grid { grid-template-columns: 2fr 1fr; gap: 2rem; } }

.sidebar-cta {
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 2px solid var(--gray-300);
    box-shadow: var(--shadow-2xl);
}
@media (min-width: 1024px) {
    .sidebar-cta { position: sticky; top: 6rem; }
}
.sidebar-cta .check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}
.sidebar-cta .check-item i { color: var(--gray-700); flex-shrink: 0; margin-top: 2px; }
.sidebar-cta .check-item span { font-size: 0.75rem; color: var(--gray-700); }

.related-banner {
    background: linear-gradient(to right, var(--gray-900), var(--gray-800));
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    color: var(--white);
    box-shadow: var(--shadow-2xl);
    text-align: center;
}
@media (min-width: 768px) { .related-banner { padding: 2rem; } }

/* CTA section on services page */
.services-cta-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    border: 2px solid var(--gray-200);
    overflow: hidden;
}
@media (min-width: 768px) { .services-cta-card { padding: 3rem; } }

/* Pill buttons for service anchors */
.anchor-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
.anchor-pill {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-300);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all .2s;
}
.anchor-pill:hover { box-shadow: var(--shadow); border-color: var(--gray-400); }

/* ===================================================================
   23. GENERIC PAGE TEMPLATE
   =================================================================== */
.generic-page {
    background: var(--white);
    color: var(--gray-900);
}
