/* ========================================
   GRUPO EDM - Stylesheet
   Based on https://www.grupoedm.com.mx/
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #F05A28;
    --color-primary-dark: #D14D1F;
    --color-bg-dark: #0A0A0A;
    --color-bg-card: #141414;
    --color-bg-light: #1A1A1A;
    --color-text: #FFFFFF;
    --color-text-muted: #B3B3B3;
    --color-text-soft: #D9D9D9;
    --color-text-subtle: #A1A1A1;
    --color-heading-secondary: #B3B3B3;
    --color-text-dark: #7A7A7A;
    --color-border: #27272A;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.7);
    /* Brand gradient — naranja → amarillo → verde (logo identity) */
    --gradient-brand: linear-gradient(90deg, #F05A28 0%, #FFC72C 50%, #78BE20 100%);
    --gradient-primary: linear-gradient(90deg, #F05A28, #FFC72C, #78BE20);
    --eyebrow-color: rgba(240, 90, 40, 0.82);
    --eyebrow-border: rgba(240, 90, 40, 0.28);
    --eyebrow-background: rgba(240, 90, 40, 0.08);
    /* Accent colors from logo */
    --color-accent-yellow: #FFC72C;
    --color-accent-green: #78BE20;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

p, li, dd, figcaption, blockquote {
    color: var(--color-text-muted);
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.heading-display,
.hero-title,
.service-hero__title,
.page-title,
.thanks-title {
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.heading-section,
.section-title,
.about-content h2,
.service-detail-info h2,
.clients-ticker-title,
.photo-carousel-title,
.service-gallery-title,
.contact-info h3,
.form-title,
.privacy-block h2 {
    color: var(--color-text);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-wrap: balance;
}

.heading-subtitle,
.service-card__title,
.about-specialties h3,
.specialty-card__content h4,
.contact-method-content h4,
.footer-title,
.service-list-title,
.privacy-block h3,
.video-spec-card__label {
    color: var(--color-heading-secondary);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.eyebrow-text,
.hero-tagline,
.service-hero__tag,
.section-tag {
    color: var(--eyebrow-color);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Skip Link */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.header--scrolled {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
}

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

.nav-link.active,
.nav-link[aria-current="page"] {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu for Services */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--color-bg-dark);
    color: var(--color-text);
    border-left-color: var(--color-primary);
    padding-left: 1.5rem;
}

.dropdown-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Social Links Header - UNIFICADO para todas las páginas */
.social-links-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link-header {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.social-link-header:hover {
    background: var(--color-primary);
    color: var(--color-text);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 1.5rem 2rem;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    z-index: 999;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

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

.mobile-nav-link {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

.mobile-nav-link.active,
.mobile-nav-link[aria-current="page"] {
    color: var(--color-primary);
}

/* Mobile Dropdown */
.mobile-dropdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 0 0 0;
    border-left: none;
    margin-top: -0.2rem;
}

.mobile-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.98rem;
    color: var(--color-text-muted);
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.mobile-dropdown a svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.mobile-dropdown a span {
    line-height: 1.35;
}

.mobile-dropdown a:hover {
    color: var(--color-text);
    border-color: rgba(240, 90, 40, 0.35);
    background: rgba(240, 90, 40, 0.08);
    transform: translateX(4px);
}

/* Mobile social links in header */
.mobile-social-links {
    display: none;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    margin-top: 1rem;
}

.mobile-social-links.active {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(240, 90, 40, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(240, 90, 40, 0.1) 0%, transparent 50%);
    background-color: rgba(10, 10, 10, 0.7);
    z-index: 1;
}

/* ========================================
   HERO VIDEO - RESPONSIVE FIXES
   ======================================== */

/* Asegura que el video se centre correctamente en todas las resoluciones */
.hero-video-bg video {
    object-position: center center;
}

/* Fix para iOS Safari - asegura que el video cubra toda la pantalla */
@supports (-webkit-touch-callout: none) {
    .hero-video-bg video {
        height: 100vh;
        min-height: -webkit-fill-available;
    }
}

/* En dispositivos muy anchos (ultrawide), limita el escalado del video */
@media (min-aspect-ratio: 21/9) {
    .hero-video-bg video {
        object-fit: cover;
        object-position: center center;
    }
}

/* En móviles en orientación portrait, asegura que el video cubra el hero */
@media (max-aspect-ratio: 9/16) {
    .hero-video-bg video {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
}

/* Fallback para navegadores que no soportan aspect-ratio en video */
@supports not (aspect-ratio: 16/9) {
    .hero-video-bg {
        min-height: 100vh;
    }
    .hero-video-bg video {
        min-height: 100vh;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(240, 90, 40, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(240, 90, 40, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    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: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--eyebrow-color);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--eyebrow-background);
    border-radius: 50px;
    border: 1px solid var(--eyebrow-border);
}

/* Rotating Tagline */
.rotating-tagline {
    display: inline-block;
    min-width: 320px;
    text-align: left;
    transition: opacity 0.3s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.text-gradient {
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    background-clip: border-box;
    color: inherit;
    filter: none;
}

.hero-title .text-gradient,
.service-hero__title .text-gradient,
.page-title .text-gradient,
.thanks-title .text-gradient {
    filter: none;
}

.hero-title--split,
.service-hero__title.hero-title--split,
.page-title.hero-title--split {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    gap: 0.06em;
}

.hero-line {
    display: block;
}

.hero-line-1 {
    color: #ffffff;
    opacity: 0.9;
    font-weight: 800;
    text-shadow: none;
}

.hero-line-2 {
    color: #fffaf5;
    font-weight: 800;
    text-shadow:
        0 0 8px rgba(240, 90, 40, 0.35),
        0 0 16px rgba(255, 199, 44, 0.25),
        0 0 24px rgba(120, 190, 32, 0.15);
}

.hero-title--single {
    gap: 0;
}

.hero-title--single .hero-line-1 {
    opacity: 1;
    color: #fffaf5;
    text-shadow:
        0 0 8px rgba(240, 90, 40, 0.35),
        0 0 16px rgba(255, 199, 44, 0.25),
        0 0 24px rgba(120, 190, 32, 0.15);
}

.hero-line-2--empty {
    display: none;
}

@media (max-width: 768px) {
    .hero-title--split,
    .service-hero__title.hero-title--split,
    .page-title.hero-title--split {
        gap: 0.03em;
    }

    .hero-line-2,
    .hero-title--single .hero-line-1 {
        text-shadow:
            0 0 6px rgba(240, 90, 40, 0.28),
            0 0 12px rgba(255, 199, 44, 0.2),
            0 0 18px rgba(120, 190, 32, 0.12);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

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

/* Hero Video Section */
.hero-video-section {
    padding: 60px 0;
    background: var(--color-bg-dark);
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.hero-video-container video,
.hero-video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    background: var(--color-bg-card);
}

.hero-video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(240, 90, 40, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-card);
    border-color: var(--color-primary);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Dynamic Contact Button */
.btn-contact-dynamic {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #FF6B35 100%);
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-contact-dynamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-contact-dynamic:hover::before {
    left: 100%;
}

.btn-contact-dynamic:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(240, 90, 40, 0.4);
}

.btn-contact-dynamic svg {
    transition: transform 0.3s ease;
}

.btn-contact-dynamic:hover svg {
    transform: translateX(5px);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--eyebrow-color);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* ========================================
   SERVICES SECTION - IMAGE-DRIVEN CARDS
   ======================================== */
.services-section {
    background: var(--color-bg-card);
}

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

/* Service Card - Image Driven */
.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    min-height: 420px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--color-border);
    opacity: 0;
    transform: translateY(40px);
}

.service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for service cards */
.service-card[data-delay="0"].is-visible { transition-delay: 0ms; }
.service-card[data-delay="100"].is-visible { transition-delay: 100ms; }
.service-card[data-delay="200"].is-visible { transition-delay: 200ms; }
.service-card[data-delay="300"].is-visible { transition-delay: 300ms; }
.service-card[data-delay="400"].is-visible { transition-delay: 400ms; }
.service-card[data-delay="500"].is-visible { transition-delay: 500ms; }

.service-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

.service-card:hover .service-card__image img {
    transform: scale(1.08);
}

/* Gradient overlay - bottom to top */
.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.75) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.15) 100%
    );
    transition: background 0.4s ease;
    z-index: 1;
}

.service-card:hover .service-card__overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.85) 35%,
        rgba(0, 0, 0, 0.55) 65%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

/* Card content positioned over image */
.service-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.75rem 1.75rem;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-card__content {
    transform: translateY(-6px);
}

.service-card__title {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-heading-secondary);
    line-height: 1.2;
}

.service-card__description {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

/* Ver más link button */
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background: rgba(240, 90, 40, 0.85);
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    backdrop-filter: blur(4px);
}

.service-card__link:hover {
    background: var(--color-primary);
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(240, 90, 40, 0.35);
}

.service-card__link svg {
    transition: transform 0.3s ease;
}

.service-card__link:hover svg {
    transform: translateX(3px);
}

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        aspect-ratio: 16/9;
        min-height: 250px;
    }

    .service-card__content {
        padding: 1.4rem 1.2rem 1.2rem;
    }

    .service-card__title {
        font-size: 1.1rem;
        margin-bottom: 0.45rem;
    }

    .service-card__description {
        font-size: 0.84rem;
        line-height: 1.45;
        margin-bottom: 0.9rem;
        -webkit-line-clamp: 2;
    }

    .service-card__link {
        padding: 0.58rem 1.05rem;
        font-size: 0.82rem;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-bg-card);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* About Specialties (Retail & Escaparates) */
.about-specialties {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.about-specialties h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-heading-secondary);
}

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

.specialty-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-bg-card);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.specialty-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

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

.specialty-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.specialty-content p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* ========================================
   ABOUT SECTION - REDISEÑADA
   ======================================== */

/* Nueva estructura vertical */
.about-grid--new {
    display: block;
}

.about-content--new {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content--new h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: center;
}

.about-text {
    max-width: 760px;
    text-align: center;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Stats horizontales */
.about-stats--new {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.25rem;
    width: 100%;
    margin-top: 3rem;
    align-items: start;
}

.stat-card {
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: none;
    position: relative;
    overflow: visible;
}

.stat-card__number {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.65rem;
}

.stat-card__label {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-image--new {
    position: relative;
    width: 100%;
    margin-top: 3.5rem;
}

.about-image__wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 560px;
    margin: 0 auto;
}

.about-image__wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(240, 90, 40, 0.15);
    z-index: 2;
    pointer-events: none;
}

/* Especialidades - Cards Modernas */
.about-specialties--new {
    margin-top: 5rem;
    padding-top: 0;
    border-top: none;
}

.about-specialties--new h3 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--color-text);
    text-align: center;
}

