﻿:root {
    --navy-dark: #081021;
    --navy: #0D1933;
    --blue-accent: #1B2D4F;
    --charcoal: #2D2C33;
    --gold: #C7A25A;
    --gold-hover: #D8B772;
    --white: #FFFFFF;
    --gray-light: #F9FAFB;
    --gray-border: #E5E7EB;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 140px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 100px 0;
}

.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    width: 100%;
    opacity: 0.3;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(199, 162, 90, 0.3);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 162, 90, 0.4);
}

.btn-pulse {
    animation: btnPulse 2.2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(199, 162, 90, 0.3), 0 0 0 0 rgba(199, 162, 90, 0.5);
    }
    50% {
        box-shadow: 0 4px 18px rgba(199, 162, 90, 0.45), 0 0 0 12px rgba(199, 162, 90, 0);
    }
}

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(8, 16, 33, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(199, 162, 90, 0.2);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

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

.logo-img {
    height: 90px;
    width: auto;
}

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

.logo-palacios {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-asociados {
    font-family: var(--font-body);
    color: var(--white);
    font-size: 1.15rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    margin-left: 16px;
}

.menu-toggle {
    display: none;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: linear-gradient(to right, rgba(8, 16, 33, 0.9) 0%, rgba(13, 25, 51, 0.7) 100%), url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(180deg, transparent 0%, var(--navy-dark) 90%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(199, 162, 90, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.trust-badge svg {
    color: var(--gold);
    width: 24px;
    height: 24px;
}

.trust-badge span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Trust Bar */
.trust-band {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-dark) 45%, var(--navy) 100%);
    padding: 0 0 56px;
}

.trust-bar {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    box-shadow: 0 10px 30px rgba(8, 16, 33, 0.35);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    border-radius: 8px;
    padding: 40px;
    border: 1px solid rgba(199, 162, 90, 0.25);
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-20deg);
    animation: trustShine 6s ease-in-out infinite;
}

@keyframes trustShine {
    0%, 55% { left: -75%; }
    85%, 100% { left: 130%; }
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    width: 52px;
    height: 52px;
    color: var(--gold);
    background-color: rgba(199, 162, 90, 0.12);
    padding: 13px;
    border-radius: 50%;
    animation: iconPulse 3s ease-in-out infinite;
}

.trust-item:nth-child(2) .trust-icon { animation-delay: 0.4s; }
.trust-item:nth-child(3) .trust-icon { animation-delay: 0.8s; }
.trust-item:nth-child(4) .trust-icon { animation-delay: 1.2s; }

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(199, 162, 90, 0.45);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(199, 162, 90, 0);
        transform: scale(1.06);
    }
}

.trust-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.trust-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    line-height: 1.1;
}

.trust-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

/* Situations Section */
.situations {
    background: radial-gradient(ellipse at 20% 20%, rgba(199, 162, 90, 0.13), transparent 55%),
                radial-gradient(ellipse at 80% 70%, rgba(27, 45, 79, 0.5), transparent 60%),
                linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #101f3d 100%);
    position: relative;
    overflow: hidden;
}

.situations::before,
.situations::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    animation: auroraFloat 12s ease-in-out infinite alternate;
}

.situations::before {
    width: 480px;
    height: 480px;
    background: rgba(199, 162, 90, 0.16);
    top: -140px;
    left: -120px;
}

.situations::after {
    width: 520px;
    height: 520px;
    background: rgba(27, 45, 79, 0.55);
    bottom: -180px;
    right: -140px;
    animation-delay: -6s;
}

@keyframes auroraFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.15); }
    100% { transform: translate(-40px, -30px) scale(0.95); }
}

.situations .container {
    position: relative;
    z-index: 1;
}

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

.situations .section-title .title-glow {
    background: linear-gradient(90deg, #C7A25A 0%, #F2DFA8 25%, #C7A25A 50%, #F2DFA8 75%, #C7A25A 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShine 4s linear infinite;
}

@keyframes titleShine {
    to { background-position: 200% center; }
}

.situations .section-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--gray-text);
    font-size: 1.125rem;
}

.situations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 48px;
    counter-reset: situation-counter;
}

.situation-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--gray-border);
    border-top: 4px solid var(--gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.situations-grid.in-view .situation-card {
    animation: cardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.situations-grid.in-view .situation-card:nth-child(1) { animation-delay: 0.05s; }
.situations-grid.in-view .situation-card:nth-child(2) { animation-delay: 0.15s; }
.situations-grid.in-view .situation-card:nth-child(3) { animation-delay: 0.25s; }
.situations-grid.in-view .situation-card:nth-child(4) { animation-delay: 0.35s; }
.situations-grid.in-view .situation-card:nth-child(5) { animation-delay: 0.45s; }
.situations-grid.in-view .situation-card:nth-child(6) { animation-delay: 0.55s; }

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

.situation-card::after {
    counter-increment: situation-counter;
    content: counter(situation-counter, decimal-leading-zero);
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(199, 162, 90, 0.18);
    line-height: 1;
    pointer-events: none;
    transition: var(--transition);
}

.situation-card:hover::after,
.situation-card.spotlight::after {
    color: rgba(199, 162, 90, 0.45);
    transform: scale(1.15);
}

.situation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35), 0 0 20px rgba(199, 162, 90, 0.2);
    border-color: rgba(199, 162, 90, 0.5);
    border-top-color: var(--gold);
}

