/* ============================================
   HOSPITAL OLD DOG — PREMIUM VETERINARY
   Design System v2.0
   Editorial, organic, handcrafted feel
   ============================================ */

/* ==================== TOKENS ==================== */
:root {
    /* Colors */
    --c-bg: #FAFAF8;
    --c-bg-warm: #F5F0EB;
    --c-bg-dark: #0C0A09;
    --c-bg-dark-warm: #1A1412;
    --c-surface: #FFFFFF;
    --c-surface-dark: rgba(255,255,255,.04);

    --c-brand: #7B2334;
    --c-brand-dark: #5A1625;
    --c-brand-mid: #9A2E42;
    --c-brand-light: #C4596B;
    --c-brand-bg: #FDF2F4;
    --c-brand-bg-deep: #F5D5DA;
    --c-accent: #C8956C;
    --c-accent-light: #E2BD9A;
    --c-accent-dark: #8B6540;
    
    --c-text: #2C2420;
    --c-text-secondary: #6B5F57;
    --c-text-muted: #9C9088;
    --c-text-light: rgba(255,255,255,.85);
    --c-text-light-muted: rgba(255,255,255,.5);
    --c-border: rgba(0,0,0,.07);
    --c-border-light: rgba(255,255,255,.1);

    /* Typography */
    --f-display: 'Playfair Display', Georgia, serif;
    --f-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --s-xs: 4px;
    --s-sm: 8px;
    --s-md: 16px;
    --s-lg: 24px;
    --s-xl: 32px;
    --s-2xl: 48px;
    --s-3xl: 64px;
    --s-4xl: 96px;
    --s-5xl: 128px;

    /* Radius */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-2xl: 32px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.08);
    --shadow-xl: 0 24px 48px rgba(0,0,0,.1);
    --shadow-glow: 0 0 40px rgba(123,35,52,.15);
    --shadow-warm: 0 8px 30px rgba(200,149,108,.12);

    /* Transitions */
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --t-fast: 200ms;
    --t-base: 400ms;
    --t-slow: 600ms;
}

/* ==================== RESET ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-fast) ease;
}

ul { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-lg);
}

em {
    font-style: italic;
    color: var(--c-brand);
}

/* ==================== SECTION HEADER ==================== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--s-3xl);
}
.section-header__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-brand);
    background: var(--c-brand-bg);
    padding: 8px 18px;
    border-radius: var(--r-full);
    margin-bottom: var(--s-md);
    border: 1px solid var(--c-brand-bg-deep);
}
.section-header__tag svg,
.section-header__tag i {
    width: 14px;
    height: 14px;
}
.section-header__tag--gold {
    color: var(--c-accent);
    background: rgba(200,149,108,.12);
    border-color: rgba(200,149,108,.2);
}
.section-header__title {
    font-family: var(--f-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-text);
    margin-bottom: var(--s-md);
    letter-spacing: -0.02em;
}
.section-header__title--light {
    color: var(--c-text-light);
}
.section-header__title--light em {
    color: var(--c-accent-light);
}
.section-header__desc {
    font-size: 1.05rem;
    color: var(--c-text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}
.section-header__desc--light {
    color: var(--c-text-light-muted);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--r-xl);
    transition: all var(--t-base) var(--ease-out);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.btn--primary {
    background: var(--c-brand);
    color: #fff;
    box-shadow: 0 4px 16px rgba(123,35,52,.25);
}
.btn--primary:hover {
    background: var(--c-brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(123,35,52,.35);
}
.btn--glass {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
}
.btn--glass:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-2px);
}
.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
}
.btn--block { width: 100%; }

/* ==================== NAVBAR (Arvex Pill Style) ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background-color: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* Logo - separate on the left */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    z-index: 10;
    color: #fcfcfc;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-img {
    border-color: #fcfcfc;
    transform: rotate(10deg) scale(1.1);
}

