
/* -------------------------------------------------------------------------- */
/* VARIABLES                                                                  */
/* -------------------------------------------------------------------------- */
:root {
    /* Tipografías Principales */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Mulish', sans-serif;
    
    --color-lichen: #8DA399;
    --color-lichen-hover: #7b8f86;
    --color-mist: #E8ECEF;
    --color-o2: #DCEFF5;
    --color-graphite: #374151;
    --color-graphite-light: rgba(55, 65, 81, 0.6);
    --color-white: #ffffff;
    --color-gray-bg: #FAFAF9;
    
    --transition-base: all 0.3s ease-in-out;
    --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

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

h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* GLOBAL IMAGE STYLES - Rounded Frame */
img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: 1.5rem; /* Esquinas redondeadas para todas las imagenes */
}

/* -------------------------------------------------------------------------- */
/* UTILITIES                                                                  */
/* -------------------------------------------------------------------------- */
.container {
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-light { font-weight: 300; }
.tracking-widest { letter-spacing: 0.1em; }

.text-lichen { color: var(--color-lichen); }
.text-white { color: white; }

/* Spacing Utilities */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 6rem; }

.pt-24 { padding-top: 6rem; }
.pb-24 { padding-bottom: 6rem; }

/* Effects */
.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1.5rem; /* Ensure glass cards match images */
}

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

/* -------------------------------------------------------------------------- */
/* NAVBAR                                                                     */
/* -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: transparent;
    transition: all 0.5s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo-img {
    height: 3.5rem;
    width: auto;
    border-radius: 0; /* Logos don't typically need the rounded frame */
}

.desktop-menu {
    display: none;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .desktop-menu { display: flex; }
}

.nav-link {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--color-graphite);
}

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

.mobile-menu-btn {
    display: block;
    color: var(--color-graphite);
}

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

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: #ffffff;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
}

.mobile-menu-overlay.open { transform: translateX(0); }

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--color-graphite);
    letter-spacing: 0.1em;
}
.mobile-link.active { color: var(--color-lichen); }

/* -------------------------------------------------------------------------- */
/* HERO & MESH                                                                */
/* -------------------------------------------------------------------------- */
.mesh-bg {
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(196, 49%, 91%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(153, 13%, 60%, 0.2) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(196, 49%, 91%, 1) 0, transparent 50%);
    animation: mistMove 20s ease-in-out infinite alternate;
}

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

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center; /* Centered as requested */
}

/* Product Hero specifics */
.product-hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.product-hero-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .product-hero-container { flex-direction: row; gap: 3rem; }
}

.hero-col-text { width: 100%; }
.hero-col-img { width: 100%; }

@media (min-width: 768px) {
    .hero-col-text { width: 50%; }
    .hero-col-img { width: 50%; }
}

.subtitle-accent {
    color: var(--color-lichen);
    letter-spacing: 0.2em;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}

.hero-content {
    max-width: 60rem; /* Increased width for larger text */
    margin: 0 auto;
}

/* Increased Hero Fonts by ~20% */
.hero-title {
    font-family: var(--font-heading);
    font-weight: 200;
    font-size: 3.6rem; /* Was 3rem */
    line-height: 1.1;
    color: var(--color-graphite);
    margin-bottom: 2rem;
}

@media (min-width: 768px) { .hero-title { font-size: 5.4rem; /* Was 4.5rem */ } }
@media (min-width: 1024px) { .hero-title { font-size: 7.2rem; /* Was 6rem */ } }

