/* ============================================
   TRANSPORTES MEDRANO - Modern CSS
   Color Palette:
   Primary: #CC0000 (red)
   Dark: #2a0a0a (deep red)
   Success: #00b090 (teal)
   Warning: #fea419 (gold)
   ============================================ */

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

:root {
    --primary: #CC0000;
    --primary-dark: #990000;
    --primary-light: #ffe5e5;
    --primary-glow: rgba(204, 0, 0, 0.3);
    --dark: #2a0a0a;
    --dark-2: #1a0505;
    --text: #36344d;
    --text-light: #727586;
    --gray-border: #dadce0;
    --gray-light: #f2f3f6;
    --white: #ffffff;
    --success: #00b090;
    --warning: #fea419;
    --danger: #fc5185;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(42, 10, 10, 0.08);
    --shadow-md: 0 4px 20px rgba(42, 10, 10, 0.1);
    --shadow-lg: 0 12px 40px rgba(42, 10, 10, 0.15);
    --shadow-xl: 0 20px 60px rgba(42, 10, 10, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #ff4444 50%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn--md {
    padding: 12px 28px;
    font-size: 0.9375rem;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 25px rgba(204, 0, 0, 0.4);
    transform: translateY(-2px);
}

.btn--outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

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

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(218, 220, 224, 0.5);
    transition: var(--transition);
    padding-top: env(safe-area-inset-top);
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.header__logo img {
    height: 48px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.header__link:hover,
.header__link--active {
    color: var(--primary);
    background: var(--primary-light);
}

.header__dropdown {
    position: relative;
}

.header__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 8px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 50;
}

.header__dropdown:hover .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.header__submenu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.header__submenu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

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

.header__phone svg {
    color: var(--primary);
}

.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.header__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
}

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

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero__slide--active {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 5, 5, 0.92) 0%, rgba(42, 10, 10, 0.8) 40%, rgba(204, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 100px;
    margin-top: auto;
    margin-bottom: auto;
    max-width: 720px;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 176, 144, 0.6);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 176, 144, 0);
    }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__title-accent {
    background: linear-gradient(135deg, #ff4444 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.hero__stat-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--success);
}

.hero__stat-label {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.hero__stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
    background: var(--dark);
    padding: 20px 0;
    overflow: hidden;
}

.trust-bar__items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.trust-bar__item svg {
    color: var(--success);
    flex-shrink: 0;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0;
    background: var(--gray-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

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

.service-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(204, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-card__overlay {
    opacity: 1;
}

.service-card__overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 8px 20px;
    border: 2px solid var(--white);
    border-radius: var(--radius-sm);
}

.service-card__body {
    padding: 24px;
    flex: 1;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---------- WHY US ---------- */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

.why-us__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us__features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 36px;
}

.why-us__feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.why-us__feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), #ffd5d5);
    border-radius: 10px;
    color: var(--primary);
}

.why-us__feature h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.why-us__feature p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

.why-us__images {
    position: relative;
    height: 480px;
}

.why-us__image-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 85%;
}

.why-us__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us__image-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.why-us__image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- PROCESS ---------- */
.process {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process__step {
    text-align: center;
    position: relative;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}

.process__step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.process__step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.process__step h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.process__step p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

.process__step-connector {
    display: none;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    grid-auto-rows: 220px;
}

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(42, 10, 10, 0.4) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover::after {
    opacity: 1;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item--tall {
    grid-row: span 2;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--gray-light);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: var(--transition);
}

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

.testimonial-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-card__text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff4444);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.testimonial-card__author strong {
    display: block;
    color: var(--dark);
    font-size: 0.9375rem;
}

.testimonial-card__author span {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* ---------- FAQ ---------- */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq__item:hover {
    border-color: var(--primary-light);
}

.faq__item.active {
    border-color: var(--primary);
    box-shadow: 0 2px 12px var(--primary-glow);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: var(--transition);
}

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

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

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer {
    max-height: 300px;
}

.faq__answer p {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta__inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta__inner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta__inner p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- COVERAGE ---------- */
.coverage {
    padding: 80px 0;
    background: var(--gray-light);
}

.coverage__cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.coverage__city {
    padding: 10px 24px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.coverage__city:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.coverage__city--main {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    font-weight: 700;
}

.coverage__city--main:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--dark-2);
    color: rgba(255, 255, 255, 0.8);
    padding: 72px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand img {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer__links h4,
.footer__contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer__contact ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer__contact li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    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: 90;
    transition: var(--transition);
    animation: wa-pulse 2s infinite;
}

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

@keyframes wa-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1);
    }
}

/* ---------- ANIMATIONS ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---------- CONTACT PAGE ---------- */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 40%, var(--primary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.page-hero .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
}

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

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

/* Contact Form Styles */
.contact-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-form-card>p {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.9375rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--gray-light);
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

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

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border: 1px solid transparent;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.info-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    color: var(--primary);
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.info-card p,
.info-card a {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.info-card a:hover {
    color: var(--primary);
}

/* Services Page Detail Cards */
.service-detail {
    padding: 80px 0;
}

.service-detail:nth-child(even) {
    background: var(--gray-light);
}

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

.service-detail:nth-child(even) .service-detail__inner {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail__inner>* {
    direction: ltr;
}

.service-detail__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.service-detail__content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.service-detail__content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-detail__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.service-detail__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--text);
}

.service-detail__features li svg {
    color: var(--success);
    flex-shrink: 0;
}

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

    .why-us__grid {
        gap: 48px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }

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

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 80px 24px 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        overflow-y: auto;
    }

    .header__nav.active {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .header__link {
        padding: 14px 18px;
        font-size: 1rem;
    }

    .header__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--gray-light);
        border-radius: var(--radius-sm);
        margin: 4px 0;
    }

    .header__hamburger {
        display: flex;
    }

    .header__cta {
        display: none;
    }

    .header__phone span {
        display: none;
    }

    .hero {
        padding-top: 120px;
        padding-top: calc(120px + env(safe-area-inset-top, 0px));
        min-height: 100vh;
    }

    .hero__content {
        padding-top: 20px;
        padding-bottom: 60px;
        margin-top: auto;
        margin-bottom: auto;
    }

    .hero__title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero__stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .hero__stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .trust-bar__items {
        gap: 24px;
    }

    .services__grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .why-us__grid {
        grid-template-columns: 1fr;
    }

    .why-us__images {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .why-us__image-main {
        width: 100%;
    }

    .why-us__image-accent {
        position: static;
        width: 70%;
        margin-left: auto;
        margin-top: -60px;
    }

    .process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery__item--wide,
    .gallery__item--tall {
        grid-column: auto;
        grid-row: auto;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

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

    .footer__social {
        justify-content: center;
    }

    .footer__contact li {
        justify-content: center;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

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

    .service-detail__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-detail:nth-child(even) .service-detail__inner {
        direction: ltr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__ctas {
        flex-direction: column;
    }

    .hero__ctas .btn {
        width: 100%;
    }

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

    .gallery__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta__buttons .btn {
        width: 100%;
        max-width: 360px;
    }
}

/* Overlay for mobile menu */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 5, 5, 0.5);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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