:root {
    --primary: #12385c;
    --primary-dark: #0d2a45;
    --secondary: #e7edf4;
    --accent: #1d5fa7;
    --text: #1b2430;
    --muted: #5f6b7a;
    --white: #ffffff;
    --light-bg: #f4f7fa;
    --border: #dbe3eb;
    --shadow: 0 10px 30px rgba(8, 24, 42, 0.08);
    --shadow-soft: 0 5px 18px rgba(8, 24, 42, 0.06);
    --radius: 18px;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

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

.hidden {
    display: none !important;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--light-bg);
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #e9f0f7;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.section-tag.light {
    background: rgba(255,255,255,0.14);
    color: var(--white);
}

h1, h2, h3, h4 {
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.4rem, 4vw, 4.5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

p {
    color: var(--muted);
    font-size: 1rem;
}

.section-lead {
    font-size: 1.08rem;
    margin-bottom: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: .25s ease;
}

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

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

.btn-header-login {
    background: #12385c;
    color: #ffffff !important;
    border: 1px solid #12385c;
    box-shadow: 0 8px 20px rgba(18, 56, 92, 0.18);
}

.btn-header-login:hover {
    background: #0d2a45;
    border-color: #0d2a45;
    color: #ffffff !important;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(10, 25, 40, 0.06);
    z-index: 1000;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
}

.brand-subtitle {
    font-size: .8rem;
    color: var(--muted);
}

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

.nav a {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
}

.nav a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    overflow: hidden;
}

.hero {
    border-left: none !important;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

/* Pantallas anchas tipo 1600x900 */
@media (min-width: 1500px) and (max-height: 950px) {
    .hero-video {
        width: 100%;
        height: auto;
        min-height: 100%;
        object-fit: contain;
        object-position: center center;
    }
}

/* Pantallas 1440x900 aprox */
@media (min-width: 1200px) and (max-width: 1499px) {
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 50%;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .hero-video {
        object-fit: cover;
        object-position: center 55%;
    }
}

/* Celular */
@media (max-width: 640px) {
    .hero-video {
        object-fit: cover;
        object-position: center 60%;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 33, 0.60) 0%,
            rgba(7, 20, 33, 0.42) 38%,
            rgba(7, 20, 33, 0.20) 68%,
            rgba(7, 20, 33, 0.12) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    color: var(--white);
    padding-top: 90px;
    padding-bottom: 60px;
}

.hero-text-block {
    max-width: 620px;
    margin-top: 63px;
}

.hero-text-block {
    margin-left: 30px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: #ffffff;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(1.8rem, 3.2vw, 3.2rem);
    line-height: 1.08;
    margin-bottom: 22px;
    color: #ffffff;
    text-wrap: balance;
}

.hero-description {
    max-width: 560px;
    color: rgba(255,255,255,0.92);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.hero-actions .btn {
    min-width: 210px;
    padding: 15px 24px;
    font-size: 1rem;
}

.hero .btn-primary {
    background: #12385c;
    color: #ffffff;
    border: 1px solid #12385c;
}

.hero .btn-primary:hover {
    background: #0d2a45;
    border-color: #0d2a45;
}

/* Story top */
.section-top-story {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    padding-bottom: 45px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 40px;
    align-items: start;
}

.story-copy {
    position: relative;
}

.with-graphic-line {
    padding-left: 24px;
}

.with-graphic-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: calc(100% - 12px);
    border-radius: 999px;
    background: linear-gradient(180deg, #12385c 0%, #1d5fa7 100%);
    opacity: 0.9;
}

.info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.info-pills span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #eef4f8;
    color: #12385c;
    font-size: 0.92rem;
    font-weight: 800;
    border: 1px solid #d9e5ef;
}

.story-side-panel {
    display: grid;
    gap: 22px;
}

.story-highlight-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, #12385c 0%, #1b507f 100%);
    color: white;
    box-shadow: 0 18px 35px rgba(18, 56, 92, 0.20);
    overflow: hidden;
}

.story-highlight-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 70%);
}

