/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
    /* Colors */
    --color-bg-dark: #0F172A;
    /* Deep Navy */
    --color-bg-darker: #020617;
    /* Darker Navy/Black */
    --color-bg-light: #FAFAF9;
    /* Warm Off-white */
    --color-bg-white: #FFFFFF;

    --color-primary: #D4AF37;
    /* Gold */
    --color-primary-hover: #C5A059;

    --color-text-main: #1C1917;
    /* Warm Black */
    --color-text-light: #57534E;
    /* Warm Gray */
    --color-text-white: #F1F5F9;

    --color-border: #E5E5E5;
    --color-border-hairline: rgba(0, 0, 0, 0.08);
    --color-border-hairline-light: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Refined Buttons */
/* Refined Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    /* Matched to reference (slightly rounded) */
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #FFFFFF;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: #b08d45;
    color: #FFFFFF;
    transform: translateY(-2px);
}

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

.btn-outline-gold:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Subtle white border */
    color: #FFFFFF;
}

.btn-outline-white:hover {
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

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

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    /* Regular weight for elegance */
    margin-bottom: 1.5rem;
    color: var(--color-bg-dark);
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 650px;
    margin-bottom: 4rem;
    line-height: 1.7;
}

/* Header */
header {
    background-color: #FFFFFF;
    /* White background */
    height: 100px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #E5E7EB;
    /* Light border */
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    /* Dark logo */
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: left;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: #4B5563;
    /* Dark gray nav links */
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Specific Header Button (Smaller) */
.header-btn {
    padding: 10px 20px !important;
    /* Smaller padding */
    font-size: 0.85rem !important;
    /* Smaller font */
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    /* Prevent wrapping */
    line-height: 1.2;
    height: auto;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

/* Subtle background accent */
.hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(15, 23, 42, 0) 70%);
    pointer-events: none;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--color-text-white);
    letter-spacing: -1px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: #94A3B8;
    margin-bottom: 3.5rem;
    font-weight: 300;
    max-width: 750px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    /* Centered buttons */
    flex-wrap: wrap;
}

.link-trust {
    margin-top: 40px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
}

/* Section General */
section {
    padding: 100px 0;
}

/* Section 1: Tese (3 Pillars) */
.tese-section {
    background-color: var(--color-bg-white);
    text-align: center;
}

.tese-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    text-align: left;
    /* Editorial look */
}

.tese-item {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid var(--color-primary);
    /* Minimalist line */
}

.tese-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-bg-dark);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.tese-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Section: Deliverables (High End Gold) */
.deliverables-section {
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.deliverables-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
    column-gap: 40px;
}

.deliverable-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.del-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.del-title {
    font-weight: 600;
    color: var(--color-bg-dark);
    font-size: 1.1rem;
}

.del-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Trust Signals Section */
.trust-signals-section {
    background-color: #F9FAFB;
    padding: 100px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.trust-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background-color: #FEF3C7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.trust-icon svg {
    width: 28px;
    height: 28px;
}

.trust-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .tese-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tese-item {
        border-top: none;
        border-left: 3px solid var(--color-primary);
        padding-top: 0;
        padding-left: 20px;
        text-align: left;
    }

    .deliverables-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Mobile Responsive Enhancements merged below */

/* Section 2: Solutions (Light Theme Reference) */
.solutions-section {
    padding: 100px 0;
    background-color: #F9FAFB;
    /* Light gray background */
}

/* Fix for Contrast: Ensure titles/subtitles are dark on this light background */
.solutions-section .section-title {
    color: #111827;
}

.solutions-section .section-subtitle {
    color: #4B5563;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Enforce 3 columns */
    gap: 30px;
    margin-top: 80px;
}

