/* =============================================
   SOLUCIONES COFER - LAW FIRM WEBSITE
   Premium Design System
   ============================================= */

/* === CSS VARIABLES === */
:root {
    /* Primary Palette - Deep Navy & Gold */
    --primary: #0a1628;
    --primary-light: #132240;
    --primary-dark: #060e1a;
    --accent: #c9a84c;
    --accent-light: #dbc06e;
    --accent-dark: #a88a35;
    --accent-glow: rgba(201, 168, 76, 0.3);

    /* Neutral Palette */
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray-50: #f5f5f5;
    --gray-100: #e8e8e8;
    --gray-200: #d0d0d0;
    --gray-300: #a0a0a0;
    --gray-400: #707070;
    --gray-500: #505050;
    --gray-600: #333333;
    --dark: #1a1a2e;
    --darker: #0f0f1a;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #c9a84c 0%, #e6c867 50%, #c9a84c 100%);
    --gradient-dark: linear-gradient(180deg, #0a1628 0%, #132240 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(19, 34, 64, 0.85) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.logo-text2 {
    color: blanchedalmond
}

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

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

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

.whatsapp-tooltip {
    position: absolute;
    right: 76px;
    background: var(--gray-600);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--gray-600);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappBounce {

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

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

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
    will-change: background, padding, box-shadow;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--accent);
    letter-spacing: 3px;
    line-height: 1.1;
}

p.logo-text {
    display: none;
}

.logo-sub {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 22px;
    color: var(--white);
    letter-spacing: 5px;
    line-height: 1.1;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 32px);
}

.nav-cta {
    background: var(--gradient-gold);
    color: var(--primary) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('assets/hero-bg.webp') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    padding: 0 24px;
}

.hero-badge {
    display: none;
    /* Oculto por defecto en escritorio */
    align-items: center;
    gap: 8px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    padding-top: 60px;
    /* Evita choque con header fijo */
}

.hero-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--accent-light);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-bottom: 100px;
    /* Espacio para el indicador de scroll */
}

.stat {
    text-align: center;
    color: var(--white);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    /* <--- REDUCE ESTE NÚMERO PARA BAJARLO MÁS (Prueba con 10px o 5px) */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 2s ease infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 8px auto 0;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: rotate(45deg) translate(5px, 5px);
        opacity: 1;
    }
}

@keyframes fadeInUp {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* === SECTION HEADERS === */
.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-label.center {
    justify-content: center;
}

.label-line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-desc {
    text-align: center;
    font-size: 17px;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 25px;
}

/* === ABOUT SECTION === */
.about {
    background: var(--off-white);
}

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

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover .about-image-wrapper img {
    transform: scale(1.03);
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--primary);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.about-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.8;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
}

.feature-icon {
    color: var(--accent);
    font-size: 18px;
}

/* === SERVICES SECTION === */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(201, 168, 76, 0.05) 0%, var(--white) 100%);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--primary);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-list {
    margin-bottom: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
    padding: 4px 0;
}

.service-list li i {
    color: var(--accent);
    font-size: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
}

.service-link:hover {
    color: var(--accent-dark);
    gap: 12px;
}

/* === WHY US SECTION === */
.why-us {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.why-us .section-title {
    color: var(--white);
}

.why-us .section-label span:not(.label-line) {
    color: var(--accent);
}

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

.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-5px);
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.testimonials-grid {
    display: flex;
    gap: 0;
    overflow: hidden;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    min-width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s ease;
    border: 1px solid var(--gray-100);
}

.testimonials-container {
    padding-bottom: 0px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.slider-arrow {
    background: var(--accent);
    color: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(201, 168, 76, 0.3);
}

.slider-arrow:hover {
    background: var(--white);
    color: var(--accent);
    transform: scale(1.1);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 168, 76, 0.2);
}

.testimonial-card.featured-testimonial {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, rgba(201, 168, 76, 0.04) 0%, var(--white) 100%);
    position: relative;
}

.testimonial-card.featured-testimonial::before {
    content: '⭐ Destacado';
    position: absolute;
    top: 10px;
    left: 24px;
    background: var(--accent);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-card.featured-testimonial:hover {
    box-shadow: var(--shadow-gold);
}

.testimonial-stars {
    color: #f5a623;
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    text-align: justify;
}



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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    font-size: 15px;
}

.testimonial-author span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
}

/* === CONTACT SECTION === */
@media (min-width: 769px) {
    #testimonials {
        padding-bottom: 20px;
    }

    #contact {
        padding-top: 20px;
    }
}

#contact {
    background: var(--white);
}

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

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: var(--shadow-sm);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-card a,
.contact-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.5;
}

.contact-card a:hover {
    color: var(--accent);
}

.social-links {
    margin-top: 12px;
}

.social-links h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

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

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    transition: var(--transition);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.tiktok {
    background: #010101;
}



.social-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--gray-100);
}

.map-wrapper iframe {
    display: block;
}

/* === FOOTER === */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

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

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact ul li i {
    color: var(--accent);
    margin-top: 4px;
    min-width: 16px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.footer-developer {
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-developer::before {
    content: "Sitio web desarrollado por: ";
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.footer-developer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

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

/* === ANIMATIONS (Custom AOS-like) === */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 30px 0;
    }

    .hero h1 {
        padding-top: 15px;
        /* Reducido drásticamente para quedar cerca del header */
    }

    .hero-badge {
        display: inline-flex;
        margin-top: 100px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 12px;
        /* Aumentado para mayor separación */
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

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

    .nav-link {
        font-size: 16px;
        padding: 18px 0;
        /* Aumentado para mayor separación vertical */
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-cta {
        display: inline-block;
        margin-top: 20px;
        padding: 12px 30px;
        width: auto;
        max-width: fit-content;
        white-space: nowrap;
        text-align: center;
    }

    .about-grid,
    .services-grid,
    .why-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-grid>div:nth-child(3),
    .footer-contact {
        display: none;
        /* Solo se ocultan Enlaces y Contacto */
    }

    .footer-social {
        justify-content: center;
        width: 100%;
    }

    .footer-bottom {
        padding: 40px 15px 100px;
        background: #081121;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-developer {
        width: 100%;
        display: block;
        background: none;
        padding: 0;
        border: none;
        opacity: 0.7;
        font-size: 13px;
        margin-top: 10px;
    }




    .footer-developer a {
        display: inline;
        background: none;
        color: var(--accent) !important;
        padding: 0;
        border-radius: 0;
        font-weight: 600;
        font-size: 13px;
        text-decoration: underline;
        box-shadow: none;
        text-transform: none;
    }
}

@media (max-width: 480px) {


    p.logo-text {
        display: block;
        color: #ffffff !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1002;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        font-weight: 700;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
    }

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

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

    .service-card {
        padding: 28px 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .hero-stats {
        gap: 8px;
        flex-direction: column;
        margin-top: 0px;

    }

    .stat-divider {
        display: none;
    }

    .hero-content {
        padding-bottom: 10px;
    }
}