.hero-title-lg {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 2.25rem;
    line-height: 1.2;
    color: var(--color-graphite);
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-title-lg { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title-lg { font-size: 3.75rem; } }

.hero-subheading {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: rgba(55, 65, 81, 0.8);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-italic {
    font-weight: 300;
    font-style: italic;
    color: rgba(141, 163, 153, 0.8);
    filter: blur(0.5px);
}

.hero-text {
    font-family: var(--font-body);
    color: var(--color-graphite-light);
    font-size: 1.35rem; /* Increased from 1.125rem */
    max-width: 48rem;
    margin: 0 auto 4rem auto; /* Increased margin-bottom */
    font-weight: 300;
    line-height: 1.8;
}

@media (min-width: 768px) { .hero-text { font-size: 1.5rem; /* Increased from 1.25rem */ } }

.section-desc {
    color: var(--color-graphite-light);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Unified Button Styles */
.btn-primary, .btn-secondary, a.btn-primary, a.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 2rem;
    background-color: var(--color-lichen); /* Same Green for all */
    color: white;
    border-radius: 9999px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(141, 163, 153, 0.2);
    transition: all 0.3s;
    border: none;
    width: auto;
}

.btn-primary:hover, .btn-secondary:hover {
    box-shadow: 0 20px 25px -5px rgba(141, 163, 153, 0.4);
    opacity: 0.95;
    background-color: var(--color-lichen-hover);
}

/* Outline button for variety (used in Thank You page) */
.btn-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 2rem;
    background-color: transparent;
    border: 1px solid rgba(141, 163, 153, 0.3);
    color: var(--color-lichen);
    border-radius: 9999px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    transition: all 0.3s;
    width: fit-content;
}

.btn-outline:hover {
    background-color: rgba(141, 163, 153, 0.05);
    border-color: var(--color-lichen);
}

.btn-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(141, 163, 153, 0.5);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: translate(-50%, 0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

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

.cert-badge {
    font-size: 0.75rem;
    color: rgba(55, 65, 81, 0.4);
    font-weight: 300;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* -------------------------------------------------------------------------- */
/* FEATURES SECTION (Filosofia)                                               */
/* -------------------------------------------------------------------------- */
.section-padding { padding-top: 6rem; padding-bottom: 6rem; }

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

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

.feature-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--color-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-lichen);
    margin-bottom: 1.5rem;
    transition: transform 0.5s;
}

.group:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
    transition: color 0.3s;
}

.feature-text {
    color: var(--color-graphite-light);
    font-weight: 300;
    line-height: 1.6;
    transition: color 0.3s;
}

/* Hover highlight effect for features */
.glass-card:hover .feature-title {
    color: var(--color-lichen);
}
.glass-card:hover .feature-text {
    color: var(--color-graphite);
}

/* -------------------------------------------------------------------------- */
/* TECH SECTION (Split Layout)                                                */
/* -------------------------------------------------------------------------- */
.bg-light-gray { background-color: #FAFAFA; }

.split-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .split-layout { flex-direction: row; }
}

.split-image-col, .split-text-col {
    width: 100%;
}

@media (min-width: 1024px) {
    .split-image-col { width: 50%; }
    .split-text-col { width: 50%; padding-left: 2rem; }
}

/* Enforcing Image Left, Text Right for Tech Section */
.tech-split-layout {
    flex-direction: column;
}
@media (min-width: 1024px) {
    .tech-split-layout { flex-direction: row; }
}

.tech-image-container {
    position: relative;
    border-radius: 1.5rem; /* Rounded corners */
    overflow: hidden;
    height: 600px;
}

.tech-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    pointer-events: none;
}

.tech-card-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: none;
}

.tech-card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.875rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 2.25rem;
    line-height: 1.2;
    color: var(--color-graphite);
    margin-bottom: 2rem;
}

@media (min-width: 1024px) { .section-title { font-size: 3rem; } }

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(55, 65, 81, 0.7);
    font-weight: 300;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: var(--color-o2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-lichen);
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/* GALLERY SECTION (Espacios)                                                 */
/* -------------------------------------------------------------------------- */
.section-title-sm {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 3rem; /* Increased size */
    color: var(--color-graphite);
    margin-bottom: 2rem; /* Increased spacing */
}

.section-desc-center {
    color: rgba(55, 65, 81, 0.5);
    font-weight: 300;
    max-width: 36rem;
    margin: 0 auto 4rem auto; /* Spacing below subtitle */
}

.grid-2-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem; /* Space between columns */
}

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

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Space between images vertically */
}

@media (min-width: 768px) {
    .mt-offset { padding-top: 4rem; }
}

.gallery-item {
    position: relative;
    border-radius: 1.5rem; /* Rounded corners */
    overflow: hidden;
    width: 100%;
}

.aspect-4-3 { aspect-ratio: 4/3; }
.aspect-3-4 { aspect-ratio: 3/4; }

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.5s;
}

