/* CSS Reset & Variables */
:root {
    --bg-color: #ffffff;
    --text-main: #000000;
    --text-muted: #4a4a4a;
    --border-color: #e0e0e0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Left Sidebar */
.vertical-sidebar {
    width: 80px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    position: fixed;
    height: 100vh;
    background: #fff;
    z-index: 100;
}

.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    color: var(--text-main);
    margin-top: auto;
    margin-bottom: auto;
    font-weight: 400;
}

.vertical-text strong {
    font-weight: 700;
}

.linkedin-link {
    font-size: 1.8rem;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.linkedin-link:hover {
    transform: scale(1.1);
}

/* Main Content Area */
.main-content {
    margin-left: 80px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 60px 12%;
    position: relative;
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: center; /* Centrado en el mockup original */
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

/* Header para páginas interiores (Logo pequeño a la izquierda, menú centrado/derecha) */
.inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

/* Brand Logo Header */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 0.9;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-separator {
    width: 1px;
    height: 35px;
    background-color: var(--text-main);
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.6rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.inner-header .top-nav {
    margin-bottom: 0;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.top-nav li {
    font-family: var(--font-body);
    font-weight: 400; /* Regular inactivo */
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: lowercase;
}

.top-nav li.active {
    font-weight: 700; /* Bold activo */
}

.top-nav li a {
    transition: color 0.3s ease;
}

.top-nav li:not(.active) a:hover {
    color: var(--text-muted);
}

.top-nav li .dot {
    display: none;
    width: 6px;
    height: 6px;
    background-color: var(--text-main);
    border-radius: 50%;
    margin-top: 5px;
}

.top-nav li.active .dot {
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.origami-bg {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 800px;
    z-index: 0;
    opacity: 0.95;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.origami-bg img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.brand-title {
    margin-bottom: 40px;
}

.lopez {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -2px;
}

.silva-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 5px;
}

.silva {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -2px;
}

.divider {
    width: 2px;
    height: 70px;
    background-color: var(--text-main);
}

.subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    line-height: 1.4;
}

.tagline {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 40px;
    margin-left: 5px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn {
    font-family: 'Courier New', Courier, monospace; /* To mimic the slightly jagged font in the mockup */
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: lowercase;
}

.btn-solid {
    background-color: var(--text-main);
    color: var(--bg-color);
    border: 2px solid var(--text-main);
}

.btn-solid:hover {
    background-color: transparent;
    color: var(--text-main);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-color);
}

.scroll-arrow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* Pillars Section */
.pillars-section {
    margin-top: 120px;
    padding-bottom: 100px;
}

.section-header {
    margin-bottom: 50px;
}

.overline {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.section-header h2 {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

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

.pillar-card {
    background-color: var(--bg-color);
    border: 1px solid var(--text-main);
    border-left: 6px solid var(--text-main); /* Diseño brutalista exacto al mockup */
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.05);
}

.pillar-card h3 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .lopez, .silva { font-size: 6rem; }
    .origami-bg { width: 600px; right: -50px; }
}

/* Utilities */
.mt-40 { margin-top: 40px; }
.mt-100 { margin-top: 100px; }
.w-100 { width: 100%; }
.center { text-align: center; }

.content-block {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.two-columns.align-center {
    align-items: center;
}

.two-columns.reverse .col-text {
    order: 2;
}

.two-columns.reverse .col-img {
    order: 1;
}

.paper-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(10px 20px 30px rgba(0,0,0,0.05));
}

/* Accordion (Servicios) */
.accordion {
    margin-top: 40px;
}

.acc-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    cursor: pointer;
}

.acc-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: color 0.3s;
}

.acc-title span {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding-left: 35px;
}

.acc-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.acc-item.open .acc-title {
    color: var(--text-muted);
}

.acc-item.open .acc-content {
    max-height: 200px;
    padding-top: 20px;
    padding-bottom: 10px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    border: 1px solid var(--text-main);
    padding: 40px;
    background: #fff;
    transition: transform 0.3s;
}

.pricing-card.highlighted {
    background: var(--text-main);
    color: #fff;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.highlighted:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-header h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 30px;
}

.price small {
    font-size: 1rem;
    font-weight: 400;
}

.features {
    list-style: none;
}

.features li {
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-bottom: 1px dotted var(--border-color);
    padding-bottom: 10px;
}

.pricing-card.highlighted .features li {
    border-color: rgba(255,255,255,0.2);
}

/* Timeline (Proceso) */
.timeline {
    margin-top: 40px;
    border-left: 2px solid var(--text-main);
    padding-left: 30px;
}

.tl-item {
    position: relative;
    margin-bottom: 30px;
}

.tl-dot {
    position: absolute;
    left: -46px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--bg-color);
    border: 2px solid var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.8rem;
}

.tl-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ & Forms */
.faq-item {
    margin-bottom: 30px;
}

.faq-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

.form-container {
    background: #fafafa;
    border: 1px solid var(--border-color);
    padding: 50px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--text-main);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

/* Responsive Update */
/* =========================================
   SERVICIOS: TABS Y TABLAS
   ========================================= */

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 0;
    margin-bottom: 0;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #999;
    padding: 15px 30px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px; /* Pull down to overlap the border */
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    color: var(--text-main);
    border-bottom: 3px solid var(--text-main);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

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

.tab-header {
    margin-bottom: 30px;
}

.tab-header h3 {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.foco-text {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Services List inside Tabs */
.services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.services-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.services-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-main);
    font-size: 1.5rem;
    line-height: 1.2;
}

.services-list li strong {
    color: var(--text-main);
    display: block;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.services-list.thin {
    display: block;
}

.services-list.thin li {
    margin-bottom: 20px;
}

/* Advisory Units Layout */
.two-columns-advisory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.advisory-card {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 50px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advisory-card:first-child {
    background-color: #fff;
}

.advisory-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.advisory-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.advisory-sub {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 20px;
}

/* Minimalist Pricing Table */
.pricing-table-wrapper {
    overflow-x: auto;
}

.minimal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.minimal-table th, .minimal-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
    font-size: 0.95rem;
}

.minimal-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 2px solid var(--text-main);
}

.minimal-table td:last-child, .minimal-table th:last-child {
    text-align: right;
    font-weight: 600;
}

.main-pricing-table th, .main-pricing-table td {
    border: 1px solid #eaeaea;
    vertical-align: top;
}

.main-pricing-table th {
    background-color: #fafafa;
    border-bottom: 2px solid var(--text-main);
    text-align: left !important;
}

.main-pricing-table td:last-child, .main-pricing-table th:last-child {
    text-align: left;
}

.price-cell {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}

.highlight-row {
    background-color: #fafafa;
}

/* Expandable Table Rows */
.expandable-row .row-title {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
}

.expandable-row .row-title i {
    transition: transform 0.3s ease;
    color: #ccc;
    font-size: 1rem;
}

.expandable-row.active .row-title i {
    transform: rotate(180deg);
    color: var(--text-main);
}

.expandable-row .row-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.expandable-row.active .row-details {
    max-height: 500px;
    padding-top: 15px;
}

.row-details ul {
    list-style: none;
    margin-top: 10px;
}

.row-details ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}

