/* Costa del Sol Foods & Beverages - Premium Modern Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Premium Navy & Gold */
    --primary-dark: #0F172A;
    /* Deep Slate/Navy */
    --primary: #1E293B;
    /* Lighter Slate */
    --accent-gold: #C5A059;
    /* Premium Gold */
    --accent-gold-light: #E5C585;
    --detail-blue: #3B82F6;
    /* Tech overlay */

    --bg-body: #F8FAFC;
    /* Cool light grey */
    --bg-surface: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --white: #FFFFFF;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 20px 40px -5px rgba(15, 23, 42, 0.1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    /* Slightly wider for modern feel */
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--accent-gold);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

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

.logo-img {
    height: 48px;
    width: auto;
    border-radius: var(--radius-sm);
}

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

.logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

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

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.nav-link:hover {
    color: var(--accent-gold);
    background: rgba(197, 160, 89, 0.08);
    /* Gold hint */
}

.nav-link.active {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--bg-body);
    color: var(--primary-dark);
}

/* CTA Button in Nav */
.nav-cta {
    background: var(--primary-dark);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
    background: var(--primary);
    /* Lighter slate on hover */
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* Buttons GLOBAL */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #B08D45);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 60px;
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Sections Global */
section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

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

/* Services */
.services {
    background: var(--bg-body);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-surface);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(197, 160, 89, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent-gold);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-gold);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    stroke: var(--white);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    flex-grow: 1;
    /* Pushes link to bottom */
}

.service-link {
    font-weight: 600;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--accent-gold);
    gap: 8px;
    /* Arrow slide effect */
}

/* About */
.about {
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-dark);
}

.feature svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-gold);
}

/* Values Section */
.values {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1E293B 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(197, 160, 89, 0.1), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08), transparent 40%);
}

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

.values .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
    justify-items: center;
}

/* Centrar las últimas 2 tarjetas en la segunda fila */
.values-grid .value-card:nth-child(4),
.values-grid .value-card:nth-child(5) {
    grid-column: span 1;
}

.values-grid .value-card:nth-child(4) {
    justify-self: end;
    margin-right: 15px;
}

.values-grid .value-card:nth-child(5) {
    justify-self: start;
    margin-left: 15px;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-dark);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.value-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact */
.contact {
    background: var(--bg-body);
}

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

.contact-info {
    padding-right: 20px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-dark);
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    background: var(--bg-body);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

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

.footer-logo {
    background: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: inline-block;
    height: 50px;
    width: auto;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-credit a {
    color: var(--accent-gold);
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

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

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

/* Footer Contact Bar */
.footer-contact-bar {
    display: flex;
    justify-content: flex-end;
    gap: 32px;
    padding: 20px 0;
    margin-bottom: 10px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: var(--accent-gold);
}

.footer-contact-link svg {
    flex-shrink: 0;
}

/* Page Headers (Subpages) */
.page-hero {
    background-color: var(--primary-dark);
    padding: 180px 0 80px;
    /* More top padding for glass header */
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(197, 160, 89, 0.1), transparent 40%);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.breadcrumb {
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

/* Page Content */
.page-content {
    background: var(--bg-surface);
    padding: 80px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
}

.content-main h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
}

.content-main p,
.content-main ul {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.content-main li {
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid var(--accent-gold);
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--bg-body);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.sidebar-links a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: var(--transition);
    border: 1px solid transparent;
}

.sidebar-links a:hover {
    background: var(--white);
    border-color: #E2E8F0;
    color: var(--primary-dark);
    transform: translateX(5px);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), #1E293B);
    color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    opacity: 0.2;
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

/* Legal Pages - Modern Redesign */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.15), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1), transparent 40%);
}

.legal-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.legal-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.legal-nav {
    background: var(--bg-surface);
    padding: 16px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
}

.legal-nav ul {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-nav a {
    padding: 10px 20px;
    background: var(--bg-body);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--text-muted);
}

.legal-nav a:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

.legal-nav a.active {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

.legal-main {
    padding: 60px 0 80px;
    background: var(--bg-body);
}

.legal-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.legal-card h2 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-body);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-card h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-gold-light));
    border-radius: 2px;
    flex-shrink: 0;
}