.group:hover .gallery-overlay { opacity: 1; }

/* -------------------------------------------------------------------------- */
/* TECHNICAL GRIDS (For Product Page)                                         */
/* -------------------------------------------------------------------------- */
.bg-light { background-color: #F9FAFB; }

.grid-2-tech {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 64rem;
    margin: 0 auto 6rem auto;
}

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

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

.tech-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background-color: rgba(141, 163, 153, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-lichen);
    flex-shrink: 0;
}

.tech-item-title {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* Comparison Section */
.comparison-card {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    background-color: rgba(249, 250, 251, 0.5);
    padding: 2rem;
    border-radius: 3rem;
    border: 1px solid #F3F4F6;
    margin-bottom: 6rem;
}

@media (min-width: 768px) { .comparison-card { padding: 4rem; } }
@media (min-width: 1024px) { .comparison-card { flex-direction: row; } }

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-graphite-light);
}

/* Steps / Layers */
.steps-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}
@media (min-width: 1024px) { .steps-layout { flex-direction: row; } }

.steps-col { width: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
.img-col { width: 100%; }
@media (min-width: 1024px) {
    .steps-col { width: 66%; }
    .img-col { width: 33%; }
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
}

.step-number {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: rgba(141, 163, 153, 0.2);
    transition: color 0.3s;
}
.step-card:hover .step-number { color: var(--color-lichen); }

.step-indent-1 { margin-left: 0; }
.step-indent-2 { margin-left: 0; border-left: 2px solid rgba(141, 163, 153, 0.1); }
.step-indent-3 { margin-left: 0; border-left: 2px solid rgba(141, 163, 153, 0.3); }

@media (min-width: 768px) {
    .step-indent-2 { margin-left: 1.5rem; }
    .step-indent-3 { margin-left: 3rem; }
}

/* -------------------------------------------------------------------------- */
/* APPLICATIONS SECTION                                                       */
/* -------------------------------------------------------------------------- */
.app-row {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

@media (min-width: 1024px) {
    .app-row { flex-direction: row; }
    .app-row.reverse { flex-direction: row-reverse; }
}

.app-img-col {
    width: 100%;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}
.app-text-col { width: 100%; }

@media (min-width: 1024px) {
    .app-img-col, .app-text-col { width: 50%; }
}

.quote-box {
    padding-left: 1rem;
    border-left: 2px solid var(--color-lichen);
    font-style: italic;
    font-size: 0.875rem;
    color: rgba(55, 65, 81, 0.5);
    margin-top: 1rem;
}

/* -------------------------------------------------------------------------- */
/* BLOG & ARTICLE PAGES                                                       */
/* -------------------------------------------------------------------------- */
.blog-main {
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.page-header {
    text-align: center;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 2rem;
    margin-bottom: 4rem;
}
@media (min-width: 768px) { .page-header { text-align: left; } }

.page-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--color-graphite);
    margin-bottom: 1rem;
}
@media (min-width: 768px) { .page-title { font-size: 3rem; } }

.page-desc {
    color: rgba(156, 163, 175, 1);
    font-weight: 300;
    max-width: 36rem;
}

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

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.article-img-wrapper {
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    aspect-ratio: 4/3;
    display: block;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.article-card:hover .article-img { transform: scale(1.05); }

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-cat {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: var(--color-lichen);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-graphite);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    transition: color 0.3s;
}

.article-card:hover .article-title { color: var(--color-lichen); }

.article-excerpt {
    color: rgba(107, 114, 128, 1);
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: var(--color-graphite);
    transition: color 0.3s;
    gap: 0.5rem;
}

.article-link-btn:hover { color: var(--color-lichen); }

/* Article De */
.article-detail-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.breadcrumbs {
    display: flex;
    font-size: 0.875rem;
    color: rgba(55, 65, 81, 0.5);
    font-weight: 300;
    margin-bottom: 2rem;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumbs a:hover { color: var(--color-lichen); }
.breadcrumbs .active { color: var(--color-lichen); }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-tag {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: var(--color-lichen);
    text-transform: uppercase;
}

.meta-time {
    font-size: 0.75rem;
    color: rgba(55, 65, 81, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 300;
}

.article-body {
    max-width: 100%;
    color: rgba(55, 65, 81, 0.7);
    font-weight: 300;
    line-height: 1.75;
    font-size: 1.125rem;
}

.article-body p { margin-bottom: 1.5rem; }
.article-body .lead { font-size: 1.25rem; color: rgba(55, 65, 81, 0.8); margin-bottom: 2rem; font-weight: 400; }
.article-body h2 { font-family: var(--font-heading); color: var(--color-graphite); font-size: 1.5rem; margin-top: 3rem; margin-bottom: 1.5rem; font-weight: 400; }
.article-body ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { font-weight: 700; color: var(--color-graphite); }
.article-body img { border-radius: 1.5rem; box-shadow: var(--shadow-soft); margin-top: 3rem; margin-bottom: 3rem; width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.cta-box-dark {
    margin-top: 4rem;
    background-color: var(--color-graphite);
    color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
}
.cta-box-dark h2 { color: white; margin-top: 0; font-size: 1.5rem; margin-bottom: 1.5rem; }
.cta-box-dark p { color: rgba(255, 255, 255, 0.8); font-style: italic; font-weight: 300; margin-bottom: 2rem; }

.article-highlight-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--color-lichen);
    font-style: italic;
    color: var(--color-graphite);
}

/* -------------------------------------------------------------------------- */
/* CONTACT PAGE                                                               */
/* -------------------------------------------------------------------------- */
.contact-main {
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 6rem;
    position: relative;
    display: flex;
    align-items: center;
}

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

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

.form-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(141, 163, 153, 0.1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) { .form-card { padding: 2.5rem; } }

.gradient-line-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--color-lichen), transparent);
    opacity: 0.5;
}

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

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

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