.specialties-grid--new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.specialty-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem;
    background: var(--color-bg-card);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: border-color 0.35s ease;
    pointer-events: none;
}

.specialty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(240, 90, 40, 0.12);
}

.specialty-card:hover::before {
    border-color: rgba(240, 90, 40, 0.4);
}

.specialty-card__icon {
    width: 58px;
    height: 58px;
    background: rgba(240, 90, 40, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.specialty-card:hover .specialty-card__icon {
    background: rgba(240, 90, 40, 0.2);
    transform: scale(1.1);
}

.specialty-card__content h4 {
    font-size: 1.18rem;
    margin-bottom: 0.6rem;
}

.specialty-card__content p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.specialty-card__content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-heading-secondary);
}

.specialty-card__content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for stats */
.stat-card[data-delay="0"].is-visible { transition-delay: 0ms; }
.stat-card[data-delay="100"].is-visible { transition-delay: 100ms; }
.stat-card[data-delay="200"].is-visible { transition-delay: 200ms; }
.stat-card[data-delay="300"].is-visible { transition-delay: 300ms; }
.specialty-card[data-delay="0"].is-visible { transition-delay: 0ms; }
.specialty-card[data-delay="100"].is-visible { transition-delay: 100ms; }

/* ========================================
   CLIENTS SECTION
   ======================================== */