.situation-card.spotlight {
    border-color: rgba(199, 162, 90, 0.9);
    border-top-color: var(--gold);
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45), 0 0 35px rgba(199, 162, 90, 0.35), 0 0 0 1px rgba(199, 162, 90, 0.6);
    animation: spotlightGlow 2.5s ease-in-out infinite;
}

@keyframes spotlightGlow {
    0%, 100% { box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45), 0 0 25px rgba(199, 162, 90, 0.3), 0 0 0 1px rgba(199, 162, 90, 0.5); }
    50% { box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45), 0 0 55px rgba(199, 162, 90, 0.55), 0 0 0 2px rgba(199, 162, 90, 0.8); }
}

.situation-card.spotlight .situation-icon {
    color: var(--gold);
    transform: scale(1.25);
    filter: drop-shadow(0 0 12px rgba(199, 162, 90, 0.7));
}

.situation-card.spotlight .situation-text {
    color: var(--gold);
}

.situation-icon {
    width: 40px;
    height: 40px;
    color: var(--navy);
    margin-bottom: 24px;
    transition: var(--transition);
}

.situation-card:hover .situation-icon {
    color: var(--gold);
    transform: scale(1.1);
}

.situation-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0;
}

.situation-desc {
    display: block;
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--gray-text);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.situations-grid.in-view .situation-desc {
    opacity: 1;
    transform: translateY(0);
}

.situation-card.spotlight .situation-desc,
.situation-card:hover .situation-desc {
    transition-delay: 0s;
}

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

.situations-cta-text {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 24px;
}

/* Detail Sections (Natural & Ley 1116) */
.detail-section {
    background-color: var(--white);
}

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

.detail-grid.reverse {
    direction: rtl;
}

.detail-grid.reverse > * {
    direction: ltr;
}

.detail-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.detail-content p {
    margin-bottom: 24px;
    font-size: 1.125rem;
    color: var(--gray-text);
}

.benefits-list {
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    font-weight: 500;
    color: var(--charcoal);
}

.visual-card {
    background-color: var(--navy-dark);
    border-radius: 12px;
    padding: 48px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(8, 16, 33, 0.15);
}

.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(199, 162, 90, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--navy-dark);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
}

.timeline-content h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* Interstitial CTA */
.cta-banner {
    background-color: var(--navy);
    background-image: radial-gradient(circle at center, rgba(27, 45, 79, 0.8) 0%, var(--navy) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-style: italic;
}

/* About Us */
.about-section {
    background-color: var(--gray-light);
}

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.value-card {
    background-color: var(--white);
    padding: 24px;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.value-card h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.value-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin: 0;
}

/* Testimonials Carousel */
.testimonials {
    background-color: var(--white);
    overflow: hidden;
    padding: 100px 0;
}

.carousel-container {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    column-gap: 8px;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.carousel-container--plain::before,
.carousel-container--plain::after,
.testimonials .carousel-container::before,
.testimonials .carousel-container::after {
    display: none;
}

.carousel-track {
    grid-column: 2;
    display: flex;
    gap: 30px;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

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

.carousel-track:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.carousel-controls {
    display: contents;
}

.carousel-arrow {
    position: relative;
    z-index: 4;
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: var(--navy-dark);
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition);
    opacity: 1;
    visibility: visible;
    transform: none;
    justify-self: center;
    pointer-events: auto;
}

.carousel-arrow--prev {
    grid-column: 1;
    grid-row: 1;
}

.carousel-arrow--next {
    grid-column: 3;
    grid-row: 1;
}

.carousel-arrow:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

.carousel-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.testimonial-card {
    flex: 0 0 min(400px, 100%);
    background-color: var(--gray-light);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--gray-border);
}

.stars {
    display: flex;
    gap: 4px;
    color: var(--gold);
    margin-bottom: 16px;
}

.stars svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 24px;
    color: var(--charcoal);
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-text);
}

/* FAQ Section */
.faq {
    background-color: var(--gray-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--navy-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--gold);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--white);
}

.accordion-inner {
    padding: 0 24px 24px;
    color: var(--gray-text);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

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

.contact-form-wrapper,
.contact-info {
    min-width: 0;
}

.contact-info .info-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-form-wrapper {
    background: linear-gradient(145deg, #0D1933 0%, #1B2D4F 100%);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(8, 16, 33, 0.25);
    border: 1px solid rgba(199, 162, 90, 0.35);
}
.contact-form-wrapper .form-label {
    color: #FFFFFF;
    font-weight: 600;
}
.contact-form-wrapper .form-control {
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}
.contact-form-wrapper .form-control:focus {
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.12);
}
.contact-form-wrapper select.form-control option {
    background-color: #0D1933;
    color: #FFFFFF;
}
.contact-form-wrapper .form-checkbox label {
    color: #CFDAE9;
}
.contact-form-wrapper .form-checkbox a {
    color: var(--gold);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--navy-dark);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--gray-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(199, 162, 90, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--gray-text);
}