.legal-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-card ul {
    list-style: none;
}

.legal-card li {
    padding: 14px 0;
    border-bottom: 1px solid var(--bg-body);
    color: var(--text-muted);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.legal-card li:last-child {
    border: none;
}

.legal-card li strong {
    color: var(--primary-dark);
    min-width: 140px;
    flex-shrink: 0;
}

.info-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    opacity: 0.2;
}

.info-box h3 {
    margin-bottom: 12px;
    color: var(--white);
    position: relative;
}

.info-box p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    position: relative;
}

.info-box a {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

/* Privacy Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.right-item {
    background: var(--bg-body);
    padding: 24px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.right-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.right-item span {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.right-item strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.right-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Cookie Types Grid */
.cookie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.cookie-type {
    background: var(--bg-body);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
}

.cookie-type.essential {
    border-color: #22C55E;
}

.cookie-type.analytics {
    border-color: #F59E0B;
}

.cookie-type.marketing {
    border-color: #EF4444;
}

.cookie-type h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.cookie-type p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Browser List */
.browser-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.browser-item {
    background: var(--bg-body);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.browser-item:hover {
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
}

.browser-item span {
    font-size: 1.5rem;
}

.browser-item strong {
    color: var(--primary-dark);
}

/* Terms Services Grid */
.services-grid-legal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.service-tag {
    background: linear-gradient(135deg, var(--bg-body), rgba(197, 160, 89, 0.08));
    padding: 20px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    color: var(--primary-dark);
    transition: var(--transition);
}

.service-tag:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.service-tag span {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* Contact Grid for Terms */
.contact-grid-legal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.contact-item-legal {
    background: var(--bg-body);
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-item-legal:hover {
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
}

.contact-item-legal span {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 10px;
}

.contact-item-legal strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.contact-item-legal p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-content,
.service-card,
.about-image,
.contact-form {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        gap: 1rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 968px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    /* Fix menu toggle color - white bars for visibility */
    .menu-toggle span {
        background: var(--white);
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
        overflow: hidden;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav.active {
        height: auto;
        padding: 24px;
        padding-bottom: 100px;
        /* Extra space for WhatsApp button */
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    /* FIX: Mobile nav links should be dark on white background */
    .nav-link {
        display: block;
        padding: 14px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 0;
        color: var(--text-main) !important;
        width: 100%;
    }

    .nav-link:hover {
        color: var(--accent-gold) !important;
        background: transparent;
    }

    /* Mobile dropdown handling - hide by default, show on click via JS */
    .nav-dropdown .dropdown-menu {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none !important;
        background: #F8FAFC !important;
        border-radius: 12px;
        margin: 0;
        padding: 0;
        transition: all 0.3s ease;
        width: 100% !important;
        min-width: 100% !important;
        border: none !important;
    }

    .nav-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        overflow: visible;
        margin: 10px 0;
        padding: 12px;
    }

    .nav-dropdown .dropdown-menu a {
        display: block;
        padding: 12px 20px;
        color: #0F172A !important;
        font-size: 1rem;
        font-weight: 500;
        background: #FFFFFF;
        margin: 4px 8px;
        border-radius: 8px;
        text-decoration: none;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-dropdown .dropdown-menu a:hover {
        color: #1E3A5F !important;
        background: rgba(197, 160, 89, 0.2);
    }

    /* Ensure dropdown list items are displayed properly */
    .nav-dropdown .dropdown-menu li {
        list-style: none;
        margin: 0;
        padding: 0;
        display: block;
    }

    .nav .nav-dropdown .dropdown-menu,
    .nav .nav-dropdown.open .dropdown-menu,
    .nav.active .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .nav.active .nav-dropdown .dropdown-menu li a {
        color: #0F172A !important;
        background-color: #FFFFFF !important;
        display: block;
        visibility: visible;
        opacity: 1;
    }

    /* Mobile CTA button */
    .nav-cta,
    .nav-cta-torre {
        margin-top: 20px;
        display: block;
        text-align: center;
        width: 100%;
    }

    .nav-cta-torre {
        color: var(--white) !important;
    }

    /* Grid adjustments */
    .about-grid,
    .contact-grid,
    .content-wrapper,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stats .stat-item {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    /* Values grid - 2 columns on tablet */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .values-grid .value-card:nth-child(4),
    .values-grid .value-card:nth-child(5) {
        grid-column: auto;
        justify-self: auto;
        margin: 0;
    }

    /* If odd number, center last card */
    .values-grid .value-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 400px;
        justify-self: center;
    }

    /* Services grid - 2 columns */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-grid .value-card:last-child:nth-child(odd) {
        max-width: 100%;
    }

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

    .hero-stats .stat-item {
        flex: 1 1 100%;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-grid {
        gap: 30px;
    }

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

    .footer-col h4 {
        margin-bottom: 16px;
    }

    /* Email overflow fix - break long emails */
    .contact-item p,
    .footer-contact-link span {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Footer contact bar - stack vertically on mobile */
    .footer-contact-bar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .footer-contact-link {
        flex-direction: column;
        gap: 6px;
        font-size: 0.9rem;
    }

    .footer-contact-link span {
        font-size: 0.85rem;
        max-width: 100%;
    }

    /* Footer bottom centering */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
        padding-bottom: 80px;
        /* Space for WhatsApp button */
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    /* Contact section mobile fixes */
    .contact-grid {
        gap: 40px;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .contact-item p {
        font-size: 0.95rem;
        max-width: 100%;
        word-break: break-word;
    }

    /* Footer social icons centering */
    .footer-social {
        justify-content: center;
    }
}

/* ================================================================
   COOKIE CONSENT BANNER
   ================================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner-inner {
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-banner-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.cookie-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-logo img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--white);
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-logo-text {
    display: none;
}

.cookie-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-text h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-text h3 span {
    font-size: 1.3rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.9rem;
}

.cookie-text a {
    color: var(--accent-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: var(--accent-gold-light);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-gold), #B08D45);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-config {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    font-size: 0.85rem;
}

.cookie-btn-config:hover {
    color: var(--accent-gold);
}

/* Responsive Cookie Banner */
@media (max-width: 968px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .cookie-logo {
        justify-content: center;
    }

    .cookie-logo img {
        width: 50px;
        height: 50px;
    }

    .cookie-logo-text {
        display: block;
    }

    .cookie-logo-text span {
        display: block;
        color: var(--white);
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1rem;
        line-height: 1.1;
    }

    .cookie-logo-text .tagline {
        color: var(--accent-gold);
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .cookie-text h3 {
        justify-content: center;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .cookie-btn-accept,
    .cookie-btn-reject {
        flex: 1;
        min-width: 120px;
    }

    .cookie-btn-config {
        width: 100%;
        order: 3;
    }
}

@media (max-width: 480px) {
    .cookie-banner-content {
        padding: 16px;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }

    .cookie-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* ========================================
   TORRE DE CONTROL PAGE STYLES
   ======================================== */

/* Torre Hero */
.torre-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2744 50%, var(--primary) 100%);
    padding: 180px 0 100px;
    color: var(--white);
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.torre-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.torre-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.torre-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-gold);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.torre-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--detail-blue);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.torre-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-gold-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes float {

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

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.torre-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.torre-hero .breadcrumb {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.torre-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    flex: 1;
}

.torre-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.torre-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.torre-highlight {
    display: block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.torre-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.7;
}

.torre-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Torre Illustration */
.torre-illustration {
    position: relative;
    width: 350px;
    height: 450px;
    flex-shrink: 0;
}

.torre-svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.torre-line,
.torre-window {
    opacity: 0.9;
}

.torre-window {
    animation: windowGlow 3s infinite ease-in-out;
}

@keyframes windowGlow {

    0%,
    100% {
        fill: rgba(197, 160, 89, 0.1);
    }

    50% {
        fill: rgba(197, 160, 89, 0.25);
    }
}

/* Wave Animation */
.torre-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 500px;
    height: 500px;
    z-index: 1;
}

.torre-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    animation: waveExpand 4s infinite ease-out;
}

.torre-wave-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.torre-wave-2 {
    width: 200px;
    height: 200px;
    animation-delay: 1.3s;
}

.torre-wave-3 {
    width: 200px;
    height: 200px;
    animation-delay: 2.6s;
}

@keyframes waveExpand {
    0% {
        width: 200px;
        height: 200px;
        opacity: 0.6;
        border-color: rgba(197, 160, 89, 0.5);
    }

    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
        border-color: rgba(197, 160, 89, 0);
    }
}

/* Nav CTA Torre Button */
.nav-cta-torre {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light)) !important;
    color: var(--primary-dark) !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    margin-right: 10px;
    transition: var(--transition) !important;
}

.nav-cta-torre:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.4);
}


/* Torre Services Grid */
.torre-services {
    background: var(--bg-body);
    padding: 100px 0;
}

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

.torre-service-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.torre-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.torre-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

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

.torre-service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(197, 160, 89, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.torre-service-card:hover .torre-service-icon {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
}

.torre-service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-gold);
    transition: var(--transition);
}

.torre-service-card:hover .torre-service-icon svg {
    stroke: var(--white);
}

.torre-service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.torre-service-list {
    list-style: none;
}

.torre-service-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.torre-service-list li:last-child {
    border-bottom: none;
}

.torre-service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Torre Challenges Section */
.torre-challenges {
    background: var(--white);
    padding: 100px 0;
}

.torre-challenges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.torre-challenge-card {
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.torre-challenge-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.torre-challenge-card:hover .torre-challenge-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
}

.torre-challenge-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--white);
}