.clients-section {
    padding: 60px 0;
    background: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-logo {
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--color-bg-card);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

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

.contact-method-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method-content a,
.contact-method-content span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-method-content a:hover {
    color: var(--color-primary);
}

.contact-social h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-map {
    width: 100%;
    margin: 0.5rem 0 2rem;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--color-bg-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-text);
    border-color: var(--color-primary);
}

.contact-social--interactive .social-links {
    gap: 1rem;
}

.contact-social--interactive h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
}

.contact-social--interactive .social-link {
    width: 54px;
    height: 54px;
    position: relative;
    overflow: hidden;
    color: var(--color-text);
    background: rgba(8, 8, 8, 0.92);
    border: 1px solid rgba(240, 90, 40, 0.18);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    animation: contact-social-reveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition:
        transform 0.26s ease,
        opacity 0.26s ease,
        box-shadow 0.26s ease,
        border-color 0.26s ease,
        background-color 0.26s ease,
        color 0.26s ease;
    will-change: transform, opacity;
}

.contact-social--interactive .social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 35%, rgba(240, 90, 40, 0.22), transparent 68%);
    opacity: 0;
    transition: opacity 0.26s ease;
    pointer-events: none;
}

.contact-social--interactive .social-link svg {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
}

.contact-social--interactive .social-link:nth-child(1) {
    animation-delay: 0.06s;
}

.contact-social--interactive .social-link:nth-child(2) {
    animation-delay: 0.14s;
}

.contact-social--interactive .social-link:nth-child(3) {
    animation-delay: 0.22s;
}

.contact-social--interactive .social-link:hover {
    background: rgba(20, 20, 20, 0.98);
    color: var(--color-text);
    border-color: rgba(240, 90, 40, 0.65);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(240, 90, 40, 0.16),
        0 0 24px rgba(240, 90, 40, 0.26);
    transform: translateY(-5px) scale(1.08);
}

.contact-social--interactive .social-link:hover::before,
.contact-social--interactive .social-link:focus-visible::before {
    opacity: 1;
}

.contact-social--interactive .social-link:active {
    transform: translateY(-1px) scale(0.97);
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.28),
        0 0 16px rgba(240, 90, 40, 0.18);
}

.contact-social--interactive .social-link:focus-visible {
    outline: none;
    color: var(--color-text);
    border-color: rgba(240, 90, 40, 0.8);
    box-shadow:
        0 0 0 3px rgba(240, 90, 40, 0.2),
        0 0 28px rgba(240, 90, 40, 0.28),
        0 12px 24px rgba(0, 0, 0, 0.32);
    transform: translateY(-3px) scale(1.05);
}

@keyframes contact-social-reveal {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   CONTACT FORM - GLASSMORPHISM STYLE
   ======================================== */

/* Contact Form Wrapper - Glassmorphism */
.contact-form-wrapper {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Subtle glow effect on hover */
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at 30% 20%,
        rgba(240, 90, 40, 0.04) 0%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
}

.contact-form-wrapper > * {
    position: relative;
    z-index: 1;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

/* Form Groups - Improved spacing */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.625rem;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

/* Form Inputs - Glassmorphism style */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.9375rem 1.125rem;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(113, 113, 122, 0.7);
}

/* Focus state with orange glow */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(10, 10, 10, 0.65);
    box-shadow:
        0 0 0 3px rgba(240, 90, 40, 0.15),
        0 0 20px rgba(240, 90, 40, 0.08);
}

/* Form labels on focus */
.form-group:focus-within .form-label {
    color: var(--color-primary);
}

/* Select styling */
.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A1A1AA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select option {
    background: var(--color-bg-dark);
    color: var(--color-text);
}

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

/* Checkbox styling */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 1.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 6px;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.form-checkbox label a:hover {
    color: #FF8050;
}

.form-security-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.form-captcha {
    margin-bottom: 1.5rem;
}

.form-captcha .cf-turnstile {
    display: inline-flex;
    max-width: 100%;
}

.form-security-note {
    display: none;
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* Submit button - Enhanced */
.contact-form .btn-primary.btn-full {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #FF6B35 100%);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(240, 90, 40, 0.3);
}

.contact-form .btn-primary.btn-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.contact-form .btn-primary.btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(240, 90, 40, 0.45);
}

.contact-form .btn-primary.btn-full:hover::before {
    left: 100%;
}

.contact-form .btn-primary.btn-full:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(240, 90, 40, 0.3);
}

.contact-form .btn-primary.btn-full.is-submitting,
.contact-form .btn-primary.btn-full:disabled {
    cursor: wait;
    opacity: 0.82;
    transform: none;
    box-shadow: 0 8px 24px rgba(240, 90, 40, 0.2);
}

.contact-form .btn-primary.btn-full svg {
    transition: transform 0.3s ease;
}

.contact-form .btn-primary.btn-full:hover svg {
    transform: translateX(3px);
}

/* Error states */
.form-input-error {
    border-color: #F05A28 !important;
    box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.15) !important;
}

.form-error {
    color: #F05A28;
    font-size: 0.85rem;
    margin-top: 0.375rem;
}

.form-captcha.form-input-error {
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(240, 90, 40, 0.5);
    box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.12);
}

/* Responsive for glassmorphism form */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.75rem;
        border-radius: 16px;
    }

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

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-title {
        margin-bottom: 1.5rem;
    }
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--color-bg-card);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(240, 90, 40, 0.1) 0%, transparent 50%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

