/* ==========================================================================
   RECEPTIVO DELTA - MAIN STYLESHEET
   Aesthetic: Premium, River & Sunset theme, Glassmorphism, Fluid Animations
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Custom Properties / Design Tokens */
:root {
    /* Color System - HSL Tailored (Delta Forest & Sunset Theme) */
    --primary: hsl(152, 60%, 35%);        /* Delta Vegetation Green */
    --primary-light: hsl(152, 50%, 55%);  /* Light Green Leaf */
    --primary-dark: hsl(152, 70%, 12%);   /* Deep Forest Midnight */
    --secondary: hsl(207, 95%, 40%);     /* Deep Water Blue */
    --secondary-light: hsl(200, 90%, 60%);
    --accent: hsl(36, 100%, 55%);         /* Sunset Gold / Orange */
    --accent-light: hsl(42, 100%, 65%);
    --accent-dark: hsl(28, 90%, 45%);
    
    /* Neutral Palettes */
    --bg-light: hsl(210, 40%, 98%);
    --bg-card-light: hsl(0, 0%, 100%);
    --text-dark: hsl(218, 30%, 15%);
    --text-muted: hsl(218, 15%, 45%);
    
    --bg-dark: hsl(218, 33%, 8%);
    --bg-card-dark: hsl(218, 30%, 12%);
    --text-light: hsl(210, 40%, 98%);
    --text-muted-dark: hsl(210, 15%, 75%);

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadow & Glassmorphism */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: 16px;

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Default Mode Variables */
    --color-bg: var(--bg-light);
    --color-card: var(--bg-card-light);
    --color-text: var(--text-dark);
    --color-text-muted: var(--text-muted);
    --color-border: hsl(210, 20%, 90%);
}

/* Dark Mode Scheme Override */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: var(--bg-dark);
        --color-card: var(--bg-card-dark);
        --color-text: var(--text-light);
        --color-text-muted: var(--text-muted-dark);
        --color-border: hsl(218, 20%, 18%);
        --glass-bg: rgba(15, 23, 42, 0.7);
        --glass-border: rgba(255, 255, 255, 0.08);
    }
}

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

html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}

p {
    color: var(--color-text-muted);
}

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

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--color-bg);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.logo span {
    color: var(--color-text);
    transition: var(--transition);
}

.logo-accent {
    color: var(--primary);
}

/* Marca completa en el menú: el PNG conserva transparencia y se vuelve blanco
   sin modificar el archivo original. El fondo garantiza contraste al hacer scroll. */
.logo.logo-brand-mark {
    padding: 5px 10px;
    border-radius: 12px;
    background: rgba(6, 24, 38, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.logo-brand-mark .nav-logo-image {
    display: block;
    width: auto;
    height: 58px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* Hamburger menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    left: 0;
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-toggle.open .hamburger {
    background-color: transparent;
}

.nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(200, 230, 255, 0.15), transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.05), transparent 50%);
    padding: 8rem 1.5rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(to left, var(--color-bg), transparent),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%230284c7" fill-opacity="0.03" d="M0,50 C20,70 40,30 60,70 C80,110 100,50 100,50 L100,100 L0,100 Z"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(2, 132, 199, 0.15);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
    background-color: var(--color-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: morph 8s ease-in-out infinite alternate;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    filter: grayscale(10%) contrast(110%);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* ==========================================================================
   SEGMENTED SECTIONS (Audiences: Corporativo, Agencias, Grupos)
   ========================================================================== */
.section {
    padding: 6rem 1.5rem;
}

.section-alt {
    background-color: var(--color-card);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-dark);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--color-text);
    margin-bottom: 1rem;
}

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

.audience-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.audience-card:hover::before {
    background-color: var(--accent);
    width: 10px;
}

.audience-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.audience-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.audience-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.audience-features {
    margin-bottom: 2rem;
}