.story-highlight-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.story-highlight-card h3,
.story-highlight-card p {
    position: relative;
    z-index: 2;
    color: white;
}

.story-highlight-card h3 {
    font-size: 1.35rem;
    line-height: 1.3;
}

.story-highlight-card p {
    color: rgba(255,255,255,0.84);
}

.story-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.stat-item {
    position: relative;
    background: #ffffff;
    border: 1px solid #d9e3ec;
    border-radius: 22px;
    padding: 30px 26px;
    box-shadow: 0 12px 28px rgba(8, 24, 42, 0.06);
    overflow: hidden;
}

.stat-item::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(18,56,92,0.08) 0%, rgba(18,56,92,0) 70%);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #12385c;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    color: #556579;
    font-weight: 700;
}

/* Intro below */
.intro-below-story {
    padding-top: 10px;
    background: linear-gradient(180deg, #fbfcfd 0%, #f4f7fa 100%);
}

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

.intro-card {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(10, 28, 45, 0.08);
    padding: 30px 28px;
    border: 1px solid rgba(18, 56, 92, 0.08);
    overflow: hidden;
}

.intro-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #12385c 0%, #1d5fa7 100%);
}

.intro-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(29,95,167,0.08) 0%, rgba(29,95,167,0) 70%);
    pointer-events: none;
}

.intro-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #eaf2f9 0%, #dceaf6 100%);
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.mini-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef4f8;
    color: #12385c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* Section grids */
.section-grid {
    display: grid;
    gap: 38px;
    align-items: start;
}

.section-grid-2 {
    grid-template-columns: 1.2fr 1fr;
}

/* Services */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 22px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(18, 56, 92, 0.05);
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

/* Features */
.feature-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    color: var(--accent);
}

/* Tech */
.tech-panel {
    display: grid;
    gap: 18px;
}

.tech-box {
    position: relative;
    background: linear-gradient(180deg, #f8fbfd 0%, #edf4f8 100%);
    border: 1px solid #d9e3ec;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(8, 24, 42, 0.05);
    overflow: hidden;
}

.tech-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #12385c 0%, #1d5fa7 100%);
}

.tech-box h3 {
    margin-bottom: 10px;
}

/* Tracking */
.tracking-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1b507f 100%);
    color: var(--white);
    padding: 90px 0;
}

.tracking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.tracking-info p {
    color: rgba(255,255,255,0.85);
}

.tracking-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 28px;
}

.tracking-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.tracking-form input {
    width: 100%;
    padding: 15px 16px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    outline: none;
}

.tracking-result {
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    line-height: 1.7;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.benefit-item {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px;
    border: 1px solid #dbe3eb;
    box-shadow: 0 12px 26px rgba(8, 24, 42, 0.06);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(8, 24, 42, 0.10);
}

.benefit-item::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(29,95,167,0.08) 0%, rgba(29,95,167,0) 70%);
}

.benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #eaf2f9 0%, #dceaf6 100%);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.benefit-item h3 {
    max-width: 220px;
    margin-bottom: 10px;
}

/* Contact enhanced */
.contact-section-enhanced {
    background:
        radial-gradient(circle at top left, rgba(29,95,167,0.06) 0%, rgba(29,95,167,0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.contact-hero-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 34px;
}

.contact-head-copy {
    max-width: 760px;
}

.contact-head-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.contact-head-badges span {
    padding: 10px 14px;
    border-radius: 999px;
    background: #eef4f8;
    color: #12385c;
    border: 1px solid #dce7f0;
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-shell {
    display: grid;
    grid-template-columns: 0.92fr 1.38fr;
    gap: 28px;
    align-items: start;
}

.contact-info-card-premium {
    background: linear-gradient(180deg, #f7fbff 0%, #eef4f8 100%);
    border: 1px solid #d7e2ec;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 18px 38px rgba(8, 24, 42, 0.07);
    position: sticky;
    top: 105px;
    overflow: hidden;
}

.contact-info-card-premium::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(29,95,167,0.10) 0%, rgba(29,95,167,0) 70%);
}

.contact-info-top,
.contact-info-list,
.contact-side-note,
.contact-side-btn {
    position: relative;
    z-index: 2;
}

.contact-small-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #dfeaf3;
    color: #12385c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-info-list.enhanced {
    display: grid;
    gap: 18px;
    margin: 28px 0;
}

.contact-info-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #e2edf6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #12385c;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-list .label {
    display: block;
    color: var(--primary);
    font-size: .85rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.contact-side-note {
    display: grid;
    gap: 4px;
    margin: 24px 0 22px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.52);
    border: 1px solid #dbe6ef;
    border-radius: 18px;
}

