/* 
   Paleta de culori: burgundy-amber
   Primary: #A93226 (Burgundy)
   Secondary: #2C3E50 (Dark Slate Blue)
   Accent: #F0A55A (Amber)
   Bg Tint: #FDF4F0 (Light tint used for contrast elements)
   Style: bold-editorial (huge H1, high contrast, dark mode dominant)
   Border style: pill (rounded corners 36px, buttons 50px)
   Shadow style: subtle
*/

:root {
    --color-primary: #A93226;
    --color-secondary: #2C3E50;
    --color-accent: #F0A55A;
    --bg-tint: #FDF4F0;
    --bg-dark: #121212;
    --bg-card: #1C1C1C;
    --text-light: #F5F5F5;
    --text-muted: #B3B3B3;
    --border-pill-card: 36px;
    --border-pill-btn: 50px;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles & Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.65;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-light);
}

p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-muted);
    font-size: clamp(15px, 2.5vw, 17px);
    margin-bottom: 1.2rem;
}

/* Containers & Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.text-center {
    text-align: center;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--text-light);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: var(--border-pill-btn);
    min-height: 48px;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--bg-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-block {
    display: width;
    width: 100%;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo - always left */
.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-light);
    text-decoration: none;
    z-index: 100;
    letter-spacing: -1px;
}

/* Hamburger - ALWAYS RIGHT */
.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    margin: 5px 0;
    transition: 0.3s;
    background-color: var(--text-light);
}

.menu-checkbox {
    display: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--bg-dark);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: bold;
}

/* HERO: GRADIENT CENTER */
.hero-gradient-center {
    position: relative;
    padding: clamp(100px, 15vw, 180px) 0 clamp(80px, 12vw, 140px) 0;
    background: radial-gradient(circle at center, var(--color-secondary) 0%, var(--bg-dark) 70%);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-inner {
    max-width: 900px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 8px 20px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 84px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 22px);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* BENEFITS SECTION (3 COLUMNS) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-pill-card);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* STATS BAR */
.stats-bar-section {
    background-color: var(--color-secondary);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

/* SPLIT SECTION */
.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.split-image-wrapper {
    position: relative;
    border-radius: var(--border-pill-card);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.split-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.split-content {
    padding-left: 0;
}

.styled-list {
    list-style: none;
    margin-top: 30px;
}

.styled-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
}

.styled-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 18px;
}

/* NUMBERED STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.step-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-pill-card);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    display: block;
    margin-bottom: 15px;
    opacity: 0.8;
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* ICON FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-pill-card);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

/* SUBPAGE HERO */
.subpage-hero {
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--bg-dark) 100%);
    padding: 80px 0 40px 0;
}

.subpage-title {
    font-size: clamp(36px, 6vw, 64px);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.subpage-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* HORIZONTAL TABS LAYOUT */
.tabs {
    display: flex;
    flex-direction: column;
}

input[name="tabs"] {
    display: none;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.tabs-nav label {
    padding: 14px 28px;
    background-color: var(--bg-card);
    color: var(--text-light);
    border-radius: var(--border-pill-btn);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 14px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tabs-nav label:hover {
    background-color: var(--color-primary);
}

/* Tab Panel Selection Logic */
.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

#t1:checked ~ .tabs-nav label[for="t1"],
#t2:checked ~ .tabs-nav label[for="t2"],
#t3:checked ~ .tabs-nav label[for="t3"],
#t4:checked ~ .tabs-nav label[for="t4"] {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

#t1:checked ~ #p1,
#t2:checked ~ #p2,
#t3:checked ~ #p3,
#t4:checked ~ #p4 {
    display: block;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.tab-text {
    padding: 20px 0;
}

.tab-text h3 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 20px;
}

.tab-image {
    border-radius: var(--border-pill-card);
    overflow: hidden;
}

.tab-img-element {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ SECTION */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-pill-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--color-accent);
}

/* VALUES GRID (MISSION PAGE) */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-pill-card);
    border-left: 4px solid var(--color-primary);
}

.value-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-accent);
    display: block;
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* TRANSFORMATION STORY */
.story-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.story-visual {
    border-radius: var(--border-pill-card);
    overflow: hidden;
}

.story-img {
    width: 100%;
    height: auto;
    display: block;
}

/* MANIFESTO SECTION */
.manifesto-section {
    background-color: var(--color-primary);
    padding: 80px 0;
    border-radius: var(--border-pill-card);
    margin: 40px 24px;
}

.manifesto-title {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 20px;
    color: var(--text-light);
}

.manifesto-text {
    font-size: clamp(18px, 3vw, 24px);
    font-style: italic;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-info {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-pill-card);
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.info-card {
    margin: 30px 0;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.info-item p, .info-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.working-hours {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.working-hours h4 {
    margin-bottom: 10px;
}

/* CONTACT FORM */
.contact-form-wrapper {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-pill-card);
}

.contact-form-wrapper h3 {
    font-size: 28px;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    color: var(--text-light);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.08);
}

/* LEGAL PAGES */
.legal-section {
    padding: 80px 0;
}

.legal-title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 10px;
}

.legal-meta {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--color-accent);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 24px;
    margin: 30px 0 15px 0;
}

.legal-content p {
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* THANK YOU PAGE */
.thank-you-section {
    padding: 100px 0;
}

.thank-icon {
    font-size: 80px;
    display: block;
    margin-bottom: 30px;
}

.thank-title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
}

.thank-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.thank-steps {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-pill-card);
    max-width: 600px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.thank-steps h3 {
    margin-bottom: 20px;
    text-align: center;
}

.thank-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.thank-step-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.thank-step-item span {
    background-color: var(--color-primary);
    color: var(--text-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.thank-step-item p {
    margin: 0;
}

.thank-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Footer Layout */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: var(--text-light) !important;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 15px;
}

.site-footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-accent) !important;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer li {
    margin-bottom: 12px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.site-footer a:hover {
    color: var(--color-accent) !important;
}

.footer-contact p {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding: 24px 24px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background-color: var(--bg-card);
    border-top: 2px solid var(--color-primary);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-pill-btn);
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cookie-btn-accept:hover {
    background-color: var(--color-accent);
    color: var(--bg-dark);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: var(--border-pill-btn);
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive Media Queries (Mobile-First) */

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (min-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .split-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-content {
        padding-left: 30px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-content-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-layout {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .contact-grid {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}