/* ==========================================================================
   StratoStecher.com - Primary Stylesheet (SPA View Switcher & Layout)
   ========================================================================== */

:root {
    --navy-dark: #081d38;
    --navy-primary: #0a2540;
    --navy-light: #133357;
    --green-primary: #008a45;
    --green-hover: #006e37;
    --green-light: #e6f4ed;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-dark: #cbd5e1;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 6px 18px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 14px 35px rgba(10, 37, 64, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-brand: 'Cinzel', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: #ffffff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

/* TYPOGRAPHY & LAYOUT HELPERS */
.text-center { text-align: center; }
.text-left { text-align: left; }
.highlight { color: var(--navy-primary); }
.green-text { color: var(--green-primary); }
.bg-alt { background-color: var(--bg-light); }

/* SECTION VISIBILITY CONTROL (SPA ROUTER) */
.page-section {
    display: none !important;
    padding: 80px 0;
    min-height: calc(100vh - 80px);
}

.page-section.active-view {
    display: flex !important;
    align-items: center;
    animation: fadeInView 0.3s ease-out;
}

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

.view-header-nav {
    margin-bottom: 24px;
    display: flex;
    justify-content: flex-start;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-back-home:hover {
    background-color: var(--green-light);
    color: var(--green-primary);
    border-color: #bbf7d0;
    transform: translateX(-3px);
}

.btn-back-home svg {
    width: 18px;
    height: 18px;
}

.section-badge-wrapper {
    margin-bottom: 14px;
}

/* NAVBAR */
.navbar-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    color: var(--navy-primary);
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.brand-logo:hover .nav-home-icon {
    background-color: var(--green-light);
    color: var(--green-primary);
    border-color: #bbf7d0;
    transform: translateY(-1px);
}

.nav-home-icon svg {
    width: 20px;
    height: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-brand);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-dark);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: 700;
    color: var(--green-primary);
    letter-spacing: 2.5px;
    margin-top: 4px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 4px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--green-primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--green-primary);
    border-radius: 2px;
}

.btn-nav-contact {
    background-color: var(--navy-primary);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: background-color 0.2s, transform 0.2s !important;
}

.btn-nav-contact:hover,
.btn-nav-contact.active {
    background-color: var(--navy-light) !important;
    transform: translateY(-1px);
    color: #fff !important;
}

.btn-nav-contact.active::after {
    display: none !important;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    margin-left: 12px;
}

.lang-btn {
    background: none;
    border: none;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.lang-btn.active {
    color: var(--green-primary);
}

.lang-btn:hover {
    color: var(--navy-primary);
}

.lang-sep {
    color: var(--border-dark);
    font-size: 13px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2px;
    background-color: var(--navy-dark);
    border-radius: 2px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--navy-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--green-primary);
    border-color: var(--green-primary);
}

.btn-secondary:hover {
    background-color: var(--green-light);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.arrow {
    transition: transform 0.2s;
}

.btn:hover .arrow {
    transform: translateX(5px);
}

/* HERO SECTION (VISTA PORTADA) */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.hero-tagline {
    display: inline-block;
    color: var(--green-primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 1.12;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 28px;
}

.hero-description {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 660px;
    margin-bottom: 40px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.hero-pillars {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-bottom: 32px;
}

.hero-proofs {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-primary);
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.proof-icon {
    width: 22px;
    height: 22px;
    color: var(--green-primary);
}

.proof-divider {
    color: var(--border-dark);
}

/* HERO VISUAL GRAPHIC */
.hero-visual {
    position: relative;
}

.visual-wrapper {
    position: relative;
    height: 520px;
    background: radial-gradient(circle at center, rgba(0, 138, 69, 0.06) 0%, transparent 72%);
    border-radius: var(--radius-lg);
}

.metric-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    width: 220px;
    transition: transform 0.3s;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy-primary);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.card-sub {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.card-perf { top: 20px; right: 10px; }
.card-eff { top: 120px; right: 10px; }
.card-imp { bottom: 140px; right: 20px; }
.card-dec { bottom: 30px; right: 20px; }
.card-auto { bottom: -10px; left: 10px; }

.mini-chart {
    height: 34px;
    background: linear-gradient(90deg, rgba(0,138,69,0.1) 0%, rgba(0,138,69,0.4) 100%);
    clip-path: polygon(0 80%, 25% 60%, 50% 70%, 75% 30%, 100% 10%, 100% 100%, 0 100%);
    margin-bottom: 8px;
    border-radius: 2px;
}

.mini-gauge {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin: 14px 0;
}

.mini-gauge::after {
    content: '';
    display: block;
    height: 100%;
    width: 85%;
    background: var(--green-primary);
    border-radius: 5px;
}

.mini-dots {
    display: flex;
    gap: 4px;
    margin: 10px 0;
}

.mini-dots::before {
    content: '•••••••••';
    color: var(--green-primary);
    letter-spacing: 3px;
    font-size: 18px;
}

.mini-net {
    height: 24px;
    margin: 8px 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(0,138,69,0.12) 6px, rgba(0,138,69,0.12) 12px);
    border-bottom: 2px stroke var(--green-primary);
}

.mini-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 14px;
    color: var(--green-primary);
    font-weight: 700;
}

.mini-flow::before { content: '⚙️ ➔ 🤖 ➔ 👁️'; }

/* SECTION COMMON HEADINGS */
.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--green-primary);
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.22;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 840px;
    margin-bottom: 48px;
    line-height: 1.6;
}