/* ========================================
   SERVICE DETAIL PAGE
   ======================================== */
.service-detail {
    padding: 60px 0;
}

.service-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.service-detail-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-content > p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-bg-card);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.equipment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(240, 90, 40, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.equipment-item:hover::before {
    opacity: 1;
}

.equipment-item:hover {
    border-color: var(--color-primary);
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(240, 90, 40, 0.2);
}

.equipment-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.equipment-item:hover svg {
    transform: scale(1.2);
}

.service-detail-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: auto;
}

/* Service Gallery */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-bg-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* ========================================
   PRIVACY PAGE
   ======================================== */
.privacy-section {
    padding: 60px 0 100px;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-block {
    margin-bottom: 2.5rem;
}

.privacy-block h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.privacy-block p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.privacy-block ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-block li {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-block a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--color-heading-secondary);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact .footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-contact .footer-list svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-dark);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--color-text-muted);
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .about-grid,
    .about-grid--new,
    .contact-grid,
    .service-detail-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content--new h2 {
        font-size: 2.25rem;
    }

    .about-stats--new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-card__number {
        font-size: 2.6rem;
    }

    .specialties-grid,
    .specialties-grid--new {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .about-stats--new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1rem;
    }

    .stat-card__number {
        font-size: 2.2rem;
    }

    .about-image--new {
        margin-top: 3rem;
    }

    .about-specialties--new {
        margin-top: 4rem;
    }

    .specialty-card {
        padding: 1.75rem;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .dropdown-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ========================================
   CLIENTS TICKER SECTION
   ======================================== */
.clients-ticker-section {
    padding: 60px 0;
    background: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
    overflow: hidden;
}

.clients-ticker-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.clients-ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.clients-ticker {
    display: flex;
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.clients-ticker:hover {
    animation-play-state: paused;
}

.client-logo-item {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.625rem;
    transition: var(--transition);
}

.client-logo-item:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(240, 90, 40, 0.2);
}

.client-logo-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
}

img.client-logo-item {
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   PHOTO CAROUSEL SECTION
   ======================================== */
.photo-carousel-section {
    padding: 60px 0;
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    overflow: hidden;
}

.photo-carousel-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.photo-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.photo-carousel {
    display: flex;
    animation: photoScroll 30s linear infinite;
    width: fit-content;
}

.photo-carousel:hover {
    animation-play-state: paused;
}

.photo-carousel-item {
    flex-shrink: 0;
    width: 350px;
    height: 250px;
    margin: 0 1rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--color-bg-dark);
}

.photo-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.photo-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.photo-carousel-overlay,
.photo-carousel-description {
    display: none !important;
}

.photo-carousel-item:hover .photo-carousel-overlay {
    opacity: 1;
}

.photo-carousel-item:hover img {
    transform: scale(1.1);
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10000;
}

.photo-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.photo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(6px);
}

.photo-lightbox__dialog {
    position: relative;
    z-index: 1;
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.photo-carousel-description {
    display: none !important;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

@keyframes photoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ========================================
   THANK YOU PAGE
   ======================================== */
.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-dark);
    padding: 120px 1.5rem 60px;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    stroke: white;
}

.thanks-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.thanks-message {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.thanks-redirect {
    font-size: 0.95rem;
    color: var(--color-text-subtle);
    margin-bottom: 2rem;
}

.thanks-redirect span {
    color: var(--color-primary);
    font-weight: 600;
}

/* ========================================
   IMAGE PLACEHOLDERS
   ======================================== */
.img-placeholder {
    background: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
    font-size: 0.85rem;
    text-align: center;
    border: 2px dashed var(--color-border);
}

/* ========================================
   COUNTER ANIMATION
   ======================================== */
.counter {
    display: inline-block;
}

/* Responsive for new elements */
@media (max-width: 768px) {
    .photo-carousel-item {
        width: 280px;
        height: 200px;
    }

    .client-logo-item {
        width: 120px;
        height: 70px;
        margin: 0 1rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button svg {
        width: 26px;
        height: 26px;
    }

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

    .hero-video-container {
        border-radius: 12px;
    }
}

/* ========================================
   SERVICE PAGES - REDESIGN 2025
   ======================================== */

/* ---- Service Hero ---- */
.service-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 160px 0 80px;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.service-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.75) 60%, rgba(10, 10, 10, 0.95) 100%);
    z-index: 1;
}

.service-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 80%, rgba(240, 90, 40, 0.12) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.service-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--eyebrow-color);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1.25rem;
    background: var(--eyebrow-background);
    border-radius: 50px;
    border: 1px solid var(--eyebrow-border);
}