.row-details ul li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--text-main);
    font-size: 0.6rem;
    top: 2px;
}


.ethical-alert {
    background-color: #e6f0fa;
    border-left: 4px solid #3b82f6;
    padding: 20px 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ethical-alert i {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-top: -3px;
}

/* Media Queries update for tabs */
@media (max-width: 900px) {
    .services-list { grid-template-columns: 1fr; }
    .tabs-nav { flex-direction: column; border-bottom: none; gap: 5px; }
    .tab-btn { border-bottom: none; border-left: 3px solid transparent; text-align: left; padding: 10px 20px; margin-bottom: 0; background: #fafafa; }
    .tab-btn.active { border-left: 3px solid var(--text-main); border-bottom: none; background: #f0f0f0; }
    .two-columns-advisory { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
    .two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .two-columns.reverse .col-text { order: 1; }
    .two-columns.reverse .col-img { order: 2; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.highlighted { transform: none; }
    .pricing-card.highlighted:hover { transform: translateY(-5px); }
    .top-nav ul { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

/* =========================================
   HOME: 5 BLOQUES (Variedad Visual)
   ========================================= */

/* Utilidades adicionales */
.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.text-muted { color: var(--text-muted); }

.border-overline {
    display: inline-block;
    border: 1px solid var(--text-main);
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.simple-overline {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.text-intro {
    max-width: 900px;
}

.text-intro h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-intro p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Block 1 & 3: Grey Cards */
.grey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grey-card {
    background-color: #f4f4f4; /* Subtono gris papel */
    padding: 40px;
    transition: background-color 0.3s;
}

.grey-card:hover {
    background-color: #ebebeb;
}

.grey-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

/* Block 2: Brutalist Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar-card.thick-left {
    border-left: 6px solid var(--text-main);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #fff;
}

/* Block 3: Asymmetric Deck Grid */
.deck-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.deck-grid .full-width {
    grid-column: 1 / -1;
    background-color: #eaeaea; /* Ligeramente más oscuro para diferenciar */
}

.quote-box {
    margin-top: 60px;
    padding: 40px;
    border-left: 4px solid var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-main);
    background-color: transparent;
}

/* Block 4: Numbers & Pagoda */
.two-columns-numbers {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.numbers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.number-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.number-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.number-item .num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--text-main);
}

.full-width-center {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

/* Block 5: Icon Cards */
.icon-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.icon-card {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 40px;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--text-main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

/* Sub-tabs Navigation (Segmented Control Style) */
.sub-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    padding: 4px;
    background: #f2f2f2;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid #eee;
}

.sub-tab-btn {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #777;
    padding: 12px 30px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-tab-btn i {
    font-size: 0.9rem;
    margin-right: 8px;
    color: inherit;
    display: inline-block !important; /* Asegurar que se vea el icono */
}

.sub-tab-btn.active {
    background: #fff;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sub-tab-btn:hover:not(.active) {
    color: var(--text-main);
    background: rgba(255,255,255,0.5);
}

.pricing-manifesto {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 850px;
    border-left: 3px solid var(--text-main);
    padding-left: 25px;
}

/* Form Styling */
.form-container {
    background: #fff;
    padding: 0;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 0; /* Brutalist sharp corners */
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-main);
    background-color: #fff;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 16L6 10H18L12 16Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.radio-item input {
    width: auto;
    cursor: pointer;
}

.conditional-group {
    display: none; /* Hidden by default */
}

.conditional-group.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

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

/* Process Grid (Brutalist Table Style) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #ddd;
}

.process-step {
    padding: 40px;
    border: 1px solid #ddd;
    margin: -1px; /* Overlap borders for single-line look */
    display: flex;
    flex-direction: column;
}

.process-step.full-width {
    grid-column: span 3;
}

.step-num {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
    display: block;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.process-step p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .process-grid { grid-template-columns: 1fr; }
    .process-step.full-width { grid-column: span 1; }
}

/* FAQ Accordion Styling - Enhanced */
.faq-accordion {
    border: none;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 0 solid var(--text-main);
}

.faq-item:hover {
    border-color: #ddd;
    transform: translateX(5px);
}

.faq-item.active {
    background: #fff;
    border-color: #eee;
    border-left: 5px solid var(--text-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateX(0);
}

.faq-question {
    padding: 22px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.4;
}

.faq-question i {
    font-size: 1.2rem;
    color: #bbb;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-question i {
    color: var(--text-main);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 25px;
}

.faq-answer p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

/* Service Cards Grid */
.service-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--text-main);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 20px;
    display: block;
}

.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-right: 30px;
}

.service-card .expand-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.2rem;
    color: #ccc;
    transition: transform 0.3s ease;
}

.service-card.active .expand-icon {
    transform: rotate(45deg);
}

.service-card .short-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.service-card .detailed-desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin-top 0.5s ease;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid transparent;
}

.service-card.active .detailed-desc {
    max-height: 1000px; /* Arbitrary large height */
    margin-top: 20px;
    padding-top: 20px;
    border-top-color: #eee;
}

.sub-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.sub-content.active {
    display: block;
}

/* Media Query Updates */
@media (max-width: 768px) {
    .service-card-grid { grid-template-columns: 1fr; }
    .sub-tabs { width: 100%; justify-content: center; }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .two-columns-numbers { grid-template-columns: 1fr; }
    .two-columns-numbers .col-right { order: -1; text-align: center; }
    .grey-grid, .pillars-grid, .deck-grid, .icon-cards-grid { grid-template-columns: 1fr 1fr; }
    .deck-grid .full-width { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .grey-grid, .pillars-grid, .deck-grid, .icon-cards-grid, .numbers-grid { grid-template-columns: 1fr; }
    .two-columns { grid-template-columns: 1fr; }
    .number-item .num { font-size: 3rem; }
}

/* =========================================
   RESPONSIVE DESIGN SYSTEM (2026 UPDATE)
   ========================================= */

/* Mobile Menu Toggle (Hidden by default) */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 2000;
    background: var(--text-main);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
    /* Layout transformation */
    .layout-wrapper {
        flex-direction: column;
    }

    .vertical-sidebar {
        display: none; /* Hide sidebar on mobile/tablet */
    }

    .main-content {
        margin-left: 0;
        padding: 40px 5%;
    }

    /* Inner Header Adjustments */
    .inner-header {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding-bottom: 40px;
    }

    .top-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .brand-logo {
        flex-direction: column;
        gap: 10px;
    }

    .logo-separator {
        width: 40px;
        height: 2px;
    }

    /* Typography Scaling */
    .lopez, .silva {
        font-size: 5rem;
    }

    .lopez-silva-title {
        font-size: 3rem;
    }

    /* Grid Adjustments */
    .two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Helper for swapping order on mobile */
    .two-columns.mobile-reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .grey-grid, .pillars-grid, .deck-grid, .icon-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 30px 6%;
    }

    /* Hero adjustments */
    .lopez, .silva {
        font-size: 3.5rem;
    }

    .silva-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .divider {
        display: none;
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .top-nav {
        display: none; /* We'll use a full-screen overlay for mobile menu if needed, or just wrap it */
    }
    
    .top-nav.mobile-active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 1500;
        padding-top: 100px;
    }

    .top-nav.mobile-active ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .top-nav.mobile-active ul li a {
        font-size: 1.5rem;
    }

    /* Grid to 1 column */
    .grey-grid, .pillars-grid, .deck-grid, .icon-cards-grid, .numbers-grid, .service-card-grid {
        grid-template-columns: 1fr;
    }

    /* Specific component adjustments */
    .inner-header {
        padding-top: 20px;
    }

    .text-intro h2 {
        font-size: 2rem !important;
    }

    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-footer {
        padding: 60px 8% 40px 8%;
    }

    /* Partners Form specific */
    .col-form {
        width: 100%;
    }
    
    .col-sidebar {
        padding-left: 0 !important;
        margin-top: 40px;
    }

    /* Spacing */
    .mt-120 { margin-top: 60px; }
    .mb-120 { margin-bottom: 60px; }
    .mt-80 { margin-top: 40px; }
}

@media (max-width: 480px) {
    .lopez, .silva {
        font-size: 2.8rem;
    }

    .brand-logo .logo-main {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
    
    .cta-group {
        flex-direction: column;
    }

    .cta-group {
        flex-direction: column;
    }
}
.main-footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 100px 12% 40px 12%;
    font-family: var(--font-main);
    margin-top: 60px;
}

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

.footer-brand .logo-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 15px;
}

.footer-brand .logo-tagline {
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    color: #999;
    text-transform: uppercase;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--text-main);
    font-weight: 700;
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #777;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--text-main);
}

.footer-social a {
    font-size: 1.8rem;
    color: #777;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    color: #0077b5; /* LinkedIn Color */
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aaa;
    font-size: 0.85rem;
}

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

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    z-index: 5000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-content {
    max-width: 800px;
}

.cookie-content p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-main);
    margin: 0;
}

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

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 12px 25px;
    font-size: 0.75rem;
    text-transform: lowercase;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--text-main);
    transition: all 0.3s;
}

.btn-accept {
    background: var(--text-main);
    color: #fff;
}

.btn-decline {
    background: transparent;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        padding: 20px;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
    }
}
