/* ============================================
   VARIABLES
============================================ */

:root {

    --black: #07111f;
    --black-soft: #0b1929;
    --dark: #10243a;

    --blue: #0756a8;
    --blue-light: #1478d4;
    --blue-dark: #043d79;

    --white: #ffffff;
    --white-soft: #f3f7fb;

    --gray: #7a8794;
    --gray-dark: #4d5b68;

    --border: rgba(255, 255, 255, 0.12);

    --max-width: 1240px;
}


/* ============================================
   RESET
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--white);

    color: var(--black);

    line-height: 1.6;

    overflow-x: hidden;
}

body.cart-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;
}


/* ============================================
   HEADER
============================================ */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    color: var(--white);
}

.nav-container {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}


/* ============================================
   LOGO
============================================ */

.logo {
    display: flex;
    align-items: center;

    width: 155px;

    flex-shrink: 0;

    overflow: hidden;

    background: transparent;
}

.logo img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: contain;

    mix-blend-mode: screen;
}


/* ============================================
   NAV
============================================ */

.nav {
    display: flex;
    align-items: center;

    gap: 34px;

    margin-left: auto;
}

.nav a {
    position: relative;

    color: rgba(255, 255, 255, 0.82);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition: color 0.2s ease;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--blue-light);

    transition: width 0.2s ease;
}

.nav a:hover {
    color: var(--white);
}

.nav a:hover::after {
    width: 100%;
}


/* ============================================
   CART BUTTON
============================================ */

.cart-button {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 14px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 5px;

    background: rgba(0, 0, 0, 0.18);

    color: var(--white);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.cart-button:hover {
    background: var(--blue);

    border-color: var(--blue);

    color: var(--white);
}

.cart-icon {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
}

#cartCount {
    position: absolute;

    top: -9px;
    right: -10px;

    min-width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 4px;

    border-radius: 50%;

    background: var(--blue-light);

    color: var(--white);

    font-size: 9px;
    font-weight: 900;

    line-height: 1;
}


/* ============================================
   HERO
============================================ */

.hero {
    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--black);

    color: var(--white);
}

.hero-background {
    position: absolute;

    inset: 0;

    background-image:
        url("img/next service 3.jpg");

    background-size: cover;
    background-position: center;

    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 15, 29, 0.96) 0%,
            rgba(4, 15, 29, 0.82) 45%,
            rgba(4, 15, 29, 0.42) 100%
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 120px;

    max-width: 850px;
}

.hero-label,
.section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--blue-light);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.16em;
}

.hero h1 {
    max-width: 800px;

    margin-bottom: 25px;

    font-size: clamp(48px, 6vw, 82px);

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -0.055em;
}

.hero h1 strong {
    display: block;

    color: #ffffff;

    font-weight: 700;
}

.hero p {
    max-width: 650px;

    margin-bottom: 34px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 17px;

    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


/* ============================================
   BUTTONS
============================================ */

.btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 23px;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.10em;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue);

    color: var(--white);

    border: 1px solid var(--blue);
}

.btn-primary:hover {
    background: var(--blue-light);

    border-color: var(--blue-light);
}

.btn-outline {
    background: transparent;

    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.40);
}

.btn-outline:hover {
    background: var(--white);

    border-color: var(--white);

    color: var(--black);
}


/* ============================================
   INTRO
============================================ */

.intro {
    padding: 110px 0;

    background: var(--white);
}

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}

.intro-grid h2 {
    max-width: 600px;

    font-size: clamp(35px, 4vw, 55px);

    line-height: 1.05;

    letter-spacing: -0.045em;
}

.intro-grid p {
    max-width: 550px;

    margin-bottom: 20px;

    color: var(--gray-dark);

    font-size: 16px;

    line-height: 1.8;
}


/* ============================================
   ABOUT
============================================ */

