/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --brand-red: #df0020;
    --brand-red-light: #fff0f2;
    --brand-blue: #bae6fd;
    --brand-blue-deep: #0284c7;
    --brand-dark: #0f172a;
    --brand-grey: #64748b;
    --brand-light: #f8fafc;
    --white: #ffffff;

    --shadow-sm: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-brand: 0 10px 25px -5px rgba(223, 0, 32, 0.25);

    --font-body: 'Nord', system-ui, sans-serif;
    --font-heading: 'Antonio', system-ui, sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b9001a;
}

/* Selección */
::selection {
    background: var(--brand-red);
    color: white;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--brand-dark);
    background-color: var(--brand-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    z-index: 1000;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.9rem;
}

.skip-link:focus {
    top: 0;
}

/* Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.relative {
    position: relative;
}

.z-10 {
    position: relative;
    z-index: 10;
}

.hidden {
    display: none;
}

/* Scroll offset para anchors (navbar sticky) */
section[id] {
    scroll-margin-top: 7rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 65rem;
    margin-inline: auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    margin-bottom: 1rem;
    color: var(--brand-dark);
}

.section-header p {
    color: var(--brand-grey);
    font-size: 1.05rem;
}

/* Grids */
.grid-3 {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================
   2. BUTTONS & MICRO INTERACTIONS
   ========================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--brand-red);
    color: var(--white);
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    box-shadow: var(--shadow-brand);
    border: 2px solid var(--brand-red);
    letter-spacing: 0.02em;
    transform: translateY(0);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--white);
    color: var(--brand-dark);
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue-deep);
    background-color: var(--white);
}

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

.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
}

.pulse-effect {
    position: relative;
    overflow: hidden;
}

.pulse-effect::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: scale(0.9);
    animation: pulse 2s infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    70% {
        opacity: 0;
        transform: scale(1.1);
    }

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

.glow-on-hover {
    position: relative;
    overflow: hidden;
}

.glow-on-hover::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.5), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-on-hover:hover::before {
    opacity: 1;
}

.group .arrow-icon {
    transition: transform 0.2s ease;
}

.group:hover .arrow-icon {
    transform: translateX(4px);
}

.icon-xs {
    width: 1rem;
    height: 1rem;
}

/* =========================================
   3. NAVIGATION & HEADER
   ========================================= */
.top-bar {
    background-color: var(--brand-dark);
    color: var(--white);
    font-size: 0.8rem;
    padding: 0.5rem 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.top-bar-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.top-bar-pill {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.15rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 8.5rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    width: 260px;
}

.logo img {
    height: 9rem;
    width: auto;
    position: relative;
    top: 0;
    left: 0;
    z-index: 101;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.06));
    transition: height 0.25s ease;
}

/* Scroll state */
.navbar.navbar-scrolled {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.navbar.navbar-scrolled .nav-container {
    height: 6.5rem;
}

.logo img.logo-small {
    height: 7.5rem;
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
    margin-top: 0;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a:not(.btn-primary) {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brand-dark);
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-red);
    transition: width 0.25s;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--brand-dark);
    display: block;
}

@media (min-width: 900px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 1rem;
    display: none;
}

.mobile-menu a {
    font-weight: 600;
    padding: 0.4rem 0;
}

.mobile-menu .full-width {
    width: 100%;
    justify-content: center;
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    padding: 3.5rem 0 3rem;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at 10% 10%, rgba(186, 230, 253, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
}

.hero-container {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-container {
        grid-template-columns: 1.2fr 1fr;
    }
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--brand-red);
    background: var(--brand-red-light);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--brand-dark);
}

@media (min-width: 900px) {
    .hero-content h1 {
        font-size: 3.6rem;
    }
}

.highlight {
    color: var(--brand-red);
    position: relative;
    white-space: nowrap;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(186, 230, 253, 0.6);
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-2deg);
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--brand-grey);
    margin-bottom: 2rem;
    max-width: 35rem;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.98rem;
}

.icon-check {
    color: var(--brand-red);
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 3px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
}

.avatar-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-left: -0.75rem;
}

.avatar-circle:first-child {
    margin-left: 0;
}

.hero-microcopy {
    font-size: 0.85rem;
    color: var(--brand-grey);
    margin: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 6px solid var(--white);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: rotate(0deg);
}

.card-floating {
    position: absolute;
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    animation: float 3s infinite ease-in-out;
}

.card-floating-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.card-floating-2 {
    bottom: 15%;
    left: -10px;
    animation-delay: 1.5s;
}

.icon-red {
    color: var(--brand-red);
    fill: var(--brand-red-light);
}

.icon-blue {
    color: var(--brand-blue-deep);
    fill: var(--brand-blue);
}

.blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.5;
    pointer-events: none;
}

.blob-blue {
    width: 220px;
    height: 220px;
    background: var(--brand-blue);
    top: -10%;
    right: -15%;
}

.blob-red {
    width: 180px;
    height: 180px;
    background: var(--brand-red-light);
    bottom: -10%;
    left: -10%;
}

@keyframes float {

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

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

/* =========================================
   5. SECTIONS 
   ========================================= */
.trust-strip {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
}

.trust-strip-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-dark);
}

.trust-item i {
    width: 1.1rem;
    height: 1.1rem;
}

.trust-sep {
    width: 4px;
    height: 4px;
    background: var(--brand-grey);
    border-radius: 50%;
    opacity: 0.3;
}

.card {
    border-radius: 1.5rem;
    background: var(--white);
}

.fit-card {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hover-up:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-blue);
}

.icon-circle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--brand-dark);
}

.icon-circle i {
    width: 1.6rem;
    height: 1.6rem;
}

.icon-blue-bg {
    background-color: #f0f9ff;
    color: var(--brand-blue-deep);
}

.icon-red-bg {
    background-color: #fff1f2;
    color: var(--brand-red);
}

.icon-dark-bg {
    background-color: #f1f5f9;
    color: var(--brand-dark);
}

.fit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.fit-card p {
    color: var(--brand-grey);
    font-size: 0.95rem;
}

.experience-card {
    border-radius: 1.5rem;
    overflow: hidden;
    /* Cambiamos el borde a uno muy sutil y claro, o lo quitamos si prefieres solo sombra */
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background-color: var(--white);
}

.experience-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
}

.card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.experience-card:hover .card-image img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--brand-dark);
    box-shadow: var(--shadow-sm);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--brand-grey);
}

.card-features {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--brand-grey);
}

.card-features i {
    color: var(--brand-blue-deep);
}

.card-action {
    padding: 1rem 2rem;
    border: none;
    border-top: 1px solid #f1f5f9;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.9rem;
    background: #fffcfd;
    cursor: pointer;
    user-select: none;
    font-family: inherit;
}

.experience-card:hover .card-action {
    background: var(--brand-red);
    color: var(--white);
}

.chevron-icon {
    transition: transform 0.25s ease;
}

.card-details {
    margin-top: 1.5rem;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.divider-light {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.label-highlight {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-blue-deep);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.detail-text {
    font-size: 0.95rem;
    color: var(--brand-grey);
    line-height: 1.5;
    margin-bottom: 0;
}

.why-us {
    background-color: var(--brand-red-light);
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    border-bottom: 5px solid var(--brand-red);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box i {
    width: 1.75rem;
    height: 1.75rem;
    stroke-width: 2.5px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.feature-card p {
    color: var(--brand-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Process */
.process {
    background: var(--white);
}

.process-grid {
    display: grid;
    gap: 2rem;
    position: relative;
    text-align: center;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-line-bg {
        display: block !important;
        position: absolute;
        top: 2.5rem;
        left: 12.5%;
        width: 75%;
        height: 0;
        border-top: 3px dashed var(--brand-blue);
        z-index: 0;
        opacity: 0.6;
    }
}

.process-line-bg {
    display: none;
}

.process-step {
    position: relative;
    z-index: 10;
    background: transparent;
}

.step-icon {
    width: 5rem;
    height: 5rem;
    background: var(--white);
    border: 2px solid var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--brand-blue-deep);
    transition: 0.25s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 20;
}

.step-icon i {
    width: 1.8rem;
    height: 1.8rem;
}

.process-step:hover .step-icon {
    background: var(--brand-blue);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--brand-blue);
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--brand-grey);
    line-height: 1.5;
    max-width: 250px;
    margin: 0 auto;
}

/* Testimonials & FAQ */
.testimonials {
    background-color: #f0f9ff;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--brand-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.trip-type {
    font-size: 0.8rem;
    color: var(--brand-grey);
    text-transform: uppercase;
}

.faq {
    background-color: var(--brand-light);
}

.faq-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--brand-blue);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
}

.faq-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--brand-grey);
    line-height: 1.6;
}

/* =========================================
   9. CONTACT & FOOTER
   ========================================= */
.contact {
    background-color: var(--brand-red);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 30px 30px;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.contact-layout {
    display: grid;
    gap: 3rem;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr 1.5fr;
        align-items: flex-start;
    }
}

.info-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 1.5rem;
    backdrop-filter: blur(5px);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.contact-link-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-link-row:hover {
    opacity: 0.85;
}

.icon-box-sm {
    background: var(--white);
    color: var(--brand-red);
    padding: 0.5rem;
    border-radius: 8px;
}