/* SECTION 2: PUNTOS DE FRICCIÓN */
.friccion-section {
    background-color: #ffffff;
}

.friccion-callouts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.callout-card {
    display: flex;
    gap: 20px;
    padding: 28px 32px;
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.callout-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
}

.alert-box {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.target-box {
    background-color: var(--green-light);
    color: var(--green-primary);
    border: 1px solid #bbf7d0;
}

.target-box svg {
    width: 24px;
    height: 24px;
}

/* 7 FRICTION CARDS GRID */
.friction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.friction-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all 0.25s ease;

}

.friction-card:hover {
    border-color: var(--navy-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.f-icon {
    width: 46px;
    height: 46px;
    color: var(--navy-primary);
    margin-bottom: 20px;
}

.f-icon svg {
    width: 100%;
    height: 100%;
}

.friction-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-dark);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.friction-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.friction-highlight {
    background-color: rgba(0, 138, 69, 0.04);
    border-color: #bbf7d0;
}

.friction-highlight .f-icon {
    color: var(--green-primary);
}

.friction-highlight h3 {
    color: var(--green-primary);
}

.friction-footer-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 24px 40px;
    border-radius: var(--radius-md);
    font-size: 20px;
    color: var(--navy-dark);
    text-align: center;
}

.banner-icon {
    width: 36px;
    height: 36px;
    background-color: var(--navy-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;

}

/* SECTION 3: SERVICIOS / PRODUCTOS */
.servicios-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 52px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;

}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-primary);
}

.s-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.s-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--green-light);
    color: var(--green-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-icon svg {
    width: 26px;
    height: 26px;
}

.s-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.3;
}

.s-list {
    list-style: none;
}

.s-list li {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.s-list li::before {
    content: '•';
    color: var(--green-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 7px;
}

/* METHODOLOGY BAR */
.methodology-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.m-step {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-dark);
}

.m-icon {
    font-size: 24px;

}

/* SECTION 4: SERVICIOS BAJO DEMANDA */
.demanda-section {
    background-color: #ffffff;
}

.demanda-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 20px;
}

.demanda-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-fiverr {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1dbf73;
    color: #ffffff !important;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 17px;
    white-space: nowrap;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(29, 191, 115, 0.35);
}

.btn-fiverr:hover {
    background-color: #19a463;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(29, 191, 115, 0.45);
    color: #ffffff !important;
}

.demanda-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.demanda-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 2px solid var(--green-primary);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    font-size: 17px;
    font-weight: 700;
    color: var(--green-primary);
    cursor: pointer;
    transition: all 0.25s;
}

.demanda-card:hover {
    background-color: var(--green-primary);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.demanda-card .arrow {
    font-size: 22px;
}

.demanda-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.globe-icon {
    width: 24px;
    height: 24px;
    color: var(--green-primary);
}

/* SECTION 5: OTTO STECHER */
.otto-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.otto-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.otto-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.65;
}