.form-label {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: rgba(55, 65, 81, 0.6);
    text-transform: uppercase;
}

.form-input, .form-textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--color-graphite);
    transition: all 0.3s;
    font-family: inherit;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(55, 65, 81, 0.3);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    background-color: white;
    border-color: var(--color-lichen);
    box-shadow: 0 0 0 4px rgba(141, 163, 153, 0.1);
}

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

.form-trust {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.625rem;
    color: rgba(55, 65, 81, 0.4);
    font-weight: 300;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-lichen);
    color: white;
    border-radius: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(141, 163, 153, 0.2);
}

/* -------------------------------------------------------------------------- */
/* LEGAL PAGES (Privacy, Cookies)                                             */
/* -------------------------------------------------------------------------- */
.legal-main {
    padding-top: 8rem;
    padding-bottom: 5rem;
    position: relative;
    min-height: 100vh;
}

.legal-card {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    max-width: 56rem; /* 4xl */
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) { .legal-card { padding: 4rem; } }

.legal-h1 {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 1.875rem; /* 3xl */
    color: var(--color-graphite);
    margin-bottom: 2rem;
}

@media (min-width: 768px) { .legal-h1 { font-size: 2.25rem; } }

.legal-body {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(75, 85, 99, 1); /* gray-600 */
    font-weight: 300;
    text-align: justify;
}

.legal-body section {
    margin-bottom: 2rem;
}

.legal-h2 {
    font-family: var(--font-heading);
    font-size: 1.125rem; /* lg */
    color: var(--color-graphite);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.legal-body p { margin-bottom: 0.75rem; }

.legal-body ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-body strong { font-weight: 700; color: var(--color-graphite); }

.legal-info-box {
    margin-top: 3rem;
    border-top: 1px solid #F3F4F6;
    padding-top: 2rem;
}

.legal-info-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: #D1D5DB; /* gray-300 */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.legal-info-text {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #D1D5DB; /* gray-300 */
    font-weight: 300;
    text-align: justify;
}

.legal-info-text a {
    text-decoration: underline;
    text-decoration-color: rgba(229, 231, 235, 0.5);
    transition: color 0.3s;
}

.legal-info-text a:hover { color: #9CA3AF; /* gray-400 */ }

/* Cookiebot Specific Overrides */
#CookieDeclaration {
    margin-top: 2rem;
    font-family: var(--font-body) !important;
}

.CookieDeclarationTypeHeader {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-graphite);
}