.checkbox-group a {
    color: var(--gold);
    text-decoration: underline;
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(199, 162, 90, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-text h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.info-text p, .info-text a {
    color: var(--gray-text);
    font-size: 1rem;
}

.info-text a:hover {
    color: var(--gold);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    margin-top: auto;
}

/* Footer */
footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 80px 0 24px;
    border-top: 1px solid rgba(199, 162, 90, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-grid > div {
    min-width: 0;
}

.footer-logo {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 24px;
}

.footer-logo .logo-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

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

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

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

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

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

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float svg {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: scale(1.15) rotate(8deg);
}

.whatsapp-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: linear-gradient(135deg, #C7A25A, #D8B772);
    color: #081021;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: badgeBounce 2.5s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.05); }
}

/* Botón CTA destacado (sección situaciones) */
.btn-standout {
    font-size: 1.15rem;
    padding: 20px 48px;
    background: linear-gradient(135deg, #C7A25A 0%, #E3C77E 50%, #C7A25A 100%);
    background-size: 200% 200%;
    color: var(--navy-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(199, 162, 90, 0.45), 0 0 0 0 rgba(199, 162, 90, 0.55);
    animation: standoutPulse 2s ease-in-out infinite, standoutShift 4s ease-in-out infinite;
    text-transform: uppercase;
}

.btn-standout:hover {
    background-color: var(--gold-hover);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(199, 162, 90, 0.6), 0 0 0 14px rgba(199, 162, 90, 0);
}

@keyframes standoutPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(199, 162, 90, 0.45), 0 0 0 0 rgba(199, 162, 90, 0.55); }
    50% { box-shadow: 0 8px 30px rgba(199, 162, 90, 0.6), 0 0 0 16px rgba(199, 162, 90, 0); }
}

@keyframes standoutShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Botón flotante Agenda ya */
.agenda-float {
    position: fixed;
    bottom: 30px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #C7A25A 0%, #E3C77E 100%);
    color: var(--navy-dark);
    border: none;
    border-radius: 50px;
    padding: 12px 22px 12px 14px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(199, 162, 90, 0.6);
    animation: agendaPulse 2s infinite, agendaBounce 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.agenda-float:hover {
    transform: scale(1.08);
}

.agenda-float-icon {
    width: 40px;
    height: 40px;
    background-color: var(--navy-dark);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agenda-float-icon svg {
    width: 22px;
    height: 22px;
}

.agenda-float-text strong {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@keyframes agendaPulse {
    0% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(199, 162, 90, 0.6); }
    70% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 16px rgba(199, 162, 90, 0); }
    100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(199, 162, 90, 0); }
}

@keyframes agendaBounce {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 16, 33, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-content {
    background-color: var(--white);
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-text);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--navy);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.modal-subtitle {
    color: var(--gray-text);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Reducción de espacios entre secciones puntuales */
#blog.section-padding { padding-top: 50px; padding-bottom: 40px; }
#blog[style] { padding-bottom: 40px !important; }
#contacto.section-padding { padding-top: 50px; }
#testimonios { padding-top: 50px; padding-bottom: 50px; }
.about-section.section-padding { padding-bottom: 55px; }
.faq.section-padding { padding-top: 50px; padding-bottom: 55px; }
.detail-section.section-padding { padding-top: 55px; padding-bottom: 50px; }

@media (max-width: 768px) {
    .situations-cta-text { margin-bottom: 32px; }
    .btn-standout { padding: 16px 32px; font-size: 1rem; white-space: normal; line-height: 1.35; }
    .hero-buttons { gap: 14px; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .situations-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--navy-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        gap: 24px;
    }
    .nav-links.active { left: 0; }
    .menu-toggle { display: flex; }
    .menu-toggle svg { width: 30px; height: 30px; }
    .header-cta { display: none; }
    .logo-slogan { display: none !important; }
    .hero-title { font-size: 2.5rem; }
    .situations-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-values { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .whatsapp-float { bottom: 18px; right: 18px; width: 66px; height: 66px; }
    .whatsapp-float svg { width: 38px; height: 38px; }
    .agenda-float { bottom: 18px; left: 14px; padding: 10px 16px 10px 12px; font-size: 0.9rem; }
    .agenda-float-icon { width: 34px; height: 34px; }
    .agenda-float-icon svg { width: 18px; height: 18px; }
    .carousel-container { grid-template-columns: 38px minmax(0, 1fr) 38px; column-gap: 4px; }
    .carousel-arrow { width: 38px; height: 38px; }
}