.about {
    padding: 110px 0;

    background: var(--white-soft);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    height: 580px;

    overflow: hidden;

    background: var(--dark);
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-content h2 {
    max-width: 550px;

    margin-bottom: 24px;

    font-size: clamp(36px, 4vw, 56px);

    line-height: 1.04;

    letter-spacing: -0.045em;
}

.about-content > p {
    max-width: 580px;

    margin-bottom: 18px;

    color: var(--gray-dark);

    font-size: 15px;

    line-height: 1.8;
}

.about-features {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid #d9e2eb;
}

.about-features strong {
    display: block;

    margin-bottom: 3px;

    color: var(--blue);

    font-size: 28px;

    line-height: 1;
}

.about-features span {
    color: var(--gray);

    font-size: 11px;

    line-height: 1.4;
}


/* ============================================
   SERVICES
============================================ */

.services {
    padding: 120px 0;

    background: var(--black);

    color: var(--white);
}

.section-header {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;
}

.section-header h2 {
    max-width: 700px;

    font-size: clamp(36px, 4vw, 56px);

    line-height: 1.04;

    letter-spacing: -0.045em;
}

.section-header > p {
    max-width: 400px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.8;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.10);
}

.service-card {
    min-height: 300px;

    padding: 32px;

    background: var(--black);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.service-card:hover {
    background: var(--dark);

    transform: translateY(-3px);
}

.service-number {
    display: block;

    margin-bottom: 80px;

    color: var(--blue-light);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.service-card h3 {
    max-width: 300px;

    margin-bottom: 13px;

    font-size: 21px;

    line-height: 1.15;
}

.service-card p {
    max-width: 330px;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.7;
}

.emergency-card {
    background: var(--blue);

    color: var(--white);
}

.emergency-card:hover {
    background: var(--blue-light);
}

.emergency-card .service-number {
    color: var(--white);
}

.emergency-card p {
    color: rgba(255, 255, 255, 0.78);
}


/* ============================================
   COVERAGE
============================================ */

.coverage {
    position: relative;

    padding: 100px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #102c49,
            #07111f
        );

    color: var(--white);
}

.coverage::after {
    content: "";

    position: absolute;

    right: -100px;
    top: -180px;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(20, 120, 212, 0.35);

    border-radius: 50%;
}

.coverage-content {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1fr auto;

    align-items: center;

    gap: 80px;
}

.coverage-content h2 {
    max-width: 700px;

    margin-bottom: 20px;

    font-size: clamp(40px, 5vw, 68px);

    line-height: 1;

    letter-spacing: -0.05em;
}

.coverage-content p {
    max-width: 600px;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.8;
}

.coverage-box {
    min-width: 250px;

    padding: 40px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.05);

    text-align: center;
}

.coverage-box strong {
    display: block;

    margin-bottom: 8px;

    color: var(--blue-light);

    font-size: 48px;

    line-height: 1;
}

.coverage-box span {
    color: rgba(255, 255, 255, 0.65);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* ============================================
   VALUES
============================================ */

.values {
    padding: 120px 0;

    background: var(--white);
}

.values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #d9e2eb;
    border-left: 1px solid #d9e2eb;
}

.value-item {
    min-height: 180px;

    padding: 27px;

    border-right: 1px solid #d9e2eb;
    border-bottom: 1px solid #d9e2eb;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.value-item:hover {
    background: var(--black);

    color: var(--white);
}

.value-item span {
    display: block;

    margin-bottom: 55px;

    color: var(--blue);

    font-size: 11px;
    font-weight: 800;
}

.value-item h3 {
    font-size: 19px;

    line-height: 1.2;
}


/* ============================================
   PRODUCTS
============================================ */

.products {
    padding: 120px 0;

    background: var(--white-soft);
}

.products-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* PRODUCT CARD */

.product-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--white);

    border: 1px solid #dbe3ea;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    border-color: rgba(7, 86, 168, 0.55);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08);
}

.product-card-image {
    height: 205px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 22px;

    background: var(--white);

    border-bottom: 1px solid #e6edf3;
}

.product-card-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 23px;
}

.product-card-content h3 {
    margin-bottom: 10px;

    color: var(--black);

    font-size: 17px;

    line-height: 1.2;
}

.product-card-content p {
    flex: 1;

    margin-bottom: 20px;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;
}