.audience-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.audience-features svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.audience-btn {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.audience-btn:hover svg {
    transform: translateX(4px);
}

.audience-btn svg {
    transition: var(--transition);
}

/* ==========================================================================
   SERVICES & EXPERIENCES
   ========================================================================== */
.services-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 0 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background-color: var(--color-card);
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

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

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

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

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

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

.service-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(15, 23, 42, 0.75);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.service-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-highlights {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

.service-highlights-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
}

.service-highlights-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
}

.service-highlight-item {
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-text-muted);
}

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

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.service-price {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.service-price span {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
}

/* ==========================================================================
   WHY CHOOSE US & VALUES
   ========================================================================== */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.about-feature-text {
    font-size: 0.95rem;
}

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

.stat-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-title {
    font-size: 1.75rem;
    font-weight: 700;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-detail-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-detail-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-detail-text p {
    font-size: 0.95rem;
}

.contact-detail-text a:hover {
    color: var(--primary);
}

.contact-form-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-input {
    width: 100%;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Honeypot field - anti-spam robot blocker */
.form-hp {
    display: none !important;
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    z-index: -100;
}

.form-feedback {
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: hsl(0, 85%, 55%);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-submit-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-submit {
    flex-grow: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-submit:disabled {
    background: var(--color-border);
    color: var(--color-text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-submit .loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 5rem 1.5rem 2rem;
    border-top: 4px solid var(--accent);
}

.footer p {
    color: var(--text-muted-dark);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    color: var(--accent);
}

.footer-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

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

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

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

.footer-col-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

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

.footer-links a {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

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

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

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted-dark);
}

.footer-contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted-dark);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

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

/* ==========================================================================
   WHATSAPP FLOAT BUTTON
   ========================================================================== */
/* ==========================================================================
   WHATSAPP FLOAT BUTTON & MOBILE OVERLAY
   ========================================================================== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

body.menu-open {
    overflow: hidden !important;
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    right: calc(1.5rem + env(safe-area-inset-right, 0px));
    z-index: 990; /* Detrás del menú desplegable (1002) */
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
    transform: scale(1.08) rotate(4deg);
    background-color: #20ba5a;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* ==========================================================================
   ANIMATION & EFFECTS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-badge {
        justify-content: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
        max-width: 320px;
        margin: 0 auto;
    }
    .about-features {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Mobile Header & Hamburger Navigation */
    .nav-container {
        padding: 0.85rem 1.25rem;
    }

    .logo-brand-mark .nav-logo-image {
        height: 48px;
    }

    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid var(--color-border);
        z-index: 1003;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--color-card) !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.75rem;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
        padding: 5rem 1.5rem 2rem;
        border-left: 1px solid var(--color-border);
        z-index: 1002;
        overflow-y: auto;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu .nav-link {
        font-size: 1.05rem;
        font-weight: 600;
        padding: 0.85rem 1.25rem;
        border-radius: var(--radius-sm);
        display: block;
        width: 100%;
        color: var(--color-text);
        background: rgba(0, 0, 0, 0.03);
        transition: var(--transition);
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(2, 132, 199, 0.1);
        color: var(--primary);
    }

    .nav-menu .nav-cta {
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        display: flex;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .stat-grid {
        grid-template-columns: 1fr;
    }
    /* Footer 100% 1 Columna en móviles para evitar cortes de texto */
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: left;
    }
    .footer-desc {
        max-width: 100% !important;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .contact-form-card {
        padding: 1.5rem;
    }
    .form-input, select.form-input, textarea.form-input {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .service-content {
        padding: 1.25rem;
    }
    .service-title {
        font-size: 1.15rem;
    }
    .service-tag {
        top: 0.75rem;
        left: 0.75rem;
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    .service-footer {
        flex-wrap: wrap;
    }
    .service-footer .btn {
        flex-shrink: 0;
    }
    .logo {
        font-size: 1.25rem;
    }
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        right: calc(1rem + env(safe-area-inset-right, 0px));
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Landscape mode optimizations for mobile screens */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
        text-align: left;
    }
    .hero-visual {
        max-width: 180px;
        order: 0;
    }
    .hero-badge {
        justify-content: flex-start;
    }
    .hero-actions {
        justify-content: flex-start;
    }
}