.contact-side-note strong {
    color: #12385c;
}

.contact-side-note span {
    color: #637287;
    font-size: 0.95rem;
}

.contact-side-btn {
    min-width: 220px;
}

.contact-form-premium {
    background: #ffffff;
    border: 1px solid #d8e2eb;
    box-shadow: 0 20px 40px rgba(8, 24, 42, 0.08);
    border-radius: 28px;
    padding: 28px;
    overflow: hidden;
    position: relative;
}

.contact-form-premium::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #12385c 0%, #1d5fa7 100%);
}

.form-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f6;
}

.form-top-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef4f8;
    color: #12385c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.form-top-text {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-section + .form-section {
    margin-top: 26px;
}

.form-section h3 {
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-form label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: .93rem;
    font-weight: 700;
    color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cad7e3;
    border-radius: 16px;
    padding: 14px 15px;
    font-size: .98rem;
    color: var(--text);
    background: #fbfdff;
    outline: none;
    transition: .2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(29, 95, 167, 0.08);
}

.message-section textarea {
    min-height: 150px;
    resize: vertical;
}

.form-bottom-panel {
    margin-top: 26px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fbfd 0%, #f0f5f9 100%);
    border: 1px solid #dde8f1;
}

.checkbox-line {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-line input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.checkbox-enhanced span {
    font-weight: 700;
    color: #203040;
}

.submit-enhanced {
    margin-top: 16px;
    min-height: 52px;
    font-size: 1rem;
}

.form-message {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #e9f7ef;
    color: #166534;
    font-weight: 700;
}

/* Footer enhanced */
.footer-enhanced {
    background: linear-gradient(180deg, #04101b 0%, #081827 100%);
    color: rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.footer-top-line {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #12385c 0%, #1d5fa7 100%);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 40px;
    padding: 58px 0 34px;
    position: relative;
    z-index: 2;
}

.footer-enhanced::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(29,95,167,0.14) 0%, rgba(29,95,167,0) 70%);
}

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    opacity: 0.95;
}

.footer-brand-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.footer-brand-head h3,
.footer-links-block h4,
.footer-access-block h4 {
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 800;
}

.footer-brand-sub {
    max-width: 420px;
    color: rgba(255,255,255,0.72);
}

