/* fonts */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/helvetica-neue-55/HelveticaNeue-Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/helvetica-neue-55/HelveticaNeueBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/helvetica-neue-55/HelveticaNeueMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/helvetica-neue-55/HelveticaNeueLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/helvetica-neue-55/HelveticaNeue-Heavy.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* variable */
:root {
    --base-color: #FF7900;
    --medium-gray: #666666;
    --dark-gray: #1d1d1d;
    --charcoal-blue: #232323;
    --alt-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --primary-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    line-height: 30px;
}

a:hover {
    color: var(--dark-gray);
}

h1,
.h1 {
    line-height: 4.8rem;
}

h3,
.h3 {
    line-height: 2.813rem;
}

h4 {
    line-height: 2.6rem;
}

/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 600;
}

.navbar .navbar-nav .nav-item.active .nav-link,
.navbar .navbar-nav .nav-item .nav-link.active,
.navbar .navbar-nav .nav-item .nav-link:hover {
    color: #FF7900 !important;
    opacity: 1 !important;
}

header .header-button .btn.btn-switch-text.btn-medium>span {
    padding: 12px 22px;
}

header .header-button .btn {
    font-size: 18px;
}

header .header-button .btn i {
    font-size: 18px;
}

header .navbar-brand img {
    max-height: 34px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 17px;
    font-weight: 500;
    color: var(--dark-gray) !important;
    display: flex;
    align-items: center;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover {
    background-color: #f6f4f3;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a .nav-number {
    font-size: 30px;
    width: 45px;
    font-family: var(--alt-font);
    font-weight: 800;
    line-height: 1;
    margin-right: 10px;
    display: inline-block;
    position: relative;
    padding: 0;
    background-image: linear-gradient(135deg, transparent 45%, #999 45%, #999 55%, transparent 0);
    background-size: 3px 3px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover .nav-number {
    background-image: linear-gradient(135deg, transparent 45%, var(--base-color) 45%, var(--base-color) 55%, transparent 0);
}

.navbar .navbar-nav .dropdown .dropdown-menu li.active>a,
.navbar .navbar-nav .dropdown .dropdown-menu li:hover>a {
    color: #FF7900 !important;
    opacity: 1 !important;
}

/*margin*/
.ms-100px {
    margin-left: 100px;
}

.ms-80px {
    margin-left: 80px;
}

.mb-minus-50px {
    margin-bottom: -50px;
}

/* btn */
.btn {
    text-transform: none;
    letter-spacing: 0;
}

.btn.btn-extra-large {
    font-size: 16px;
    padding: 16px 32px;
}

.btn.btn-large {
    font-size: 15px;
    padding: 15px 30px;
}

.btn.btn-switch-text.btn-large>span {
    padding: 15px 30px;
}

.btn-gradient-fuel-yellow-blue {
    background-color: #FF7900;
    color: var(--white);
}

/* left right top bottom */
.left-minus-45 {
    left: -45%;
}

.bottom-minus-200px {
    bottom: -200px;
}

.one-half-screen {
    height: 550px !important;
}

.swiper-pagination-progress .swiper-progress {
    background-color: var(--dark-gray);
}

.magic-drag-cursor #ball-cursor:before {
    font-weight: 500;
}

/* text gradient color */
.text-gradient-base-color {
    color: #FF7900;
}

.text-orange {
    color: #FF7900;
}

/* bg gradient color */
.bg-gradient-top-very-light-gray {
    background-image: linear-gradient(to right, #fbf3e9, #f9f4eb, #f4f4f0, #f2f4f2, #eff4f4);
}

.bg-linen {
    background: #f6f4f3;
}

.bg-gradient-orange-transparent {
    background: linear-gradient(to right, rgba(255, 121, 0, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}

.bg-gradient-gray-transparent {
    background: linear-gradient(to right, #7b7a7a 10%, rgba(255, 255, 255, 0.0) 95%);
}

/* blog only text */
.blog-only-text .card-body:after {
    display: none;
}

/* social icon style 06 */
.social-icon-style-06 li {
    position: relative;
}

.social-icon-style-06 li:before {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: var(--medium-gray);
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    opacity: .5;
}

.social-icon-style-06 li:last-child:before {
    display: none;
}

.google-maps-link a:hover {
    color: var(--white);
}

/* footer */
footer ul li {
    margin-bottom: 0;
    line-height: 28px;
}

footer a:hover {
    color: var(--white);
}

footer .footer-logo img {
    max-height: 34px;
}

/* z-index */
.z-index-99 {
    z-index: 99;
}

@media (min-width: 992px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        padding: 20px 30px;
    }

    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        width: 320px;
    }
}

@media (max-width: 1199px) {
    .left-minus-45 {
        left: -78%;
    }

    .lg-ms-70px {
        margin-left: 70px;
    }

    .lg-bg-transparent {
        background-color: transparent;
    }

    .one-half-screen {
        height: auto !important;
    }
}

@media (max-width: 991px) {
    [data-mobile-nav-style=modern] .navbar-modern-inner .navbar-nav .nav-item .dropdown-menu a i {
        font-size: 19px;
        vertical-align: middle;
        color: var(--white);
    }

    .md-top-auto {
        top: auto;
    }
}

/* --- Sección Comparativa --- */
.comparativa {
    background-color: #ffffff;
    padding: 4rem;
    font-family: inherit;
    color: #374151;
    border-radius: 6px;
    margin-bottom: 50px;
}

.comparativa .main-container {
    max-width: 1024px;
    margin: 0 auto;
}

.comparativa .header-section {
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.comparativa h1 {
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
}

.comparativa .orange-pipe {
    color: #ff7900;
    margin-right: 0.5rem;
}

.comparativa .scope-badge {
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.comparativa .card-analysis {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comparativa .table-container {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-top: 2rem;
}

.comparativa .table thead {
    background-color: #111827;
    color: #ffffff;
}

.comparativa .table thead th {
    padding: 1rem 1.5rem;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

.comparativa .table thead th:nth-child(1),
.comparativa .table tbody td:nth-child(1) {
    width: 10%;
    white-space: nowrap;
}

.comparativa .table thead th:nth-child(2),
.comparativa .table tbody td:nth-child(2) {
    width: 35%;
    white-space: normal;
}

.comparativa .table thead th:nth-child(3),
.comparativa .table tbody td:nth-child(3),
.comparativa .table thead th:nth-child(4),
.comparativa .table tbody td:nth-child(4),
.comparativa .table thead th:nth-child(5),
.comparativa .table tbody td:nth-child(5) {
    white-space: nowrap;
    width: auto;
}

.comparativa .table thead th:nth-child(3) {
    width: 20%;
}

.comparativa .table thead th:nth-child(4) {
    width: 20%;
}

.comparativa .table thead th:nth-child(5) {
    width: 15%;
}

.comparativa .table tbody td {
    padding: 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.comparativa .level-icon {
    background-color: #ff7900;
    color: #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.comparativa .saving-badge {
    background-color: #FFF3E0;
    color: #FF7900;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
}

.comparativa .font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.comparativa .footer-note {
    background-color: #f9fafb;
    padding: 1.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
    border-top: 1px solid #e5e7eb;
}

.comparativa table {
    margin-bottom: 0;
}

/* EBITDA Arrow */
/* EBITDA Arrow / Espaciados */
.ebitda-container {
    position: relative;
    overflow: visible;
}

.ebitda-arrow-wrapper {
    position: absolute;
    right: 50px;
    top: 0;
    bottom: 0;
    width: 600px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
    z-index: 999;
    /* Z-index crítico aumentado */
    pointer-events: none;
    opacity: 1;
}

.ebitda-arrow-mast {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.ebitda-arrow-line {
    width: 60px;
    background-color: #aaa;
    flex-grow: 1;
}

.ebitda-arrow-head {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 120px solid #aaa;
    margin-top: -2px;
}

.ebitda-text {
    font-family: var(--alt-font);
    font-weight: 900;
    font-size: 200px;
    color: #aaa;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 20px;
    white-space: nowrap;
    align-self: center;
    margin-left: 80px;
    /* Más separado del mástil */
}

.py-100px {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.pt-0-force {
    padding-top: 0 !important;
}

@media (max-width: 991px) {
    .ebitda-arrow-wrapper {
        display: none;
    }
}


/* --- Separador de Logos --- */
.logo-divider {
    width: 1px;
    height: 80px;
    background-color: #333;
    align-self: center;
    margin: 0 30px;
    flex: 0 0 1px;
    padding: 0;
}

.logo-divider-white {
    width: 1px;
    height: 50px;
    background-color: #fff;
    align-self: center;
    margin: 0 30px;
    flex: 0 0 1px;
    padding: 0;
}

@media (max-width: 767px) {
    .logo-divider {
        width: 60%;
        height: 1px;
        margin: 30px auto;
        flex: 0 0 auto;
    }

    .client-box {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}