/* Pill-shaped nav in the center */
.nav-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #262626;
    border-radius: 30px;
    padding: 0.5rem 0.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-pill .nav-link {
    font-size: 0.85rem;
    color: #999999;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    font-weight: 500;
}

.nav-pill .nav-link:hover, .nav-pill .nav-link.active {
    color: #fcfcfc;
    background: rgba(255, 255, 255, 0.08);
}

/* CTA & Mobile Toggle */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

/* CTA */
.nav-cta {
    border-radius: 50px;
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
    z-index: 10;
    background-color: #fcfcfc;
    color: #030303;
    font-weight: 600;
    transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
    background-color: #d4d4d4;
    transform: scale(1.02);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 24px;
    padding: 2px 0;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile full-screen nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(3, 3, 3, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link {
    font-size: 1.8rem;
    font-weight: 500;
    color: #999999;
    transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: #fcfcfc;
}

@media (max-width: 991px) {
    .nav-pill { display: none; }
    .nav-cta { display: none; }
    .menu-toggle { display: flex; }
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12,10,9,.7) 0%, rgba(12,10,9,.4) 40%, rgba(12,10,9,.75) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px var(--s-lg) 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-3xl);
}
.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-accent-light);
    background: rgba(200,149,108,.1);
    border: 1px solid rgba(200,149,108,.2);
    padding: 8px 18px;
    border-radius: var(--r-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero__label svg,
.hero__label i {
    width: 16px;
    height: 16px;
}
.hero__title {
    font-family: var(--f-display);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.hero__title-line {
    display: block;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
}
.hero__title-line--accent {
    color: var(--c-accent-light);
    font-style: italic;
}
.hero__desc {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255,255,255,.6);
    max-width: 520px;
    line-height: 1.8;
}
.hero__actions {
    display: flex;
    align-items: center;
    gap: var(--s-md);
    flex-wrap: wrap;
}
.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--s-xl);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.08);
    padding: var(--s-lg) var(--s-2xl);
    border-radius: var(--r-xl);
}
.hero__stat {
    text-align: center;
}
.hero__stat-number {
    display: block;
    font-family: var(--f-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-accent-light);
    line-height: 1.2;
}
.hero__stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    font-weight: 500;
    letter-spacing: 0.02em;
}
.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.12);
}
.hero__scroll {
    position: absolute;
    bottom: var(--s-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,.35);
    animation: scrollBounce 2.5s var(--ease-out) infinite;
}
.hero__scroll i,
.hero__scroll svg {
    width: 24px;
    height: 24px;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== SERVICES ==================== */
.services {
    padding: var(--s-5xl) 0;
    background: var(--c-bg);
    position: relative;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-lg);
}
.service-card {
    background: var(--c-surface);
    border-radius: var(--r-xl);
    padding: var(--s-xl) var(--s-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--t-base) var(--ease-out);
    border: 1px solid var(--c-border);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(123,35,52,.12);
}
.service-card--featured {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: var(--s-2xl);
    padding: var(--s-2xl) var(--s-xl);
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
}
.service-card--featured:hover {
    background: var(--c-brand-dark);
    border-color: var(--c-brand-dark);
    box-shadow: var(--shadow-glow);
}
.service-card--featured .service-card__icon-wrap {
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}
.service-card--featured .service-card__icon {
    color: #fff;
}
.service-card--featured .service-card__title {
    color: #fff;
    font-size: 1.3rem;
}
.service-card--featured .service-card__desc {
    color: rgba(255,255,255,.75);
}
.service-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--c-brand);
    opacity: 0;
    transition: opacity var(--t-fast) ease;
}
.service-card:hover .service-card__accent {
    opacity: 1;
}
.service-card__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--c-brand-bg);
    border-radius: var(--r-lg);
    margin-bottom: var(--s-md);
    transition: all var(--t-base) var(--ease-spring);
}
.service-card:hover .service-card__icon-wrap {
    background: var(--c-brand);
    transform: scale(1.05);
}
.service-card:hover .service-card__icon {
    color: #fff;
}
.service-card--featured:hover .service-card__icon-wrap {
    background: rgba(255,255,255,.25);
}
.service-card__icon {
    width: 26px;
    height: 26px;
    color: var(--c-brand);
    transition: color var(--t-fast) ease;
}
.service-card__title {
    font-family: var(--f-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: var(--s-sm);
}
.service-card__desc {
    font-size: 0.9rem;
    color: var(--c-text-secondary);
    line-height: 1.7;
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-accent-light);
    margin-top: var(--s-md);
    transition: gap var(--t-fast) ease;
}
.service-card__link:hover {
    gap: 12px;
}
.service-card__link svg,
.service-card__link i {
    width: 16px;
    height: 16px;
}