.icon-box-sm i {
    width: 1.2rem;
    height: 1.2rem;
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

.small-note {
    font-size: 0.9rem;
    opacity: 0.85;
}

.form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-form label {
    display: block;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--brand-blue-deep);
    outline: none;
    background: #f8fafc;
    box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.2);
}

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

@media (min-width: 600px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.btn-submit {
    width: 100%;
    background-color: var(--brand-red);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-submit i {
    width: 1.1rem;
    height: 1.1rem;
}

.btn-submit:hover {
    background-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.privacy-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Footer */
.footer {
    background-color: var(--brand-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--brand-blue);
}

.footer-content {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo-img {
    height: 7.5rem;
    width: auto;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 18rem;
    font-size: 0.95rem;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--brand-blue);
}

.footer-nav ul li,
.footer-legal ul li {
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-legal a {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-nav a:hover,
.footer-legal a:hover {
    opacity: 1;
}

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

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem;
    border-radius: 8px;
    display: flex;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* =========================================
   10. WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.07) translateY(-2px);
    background-color: #128C7E;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.35);
}

.whatsapp-float i {
    width: 32px;
    height: 32px;
}

/* =========================================
   11. ANIMACIONES SCROLL (.reveal)
   ========================================= */
.reveal {
    position: relative;
    transform: translateY(35px);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Respeto a usuarios que prefieren menos animación */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================
   12. RESPONSIVE AJUSTES
   ========================================= */
@media (max-width: 899px) {
    .nav-container {
        height: 7.5rem;
    }

    .logo {
        width: 210px;
    }

    .logo img {
        height: 9rem;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero-container {
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    section {
        padding: 3.5rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-header h2 {
        font-size: 2.1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}


/* =========================================
   13. MEJORAS UX/SEO TECNICO (SIN CAMBIAR ESTILO VISUAL)
   ========================================= */

/* Focus visible (teclado) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(223, 0, 32, 0.55);
    outline-offset: 3px;
}

/* Bloquear scroll cuando el menú mobile está abierto */
body.menu-open {
    overflow: hidden;
}

/* Overlay del menú mobile */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    display: none;
    z-index: 90;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Asegurar que el menú quede arriba del overlay */
.mobile-menu {
    z-index: 110;
}

/* Evitar taps accidentales en el WhatsApp flotante con el menú abierto */
body.menu-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.social-links a svg { display:block; }



/* =========================================================
   GEO: Resumen rápido (bloque escaneable, sin cambiar paleta)
   ========================================================= */
.geo-resumen {
  padding: 4rem 0;
}
@media (max-width: 600px) {
  .geo-resumen { padding: 3rem 0; }
}

/* Mobile: mantener blobs pero sin overflow lateral */
@media (max-width: 600px) {
  /* El hero ya oculta overflow, pero en WP a veces los blobs no quedan “clipeados”:
     esto asegura que el contenedor que los envuelve siempre corte. */
  .hero,
  .hero-container,
  .hero-content,
  .hero-image {
    overflow: hidden;
  }

  /* Reposicionar blobs para que entren dentro del viewport */
  .blob-blue { right: 0 !important; }
  .blob-red  { left: 0 !important; }
}

/* Evitar overflow horizontal causado por la barra de admin de WP cuando estás logueado */
#wpadminbar { overflow-x: clip; }

/* En mobile, el texto del nombre (“display-name”) es el que suele empujar el ancho */
@media (max-width: 600px) {
  #wpadminbar .display-name { display: none !important; }
}

/* =========================================
   FIX MOBILE
   ========================================= */
@media (max-width: 600px) {

  /* Que el grid pueda encoger */
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Cards pueden encoger */
  .contact-sidebar,
  .info-card,
  .form-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Mantener icono + texto en la misma fila */
  .contact-link-row {
    flex-wrap: nowrap;       /* clave: NO wrap del contenedor */
    align-items: center;
    min-width: 0;
  }

  /* El icono no se achica */
  .contact-link-row .icon-box-sm {
    flex: 0 0 auto;
  }

  /* Todo lo que NO es el icono: ocupa el resto y puede envolver */
  .contact-link-row > :not(.icon-box-sm) {
    flex: 1 1 auto;
    min-width: 0;            /* clave para que pueda encoger */
  }

  /* El texto largo se parte dentro del ancho disponible */
  .contact-link-row a,
  .contact-link-row span,
  .contact-link-row p {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 768px) {
    .image-wrapper {
        transform: rotate(0deg) !important; /* Ya lo tenías: endereza la imagen */
        margin: 0 1rem; /* Ya lo tenías: margen lateral */
        
        /* Esto obliga al navegador a limpiar los bordes redondeados y las sombras "fantasmas" */
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }
}