/* ============================================
   RESET Y VARIABLES
   ============================================ */

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

:root {
    /* Colores principales */
    --color-primary: #1e4a7a;
    --color-secondary: #2563eb;
    --color-accent: #1e5a9c;
    --color-navy: #1a5490;
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-text: #1a1a1a;
    --color-text-light: #4a5568;
    
    /* Tipografías */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Espaciados */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(10, 37, 64, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(10, 37, 64, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    transition: var(--transition-smooth);
}

.logo-svg {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo:hover .logo-svg {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
    background: transparent;
    mix-blend-mode: multiply;
}

.logo:hover img {
    transform: scale(1.05);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 37, 64, 0.88) 0%,
        rgba(13, 59, 102, 0.82) 50%,
        rgba(0, 43, 92, 0.88) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 1200px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    color: var(--color-white);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    letter-spacing: 0.03em;
}

/* ============================================
   CTA BUTTON
   ============================================ */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 3rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.08em;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 30px rgba(10, 37, 64, 0.25);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-white);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(10, 37, 64, 0.35);
}

.cta-button:active {
    transform: translateY(-1px);
}

.phone-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 1.8vw, 1.2rem);
        margin-bottom: 2.5rem;
    }
    
    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-svg {
        height: 42px;
    }
    
    .logo img {
        height: 42px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .phone-icon {
        width: 18px;
        height: 18px;
    }
    
    /* About & Services - Mobile */
    .about-section,
    .services-section {
        padding: var(--spacing-lg) 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .about-intro {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-bottom: var(--spacing-md);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    /* History & Philosophy - Mobile */
    .history-section,
    .philosophy-section {
        padding: var(--spacing-lg) 0;
    }
    
    .two-column-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        display: grid;
    }
    
    .two-column-layout.reverse {
        direction: ltr !important;
    }
    
    /* Texto siempre primero, imagen después */
    .two-column-layout .column-content {
        order: 1 !important;
    }
    
    .two-column-layout .column-image {
        order: 2 !important;
        max-height: 350px;
        width: 100%;
    }
    
    .column-image img {
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: cover;
        border-radius: 4px;
    }
    
    .column-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .column-text {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }
    
    /* Process - Mobile */
    .process-section {
        padding: var(--spacing-lg) 0;
    }
    
    .process-label {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .process-main-title {
        font-size: 1.8rem;
        margin-bottom: var(--spacing-md);
        text-align: center;
    }
    
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem;
        margin-top: var(--spacing-md);
        display: grid;
    }
    
    .process-step {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .process-step:nth-child(4),
    .process-step:nth-child(5) {
        grid-column: 1 / 2 !important;
    }
    
    .process-step:nth-child(n) {
        grid-column: 1 / 2 !important;
    }
    
    .process-number {
        width: 110px;
        height: 110px;
        margin: 0 auto 1.5rem;
    }
    
    .process-number span {
        font-size: 3.5rem;
    }
    
    .process-title {
        font-size: 1.3rem;
        min-height: auto;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .process-description {
        font-size: 1.05rem;
        line-height: 1.8;
        text-align: center;
        max-width: 90%;
    }
    
    /* Contact - Tablet */
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    /* Footer - Mobile */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .footer-brand, .footer-links, .footer-social {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-tagline {
        text-align: center;
        font-size: 0.95rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-menu {
        text-align: center;
    }
    
    .footer-menu li {
        margin-bottom: 0.75rem;
    }
    
    .social-link {
        justify-content: center;
        display: inline-flex;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: var(--spacing-md);
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        letter-spacing: 0.08em;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .about-intro {
        font-size: 1.15rem;
        line-height: 1.7;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-list li {
        font-size: 1rem;
    }
    
    /* History & Philosophy más grande */
    .column-title {
        font-size: 1.6rem;
    }
    
    .column-text {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    .column-image {
        max-height: 350px;
    }
    
    /* Process más espacioso */
    .process-grid {
        gap: 3.5rem;
    }
    
    .process-number {
        width: 120px;
        height: 120px;
    }
    
    .process-number span {
        font-size: 3.5rem;
    }
    
    .process-title {
        font-size: 1.3rem;
    }
    
    .process-description {
        font-size: 1.05rem;
        line-height: 1.8;
    }
    
    
    /* Contact - Mobile */
    .contact-section {
        padding: var(--spacing-lg) 0;
    }
    
    .contact-intro {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }
    
    .contact-grid {
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-label {
        font-size: 1.2rem;
    }
    
    .contact-link {
        font-size: 1rem;
    }
    
    .contact-quote {
        font-size: 1.05rem;
    }
    
    /* Footer - Mobile */
    .footer {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }
    
    .footer-content {
        gap: 2rem;
        padding-bottom: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    .footer-menu a {
        font-size: 0.9rem;
    }
    
    .social-link {
        font-size: 0.9rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-intro {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    line-height: 1.7;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.about-intro::before {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.section-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.8;
    color: var(--color-text-light);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: var(--spacing-md);
}

.service-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(10, 37, 64, 0.1);
    transition: var(--transition-smooth);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(10, 37, 64, 0.15);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================
   HISTORY & PHILOSOPHY SECTIONS
   ============================================ */

.history-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.philosophy-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-light-gray);
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-column-layout.reverse {
    direction: rtl;
}

.two-column-layout.reverse > * {
    direction: ltr;
}

.column-content {
    padding: 1rem 0;
}

.column-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.column-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

.column-text:last-child {
    margin-bottom: 0;
}

.column-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.column-image:hover img {
    transform: scale(1.02);
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    text-align: center;
}

.process-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0066cc;
    margin-bottom: 1rem;
}

.process-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: var(--spacing-lg);
}

.process-step:nth-child(4),
.process-step:nth-child(5) {
    grid-column: span 1;
}

.process-step:nth-child(4) {
    grid-column: 1 / 2;
}

.process-step:nth-child(5) {
    grid-column: 2 / 3;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-number {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(10, 37, 64, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.process-step:hover .process-number {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(10, 37, 64, 0.2) 100%);
    transform: scale(1.05);
}

.process-number span {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #0066cc;
}

.process-title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-primary);
    margin-bottom: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-description {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-light-gray);
    text-align: center;
}

.contact-intro {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.contact-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--color-white);
    padding: 3rem 2rem;
    border: 1px solid rgba(10, 37, 64, 0.1);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(10, 37, 64, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.contact-link {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #0066cc;
    text-decoration: none;
    transition: var(--transition-smooth);
    word-break: break-word;
}

.contact-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logo-svg {
    height: 54px;
    width: auto;
}

.footer-logo {
    height: 54px;
    width: auto;
    filter: brightness(0) invert(1);
    background: transparent;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 0.5rem 0;
}

.social-link:hover {
    color: var(--color-white);
}

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

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

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--color-primary);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    width: 100%;
}

.cookie-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-text a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-text a:hover {
    color: var(--color-secondary);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

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

.cookie-btn-accept:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 74, 122, 0.3);
}

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

.cookie-btn-reject:hover {
    background: var(--color-light-gray);
    transform: translateY(-2px);
}

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

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

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

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

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-title {
        font-size: 1.15rem;
    }
    
    .cookie-text {
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1.25rem;
    }
}

/* Cookie Settings Panel */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.cookie-settings.show {
    display: flex;
}

.cookie-settings-content {
    background: var(--color-white);
    border-radius: 4px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-settings-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.cookie-settings-intro {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.cookie-option {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.25rem 0;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-option-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.cookie-option-info p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--color-primary);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
    background-color: var(--color-primary);
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cookie-settings-buttons .cookie-btn {
    flex: 1;
    min-width: 140px;
}

@media (max-width: 768px) {
    .cookie-settings-content {
        padding: 1.5rem;
        max-height: 85vh;
    }
    
    .cookie-settings-title {
        font-size: 1.3rem;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
    }
    
    .cookie-settings-buttons .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-title {
        font-size: 1.05rem;
    }
    
    .cookie-text {
        font-size: 0.85rem;
    }
    
    .cookie-btn {
        font-size: 0.9rem;
    }
    
    .cookie-settings-content {
        padding: 1.25rem;
    }
    
    .cookie-option-info h4 {
        font-size: 1rem;
    }
    
    .cookie-option-info p {
        font-size: 0.85rem;
    }
}

/* ============================================
   ACCESIBILIDAD
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para accesibilidad con teclado */
.cta-button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.logo:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