/* ==================== ABOUT ==================== */
.about {
    padding: var(--s-5xl) 0;
    background: var(--c-bg-warm);
}
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4xl);
    align-items: center;
}
.about__visual {
    position: relative;
}
.about__image-wrap {
    position: relative;
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about__image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform var(--t-slow) var(--ease-out);
}
.about__image-wrap:hover .about__image {
    transform: scale(1.04);
}
.about__image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 160px;
    height: 160px;
    background: var(--c-brand-bg);
    border-radius: var(--r-2xl);
    z-index: -1;
    border: 2px solid var(--c-brand-bg-deep);
}
.about__float-card {
    position: absolute;
    bottom: var(--s-lg);
    left: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    animation: floatCard 3s var(--ease-out) infinite alternate;
}
@keyframes floatCard {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}
.about__float-card svg,
.about__float-card i {
    width: 24px;
    height: 24px;
    color: var(--c-accent);
}
.about__float-card strong {
    font-family: var(--f-display);
    font-size: 14px;
    display: block;
    color: var(--c-text);
}
.about__float-card span {
    font-size: 12px;
    color: var(--c-text-muted);
}

.about__content .section-header__tag {
    display: inline-flex;
}
.about__title {
    font-family: var(--f-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--c-text);
    margin: var(--s-md) 0 var(--s-lg);
    letter-spacing: -0.02em;
}
.about__text {
    display: flex;
    flex-direction: column;
    gap: var(--s-md);
}
.about__text p {
    font-size: 1rem;
    color: var(--c-text-secondary);
    line-height: 1.8;
}
.about__text strong {
    color: var(--c-brand);
}
.about__counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-md);
    margin-top: var(--s-2xl);
}
.about__counter {
    text-align: center;
    background: var(--c-surface);
    padding: var(--s-lg) var(--s-md);
    border-radius: var(--r-xl);
    border: 1px solid var(--c-border);
    transition: all var(--t-base) var(--ease-out);
}
.about__counter:hover {
    border-color: var(--c-brand-bg-deep);
    box-shadow: var(--shadow-warm);
    transform: translateY(-3px);
}
.about__counter-number {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-brand);
    line-height: 1;
}
.about__counter-suffix {
    font-family: var(--f-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--c-accent);
}
.about__counter-label {
    display: block;
    font-size: 12px;
    color: var(--c-text-muted);
    margin-top: var(--s-xs);
    font-weight: 500;
}

/* ==================== STRUCTURE ==================== */
.structure {
    padding: var(--s-5xl) 0;
    background: var(--c-bg-dark);
    position: relative;
    overflow: hidden;
}
.structure__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.structure__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .25;
}
.structure__glow--1 {
    width: 400px;
    height: 400px;
    background: var(--c-brand);
    top: -100px;
    left: -100px;
}
.structure__glow--2 {
    width: 350px;
    height: 350px;
    background: var(--c-accent);
    bottom: -100px;
    right: -100px;
}
.structure__video-wrap {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--r-2xl);
    overflow: hidden;
    border: 1px solid var(--c-border-light);
    box-shadow: var(--shadow-xl);
}
.structure__video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.structure__video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,10,9,.85) 0%, transparent 50%);
    pointer-events: none;
}
.structure__features {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--s-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-sm);
    z-index: 2;
}
.structure__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    padding: 14px 16px;
    border-radius: var(--r-lg);
    transition: all var(--t-base) var(--ease-out);
}
.structure__feature:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-3px);
}
.structure__feature-icon {
    width: 22px;
    height: 22px;
    color: var(--c-accent-light);
    flex-shrink: 0;
}
.structure__feature-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--c-text-light-muted);
    font-weight: 600;
}
.structure__feature-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-light);
}