.service-hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.service-hero__description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Service Detail Section ---- */
.service-detail-section {
    padding: 80px 0;
    background: var(--color-bg-dark);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-detail-info h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.service-detail-info > p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ---- Service List (Visual with icons) ---- */
.service-list-title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--color-heading-secondary);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg-card);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(240, 90, 40, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-list-item:hover::before {
    opacity: 1;
}

.service-list-item:hover {
    border-color: rgba(240, 90, 40, 0.4);
    transform: translateX(6px);
    box-shadow:
        0 0 25px rgba(240, 90, 40, 0.12),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

.service-list-item__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(240, 90, 40, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-list-item:hover .service-list-item__icon {
    background: rgba(240, 90, 40, 0.2);
    transform: scale(1.1);
}

.service-list-item__text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-list-item:hover .service-list-item__text {
    color: var(--color-text);
}

.coverage-map {
    position: relative;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 22px;
    border: 1px solid rgba(240, 90, 40, 0.14);
    background:
        radial-gradient(circle at 15% 20%, rgba(240, 90, 40, 0.14) 0%, transparent 34%),
        radial-gradient(circle at 82% 26%, rgba(120, 190, 32, 0.12) 0%, transparent 28%),
        linear-gradient(180deg, rgba(20, 20, 20, 0.94) 0%, rgba(10, 10, 10, 0.98) 100%);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 50px rgba(0, 0, 0, 0.35);
    perspective: 1200px;
}

.coverage-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
    pointer-events: none;
}

.coverage-map__svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
}

.coverage-map__stage {
    transform-origin: center;
    animation: coverageFloat 9s ease-in-out infinite;
}

.coverage-map__shadow {
    fill: rgba(0, 0, 0, 0.35);
    filter: blur(12px);
}

.coverage-map__glow {
    fill: rgba(240, 90, 40, 0.08);
    stroke: url(#coverageGlow);
    stroke-width: 2;
    opacity: 0.32;
    filter: url(#coverageBlur);
}

.coverage-map__outline {
    fill: rgba(255, 255, 255, 0.015);
    stroke: rgba(255, 199, 44, 0.7);
    stroke-width: 1.7;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.coverage-map__connection {
    fill: none;
    stroke: rgba(240, 90, 40, 0.62);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 180;
    stroke-dashoffset: 180;
    opacity: 0.9;
    animation: coverageDraw 2.2s ease forwards, coverageLinePulse 3.6s ease-in-out infinite;
}

.coverage-map__connection--2 { animation-delay: 0.18s, 1.8s; }
.coverage-map__connection--3 { animation-delay: 0.34s, 2s; }
.coverage-map__connection--4 { animation-delay: 0.5s, 2.2s; }
.coverage-map__connection--5 { animation-delay: 0.66s, 2.4s; }
.coverage-map__connection--6 { animation-delay: 0.82s, 2.6s; }
.coverage-map__connection--7 { animation-delay: 0.98s, 2.8s; }
.coverage-map__connection--8 { animation-delay: 1.14s, 3s; }
.coverage-map__connection--9 { animation-delay: 1.3s, 3.2s; }

.coverage-map__node {
    fill: #F05A28;
    stroke: rgba(255, 199, 44, 0.92);
    stroke-width: 1.5;
    transform-origin: center;
    transform-box: fill-box;
    filter: drop-shadow(0 0 10px rgba(240, 90, 40, 0.45));
    animation: coverageNodePulse 3.8s ease-in-out infinite;
    transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.coverage-map__node--remote {
    fill: rgba(240, 90, 40, 0.94);
    opacity: 0.92;
}

.coverage-map__node--2 { animation-delay: 0.2s; }
.coverage-map__node--3 { animation-delay: 0.35s; }
.coverage-map__node--4 { animation-delay: 0.5s; }
.coverage-map__node--5 { animation-delay: 0.65s; }
.coverage-map__node--6 { animation-delay: 0.8s; }
.coverage-map__node--7 { animation-delay: 0.95s; }
.coverage-map__node--8 { animation-delay: 1.1s; }
.coverage-map__node--9 { animation-delay: 1.25s; }
.coverage-map__node--10 { animation-delay: 1.4s; }

.coverage-map__node:hover {
    transform: scale(1.35);
    filter: drop-shadow(0 0 16px rgba(255, 199, 44, 0.85));
}

@keyframes coverageDraw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes coverageLinePulse {
    0%, 100% {
        opacity: 0.38;
        stroke: rgba(240, 90, 40, 0.4);
    }
    50% {
        opacity: 1;
        stroke: rgba(255, 199, 44, 0.88);
    }
}

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

@keyframes coverageFloat {
    0%, 100% {
        transform: rotateX(6deg) rotateY(-5deg) translateY(0);
    }
    50% {
        transform: rotateX(2deg) rotateY(4deg) translateY(-8px);
    }
}

/* ---- Service Detail Image ---- */
.service-detail-visual {
    position: sticky;
    top: 120px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.service-detail-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Service Gallery Carousel ---- */
.service-gallery-section {
    padding: 60px 0 80px;
    background: var(--color-bg-dark);
    overflow: hidden;
}

.service-gallery-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.gallery-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0 2rem;
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-card);
    cursor: grab;
}

.gallery-carousel::-webkit-scrollbar {
    height: 6px;
}

.gallery-carousel::-webkit-scrollbar-track {
    background: var(--color-bg-card);
    border-radius: 3px;
}

.gallery-carousel::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

.gallery-carousel:active {
    cursor: grabbing;
}

.gallery-carousel__item {
    flex-shrink: 0;
    width: 320px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    scroll-snap-align: start;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.gallery-carousel__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-carousel__item:hover {
    border-color: rgba(240, 90, 40, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.gallery-carousel__item:hover img {
    transform: scale(1.08);
}

.gallery-carousel__item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.gallery-carousel__item:hover::after {
    border-color: rgba(240, 90, 40, 0.2);
}

/* Gallery drag hint */
.gallery-drag-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-dark);
}

.gallery-drag-hint svg {
    animation: dragHint 2s ease-in-out infinite;
}

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

/* ---- Scroll Animations (Fade Up + Stagger) ---- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.fade-up[data-delay="0"].is-visible { transition-delay: 0s; }
.fade-up[data-delay="1"].is-visible { transition-delay: 0.08s; }
.fade-up[data-delay="2"].is-visible { transition-delay: 0.16s; }
.fade-up[data-delay="3"].is-visible { transition-delay: 0.24s; }
.fade-up[data-delay="4"].is-visible { transition-delay: 0.32s; }
.fade-up[data-delay="5"].is-visible { transition-delay: 0.40s; }
.fade-up[data-delay="6"].is-visible { transition-delay: 0.48s; }
.fade-up[data-delay="7"].is-visible { transition-delay: 0.56s; }

/* Hero elements stagger */
.service-hero__tag.fade-up { transition-delay: 0s; }
.service-hero__title.fade-up { transition-delay: 0.1s; }
.service-hero__description.fade-up { transition-delay: 0.2s; }

/* ---- Badge Fix (Auto Width) ---- */
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--eyebrow-color);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--eyebrow-background);
    border-radius: 50px;
    border: 1px solid var(--eyebrow-border);
    width: auto;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
}

.rotating-tagline {
    display: inline;
    min-width: 0;
    text-align: left;
    transition: opacity 0.3s ease;
}

/* ---- Phone Field with Country Selector ---- */
.phone-field {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    background: rgba(10, 10, 10, 0.5);
}

.phone-field:focus-within {
    border-color: var(--color-primary);
    background: rgba(10, 10, 10, 0.65);
    box-shadow:
        0 0 0 3px rgba(240, 90, 40, 0.15),
        0 0 20px rgba(240, 90, 40, 0.08);
}

.phone-country-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    font-size: 0.9rem;
    font-family: var(--font-family);
    padding: 0.9375rem 2.25rem 0.9375rem 1rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A1A1AA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    transition: background-color 0.25s ease;
    min-width: 80px;
}

.phone-country-select:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.phone-country-select:focus {
    outline: none;
}

.phone-country-select option {
    background: var(--color-bg-dark);
    color: var(--color-text);
    padding: 0.5rem;
}

.phone-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.9375rem 1.125rem;
    color: var(--color-text);
    font-size: 0.95rem;
    font-family: var(--font-family);
    transition: all 0.25s ease;
}

