:root {
    --navy: #0b1c2d;
    --dark: #06101a;
    --gold: #b89241;
    --gold-light: #d4af5f;
    --parchment: #f8f6f1;
    --cream: #f1ede4;
    --text: #1a232e;
    --muted: #4e5968;
    --line: #d5dce3;
    --white: #ffffff;
    --max: 1400px;
}

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

html {
    scroll-behavior: smooth;
}

/* 1. Ensure root spans 100% width with no horizontal scroll gaps */
html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
p, span, a, li, button, small, strong {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, .section-title, .brand-text {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 400;
    color: var(--dark);
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
    display: block;
}

/* 2. Container strictly handles INNER content alignment now */
.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2.1rem, 3.8vw, 3rem);
    line-height: 1.15;
    color: var(--dark);
}

.section-copy {
    color: var(--muted);
    max-width: 720px;
    font-size: 1.05rem;
    margin-top: 1rem;
    font-family: Georgia, serif;
    font-style: italic;
}

/* 3. Outer Sections extend 100% full-width */
.topbar, .header, .page-banner, .hero, .audience, 
.services, .about, .insights, .principles-section, 
.contact, .footer {
    width: 100%;
}

/* Page Header / Banner */
.page-banner {
    background: var(--navy);
    color: var(--white);
    padding: 5rem 0 4rem;
    border-bottom: 4px solid var(--gold);
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    margin-bottom: 0.75rem;
}

.page-banner p {
    color: #c2cfdd;
    font-size: 1.15rem;
    max-width: 700px;
    font-family: Georgia, serif;
}

/* Header & Navigation */
.topbar {
    background: var(--dark);
    color: #aebccb;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
    min-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: var(--white);
    text-decoration: none;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand img {
    width: 220px;
}

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

.nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav a:hover, .nav a.active {
    color: var(--gold);
}

/* Classic Structured Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 0.75rem 1.6rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
}

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

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

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
}

/* Hero Section */
.hero {
    color: var(--white);
    padding: 6.5rem 0 6rem;
    background: var(--navy);
    border-bottom: 4px solid var(--gold);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--gold-light);
    font-style: italic;
}

.hero-copy {
    font-size: 1.15rem;
    color: #c2cfdd;
    max-width: 680px;
    margin-bottom: 2.2rem;
    font-family: Georgia, serif;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-card {
    padding: 2.2rem;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(6, 16, 26, 0.6);
}

.hero-card h2 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 0.6rem;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.hero-card li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 0.8rem;
    color: #d1dbe5;
    font-size: 0.95rem;
}

.hero-card li:before {
    content: "■";
    color: var(--gold);
    font-size: 0.7rem;
    line-height: 1.6;
}

/* Audience Ribbon */
.audience {
    background: var(--parchment);
    border-bottom: 1px solid var(--line);
}

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

.audience-item {
    padding: 2rem 2.2rem;
    border-right: 1px solid var(--line);
}

.audience-item:last-child {
    border-right: 0;
}

.audience-item strong {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
    font-family: Georgia, serif;
    margin-bottom: 0.3rem;
}

.audience-item span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Services Section & Card Grid Alignment */
.services, .insights, .principles-section {
    padding: 6.5rem 0;
}

.services-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.5rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.card {
    padding: 2.2rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.2s ease;
}

.card:hover {
    border-color: var(--gold);
}

.num {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.5rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card h3 {
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
    min-height: 2rem;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 5.5rem;
}

.card ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    color: var(--text);
    font-size: 0.86rem;
    border-top: 1px solid var(--line);
    padding-top: 1.2rem;
    margin-top: 0;
}

.card li:before {
    content: "—";
    color: var(--gold);
    margin-right: 0.5rem;
}

/* About Section & Founder Bio */
.about {
    padding: 6.5rem 0;
    background: var(--parchment);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.founder-card {
    border: 1px solid var(--line);
    background: var(--white);
    border-top: 4px solid var(--gold);
    padding: 2rem;
}

.founder-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: var(--navy);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.founder-meta h3 {
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.founder-meta p {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.visual {
    align-self: start;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    color: var(--white);
    background: linear-gradient(0deg, rgba(6, 16, 26, 0.9) 0%, rgba(6, 16, 26, 0.4) 100%), var(--navy);
    border: 1px solid var(--line);
    border-left: 6px solid var(--gold);
    border-radius: 2px;
}

.visual strong {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.35;
}

/* Points Section Layout Fix */
.points {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
}

.point-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: var(--navy);
    color: var(--gold);
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 1rem;
}

.point h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.35rem;
    line-height: 1.35;
    position: static;
}

.point p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    position: static;
}

.tools-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--navy);
    padding: 1.75rem;
    margin-top: 2rem;
    clear: both;
}

.tools-box h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.tools-box p {
    font-size: 0.93rem;
    color: var(--muted);
}

/* Insights & Principles Grid */
.insight-grid, .principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.insight, .principle-card {
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    background: var(--white);
    padding: 2rem;
    border-radius: 2px;
}

.insight small, .principle-card small {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.insight h3, .principle-card h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 0.8rem 0;
}

.insight p, .principle-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

/* Contact Callout */
.contact {
    padding: 6.5rem 0;
    background: var(--navy); /* Extended navy background full width */
    border-top: 1px solid var(--line);
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2rem;
    align-items: center;
    padding: 1rem 0;
    background: transparent; /* Cleaned up nested background */
    color: var(--white);
}

.contact-panel h2 {
    color: var(--white);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 0.8rem;
}

.contact-panel p {
    color: #c2cfdd;
    font-family: Georgia, serif;
}

.contact-actions {
    display: flex;
    justify-content: flex-end;
}

/* Footer */
.footer {
    background: var(--dark);
    color: #8c9ba8;
    padding: 3.5rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    width: 220px;
    margin-bottom: 1.2rem;
    filter: brightness(0) invert(1);
}

.footer p {
    font-size: 0.9rem;
    max-width: 440px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.8rem;
    font-size: 0.82rem;
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 1.8rem;
    color: var(--navy);
}

/* Responsive Adjustments */
@media(max-width:900px) {
    .menu { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 90px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        border: 1px solid var(--line);
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    .nav.open { display: flex; }
    .nav a { padding: 0.8rem 1rem; }
    .hero-grid, .about-grid, .contact-panel { grid-template-columns: 1fr; }
    .audience-grid, .cards, .insight-grid, .principles-grid { grid-template-columns: 1fr; }
    .audience-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .services-head { align-items: flex-start; flex-direction: column; }
    .contact-actions, .footer-links { justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media(max-width:600px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .topbar .container { justify-content: center; }
    .topbar span:last-child { display: none; }
    .brand img { width: 170px; }
    .header-inner { min-height: 76px; }
    .hero { padding: 4.5rem 0; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    .contact-panel { padding: 2.2rem 0; }
    .footer-bottom { flex-direction: column; }
}

/* Language Switcher & Text Flow Rules */
.en, .es {
    position: static !important;
    float: none !important;
    height: auto !important;
}

html[lang="en"] .es {
    display: none !important;
}

html[lang="es"] .en {
    display: none !important;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 1rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #aebccb;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--gold-light);
    border-bottom: 1px solid var(--gold-light);
}