/* ==================== TEAM ==================== */
.team {
    padding: var(--s-5xl) 0;
    background: var(--c-bg);
}
.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-lg);
}
.team__card {
    transition: all var(--t-base) var(--ease-out);
}
.team__card:hover {
    transform: translateY(-6px);
}
.team__photo {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--r-2xl);
    overflow: hidden;
    background: var(--c-bg-warm);
}
.team__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--t-slow) var(--ease-out);
    filter: grayscale(30%);
}
.team__card:hover .team__img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.team__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-brand-bg);
}
.team__placeholder-icon {
    width: 48px;
    height: 48px;
    color: var(--c-brand-bg-deep);
}
.team__photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(90,22,37,.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    padding: var(--s-lg);
    opacity: 0;
    transition: opacity var(--t-base) ease;
}
.team__card:hover .team__photo-overlay {
    opacity: 1;
}
.team__contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    background: #fff;
    color: var(--c-brand-dark);
    padding: 12px 16px;
    border-radius: var(--r-xl);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--t-fast) ease;
}
.team__contact-btn:hover {
    background: var(--c-accent-light);
    color: #fff;
}
.team__contact-btn svg,
.team__contact-btn i {
    width: 16px;
    height: 16px;
}
.team__info {
    padding: var(--s-md) var(--s-xs);
}
.team__name {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--c-text);
    margin-bottom: 2px;
}
.team__role {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== GALLERY ==================== */
.gallery {
    padding: var(--s-5xl) 0;
    background: var(--c-bg-warm);
}
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px 200px;
    gap: var(--s-md);
}
.gallery__item {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    cursor: pointer;
}
.gallery__item--tall {
    grid-row: span 2;
}
.gallery__item--wide {
    grid-column: span 2;
}
.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow) var(--ease-out);
}
.gallery__item:hover .gallery__img {
    transform: scale(1.08);
}
.gallery__hover {
    position: absolute;
    inset: 0;
    background: rgba(90,22,37,.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--t-base) ease;
}
.gallery__item:hover .gallery__hover {
    opacity: 1;
}
.gallery__hover-icon {
    width: 28px;
    height: 28px;
    color: #fff;
}

/* ==================== REVIEWS ==================== */
.reviews {
    padding: var(--s-5xl) 0;
    background: var(--c-bg);
}
.reviews__google-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--c-brand-bg);
    padding: 10px 24px;
    border-radius: var(--r-full);
    margin-top: var(--s-md);
    border: 1px solid var(--c-brand-bg-deep);
}
.reviews__stars {
    font-size: 16px;
    color: var(--c-accent);
    letter-spacing: 2px;
}
.reviews__rating {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-brand);
}
.reviews__source {
    font-size: 13px;
    color: var(--c-text-muted);
}
.reviews__carousel {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}
.reviews__track {
    display: flex;
    transition: transform var(--t-slow) var(--ease-out);
}
.review-card {
    flex: 0 0 100%;
    padding: var(--s-2xl);
    background: var(--c-surface);
    border-radius: var(--r-2xl);
    border: 1px solid var(--c-border);
    text-align: center;
    margin: 0 var(--s-sm);
}
.review-card__quote-icon {
    width: 28px;
    height: 28px;
    color: var(--c-brand-bg-deep);
    margin-bottom: var(--s-md);
}
.review-card__text {
    font-family: var(--f-display);
    font-size: 1.1rem;
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--s-xl);
    font-style: italic;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.review-card__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.review-card__avatar {
    width: 44px;
    height: 44px;
    background: var(--c-brand);
    color: #fff;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-card__name {
    display: block;
    font-family: var(--f-display);
    font-weight: 600;
    color: var(--c-text);
    font-size: 14px;
}
.review-card__platform {
    font-size: 12px;
    color: var(--c-text-muted);
}
.reviews__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-md);
    margin-top: var(--s-xl);
}
.reviews__control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast) ease;
    color: var(--c-text-secondary);
}
.reviews__control:hover {
    background: var(--c-brand);
    color: #fff;
    border-color: var(--c-brand);
}
.reviews__control svg,
.reviews__control i {
    width: 18px;
    height: 18px;
}
.reviews__dots {
    display: flex;
    gap: 6px;
}
.reviews__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--r-full);
    background: var(--c-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--t-fast) ease;
}
.reviews__dot.active {
    background: var(--c-brand);
    width: 24px;
}

