:root {
    --ghersa-red: #8d0008;
    --ghersa-wine: #65002a;
    --ghersa-dark: #111114;
    --ghersa-text: #33343a;
    --ghersa-muted: #70737c;
    --ghersa-paper: #d4d6d5;
    --ghersa-soft: #eceeed;
    --ghersa-line: #d8dad9;
    --ghersa-silver: linear-gradient(90deg, #6f7477 0%, #f5f6f5 42%, #858b8f 72%, #2c3033 100%);
    --ghersa-gradient: linear-gradient(135deg, #65002a 0%, #8d0008 54%, #b4000e 100%);
}

* {
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body {
    background: var(--ghersa-soft);
    color: var(--ghersa-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

a {
    color: var(--ghersa-red);
    text-decoration: none;
}

img {
    max-width: 100%;
}

.top-strip {
    background: var(--ghersa-gradient);
    color: #fff;
    font-size: 0.86rem;
    padding: 0.45rem 0;
}

.top-strip a,
.top-strip span {
    align-items: center;
    color: #fff;
    display: inline-flex;
    gap: 0.45rem;
}

.navbar {
    border-bottom: 1px solid rgba(101, 0, 42, 0.08);
    min-height: 78px;
}

.navbar-brand img {
    height: 48px;
    width: auto;
}

.navbar .nav-link {
    color: #22242a;
    font-size: 0.94rem;
    font-weight: 700;
    padding-inline: 0.7rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--ghersa-red);
}

.btn {
    border-radius: 8px;
    font-weight: 800;
}

.btn-ghersa {
    background: var(--ghersa-gradient);
    border: 0;
    box-shadow: 0 14px 30px rgba(122, 11, 15, 0.22);
    color: #fff;
}

.btn-ghersa:hover,
.btn-ghersa:focus {
    color: #fff;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.btn-outline-ghersa {
    border: 1px solid rgba(122, 11, 15, 0.25);
    color: var(--ghersa-red);
}

.btn-outline-ghersa:hover,
.btn-outline-ghersa:focus {
    background: var(--ghersa-red);
    color: #fff;
}

.hero-section .btn-outline-light {
    border-color: rgba(101, 0, 42, 0.35);
    color: var(--ghersa-wine);
}

.hero-section .btn-outline-light:hover,
.hero-section .btn-outline-light:focus {
    background: #fff;
    border-color: #fff;
    color: var(--ghersa-wine);
}

.hero-section {
    background: var(--ghersa-paper);
    color: var(--ghersa-dark);
    min-height: 92vh;
    overflow: hidden;
    padding: 190px 0 96px;
    position: relative;
}

.hero-media {
    background:
        linear-gradient(90deg, rgba(236, 238, 237, 0.92) 0%, rgba(236, 238, 237, 0.74) 34%, rgba(236, 238, 237, 0.12) 62%),
        url("../images/banner.jpg") center / cover no-repeat;
    inset: 0;
    position: absolute;
}

.hero-section::before,
.hero-section::after {
    content: "";
    left: -8vw;
    pointer-events: none;
    position: absolute;
    right: -8vw;
    transform: rotate(-5deg);
    z-index: 0;
}

.hero-section::before {
    background: var(--ghersa-silver);
    bottom: 18%;
    display: none;
    height: 92px;
    opacity: 0.92;
}

.hero-section::after {
    background: linear-gradient(90deg, #640006 0%, #b50010 46%, #760005 100%);
    bottom: 8%;
    display: none;
    height: 185px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: clamp(2.55rem, 5.5vw, 5.65rem);
    font-weight: 800;
    line-height: 0.98;
    margin: 1rem 0 1.35rem;
    max-width: 900px;
}

.hero-section .lead {
    color: #4d5157;
    font-size: clamp(1.05rem, 1.65vw, 1.35rem);
    max-width: 760px;
}

.eyebrow {
    color: var(--ghersa-wine);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.text-red {
    color: var(--ghersa-red);
}

.brand-panel {
    background: rgba(236, 238, 237, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(40, 42, 44, 0.18);
    overflow: hidden;
    position: relative;
}

.brand-panel::before {
    background: var(--ghersa-silver);
    content: "";
    height: 42px;
    left: -18%;
    position: absolute;
    right: -18%;
    top: 108px;
    transform: rotate(-9deg);
}

.brand-panel::after {
    background: var(--ghersa-gradient);
    bottom: -72px;
    content: "";
    height: 168px;
    left: -18%;
    position: absolute;
    right: -18%;
    transform: rotate(-8deg);
}

.brand-lockup {
    min-height: 170px;
    padding: 2.2rem 2rem 1.4rem;
    position: relative;
    text-align: center;
    z-index: 1;
}

.brand-lockup img {
    max-height: 92px;
    width: auto;
}

.minute-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(20, 22, 28, 0.1);
    margin: 0 1.2rem 1.2rem;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.minute-card div {
    align-items: center;
    border-bottom: 1px solid var(--ghersa-line);
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 46px 1fr;
    padding: 1.05rem 0.75rem;
}

.minute-card div:last-child {
    border-bottom: 0;
}

.minute-icon {
    align-items: center;
    background: rgba(115, 18, 44, 0.08);
    border-radius: 50%;
    color: var(--ghersa-wine);
    display: inline-flex;
    font-size: 1.15rem;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.minute-card div > span:not(.minute-icon) {
    color: #4e5359;
}

.section-pad {
    padding: 96px 0;
}

.bg-soft {
    background: var(--ghersa-soft);
}

.bg-dark-red {
    background:
        linear-gradient(168deg, transparent 0 18%, rgba(255, 255, 255, 0.16) 18.5% 21%, transparent 21.5%),
        linear-gradient(170deg, rgba(30, 33, 35, 0.5) 0 14%, transparent 14.5%),
        var(--ghersa-gradient);
}

.section-heading {
    margin: 0 auto 3rem;
    max-width: 760px;
    text-align: center;
}

.section-title {
    color: var(--ghersa-dark);
    font-size: clamp(2rem, 3vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0.75rem 0 1rem;
}

.text-white .section-title,
.bg-dark-red .section-title {
    color: #fff;
}

.section-heading p,
.section-pad p {
    color: var(--ghersa-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.bg-dark-red p,
.text-white p {
    color: rgba(255, 255, 255, 0.82);
}

.metric,
.product-card,
.form-card,
.branch-card,
.image-panel,
.solution-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ghersa-line);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(20, 22, 28, 0.06);
}

.metric {
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.metric strong {
    background: var(--ghersa-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
}

.metric span {
    color: var(--ghersa-muted);
    display: block;
    font-weight: 700;
    margin-top: 0.8rem;
}

.image-panel {
    overflow: hidden;
    position: relative;
}

.image-panel img {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.image-badge {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    bottom: 1.5rem;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
    color: var(--ghersa-dark);
    display: flex;
    font-weight: 800;
    gap: 0.8rem;
    left: 1.5rem;
    max-width: calc(100% - 3rem);
    padding: 1rem;
    position: absolute;
}

.image-badge i {
    color: var(--ghersa-red);
    font-size: 1.65rem;
}

.product-card {
    height: 100%;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    box-shadow: 0 24px 55px rgba(83, 10, 44, 0.14);
    transform: translateY(-4px);
}

.product-image {
    background: linear-gradient(180deg, #f8f9f8 0%, #e6e8e7 100%);
    border-bottom: 1px solid var(--ghersa-line);
    display: grid;
    min-height: 248px;
    padding: 1.25rem;
    place-items: center;
}

.product-image img {
    max-height: 220px;
    object-fit: contain;
}

.product-body {
    padding: 1.45rem;
}

.product-body h3,
.branch-card h3 {
    color: var(--ghersa-dark);
    font-size: 1.2rem;
    font-weight: 800;
}

.product-body p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-body a {
    font-weight: 800;
}

.solution-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solution-item {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    padding: 1.35rem;
}

.solution-item span {
    color: var(--ghersa-red);
    font-weight: 800;
}

.solution-item p {
    color: var(--ghersa-dark);
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
}

.sector-list,
.brand-cloud,
.coverage-map {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

.sector-list span,
.brand-cloud span,
.coverage-map span {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.75rem 1rem;
}

.sector-list span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}

.brand-cloud {
    justify-content: flex-start;
}

.brand-cloud span,
.coverage-map span {
    background: #fff;
    border: 1px solid var(--ghersa-line);
    box-shadow: 0 12px 30px rgba(20, 22, 28, 0.06);
    color: var(--ghersa-dark);
}

.coverage-map {
    align-content: center;
    background: linear-gradient(rgba(83, 10, 44, 0.42), rgba(122, 11, 15, 0.42)), url("../images/f-cobertura.jpg") center / cover no-repeat;
    border-radius: 8px;
    min-height: 420px;
    padding: 2rem;
}

.coverage-map span {
    background: rgba(255, 255, 255, 0.92);
}

.contact-shortcuts {
    display: grid;
    gap: 0.8rem;
    margin-top: 2rem;
}

.contact-shortcuts a {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ghersa-line);
    border-radius: 8px;
    color: var(--ghersa-dark);
    display: flex;
    font-weight: 800;
    gap: 0.75rem;
    padding: 1rem;
}

.contact-shortcuts i {
    color: var(--ghersa-red);
    font-size: 1.2rem;
}

.form-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.form-label {
    color: var(--ghersa-dark);
    font-size: 0.88rem;
    font-weight: 800;
}

.form-control {
    border-color: var(--ghersa-line);
    border-radius: 8px;
    min-height: 48px;
}

.form-control:focus {
    border-color: rgba(122, 11, 15, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(122, 11, 15, 0.1);
}

textarea.form-control {
    min-height: 112px;
}

.branch-card {
    height: 100%;
    padding: 1.5rem;
}

.branch-card p {
    font-size: 0.95rem;
    min-height: 86px;
}

.branch-card a {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: 0.5rem;
}

.map-frame {
    border: 1px solid var(--ghersa-line);
    border-radius: 8px;
    height: 430px;
    margin-top: 2rem;
    overflow: hidden;
}

.map-frame iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.site-footer {
    background: #0f0f12;
    color: rgba(255, 255, 255, 0.78);
    padding: 64px 0 28px;
}

.site-footer a {
    color: #fff;
    display: block;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.footer-logo {
    height: 54px;
    margin-bottom: 1rem;
    width: auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.whatsapp-float {
    align-items: center;
    background: #25d366;
    border-radius: 999px;
    bottom: 24px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
    color: #fff;
    display: flex;
    font-size: 1.55rem;
    height: 58px;
    justify-content: center;
    position: fixed;
    right: 24px;
    width: 58px;
    z-index: 1000;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #fff;
    transform: translateY(-2px);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .btn,
    .product-card,
    .whatsapp-float {
        transition: none;
    }
}

@media (max-width: 1199.98px) {
    .navbar .navbar-collapse {
        border-top: 1px solid var(--ghersa-line);
        margin-top: 1rem;
        padding: 0.6rem 0 1rem;
    }

    .navbar .nav-link {
        padding: 0.65rem 0 !important;
    }
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 92px;
    }

    .hero-section {
        min-height: auto;
        padding: 165px 0 76px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .brand-cloud {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .top-strip .container {
        justify-content: center !important;
    }

    .navbar-brand img {
        height: 40px;
    }

    .section-pad {
        padding: 68px 0;
    }

    .hero-section {
        padding-top: 158px;
    }

    .minute-card div {
        gap: 0.7rem;
        grid-template-columns: 42px 1fr;
    }

    .minute-icon {
        font-size: 1.05rem;
        height: 36px;
        width: 36px;
    }

    .brand-lockup {
        min-height: 138px;
        padding: 1.6rem 1.25rem 1rem;
    }

    .brand-lockup img {
        max-height: 74px;
    }

    .hero-section::before {
        bottom: 12%;
        height: 58px;
    }

    .hero-section::after {
        bottom: 3%;
        height: 130px;
    }

    .image-badge {
        bottom: 1rem;
        left: 1rem;
        max-width: calc(100% - 2rem);
    }

    .coverage-map {
        min-height: 330px;
    }

    .branch-card p {
        min-height: auto;
    }

    .whatsapp-float {
        bottom: 18px;
        height: 52px;
        right: 18px;
        width: 52px;
    }
}