.footer-mini-cards {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-mini-card {
    min-width: 180px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-mini-card strong {
    display: block;
    color: white;
    margin-bottom: 4px;
}

.footer-mini-card span {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
}

.footer-links-block ul,
.footer-access-block ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer-links-block ul a,
.footer-access-block ul a {
    color: rgba(255,255,255,0.78);
    font-weight: 500;
}

.footer-links-block ul a:hover,
.footer-access-block ul a:hover {
    color: white;
}

.footer-cta-box {
    margin-top: 24px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: grid;
    gap: 12px;
}

.footer-cta-box span {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
}

.btn-footer-access {
    background: #ffffff;
    color: #12385c !important;
    width: fit-content;
    min-width: 130px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.btn-footer-access:hover {
    background: #eaf2f9;
    color: #0d2a45 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 2;
}

.footer-bottom-inner {
    min-height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p,
.footer-bottom span {
    color: rgba(255,255,255,0.72);
    font-size: 0.96rem;
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    z-index: 1200;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.whatsapp-icon {
    font-size: 1.8rem;
    line-height: 1;
}

/* Chatbot */
.chatbot-widget {
    position: fixed;
    right: 22px;
    bottom: 98px;
    z-index: 1200;
}

.chatbot-toggle {
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: #12385c;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chatbot-toggle:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.chatbot-box {
    width: 360px;
    max-width: calc(100vw - 30px);
    height: 500px;
    background: #ffffff;
    border: 1px solid #dbe3eb;
    border-radius: 22px;
    box-shadow: 0 24px 50px rgba(8, 24, 42, 0.16);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.chatbot-header {
    background: linear-gradient(135deg, #12385c 0%, #1b507f 100%);
    color: white;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.chatbot-header p {
    color: rgba(255,255,255,0.82);
    font-size: 0.85rem;
    margin-top: 4px;
}

.chatbot-close {
    border: none;
    background: transparent;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f7fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-message {
    max-width: 85%;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chatbot-message.bot {
    background: #eaf2f9;
    color: #12385c;
    align-self: flex-start;
}

.chatbot-message.user {
    background: #12385c;
    color: white;
    align-self: flex-end;
}

.chatbot-input-area {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid #e6edf3;
    background: white;
}

.chatbot-input-area input {
    border: 1px solid #cad7e3;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.95rem;
    outline: none;
}

.chatbot-input-area input:focus {
    border-color: #1d5fa7;
    box-shadow: 0 0 0 4px rgba(29, 95, 167, 0.08);
}

.chatbot-input-area button {
    border: none;
    border-radius: 14px;
    background: #12385c;
    color: white;
    padding: 0 18px;
    font-weight: 700;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-main,
    .story-grid,
    .contact-shell,
    .section-grid-2,
    .tracking-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-card-premium {
        position: static;
    }

    .contact-hero-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-head-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 1100px) {
    .cards-grid,
    .benefits-grid,
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    /* =========================
   BANDERAS FIX DEFINITIVO
========================= */

    .lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    z-index: 1000;
    }

    /* BOTÓN */
    .lang-btn {
        width: 40px;
        height: 28px;
        padding: 0;
        border: 1px solid #d9e3ec;
        border-radius: 6px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden; /* 🔥 CLAVE */
        cursor: pointer;
    }

    /* IMAGEN */
    .lang-btn img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 🔥 CLAVE */
        display: block;
    }

    /* HOVER */
    .lang-btn:hover {
        border-color: #12385c;
    }

    /* ACTIVO */
    .lang-btn.active {
        border-color: #12385c;
        box-shadow: 0 0 0 2px rgba(18, 56, 92, 0.15);
    }

    .nav {
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 14px 20px 20px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.08);
        display: none;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #eef2f5;
    }

    .nav a:last-child {
        border-bottom: none;
        margin-top: 10px;
        width: auto;
    }

    .intro-grid,
    .story-stats-grid,
    .form-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 92vh;
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .hero-text-block {
        max-width: 100%;
        margin-top: 100px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .hero-description {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .tracking-form {
        grid-template-columns: 1fr;
    }

    .with-graphic-line {
        padding-left: 18px;
    }

    .with-graphic-line::before {
        width: 5px;
    }

    .form-top-bar,
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 80px 0;
    }

    .header-inner {
        min-height: 74px;
    }

    .brand-logo,
    .footer-logo {
        width: 46px;
        height: 46px;
    }

    .cards-grid,
    .benefits-grid,
    .intro-grid,
    .story-stats-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .contact-form-premium,
    .contact-info-card-premium,
    .intro-card,
    .benefit-item,
    .tech-box,
    .stat-item,
    .story-highlight-card {
        padding: 24px;
        border-radius: 20px;
    }

    .benefit-item h3 {
        max-width: 100%;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-icon {
        font-size: 1.6rem;
    }

    .chatbot-widget {
        right: 16px;
        bottom: 84px;
    }

    .chatbot-toggle {
        width: 58px;
        height: 58px;
    }

    .chatbot-box {
        width: calc(100vw - 24px);
        height: 460px;
    }
}

/* FIX DEFINITIVO BANDERAS */
.lang-switch {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 15px !important;
}

.lang-switch .lang-btn {
    width: 38px !important;
    height: 26px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #d9e3ec !important;
    border-radius: 6px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.lang-switch .lang-btn img,
.lang-switch .lang-btn .flag-icon {
    width: 38px !important;
    height: 26px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    object-fit: cover !important;
    display: block !important;
}


/* =========================================================
   AJUSTE PREMIUM AZUL + NUEVAS SECCIONES WINPHARM
   ========================================================= */
:root {
    --primary: #073763;
    --primary-dark: #052747;
    --accent: #0b6fbd;
    --blue-soft: #eaf3fb;
    --blue-line: #0f5f9f;
}

body {
    color: #10243a;
}

h1, h2, h3, .brand-title, .section-tag {
    color: var(--primary);
}

.nav a:hover,
.footer a:hover {
    color: var(--accent);
}

.header {
    border-bottom: 1px solid rgba(7, 55, 99, 0.10);
}

.btn-primary,
.btn-header-login,
.hero .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: transparent;
}

.btn-primary:hover,
.btn-header-login:hover,
.hero .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #075492 100%);
}

.service-card,
.benefit-item,
.intro-card,
.tech-box,
.stat-item,
.contact-form-premium,
.contact-info-card-premium {
    border-color: rgba(7, 55, 99, 0.12);
}

/* Propuesta de valor */
.value-section {
    background:
        radial-gradient(circle at top right, rgba(11,111,189,0.09) 0%, rgba(11,111,189,0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
}

.value-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.value-photo-wrap {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(7, 55, 99, 0.20);
    min-height: 440px;
}

.value-photo {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    transform: scale(1.01);
}

.value-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,55,99,0.02) 0%, rgba(7,55,99,0.38) 100%);
}

.value-floating-card {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 35px rgba(7, 55, 99, 0.18);
    max-width: 260px;
}

.value-floating-card strong {
    display: block;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.value-floating-card span {
    color: #4f6175;
    font-weight: 700;
    font-size: .95rem;
}

.value-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.value-check-grid div {
    position: relative;
    padding: 18px 18px 18px 46px;
    background: #ffffff;
    border: 1px solid rgba(7, 55, 99, 0.12);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(7, 55, 99, 0.06);
}

.value-check-grid div::before {
    content: "✓";
    position: absolute;
    left: 17px;
    top: 18px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--accent);
    font-weight: 900;
    font-size: .85rem;
}

.value-check-grid strong {
    display: block;
    color: var(--primary);
    font-size: .98rem;
    margin-bottom: 4px;
}

.value-check-grid span {
    color: #5f6b7a;
    font-size: .92rem;
}

/* Galería */
.operation-gallery {
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 18px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 18px 38px rgba(7, 55, 99, 0.12);
    border: 1px solid rgba(7, 55, 99, 0.10);
    background: #0b2540;
}

.gallery-card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-card-wide {
    grid-column: span 2;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,39,71,0.03) 25%, rgba(5,39,71,0.82) 100%);
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px;
    color: white;
}

.gallery-caption strong {
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.gallery-caption span {
    display: block;
    color: rgba(255,255,255,0.84);
    font-size: .94rem;
    line-height: 1.45;
}

/* Más vida en tarjetas */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -38px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(11,111,189,0.10) 0%, rgba(11,111,189,0) 70%);
}

.service-icon,
.benefit-icon,
.intro-icon {
    color: var(--primary);
}

@media (max-width: 980px) {
    .value-layout {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .gallery-card-large,
    .gallery-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .value-check-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card,
    .gallery-card-large,
    .gallery-card-wide {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 260px;
    }

    .value-photo-wrap,
    .value-photo {
        min-height: 330px;
    }
}


/* =========================================================
   AJUSTE PREMIUM V2 - sin mover estructura base
   ========================================================= */
html {
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-synthesis: none;
}

h1, h2, h3, h4,
.brand-title,
.nav a,
.btn,
.section-tag,
.stat-number {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

h1, h2, h3, h4 {
    letter-spacing: -0.035em;
}

p {
    letter-spacing: -0.01em;
}

.hero {
    min-height: 88vh;
}

.hero-overlay {
    background:
        radial-gradient(circle at 28% 45%, rgba(29, 95, 167, 0.22) 0%, rgba(29, 95, 167, 0) 34%),
        linear-gradient(90deg,
            rgba(5, 17, 29, 0.72) 0%,
            rgba(8, 27, 45, 0.55) 38%,
            rgba(8, 27, 45, 0.24) 70%,
            rgba(8, 27, 45, 0.12) 100%
        );
}

.hero h1 {
    text-shadow: 0 2px 18px rgba(0,0,0,0.22);
}

.hero-description {
    text-shadow: 0 2px 14px rgba(0,0,0,0.18);
    margin-bottom: 0;
}

.hero-actions {
    display: none !important;
}

.hero-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    max-width: 640px;
}

.hero-trust-line span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.hero-trust-line span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7fc7ff;
    box-shadow: 0 0 0 4px rgba(127,199,255,0.12);
}

.section-top-story {
    padding-top: 92px;
}

.story-grid {
    align-items: center;
}

.story-highlight-card {
    isolation: isolate;
}

.story-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
    pointer-events: none;
}

.story-stats-grid-clean .stat-item {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.story-stats-grid-clean .stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(29,95,167,0.28);
    box-shadow: 0 18px 34px rgba(8, 24, 42, 0.10);
}

.story-stats-grid-clean .stat-number {
    font-size: clamp(1.55rem, 2vw, 2rem);
}

.intro-below-story {
    padding-top: 45px;
}

.intro-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(10, 28, 45, 0.11);
    border-color: rgba(29,95,167,0.18);
}

.pharma-process-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background:
        radial-gradient(circle at top right, rgba(29,95,167,0.08), transparent 32%),
        linear-gradient(180deg, #f4f7fa 0%, #ffffff 100%);
}

.pharma-process-shell {
    display: grid;
    grid-template-columns: 0.92fr 1.35fr;
    gap: 34px;
    align-items: stretch;
}

.pharma-process-head {
    position: relative;
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, #12385c 0%, #1b507f 100%);
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(18, 56, 92, 0.18);
}

.pharma-process-head::after {
    content: "";
    position: absolute;
    right: -45px;
    top: -45px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.16), rgba(255,255,255,0));
}