.add-cart-btn {
    width: 100%;

    min-height: 43px;

    border: 1px solid var(--blue);
    border-radius: 3px;

    background: var(--blue);

    color: var(--white);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.add-cart-btn:hover {
    background: var(--blue-light);

    border-color: var(--blue-light);

    color: var(--white);
}


/* ============================================
   QUOTE
============================================ */

.quote-section {
    padding: 130px 0;

    background: var(--blue);

    color: var(--white);
}

.quote-content {
    max-width: 950px;

    text-align: center;
}

.quote-content .section-label {
    color: rgba(255, 255, 255, 0.75);
}

.quote-content h2 {
    margin-bottom: 25px;

    font-size: clamp(38px, 5vw, 70px);

    line-height: 1;

    letter-spacing: -0.055em;
}

.quote-content h2 strong {
    display: block;

    font-weight: 900;
}

.quote-content p {
    max-width: 650px;

    margin: 0 auto 30px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 15px;
}

.quote-content .btn-primary {
    background: var(--white);

    border-color: var(--white);

    color: var(--blue);
}

.quote-content .btn-primary:hover {
    background: var(--white-soft);

    border-color: var(--white-soft);
}


/* ============================================
   CONTACT
============================================ */

.contact {
    padding: 120px 0;

    background: var(--white);
}

.contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.contact-info h2 {
    max-width: 650px;

    margin-bottom: 20px;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1;

    letter-spacing: -0.05em;
}

.contact-info > p {
    max-width: 520px;

    margin-bottom: 30px;

    color: var(--gray-dark);

    font-size: 15px;

    line-height: 1.8;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.contact-button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 25px;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.contact-button:hover {
    transform: translateY(-2px);

    opacity: 0.9;
}

.contact-button.whatsapp {
    background: #25d366;

    color: var(--white);
}

.contact-button.email {
    background: var(--blue);

    color: var(--white);
}

.contact-box {
    padding: 35px;

    background: var(--black);

    color: var(--white);

    border-left: 4px solid var(--blue);
}

.contact-line {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 22px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.contact-line:first-child {
    padding-top: 0;
}

.contact-line:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.contact-line span {
    color: var(--gray);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}

.contact-line strong {
    text-align: right;

    font-size: 13px;
}


/* ============================================
   FOOTER
============================================ */

.footer {
    padding: 40px 0;

    background: var(--black);

    color: var(--white);
}

.footer-content {
    display: flex;

    justify-content: space-between;
    align-items: end;

    gap: 30px;
}

.footer-logo {
    margin-bottom: 7px;

    color: var(--white);

    font-size: 17px;
    font-weight: 900;

    letter-spacing: -0.04em;
}

.footer-content p {
    color: var(--gray);

    font-size: 12px;
}

.footer-copy {
    color: var(--gray);

    font-size: 11px;

    text-align: right;
}


/* ============================================
   CART / SOLICITUD
============================================ */

.cart-overlay {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;
    justify-content: flex-end;
    align-items: stretch;

    background: rgba(3, 12, 22, 0.72);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 9999;
}

.cart-overlay.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

.cart-panel {
    width: min(520px, 100%);
    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--white);

    box-shadow:
        -15px 0 50px rgba(0, 0, 0, 0.25);

    transform: translateX(100%);

    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-overlay.active .cart-panel {
    transform: translateX(0);
}


/* CART HEADER */

.cart-header {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px 28px;

    background: var(--black);

    color: var(--white);

    border-bottom: 3px solid var(--blue);
}

.cart-small-title {
    display: block;

    margin-bottom: 4px;

    color: var(--blue-light);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.cart-header h2 {
    color: var(--white);

    font-size: 24px;

    line-height: 1.1;
}

.cart-close {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    background: transparent;

    color: var(--white);

    font-size: 26px;

    line-height: 1;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.cart-close:hover {
    background: var(--blue);

    border-color: var(--blue);

    color: var(--white);
}


/* CART ITEMS */

.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 22px 28px;

    background: var(--white-soft);
}

.cart-item {
    position: relative;

    display: grid;

    grid-template-columns: 72px 1fr auto;

    gap: 15px;

    align-items: center;

    padding: 14px;

    margin-bottom: 12px;

    background: var(--white);

    border: 1px solid #dce5ed;

    border-radius: 10px;
}

.cart-item-image {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--white);

    border-radius: 7px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-info h4 {
    margin-bottom: 10px;

    color: var(--black);

    font-size: 14px;

    line-height: 1.35;
}

.cart-item-controls {
    display: flex;
    align-items: center;

    gap: 10px;
}

.cart-item-controls button {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d7e0e8;
    border-radius: 5px;

    background: var(--white);

    color: var(--black);

    font-size: 17px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.cart-item-controls button:hover {
    background: var(--blue);

    border-color: var(--blue);

    color: var(--white);
}

.cart-item-controls span {
    min-width: 20px;

    text-align: center;

    color: var(--black);

    font-size: 13px;
    font-weight: 700;
}

.cart-item-remove {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent;

    color: #8b9390;

    font-size: 22px;

    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: #d33;
}


/* EMPTY CART */

.empty-cart {
    min-height: 220px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    color: var(--gray);
}

.empty-cart span {
    margin-bottom: 12px;

    font-size: 38px;
}

.empty-cart p {
    font-size: 14px;
}


/* CART FOOTER */

.cart-footer {
    flex-shrink: 0;

    max-height: 58vh;

    overflow-y: auto;

    padding: 24px 28px;

    background: var(--white);

    border-top: 1px solid #e0e7ed;
}


/* CUSTOMER FORM */

.customer-form {
    display: grid;

    gap: 13px;

    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.form-group label {
    color: var(--gray-dark);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 11px 13px;

    border: 1px solid #d7e0e8;

    border-radius: 6px;

    outline: none;

    background: var(--white);

    color: var(--black);

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(7, 86, 168, 0.12);
}

.form-group textarea {
    min-height: 75px;

    resize: vertical;
}


/* CART BUTTONS */

.cart-whatsapp,
.cart-email {
    width: 100%;

    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.06em;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.cart-whatsapp {
    margin-bottom: 10px;

    background: #25d366;

    color: var(--white);
}

.cart-email {
    background: var(--blue);

    color: var(--white);
}

.cart-whatsapp:hover,
.cart-email:hover {
    transform: translateY(-1px);

    opacity: 0.90;
}


/* ============================================
   SCROLLBAR
============================================ */

.cart-items::-webkit-scrollbar,
.cart-footer::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-thumb,
.cart-footer::-webkit-scrollbar-thumb {
    background: #b9c8d6;

    border-radius: 10px;
}


/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 1100px) {

    .nav {
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        gap: 50px;
    }

}


@media (max-width: 850px) {

    .nav {
        display: none;
    }

    .hero {
        min-height: 680px;
    }

    .intro-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-image {
        height: 450px;
    }

    .coverage-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .coverage-box {
        width: fit-content;
    }

    .section-header {
        align-items: start;
        flex-direction: column;

        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--max-width)
        );
    }

    .nav-container {
        min-height: 78px;
    }

    .logo {
        width: 125px;
    }

    .cart-button {
        padding: 9px 11px;
    }

    .cart-button > span:first-child {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding-top: 95px;
    }

    .hero h1 {
        font-size: 47px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .intro,
    .about,
    .services,
    .values,
    .products,
    .contact {
        padding: 80px 0;
    }

    .quote-section {
        padding: 90px 0;
    }

    .intro-grid h2,
    .about-content h2 {
        font-size: 38px;
    }

    .about-image {
        height: 350px;
    }

    .about-features {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 250px;
    }

    .service-number {
        margin-bottom: 55px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .value-item {
        min-height: 150px;

        padding: 20px;
    }

    .value-item span {
        margin-bottom: 35px;
    }

    .coverage-content h2 {
        font-size: 42px;
    }

    .coverage-box {
        width: 100%;
    }

    .contact-line {
        flex-direction: column;

        align-items: flex-start;
    }

    .contact-line strong {
        text-align: left;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-copy {
        text-align: left;
    }


    /* CART */

    .cart-panel {
        width: 100%;
    }

    .cart-header {
        padding: 20px;
    }

    .cart-items {
        padding: 16px;
    }

    .cart-footer {
        padding: 20px;
    }

    .cart-item {
        grid-template-columns: 60px 1fr auto;

        gap: 12px;

        padding: 11px;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

}


.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}



.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #20b85a;
    border-radius: 10px;
    background: #25d366;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-whatsapp::before {
    content: "☏";
    font-size: 20px;
    line-height: 1;
}

.header-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
    }

    .nav-container .nav {
        display: none;
    }

    .header-actions {
        gap: 7px;
    }

    .header-whatsapp {
        min-height: 38px;
        padding: 0 10px;
        border-radius: 9px;
        font-size: 12px;
    }

    .header-whatsapp::before {
        font-size: 17px;
    }
}

/* Botón volver del carrito */
.cerrar-carrito {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #263445;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.cerrar-carrito:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