/* -------------------------------------------------------------------------- */
/* THANK YOU PAGE                                                             */
/* -------------------------------------------------------------------------- */
.thank-you-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 6rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.thank-you-card {
    max-width: 42rem;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 1.5rem;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 25px -5px rgba(141, 163, 153, 0.1);
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
}

@media (min-width: 768px) { .thank-you-card { padding: 4rem; } }

.icon-circle-lg {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgba(141, 163, 153, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    color: var(--color-lichen);
}

.buttons-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

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

/* -------------------------------------------------------------------------- */
/* FOOTER & STICKY ELEMENTS                                                  */
/* -------------------------------------------------------------------------- */
.footer {
    background-color: var(--color-mist);
    padding-top: 6rem;
    padding-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.footer-simple {
    background-color: white;
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-top: 1px solid #F3F4F6;
}

.footer-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-color: var(--color-o2);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    pointer-events: none;
}

.footer-bottom {
    border-top: 1px solid rgba(55, 65, 81, 0.1);
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    color: rgba(55, 65, 81, 0.5);
    justify-content: flex-end;
}
.footer-links a:hover { color: var(--color-lichen); }

.footer-copy {
    color: rgba(55, 65, 81, 0.4);
    font-size: 0.75rem;
    font-weight: 300;
    text-align: right;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    z-index: 50;
    padding: 1rem;
    border-radius: 50%;
    color: var(--color-graphite);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(2.5rem);
    pointer-events: none;
    transition: all 0.5s;
    background-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) { .back-to-top { bottom: 2rem; } }

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--color-lichen);
    color: white;
}

/* Mobile Sticky CTA */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid #F3F4F6;
    padding: 1rem;
    z-index: 50;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    animation: slideUp 0.5s ease-out forwards;
}

@media (min-width: 768px) { .sticky-mobile-cta { display: none; } }

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--color-lichen);
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Mist Orbs (Generic) */
.mist-orb {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.mist-top-left {
    top: 25%;
    left: 25%;
    background-color: var(--color-o2);
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.mist-bottom-right {
    bottom: 25%;
    right: 25%;
    background-color: var(--color-mist);
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.5; }
}

/* Icons sizing utilities */
.icon-xs { width: 12px; height: 12px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 40px; height: 40px; }

/* Añadir estas reglas a tu archivo styles.css existente 
   para manejar los nuevos elementos de formulario y selects.
*/

/* Etiquetas opcionales */
.opt-tag {
    opacity: 0.5;
    font-size: 0.85em;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
}

/* Contenedor para el icono del select */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Reset de apariencia para Selects */
.select-custom {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 2.5rem !important; /* Espacio para el icono */
}

/* Icono del select */
.select-arrow {
    position: absolute;
    right: 1rem;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    color: var(--color-lichen);
    opacity: 0.6;
}

/* Ajustes de espaciado para el formulario más largo */
.form-group {
    margin-bottom: 1.25rem;
}

.form-card {
    padding: 2rem;
}

@media (min-width: 768px) {
    .form-card {
        padding: 3rem;
    }
}

/* Estilo para los options del select */
.select-custom option {
    background-color: white;
    color: var(--color-graphite);
    padding: 10px;
}

/* Efecto de foco mejorado para accesibilidad */
.form-input:focus + .select-arrow {
    opacity: 1;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Reducción de altura textarea para que el form sea más compacto */
.form-textarea {
    min-height: 100px;
}

/* NUEVA CLASE PARA EL AVISO LEGAL (GDPR) */
.legal-notice-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(243, 244, 246, 0.6); /* Gris muy suave */
    border: 1px solid rgba(229, 231, 235, 1);
    border-radius: 0.75rem;
    font-size: 0.7rem;
    color: rgba(107, 114, 128, 1); /* Gris medio */
    line-height: 1.5;
    text-align: justify;
}

/* ESTILOS GLOBALES PARA CHECKBOX (GDPR) */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.custom-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--color-lichen);
    border-radius: 0.25rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

/* Estado marcado */
.checkbox-input:checked + .custom-checkbox {
    background-color: var(--color-lichen);
}

.checkbox-input:checked + .custom-checkbox::after {
    content: "✓";
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Ocultar input nativo pero mantener accesibilidad */
.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}