.otto-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}

.stat-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-num {
    display: block;
    font-size: 38px;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-desc {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.35;
}

.stat-num-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.35;
}

.otto-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.otto-photo-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.otto-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    filter: drop-shadow(0 14px 28px rgba(10,37,64,0.15));
}

.topic-pills {
    position: absolute;
    top: 10px;
    right: -24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-pill {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-dark);
    box-shadow: var(--shadow-sm);

}

/* SECTION 6: BLOG */
.blog-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.blog-col {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.blog-col:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--navy-primary);
}

.col-head {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.col-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.green-bg { background-color: var(--green-light); }
.blue-bg { background-color: #e0f2fe; }
.red-bg { background-color: #fef2f2; }

.col-head h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.col-head p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-col {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-col:hover {
    transform: translateY(-2px);
}

.btn-green { background-color: var(--green-light); color: var(--green-primary); }
.btn-blue { background-color: #e0f2fe; color: #0284c7; }
.btn-red { background-color: #fef2f2; color: #dc2626; }

.blog-editorial-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 28px 36px;
    border-radius: var(--radius-md);
    margin-bottom: 36px;
}

.ed-info, .ed-goal {
    display: flex;
    gap: 16px;
    font-size: 15px;
}

.ed-icon, .ed-star {
    font-size: 28px;
}

.ed-schedule {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-dark);
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 24px;
}

.sch-week {
    font-weight: 700;
    color: var(--text-muted);
    margin-right: 8px;
}

.dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin: 0 5px;
}
.dot.g { background-color: var(--green-primary); }
.dot.b { background-color: #0284c7; }
.dot.r { background-color: #dc2626; }

.blog-contact-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 28px 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.b-text strong {
    display: block;
    font-size: 20px;
    color: var(--navy-dark);
}

.b-text span {
    font-size: 15px;
    color: var(--text-secondary);
}

.b-channels {
    display: flex;
    gap: 24px;
}

.chan-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    color: var(--navy-dark);
    padding: 10px 20px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.chan-link:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

/* SECTION 7: CONTACTO */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.contacto-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 24px;
}

.contacto-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.65;
}

.direct-channels {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dc-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.dc-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-icon { background-color: #dcfce7; color: #16a34a; }
.em-icon { background-color: #e0f2fe; color: #0284c7; }

.dc-icon svg { width: 26px; height: 26px; }

.dc-card strong {
    display: block;
    font-size: 17px;
    color: var(--navy-dark);
}

.dc-card p {
    font-size: 16px;
    color: var(--text-secondary);
}

.dc-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--green-primary);
    text-decoration: none;
}

/* CONTACT FORM */
.contacto-form-wrapper {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
}

.contacto-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy-primary);
    box-shadow: 0 0 0 4px rgba(10, 37, 64, 0.1);
}

.privacy-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
}

/* FOOTER INSTITUTIONAL */
.footer-institutional {
    background-color: var(--navy-dark);
    color: #ffffff;
    padding: 60px 0;
    border-top: 4px solid var(--green-primary);
}

.footer-slogan {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer-brand {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.f-title {
    font-family: var(--font-brand);
    font-weight: 700;
    color: #ffffff;
}

.footer-copy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
    .hero-grid, .otto-grid, .contacto-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .demanda-top {
        flex-direction: column;
        gap: 16px;
    }

    .friction-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid, .blog-columns-grid, .demanda-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .otto-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-editorial-bar {
        grid-template-columns: 1fr;
    }

    .ed-schedule {
        border: none;
        padding: 16px 0;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .page-section { padding: 40px 0; min-height: auto; }
    .hero-title { font-size: 42px; }
    .section-title { font-size: 32px; }
    .otto-title { font-size: 32px; }
    .contacto-title { font-size: 32px; }

    .friccion-callouts { grid-template-columns: 1fr; }
    .friction-grid, .services-grid, .demanda-grid, .blog-columns-grid { grid-template-columns: 1fr; }
    .methodology-bar { grid-template-columns: 1fr; }
    .blog-contact-banner { flex-direction: column; gap: 20px; text-align: center; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}