.phone-input:focus {
    outline: none;
}

.phone-input::placeholder {
    color: rgba(113, 113, 122, 0.7);
}

/* Form group with phone field */
.form-group:focus-within .phone-field {
    border-color: var(--color-primary);
    background: rgba(10, 10, 10, 0.65);
    box-shadow:
        0 0 0 3px rgba(240, 90, 40, 0.15),
        0 0 20px rgba(240, 90, 40, 0.08);
}

/* ---- Video Recommendations Section ---- */
.video-specs-section {
    padding: 80px 0;
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
}

.video-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.video-spec-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-bg-dark);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.35s ease;
}

.video-spec-card:hover {
    border-color: rgba(240, 90, 40, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.video-spec-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(240, 90, 40, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin: 0 auto 1rem;
}

.video-spec-card__value {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-card__number,
.stat-card__number .counter {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.video-spec-card__label {
    font-size: 0.85rem;
    color: var(--color-heading-secondary);
    line-height: 1.5;
}

/* ---- Responsive Service Pages ---- */
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-detail-visual {
        position: relative;
        top: 0;
        order: -1;
    }

    .service-hero {
        min-height: 45vh;
        padding: 140px 0 60px;
    }

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

@media (max-width: 768px) {
    .service-hero {
        min-height: 40vh;
        padding: 120px 0 50px;
    }

    .service-hero__title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .service-hero__description {
        font-size: 1rem;
    }

    .service-detail-section {
        padding: 50px 0;
    }

    .service-detail-info h2 {
        font-size: 1.75rem;
    }

    .service-list-item {
        padding: 0.875rem 1rem;
    }

    .service-list-item__icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .coverage-map {
        padding: 0.875rem;
        border-radius: 18px;
    }

    .gallery-carousel__item {
        width: 260px;
        height: 195px;
    }

    .video-specs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-spec-card {
        padding: 1.5rem 1rem;
    }

    .service-gallery-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   INDEX MOBILE HOTFIXES
   ======================================== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 0.6rem;
        height: 70px;
    }

    .logo {
        justify-self: start;
    }

    .social-links-header {
        justify-self: center;
        gap: 0.45rem;
    }

    .social-link-header {
        width: 32px;
        height: 32px;
    }

    .menu-toggle {
        display: flex;
        justify-self: end;
        align-items: center;
        position: relative;
        z-index: 1201;
        margin: 0;
        padding: 0.25rem;
    }

    .mobile-menu {
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 1.15rem 1rem 1.5rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .mobile-nav-link {
        font-size: 0.98rem;
        padding: 0.95rem 0;
    }

    .mobile-dropdown {
        gap: 0.6rem;
        padding-top: 0.35rem;
        margin-top: 0;
        margin-left: 0;
    }

    .mobile-dropdown a {
        gap: 0.8rem;
        padding: 0.85rem 0.95rem;
        color: rgba(255, 255, 255, 0.88);
        background: rgba(240, 90, 40, 0.04);
        border: 1px solid rgba(240, 90, 40, 0.12);
    }

    .mobile-dropdown a svg {
        color: var(--color-primary);
        stroke: currentColor;
    }

    .hero {
        padding: 106px 0 58px;
        overflow-x: hidden;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-tagline {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 0.55rem 0.9rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0.14em;
        font-size: 0.72rem;
        line-height: 1.25;
        text-align: center;
    }

    .rotating-tagline {
        display: block;
        min-width: 0;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .hero-title {
        font-size: clamp(2.65rem, 12vw, 3.7rem);
        line-height: 1.05;
        margin-bottom: 1.2rem;
    }

    .hero-description {
        max-width: 92%;
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.75rem;
    }

    .hero-buttons {
        width: 100%;
        gap: 0.9rem;
    }

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

    .service-card {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1.08;
        min-height: 0;
    }

    .service-card__content {
        padding: 1.25rem 1.1rem 1.1rem;
    }

    .service-card__title {
        font-size: 0.98rem;
        line-height: 1.2;
        margin-bottom: 0.45rem;
    }

    .service-card__description {
        font-size: 0.78rem;
        line-height: 1.42;
        margin-bottom: 0.8rem;
        -webkit-line-clamp: 3;
    }

    .service-card__link {
        padding: 0.58rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 0.4rem;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .social-links-header {
        gap: 0.35rem;
    }

    .social-link-header {
        width: 30px;
        height: 30px;
    }

    .hero-tagline {
        font-size: 0.68rem;
        padding: 0.5rem 0.8rem;
        letter-spacing: 0.12em;
    }

    .hero-title {
        font-size: clamp(2.3rem, 11.5vw, 3.2rem);
    }

    .hero-description {
        max-width: 100%;
        font-size: 0.96rem;
    }

    .service-card {
        aspect-ratio: 1 / 1.14;
    }

    .service-card__title {
        font-size: 0.92rem;
    }

    .service-card__description {
        font-size: 0.75rem;
    }
}

/* ========================================
   INDEX MOBILE HOTFIXES V2
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .header-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.3rem;
    }

    .social-links-header {
        width: max-content;
        justify-self: center;
        gap: 0.3rem;
    }

    .social-link-header {
        width: 29px;
        height: 29px;
    }

    .menu-toggle {
        min-width: 38px;
        min-height: 38px;
        justify-content: center;
        justify-self: end;
        display: flex !important;
    }

    .menu-toggle span {
        width: 22px;
        height: 2px;
        background: #ffffff;
    }

    .mobile-menu {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .mobile-menu .mobile-nav-link[href="#services"] {
        color: var(--color-primary);
    }

    .mobile-menu .mobile-dropdown a,
    .mobile-menu .mobile-dropdown a:visited {
        color: var(--color-primary) !important;
        border-color: rgba(240, 90, 40, 0.2);
        background: rgba(240, 90, 40, 0.05);
    }

    .mobile-menu .mobile-dropdown a svg {
        color: var(--color-primary) !important;
    }

    .hero-tagline {
        flex-wrap: wrap;
        overflow: hidden;
    }

    .service-card,
    .service-card__content,
    .service-card__title,
    .service-card__description {
        max-width: 100%;
    }

    .service-card {
        aspect-ratio: 1 / 1.18;
    }

    .service-card__title,
    .service-card__description {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .service-card__title {
        font-size: 0.9rem;
    }

    .service-card__description {
        font-size: 0.73rem;
        line-height: 1.38;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .header-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.2rem;
    }

    .social-links-header {
        gap: 0.24rem;
        transform: scale(0.92);
        transform-origin: center;
    }

    .menu-toggle {
        min-width: 36px;
        min-height: 36px;
        padding: 0.15rem;
    }

    .hero-tagline {
        font-size: 0.64rem;
        padding: 0.46rem 0.72rem;
    }

    .service-card {
        aspect-ratio: 1 / 1.24;
    }

    .service-card__content {
        padding: 1.05rem 0.95rem 1rem;
    }

    .service-card__title {
        font-size: 0.86rem;
    }

    .service-card__description {
        font-size: 0.7rem;
    }
}

/* ========================================
   INDEX MOBILE HOTFIXES V3
   ======================================== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .section {
        padding: 52px 0;
    }

    .hero {
        padding: 94px 0 46px;
        min-height: auto;
    }

    .hero-content {
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-tagline {
        display: inline-flex;
        width: auto;
        max-width: min(100%, 320px);
        margin: 0 auto 1rem;
        padding: 0.5rem 0.8rem;
        font-size: 0.58rem;
        letter-spacing: 0.11em;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-wrap: nowrap;
    }

    .rotating-tagline {
        display: inline-block;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-title {
        font-size: clamp(2.15rem, 10.5vw, 3.15rem);
        line-height: 1.04;
        margin-bottom: 1rem;
    }

    .hero-description {
        max-width: 100%;
        font-size: 0.94rem;
        line-height: 1.52;
        margin: 0 auto 1.4rem;
    }

    .hero-buttons {
        width: 100%;
        max-width: 100%;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .about-content--new {
        align-items: flex-start;
    }

    .about-content--new .section-tag,
    .about-content--new h2,
    .about-text,
    .about-specialties--new h3,
    .section-header {
        text-align: left;
    }

    .about-content--new h2 {
        font-size: 2.35rem;
        margin-bottom: 1.1rem;
    }

    .about-text {
        max-width: 100%;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.72;
        margin-bottom: 1rem;
    }

    .about-stats--new {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
        margin-top: 2rem;
    }

    .stat-card__number {
        font-size: clamp(2.2rem, 9vw, 3rem);
        margin-bottom: 0.45rem;
    }

    .stat-card__label {
        font-size: 0.8rem;
        line-height: 1.4;
        letter-spacing: 0.06em;
    }

    .about-image--new {
        width: 100%;
        margin-top: 2rem;
    }

    .about-image__wrapper {
        max-width: 100%;
        border-radius: 18px;
    }

    .about-specialties--new {
        margin-top: 3.25rem;
    }

    .about-specialties--new h3 {
        margin-bottom: 1.4rem;
        font-size: 1.35rem;
    }

    .specialties-grid--new {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .specialty-card {
        padding: 1.35rem;
        gap: 1rem;
        align-items: flex-start;
    }

    .specialty-card__icon {
        width: 50px;
        height: 50px;
    }

    .specialty-card__content h4 {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .specialty-card__content p {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .services-section {
        overflow: hidden;
    }

    .services-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-header {
        max-width: 100%;
        margin: 0 0 2rem;
    }

    .section-title {
        font-size: 2.1rem;
        line-height: 1.14;
        margin-bottom: 0.85rem;
    }

    .section-description {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
    }

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

    .service-card {
        width: 100%;
        max-width: 100%;
        min-height: 320px;
        aspect-ratio: auto;
        box-sizing: border-box;
    }

    .service-card__content {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 1.15rem 1rem 1rem;
    }

    .service-card__title,
    .service-card__description {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .service-card__title {
        font-size: 0.96rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }

    .service-card__description {
        font-size: 0.8rem;
        line-height: 1.45;
        margin-bottom: 0.8rem;
        -webkit-line-clamp: 3;
    }

    .service-card__link {
        padding: 0.6rem 1rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        max-width: min(100%, 290px);
        font-size: 0.54rem;
        letter-spacing: 0.09em;
    }

    .hero-title {
        font-size: clamp(1.95rem, 10vw, 2.7rem);
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .about-content--new h2 {
        font-size: 2rem;
    }

    .about-stats--new {
        gap: 1.25rem 0.85rem;
    }

    .stat-card__number {
        font-size: 2rem;
    }

    .stat-card__label {
        font-size: 0.75rem;
    }

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

    .service-card {
        min-height: 300px;
    }

    .service-card__title {
        font-size: 0.9rem;
    }

    .service-card__description {
        font-size: 0.76rem;
    }
}

/* ========================================
   RESPONSIVE SYSTEM - FINAL
   Mobile: <= 768px
   Tablet: 769px - 1024px
   Desktop: >= 1025px
   ======================================== */

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section {
        padding: 56px 0;
    }

    .hero {
        padding: 92px 0 48px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        text-align: left;
    }

    .hero-tagline {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.45rem;
        width: auto;
        max-width: 100%;
        margin: 0 0 1rem;
        padding: 0.5rem 0.8rem;
        font-size: 0.64rem;
        line-height: 1.2;
        letter-spacing: 0.1em;
        white-space: normal;
    }

    .rotating-tagline {
        display: inline;
        min-width: 0;
        white-space: normal;
    }

    .hero-title {
        font-size: clamp(2.15rem, 10vw, 3.1rem);
        line-height: 1.03;
        margin-bottom: 1rem;
        text-align: left;
    }

    .hero-title--split,
    .service-hero__title.hero-title--split,
    .page-title.hero-title--split {
        align-items: flex-start;
    }

    .hero-description {
        max-width: 34rem;
        margin: 0 0 1.5rem;
        font-size: 0.98rem;
        line-height: 1.62;
        text-align: left;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-buttons .btn,
    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .about-grid--new {
        display: block;
    }

    .about-content--new {
        align-items: flex-start;
    }

    .about-content--new .section-tag,
    .about-content--new h2,
    .about-text,
    .about-specialties--new h3 {
        text-align: left;
    }

    .about-content--new h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .about-text {
        max-width: 100%;
    }

    .about-text p {
        font-size: 0.98rem;
        line-height: 1.72;
        margin-bottom: 1rem;
    }

    .about-stats--new {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem 1rem;
        margin-top: 2rem;
    }

    .stat-card {
        text-align: left;
    }

    .stat-card__number {
        font-size: clamp(2rem, 8vw, 2.9rem);
        margin-bottom: 0.35rem;
    }

    .stat-card__label {
        font-size: 0.78rem;
        line-height: 1.4;
        letter-spacing: 0.05em;
    }

    .about-image--new {
        width: 100%;
        margin-top: 2rem;
    }

    .about-image__wrapper {
        max-width: 100%;
        margin: 0;
    }

    .about-image__wrapper img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .about-specialties--new {
        margin-top: 3rem;
    }

    .about-specialties--new h3 {
        font-size: 1.3rem;
        margin-bottom: 1.35rem;
    }

    .specialties-grid--new {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }

    .specialty-card {
        padding: 1.35rem;
    }

    .specialty-card__content p {
        font-size: 0.88rem;
        line-height: 1.58;
    }

    .section-header {
        max-width: 100%;
        margin: 0 0 2rem;
        text-align: left;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.14;
        margin-bottom: 0.85rem;
        text-align: left;
    }

    .section-description {
        max-width: 34rem;
        font-size: 0.98rem;
        line-height: 1.62;
        text-align: left;
    }

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

    .service-card {
        width: 100%;
        min-height: 320px;
        height: 320px;
        max-height: 320px;
        aspect-ratio: auto;
    }

    .service-card__image,
    .service-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-card__content {
        left: 0;
        right: 0;
        width: 100%;
        padding: 1.1rem 1rem 1rem;
        box-sizing: border-box;
    }

    .service-card__title,
    .service-card__description {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .service-card__title {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }

    .service-card__description {
        font-size: 0.8rem;
        line-height: 1.45;
        margin-bottom: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .service-card__link {
        padding: 0.58rem 0.95rem;
        font-size: 0.82rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 76px 0;
    }

    .hero {
        padding: 112px 0 70px;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero-title {
        font-size: clamp(3rem, 6vw, 4rem);
    }

    .hero-description {
        max-width: 44rem;
        font-size: 1.08rem;
        line-height: 1.65;
    }

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

    .about-content--new h2 {
        font-size: 2.45rem;
    }

    .about-text {
        max-width: 760px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .about-stats--new {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1.25rem;
    }

    .about-image__wrapper {
        max-width: 720px;
    }

    .specialties-grid--new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .section-header {
        max-width: 760px;
        margin-bottom: 2.75rem;
    }

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

    .section-description {
        font-size: 1.03rem;
        line-height: 1.65;
    }

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

    .service-card {
        min-height: 360px;
        height: 360px;
        max-height: 360px;
        aspect-ratio: auto;
    }

    .service-card__content {
        padding: 1.35rem 1.2rem 1.2rem;
    }

    .service-card__title {
        font-size: 1.1rem;
    }

    .service-card__description {
        font-size: 0.84rem;
        line-height: 1.48;
    }
}

@media (min-width: 1025px) {
    .hero-content {
        max-width: 900px;
    }

    .about-stats--new {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

/* ========================================
   MOBILE TITLE ALIGNMENT
   ======================================== */
@media (max-width: 768px) {
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .hero-title,
    .about-content--new h2,
    .section-title {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        line-height: 1.24;
        text-wrap: balance;
    }

    .hero-description,
    .about-text,
    .about-text p,
    .section-description {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        align-items: stretch;
    }

    .about-content--new .section-tag,
    .about-specialties--new h3,
    .section-header {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

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

@media (max-width: 768px) {
    .service-hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-hero__tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .service-hero__title,
    .service-hero__title.hero-title--split,
    .service-hero__title.hero-title--single {
        width: 100%;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        line-height: 1.22;
    }

    .service-hero__title.hero-title--split,
    .service-hero__title.hero-title--single {
        align-items: center;
    }

    .service-hero__description {
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
    }
}