.torre-challenge-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.torre-challenge-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Torre Benefits List */
.torre-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: var(--bg-body);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.torre-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.torre-benefit-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.torre-benefit-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-gold);
    flex-shrink: 0;
}

.torre-benefit-item span {
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

/* Torre Stats Section */
.torre-stats {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2744 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.torre-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(197, 160, 89, 0.1), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.08), transparent 50%);
}

.torre-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.torre-stat-item {
    text-align: center;
}

.torre-stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.torre-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* Torre Data Section */
.torre-data {
    background: var(--bg-body);
    padding: 100px 0;
}

/* Data Illustration Container */
.data-illustration-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.data-illustration-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.data-people-img {
    width: 220px;
    height: auto;
    position: relative;
    z-index: 2;
}

/* Orbiting Screens Container */
.orbiting-screens {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Individual Orbiting Screens */
.orbit-screen {
    position: absolute;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

.orbit-screen svg {
    width: 100%;
    height: 100%;
}

/* Screen 1 - Top Left, orbits clockwise */
.orbit-screen-1 {
    width: 70px;
    animation: orbitScreen1 12s linear infinite;
}

/* Screen 2 - Top Right, orbits counter-clockwise */
.orbit-screen-2 {
    width: 80px;
    animation: orbitScreen2 14s linear infinite;
}

/* Screen 3 - Bottom Left, orbits clockwise slower */
.orbit-screen-3 {
    width: 55px;
    animation: orbitScreen3 10s linear infinite;
}

/* Screen 4 - Bottom Right, orbits counter-clockwise */
.orbit-screen-4 {
    width: 60px;
    animation: orbitScreen4 16s linear infinite;
}

/* Orbit Animations - Elliptical paths around center */
@keyframes orbitScreen1 {
    0% {
        top: 5%;
        left: 10%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        top: 20%;
        left: 75%;
        transform: rotate(5deg) scale(0.9);
    }

    50% {
        top: 70%;
        left: 70%;
        transform: rotate(0deg) scale(0.85);
    }

    75% {
        top: 65%;
        left: 5%;
        transform: rotate(-5deg) scale(0.95);
    }

    100% {
        top: 5%;
        left: 10%;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes orbitScreen2 {
    0% {
        top: 10%;
        right: 5%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        top: 60%;
        right: 70%;
        transform: rotate(-8deg) scale(0.9);
    }

    50% {
        top: 75%;
        right: 10%;
        transform: rotate(0deg) scale(0.85);
    }

    75% {
        top: 25%;
        right: 65%;
        transform: rotate(8deg) scale(0.95);
    }

    100% {
        top: 10%;
        right: 5%;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes orbitScreen3 {
    0% {
        bottom: 15%;
        left: 5%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        bottom: 60%;
        left: 65%;
        transform: rotate(10deg) scale(0.9);
    }

    50% {
        bottom: 70%;
        left: 20%;
        transform: rotate(0deg) scale(0.85);
    }

    75% {
        bottom: 30%;
        left: 70%;
        transform: rotate(-10deg) scale(0.95);
    }

    100% {
        bottom: 15%;
        left: 5%;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes orbitScreen4 {
    0% {
        bottom: 10%;
        right: 10%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        bottom: 55%;
        right: 65%;
        transform: rotate(-6deg) scale(0.9);
    }

    50% {
        bottom: 65%;
        right: 5%;
        transform: rotate(0deg) scale(0.85);
    }

    75% {
        bottom: 20%;
        right: 60%;
        transform: rotate(6deg) scale(0.95);
    }

    100% {
        bottom: 10%;
        right: 10%;
        transform: rotate(0deg) scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .data-illustration-wrapper {
        width: 320px;
        height: 320px;
    }

    .data-people-img {
        width: 180px;
    }

    .orbit-screen-1 {
        width: 55px;
    }

    .orbit-screen-2 {
        width: 65px;
    }

    .orbit-screen-3 {
        width: 45px;
    }

    .orbit-screen-4 {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .data-illustration-container {
        margin-bottom: 40px;
    }

    .data-illustration-wrapper {
        width: 280px;
        height: 280px;
    }

    .data-people-img {
        width: 150px;
    }

    .orbit-screen-1 {
        width: 45px;
    }

    .orbit-screen-2 {
        width: 55px;
    }

    .orbit-screen-3 {
        width: 38px;
    }

    .orbit-screen-4 {
        width: 42px;
    }
}


.torre-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.torre-data-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    border: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.torre-data-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--detail-blue));
    opacity: 0;
    transition: var(--transition);
}

.torre-data-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.torre-data-card:hover::after {
    opacity: 1;
}

.torre-data-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.torre-data-card:hover .torre-data-icon {
    transform: rotate(5deg) scale(1.05);
}

.torre-data-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-gold);
}

.torre-data-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.torre-data-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Torre CTA Section */
.torre-cta {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B08D45 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.torre-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2), transparent 50%);
}

.torre-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.torre-cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.torre-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.torre-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.torre-cta .btn-primary {
    background: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
}

.torre-cta .btn-primary:hover {
    background: var(--primary);
}

.torre-cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

/* Torre Other Services */
.torre-other-services {
    background: var(--white);
    padding: 100px 0;
}

.torre-other-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.torre-other-card {
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.torre-other-card:hover {
    background: var(--bg-surface);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.torre-other-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
}

.torre-other-card:hover .torre-other-icon {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
}

.torre-other-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-dark);
    transition: var(--transition);
}

.torre-other-card:hover .torre-other-icon svg {
    stroke: var(--white);
}

.torre-other-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.torre-other-card span {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Torre Page Responsive */
@media (max-width: 1200px) {
    .torre-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .torre-other-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {

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

    .torre-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

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

    .torre-other-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .torre-hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .torre-hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .torre-hero-content {
        max-width: 100%;
    }

    .torre-illustration {
        width: 280px;
        height: 360px;
        margin-top: 40px;
    }

    .torre-waves {
        width: 350px;
        height: 350px;
    }

    .torre-hero-title {
        font-size: 2rem;
    }

    .torre-hero-subtitle {
        font-size: 1.1rem;
    }

    .torre-hero-buttons {
        justify-content: center;
    }

    .torre-services-grid,
    .torre-challenges-grid,
    .torre-data-grid {
        grid-template-columns: 1fr;
    }

    .torre-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .torre-stat-number {
        font-size: 2.5rem;
    }

    .torre-benefits {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .torre-cta h2 {
        font-size: 1.8rem;
    }

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


}

@media (max-width: 480px) {

    .torre-stats-grid,
    .torre-other-grid {
        grid-template-columns: 1fr;
    }

    .torre-cta-buttons {
        flex-direction: column;
    }

    .torre-cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

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

.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Tooltip message */
.whatsapp-tooltip {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    position: relative;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

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

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--primary-dark);
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
    }

    .whatsapp-float-btn svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}