.pharma-process-head .section-tag {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
}

.pharma-process-head h2,
.pharma-process-head p {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.pharma-process-head h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.7rem);
}

.pharma-process-head p {
    color: rgba(255,255,255,0.86);
    font-size: 1.04rem;
}

.pharma-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.process-card {
    position: relative;
    padding: 28px 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #dbe3eb;
    box-shadow: 0 16px 34px rgba(8, 24, 42, 0.07);
    overflow: hidden;
    min-height: 100%;
}

.process-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #12385c, #1d5fa7);
}

.process-step {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf2f9;
    color: #12385c;
    font-weight: 900;
    margin-bottom: 18px;
}

.process-card h3 {
    color: #12385c;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 0.96rem;
}

@media (max-width: 980px) {
    .pharma-process-shell,
    .pharma-process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-trust-line span {
        font-size: 0.82rem;
        padding: 8px 11px;
    }

    .section-top-story {
        padding-top: 72px;
    }
}

/* =========================================================
   AJUSTE GALERÍA DISTRIBUIDA - Roberto
   Se elimina la sección Galería como bloque independiente
   y se reutilizan sus fotos dentro del contenido.
   ========================================================= */

.inline-section-photo {
    position: relative;
    margin-top: 28px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(7, 55, 99, 0.12);
    border: 1px solid rgba(7, 55, 99, 0.10);
    background: #0b2540;
}