/* ==================== CONTACT ==================== */
.contact {
    padding: var(--s-5xl) 0;
    background: var(--c-bg-warm);
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2xl);
    align-items: start;
}
.contact__form {
    background: var(--c-surface);
    padding: var(--s-2xl);
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-border);
}
.contact__field {
    margin-bottom: var(--s-md);
}
.contact__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
}
.contact__input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(0,0,0,.1);
    border-radius: var(--r-md);
    font-size: 15px;
    color: var(--c-text);
    background: var(--c-bg);
    transition: all var(--t-fast) ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.contact__input:focus {
    border-color: var(--c-brand);
    box-shadow: 0 0 0 3px rgba(123,35,52,.08);
    background: var(--c-surface);
}
.contact__input::placeholder {
    color: var(--c-text-muted);
}
.contact__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239C9088' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--s-lg);
}
.contact__map-wrap {
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border);
}
.contact__map {
    width: 100%;
    height: 260px;
    border: none;
}
.contact__details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact__detail {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--c-surface);
    border-radius: var(--r-lg);
    border: 1px solid var(--c-border);
    transition: all var(--t-base) var(--ease-out);
}
.contact__detail:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.contact__detail-icon {
    width: 20px;
    height: 20px;
    color: var(--c-brand);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact__detail strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 2px;
}
.contact__detail p {
    font-size: 13px;
    color: var(--c-text-secondary);
}
.contact__detail a {
    color: var(--c-brand);
    font-weight: 600;
}
.contact__detail a:hover {
    color: var(--c-brand-dark);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--c-bg-dark-warm);
    padding: var(--s-4xl) 0 0;
    color: rgba(255,255,255,.55);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--s-2xl);
    padding-bottom: var(--s-3xl);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--s-md);
}
.footer__logo-icon {
    width: 36px;
    height: 36px;
    background: var(--c-brand);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.footer__logo-icon svg,
.footer__logo-icon i {
    width: 18px;
    height: 18px;
}
.footer__brand-name {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    display: block;
    line-height: 1.1;
}
.footer__brand-tagline {
    font-size: 10px;
    color: rgba(255,255,255,.4);
    display: block;
}
.footer__desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: var(--s-lg);
}
.footer__social {
    display: flex;
    gap: 8px;
}
.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.45);
    transition: all var(--t-fast) ease;
}
.footer__social-link:hover {
    background: var(--c-brand);
    border-color: var(--c-brand);
    color: #fff;
    transform: translateY(-2px);
}
.footer__social-link svg,
.footer__social-link i {
    width: 16px;
    height: 16px;
}
.footer__title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    margin-bottom: var(--s-lg);
}
.footer__list li {
    margin-bottom: 10px;
}
.footer__list a {
    font-size: 14px;
    color: rgba(255,255,255,.45);
    transition: all var(--t-fast) ease;
}
.footer__list a:hover {
    color: var(--c-brand-light);
    padding-left: 4px;
}
.footer__hours {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: var(--s-md);
}
.footer__hours strong {
    color: #fff;
}
.footer__emergency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-brand-light);
    background: rgba(123,35,52,.15);
    padding: 8px 16px;
    border-radius: var(--r-full);
    animation: emergencyPulse 2s ease-in-out infinite;
}
@keyframes emergencyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .65; }
}
.footer__emergency svg,
.footer__emergency i {
    width: 14px;
    height: 14px;
}
.footer__address {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--s-md);
}
.footer__minimap {
    border-radius: var(--r-lg);
    overflow: hidden;
    height: 100px;
    position: relative;
    filter: grayscale(1) brightness(.7);
}
.footer__minimap iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    inset: 0;
}
.footer__bottom {
    padding: var(--s-lg) 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.25);
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: all var(--t-base) var(--ease-out);
    opacity: 0;
    transform: scale(0) translateY(20px);
}
.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,.5);
}
.whatsapp-float__icon {
    width: 28px;
    height: 28px;
}
.whatsapp-float__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==================== ANIMATIONS ==================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}
[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}
[data-animate="fade-right"] {
    transform: translateX(-35px);
}
[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}
[data-animate="fade-left"] {
    transform: translateX(35px);
}
[data-animate="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

/* ==================== RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card--featured {
        grid-column: span 2;
    }
    .about__grid {
        gap: var(--s-2xl);
    }
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 180px 180px;
    }
    .gallery__item--tall {
        grid-row: span 2;
    }
    .structure__features {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav__cta {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --s-5xl: 80px;
    }

    /* Nav mobile */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(26,20,18,.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 8px;
        padding: var(--s-3xl) var(--s-2xl);
        transition: right var(--t-base) var(--ease-out);
        z-index: 999;
    }
    .nav__menu.active {
        right: 0;
    }
    .nav__link {
        font-size: 18px;
        color: rgba(255,255,255,.7);
        padding: 12px 0;
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .nav__link:hover,
    .nav__link.active {
        color: #fff;
        background: none;
        border-bottom-color: var(--c-brand);
    }
    .nav__menu-cta {
        display: block;
        margin-top: var(--s-lg);
        width: 100%;
    }
    .nav__btn-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        background: var(--c-brand);
        color: #fff;
        padding: 14px 24px;
        border-radius: var(--r-xl);
        font-weight: 600;
        font-size: 15px;
    }
    .nav__btn-mobile svg,
    .nav__btn-mobile i {
        width: 18px;
        height: 18px;
    }
    .nav__toggle {
        display: flex;
    }
    .nav__badge-24h {
        display: none;
    }

    /* Hero */
    .hero__content {
        padding: 120px var(--s-lg) 60px;
    }
    .hero__title-line {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    .hero__actions .btn {
        width: 100%;
    }
    .hero__stats {
        flex-direction: column;
        gap: var(--s-md);
        padding: var(--s-lg);
        width: 100%;
    }
    .hero__stat-divider {
        width: 60px;
        height: 1px;
    }

    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
    }
    .service-card--featured {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-md);
    }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--s-2xl);
    }
    .about__image {
        height: 300px;
    }
    .about__float-card {
        left: var(--s-md);
    }
    .about__counters {
        grid-template-columns: 1fr;
    }

    /* Structure */
    .structure__features {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: var(--s-sm);
    }
    .structure__feature {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    /* Team */
    .team__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-md);
    }

    /* Gallery */
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px;
    }
    .gallery__item--tall {
        grid-row: span 1;
    }
    .gallery__item--wide {
        grid-column: span 1;
    }

    /* Reviews */
    .review-card {
        padding: var(--s-xl) var(--s-lg);
        margin: 0;
    }

    /* Contact */
    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--s-xl);
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--s-xl);
    }

    .section-header {
        margin-bottom: var(--s-2xl);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .team__grid {
        grid-template-columns: 1fr;
    }
    .about__counters {
        grid-template-columns: 1fr;
    }
}