.solution-block {
    background-color: #FFFFFF;
    padding: 50px 40px;
    border-top: 4px solid var(--color-primary);
    /* Gold Top Border */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.solution-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.solution-block h3 {
    font-family: 'Playfair Display', serif;
    /* Serif for title */
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 20px;
}

.sol-desc {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

/* Section 4: Ritual (Methodology) - Light Theme Center Icons */
.methodology-section {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.ritual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}


.ritual-item {
    text-align: center;
    padding: 50px 35px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.ritual-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.ritual-step {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    background-color: #FEF3C7;
    /* Light gold bg */
    color: var(--color-primary);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ritual-title {
    font-size: 1.35rem;
    color: #111827;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.ritual-desc {
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .ritual-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ritual-item {
        border-left: 3px solid var(--color-primary);
        border-top: none;
        text-align: left;
    }

    .ritual-step {
        margin-bottom: 15px;
    }
}

/* Section 5: Sectors (Matching Methodology Style) */
.sectors-section {
    padding: 100px 0;
    background-color: #F3F4F6;
}

.sectors-section .section-title {
    color: #111827;
    margin-bottom: 60px;
    text-align: center;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sector-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    transition: all 0.3s ease;
    min-height: 160px;
    text-align: center;
}

.sector-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
}

.sector-icon {
    width: 48px !important;
    height: 48px !important;
    background-color: #FEF3C7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.sector-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.sector-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sectors-grid {
        grid-template-columns: 1fr;
    }
}

/* Section 6: Plans (High End) */
.plans-section {
    background-color: #0F172A;
    /* Dark bg for Plans */
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.plan-card {
    border: 1px solid rgba(212, 175, 55, 0.2);
    /* Gold Hairline */
    padding: 50px 40px;
    border-radius: 0;
    /* Sharp */
    background-color: rgba(2, 6, 23, 0.4);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: var(--color-primary);
    background-color: rgba(2, 6, 23, 0.8);
}

.plan-name {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-text-white);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.plan-ideal {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35px;
    font-style: italic;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 300;
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    /* Gold Dot */
}

.plan-card.recommended {
    border: 1px solid var(--color-primary);
    background-color: rgba(212, 175, 55, 0.05);
}

.plan-card.recommended::before {
    display: none;
    /* Remove "Recomendado" badge causing layout issues, use border instead */
}

.microcopy {
    text-align: center;
    margin-top: 60px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

/* Section 7: FAQ */
.faq-section {
    background-color: var(--color-bg-white);
}

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

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-bg-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Playfair Display', serif;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-text {
    padding-bottom: 20px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Section 8: Contact & Footer */
.contact-section {
    background-color: var(--color-bg-white);
    padding: 100px 0;
}

.contact-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.footer {
    background-color: var(--color-bg-darker);
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Responsive & Mobile First Adjustments --- */
/* Target Grid */
.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.target-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.target-icon {
    color: var(--color-primary);
    font-size: 1.5rem;
    line-height: 1;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-bg-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}
.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
    .deliverables-list {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 350px;
        white-space: normal;
        text-align: center;
        padding: 12px 15px;
    }
    .target-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Header and Nav */
    header .container {
        padding: 0 20px;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: #FFFFFF;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin-bottom: 20px;
    }
    .nav-link {
        font-size: 1.1rem;
    }
    .header-btn {
        display: none;
    }
    
    /* Layout Adjustments */
    .hero {
        padding-top: calc(100px + 40px); /* header height + padding */
        padding-bottom: 60px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-subheadline {
        font-size: 1rem;
    }
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    .tese-grid, .trust-grid, .solutions-grid, .ritual-grid, .plans-grid, .sectors-grid {
        grid-template-columns: 1fr;
    }
    .socios-layout {
        flex-direction: column;
        text-align: center;
    }
    .socios-layout .section-subtitle {
        text-align: center !important;
    }
    .socios-image {
        max-width: 100%;
    }
    .contact-box .btn {
        width: 100%;
        white-space: normal;
        padding: 12px 15px;
    }
    .contact-box > div {
        flex-direction: column;
    }
    .deliverables-grid {
        gap: 40px;
    }
}