.inline-section-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.inline-section-photo::after,
.service-wide-photo::after,
.tech-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,39,71,0.02) 25%, rgba(5,39,71,0.78) 100%);
    pointer-events: none;
}

.inline-section-photo figcaption,
.tech-image-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px;
    color: rgba(255,255,255,0.92);
    font-weight: 800;
    line-height: 1.35;
}

.pharma-process-grid-visual {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card-visual {
    padding: 0;
    min-height: 390px;
}

.process-card-visual::before {
    display: none;
}

.process-card-visual img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.process-card-body {
    padding: 24px 22px 26px;
}

.service-wide-photo {
    position: relative;
    margin-top: 34px;
    min-height: 300px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(7, 55, 99, 0.14);
    border: 1px solid rgba(7, 55, 99, 0.10);
    background: #0b2540;
}

.service-wide-photo img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.service-wide-photo > div {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 30px;
    max-width: 740px;
}

.service-wide-photo strong {
    display: block;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.4vw, 2.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
}

.service-wide-photo span {
    display: block;
    color: rgba(255,255,255,0.88);
    font-size: 1rem;
    line-height: 1.55;
}

.tech-image-card {
    position: relative;
    margin-top: 4px;
    min-height: 250px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(8, 24, 42, 0.08);
    border: 1px solid rgba(7, 55, 99, 0.10);
    background: #0b2540;
}

.tech-image-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

/* La galería ya no se usa como sección independiente */
.operation-gallery {
    display: none !important;
}

@media (max-width: 980px) {
    .pharma-process-grid-visual {
        grid-template-columns: 1fr;
    }

    .process-card-visual {
        min-height: auto;
    }

    .process-card-visual img,
    .inline-section-photo img,
    .service-wide-photo img,
    .tech-image-card img {
        height: 280px;
    }
}

@media (max-width: 640px) {
    .inline-section-photo img,
    .process-card-visual img,
    .service-wide-photo img,
    .tech-image-card img {
        height: 240px;
    }

    .service-wide-photo > div,
    .inline-section-photo figcaption,
    .tech-image-card figcaption {
        padding: 20px;
    }
}


/* Benefits hero image */
.benefits-hero-image {
    margin: 0 auto 40px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(8,24,42,0.12);
}

.benefits-hero-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* =========================================================
   FIX FINAL ROBERTO - LÍNEA AZUL BAJO HERO / VIDEO
   Objetivo:
   - No tocar el diseño general.
   - Evitar que cualquier línea decorativa azul se pase bajo el hero.
   - Mantener las líneas decorativas normales en otras secciones.
   ========================================================= */

/* 1) El hero/video queda como contenedor cerrado */
.hero {
    position: relative;
    overflow: hidden !important;
    isolation: isolate;
}

/* 2) Ningún pseudo-elemento del hero puede salirse del cuadro */
.hero::before,
.hero::after,
.hero-overlay::before,
.hero-overlay::after,
.hero-content::before,
.hero-content::after {
    content: none !important;
    display: none !important;
}

/* 3) Se elimina SOLO la línea vertical del primer bloque después del hero */
#quienes-somos .story-copy.with-graphic-line::before,
#quienes-somos .story-copy::before,
.section-top-story .story-copy.with-graphic-line::before,
.section-top-story .story-copy::before {
    content: none !important;
    display: none !important;
}

/* 4) El bloque "Quiénes somos" vuelve a quedar alineado sin espacio reservado */
#quienes-somos .story-copy.with-graphic-line,
#quienes-somos .story-copy,
.section-top-story .story-copy.with-graphic-line,
.section-top-story .story-copy {
    padding-left: 0 !important;
    border-left: 0 !important;
}

/* 5) Evita que cualquier decoración absoluta de la sección se monte visualmente sobre el hero */
.section-top-story {
    position: relative;
    overflow: hidden !important;
    z-index: 1;
}

/* 6) Mantiene la línea decorativa solo en secciones internas donde corresponde */
.value-copy.with-graphic-line,
.section-copy.with-graphic-line {
    padding-left: 24px;
}

.value-copy.with-graphic-line::before,
.section-copy.with-graphic-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: calc(100% - 12px);
    border-radius: 999px;
    background: linear-gradient(180deg, #12385c 0%, #1d5fa7 100%);
    opacity: 0.9;
}

/* 7) Seguridad extra: si queda una línea azul decorativa pegada al borde del primer bloque, se oculta */
#quienes-somos [class*="graphic-line"]::before {
    content: none !important;
    display: none !important;
}
