/* ============================================================
   P&ID SAS · V8.1 CSS · Empresa Especialista · Diseño y Montaje
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    /* ── Paleta Sobria e Intensa V8 ── */
    --navy-dark: #070D16;
    --navy: #0B1320;
    --navy-mid: #131E32;
    --navy-light: #1A2842;

    --orange: #D95A11;
    --orange-h: #BF4F0E;

    --cyan: #5D8AA8;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);

    /* ── Texto ── */
    --text-pure: #FFFFFF;
    --text-main: #F1F5F9;
    /* Much brighter for readability */
    --text-muted: #CBD5E1;
    /* Lighter, less tiring muted text */

    --green-wsp: #25D366;
    --green-wsp-h: #1DA851;

    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --r: 8px;
    --r-sm: 4px;
    --trans: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden; /* Prevents fixed elements (like mobile nav) from causing lateral scroll */
}

body {
    font-size: 18px;
    font-family: var(--font-body);
    background: var(--navy-dark);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--text-pure);
    line-height: 1.25;
    font-weight: 700;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 1rem;
}

a {
    text-decoration: none;
    transition: color var(--trans), background var(--trans), border-color var(--trans);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ── LAYOUT ── */
.container {
    width: min(92%, 1200px);
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.bg-dark {
    background: var(--navy-dark);
}

.bg-navy {
    background: var(--navy);
}

.text-center {
    text-align: center;
}

/* ── AYUDAS TIPOGRÁFICAS ── */
.eyebrow {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cyan);
    margin-bottom: 0.8rem;
    font-family: var(--font-body);
}

.eyebrow-orange {
    color: var(--orange);
}

.accent-line {
    width: 50px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    margin: 1.2rem 0;
}

.section-head {
    max-width: 700px;
    margin-bottom: 3.5rem;
}

.section-head.text-center {
    margin: 0 auto 3.5rem;
}

.section-head h2 {
    font-size: 2.7rem;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.02em;
}

.section-head p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── BOTONES (Sofisticados, pequeños) ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    font: 600 1rem var(--font-body);
    border-radius: var(--r-sm);
    cursor: pointer;
    white-space: nowrap;
}

.btn-lg {
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-cta {
    background: var(--orange);
    color: var(--text-pure);
    border: 1px solid var(--orange);
}

.btn-cta:hover {
    background: var(--orange-h);
    border-color: var(--orange-h);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 90, 17, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: var(--navy-mid);
    border-color: var(--text-pure);
    color: var(--text-pure);
}

.btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-text i {
    font-size: 0.8rem;
    transition: transform var(--trans);
}

.btn-text:hover {
    color: var(--orange-h);
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* ── TOP BAR ── */
.top-bar {
    background: var(--navy-dark);
    border-bottom: 1px solid var(--border);
    padding: 0.4rem 0;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-left span {
    color: var(--text-muted);
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    gap: 1.2rem;
}

.top-bar-right a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar-right a:hover {
    color: var(--text-pure);
}

/* ── HEADER ── */
.header {
    background: rgba(11, 19, 32, 0.98);
    position: sticky;
    top: 0;
    z-index: 1100; /* Increased to stay above ribbon buttons */
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--trans);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.logo img {
    height: 95px;
    width: auto;
    object-fit: contain;
    transition: transform var(--trans);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.4rem 0;
    font-family: var(--font-body);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
}

.nav-close {
    display: none;
    background: none;
    border: none;
    color: var(--text-pure);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.4rem;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-pure);
    border-radius: 2px;
    transition: all var(--trans);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--trans);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ── HERO MASTERIZADO ── */
.hero {
    position: relative;
    padding: 6rem 0 7rem;
    overflow: hidden;
}

.hero-bg-subtle {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow.bottom-left {
    bottom: -20%;
    left: -10%;
    background: var(--cyan);
}

.glow.top-right {
    top: -20%;
    right: -10%;
    background: var(--orange);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-wrap {
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(93, 138, 168, 0.1);
    border: 1px solid var(--cyan);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: min(4rem, 10vw);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--orange), #FF8A4C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-inline: auto;
}

.hero-sub strong {
    font-weight: 600;
    color: var(--text-pure);
}

/* ── Split Hero B2B ── */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0;
    text-align: left;
}

.split-hero-title {
    font-size: 3.1rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.split-hero-left .btn-cta {
    margin-top: 1rem;
}

.split-hero-right {
    padding-left: 2.5rem;
    border-left: 2px solid rgba(217, 90, 17, 0.3);
}

.split-hero-right .eyebrow {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.split-hero-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
}

@media (max-width: 1024px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .split-hero-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 3rem;
    }

    .split-hero-title {
        font-size: 2.8rem;
    }
}

/* Grid Interactivo Hero */
.hero-interactive-grid {
    max-width: 800px;
    margin: 0 auto;
}

/* ── INTERACTIVE GRID (V11) ── */
.interactive-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

.int-card {
    position: relative;
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 2.2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-pure);
    transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans), background var(--trans);
    overflow: hidden;
}

/* Elegante línea superior (Top Sweep) */
.int-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--orange);
    transition: width 0.4s ease;
}

.int-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--orange-h);
    background: rgba(217, 90, 17, 0.1);
}

.int-card:hover::before {
    width: 100%;
}

.int-card>i.main-icon {
    font-size: 2rem;
    color: var(--cyan);
    margin-bottom: 0.2rem;
    transition: color var(--trans), transform 0.4s ease;
}

.int-card:hover>i.main-icon {
    color: var(--orange);
    transform: scale(1.1);
}

.int-card strong {
    font-size: 1.05rem;
    font-family: var(--font-heading);
}

.int-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    transition: color var(--trans);
}

/* Flecha Elegante (Reemplaza el pulso) */
.elegant-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--orange);
    font-size: 1.1rem;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.int-card:hover .elegant-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ── ABOUT EMPRESA ── */
.pyme-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.pyme-text h2 {
    font-size: 2.2rem;
    margin: 0.5rem 0;
    letter-spacing: -0.01em;
}

.pyme-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: var(--navy-mid);
    border: 1px solid var(--border);
    padding: 1.8rem 1.5rem;
    border-radius: var(--r);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: transform var(--trans);
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--cyan);
}

.stat-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.stat-wide i {
    font-size: 2.2rem;
    color: var(--orange);
}

.stat-num {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1;
}

.stat-lbl {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 500;
}

/* ── SERVICIOS SLEEK (Apple/Leader Minimalist) ── */
.sleek-service-container {
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.sleek-service-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: stretch;
    position: relative;
    padding: 2.2rem 2.5rem;
    background: rgba(11, 19, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    min-height: 400px;
}

.sleek-service-section:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.sleek-service-section:last-child {}

.sleek-service-section.reverse {
    grid-template-columns: 1fr 1fr;
}

.sleek-service-section.reverse .sleek-media-wrapper {
    order: -1;
}

.sleek-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.sleek-eyebrow {
    display: none;
}

.sleek-content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.sleek-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.sleek-features {
    display: none;
}

/* Linear / Vercel Ultra-Modern 2024 CTA Style - Navy/Elegant Edition (Eye-Catching) */
.sleek-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    color: var(--text-pure);
    background: linear-gradient(180deg, var(--navy-light) 0%, var(--navy-mid) 100%);
    padding: 0.95rem 2.4rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    width: max-content;
    margin-top: auto;
    transition: all 0.3s ease;
    border: 1px solid rgba(217, 90, 17, 0.5);
    /* Subtle orange stroke */
    box-shadow:
        0px 1px 2px rgba(0, 0, 0, 0.2),
        inset 0px 1px 1px rgba(255, 255, 255, 0.1),
        0 4px 15px rgba(217, 90, 17, 0.15);
    /* Orange ambient glow */
}

.sleek-link i {
    color: var(--orange);
    /* The arrow points out vividly */
    transition: transform 0.2s ease, color 0.2s ease;
}

.sleek-link:hover {
    transform: translateY(-2px);
    box-shadow:
        0px 2px 4px rgba(0, 0, 0, 0.3),
        inset 0px 1px 1px rgba(255, 255, 255, 0.15),
        0 8px 25px rgba(217, 90, 17, 0.35);
    /* Increased orange glow */
    filter: brightness(1.15);
    border-color: var(--orange);
}

.sleek-media-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: var(--navy-dark);
    width: 100%;
    height: 100%;
    min-height: 340px;
}

.sleek-media-wrapper .srv-slider {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.sleek-media-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* very subtle inline stroke */
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 1024px) {
    .sleek-service-container {
        padding: 4rem 0;
        gap: 4rem;
    }

    .sleek-service-section,
    .sleek-service-section.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
        min-height: auto;
    }

    .sleek-service-section .sleek-media-wrapper {
        order: -1;
        min-height: 400px;
        height: 400px;
    }

    .sleek-media-wrapper .srv-slider {
        height: 100%;
    }

    .sleek-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .sleek-service-container {
        padding: 3rem 0;
        gap: 3rem;
    }

    .sleek-service-section,
    .sleek-service-section.reverse {
        padding: 1.8rem;
        gap: 2rem;
        border-radius: 16px;
    }

    .sleek-content h2 {
        font-size: 1.85rem;
    }

    .sleek-content p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .sleek-service-section .sleek-media-wrapper {
        min-height: 280px;
        height: 280px;
        border-radius: 10px;
    }

    .sleek-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}


/* ── SERVICIOS MINIMAL GRID (4 ítems) ── */
.services-minimal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.srv-card {
    position: relative;
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: var(--r);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}

.srv-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stretched-link::after {
    position: absolute;
    inset: 0;
    z-index: 10;
    content: "";
}

.srv-media,
.srv-slider {
    height: 320px;
    border-bottom: 1px solid var(--border);
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.srv-ph {
    border: none;
    height: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    font-size: 2rem;
    color: var(--cyan);
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.srv-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 6s linear;
    transform: scale(1.05);
    user-select: none;
    -webkit-user-drag: none;
}

/* Ajuste específico para la segunda foto (bomba vertical) en Cuartos de Bombas */
#srv-bombas .srv-slider .slide:nth-child(2) {
    object-position: center 30%;
}

.srv-slider .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Fractional Slider Counter */
.slider-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--text-pure);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    z-index: 20;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.srv-content {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    /* Hace que el stretched-link solo ocupe esta sección y no la foto */
}

.srv-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.srv-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    flex: 1;
    line-height: 1.65;
}

/* ── MANTENIMIENTO BANNER ── */
.maintenance-solid-banner {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
    border: 1px solid var(--border);
    border-top: 3px solid var(--orange);
    border-radius: var(--r);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.msb-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.msb-header i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-top: 0.5rem;
}

.msb-header h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.msb-content p {
    font-size: 1.1rem;
    color: var(--text-main);
    max-width: 800px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.msb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.msb-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    background: var(--navy-dark);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-main);
}

.msb-tags i {
    color: var(--cyan);
    font-size: 0.8rem;
}

.msb-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* ── PROYECTOS GRID 2x2 ── */
.projects-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-elegant-card {
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: var(--r);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--trans), border-color var(--trans);
}

.project-elegant-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}


.prj-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--orange);
    border: 1px solid var(--orange-h);
    color: var(--text-pure);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.prj-text {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prj-text h4 {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
}

.prj-text p {
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ── CONTACTO ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text h2 {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.portfolio-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding: 2rem 0 4rem;
}

.prj-showcase {
    display: grid;
    grid-template-columns: 3fr 2fr;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.prj-showcase:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.prj-showcase-reverse {
    grid-template-columns: 2fr 3fr;
}

.prj-showcase-reverse .prj-img-panel {
    order: 2;
}

.prj-showcase-reverse .prj-info-panel {
    order: 1;
}

/* Panel Imagen */
.prj-img-panel {
    position: relative;
    overflow: hidden;
    background: var(--navy-dark);
}

.prj-img-panel .srv-slider {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}

.prj-img-panel .slider-wrapper {
    height: 100%;
}

.prj-img-panel .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.prj-img-panel .slide.active {
    opacity: 1;
}

.prj-img-panel .slider-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.82rem;
    padding: 0.28rem 0.65rem;
    border-radius: 50px;
    font-weight: 600;
    z-index: 5;
}

.prj-location-tag {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    background: rgba(217, 90, 17, 0.9);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 5;
}

.prj-location-tag i {
    margin-right: 0.3rem;
    font-size: 0.72rem;
}

/* Panel Info */
.prj-info-panel {
    background: rgba(8, 15, 28, 0.97);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.prj-type-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    display: inline-block;
}

.prj-info-panel h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.prj-info-panel p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

.prj-specs-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.prj-specs-grid span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.prj-specs-grid span i {
    color: var(--orange);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {

    .prj-showcase,
    .prj-showcase-reverse {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .prj-img-panel {
        min-height: 340px;
    }

    .prj-img-panel .srv-slider {
        position: relative;
        height: 340px;
    }

    .prj-showcase-reverse .prj-img-panel {
        order: 1;
    }

    .prj-showcase-reverse .prj-info-panel {
        order: 2;
    }

    .portfolio-showcase-list {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .portfolio-showcase-list {
        gap: 2rem;
    }

    .prj-img-panel .srv-slider {
        height: 260px;
    }

    .prj-info-panel {
        padding: 1.8rem 1.4rem;
    }

    .prj-info-panel h2 {
        font-size: 1.4rem;
    }
}



.contact-data-boxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.c-data {
    background: var(--navy-mid);
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.c-data strong {
    font-size: 0.9rem;
    color: var(--text-pure);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.c-data span {
    font-size: 1rem;
    color: var(--text-muted);
}

.text-wsp {
    color: var(--green-wsp);
}

.contact-wsp-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: inherit;
    transition: transform var(--trans);
}

.contact-wsp-link:hover {
    transform: translateX(4px);
}

.contact-wsp-link strong {
    color: var(--text-pure);
}

.contact-wsp-link span {
    color: var(--text-muted);
}

.text-orange {
    color: var(--orange);
}

.form-card-sober {
    background: var(--navy-mid);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: var(--r);
}

.fg {
    margin-bottom: 1.2rem;
}

.fg label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.fg input,
.fg select,
.fg textarea {
    width: 100%;
    background: var(--navy-dark);
    border: 1px solid var(--border);
    color: var(--text-pure);
    font-family: var(--font-body);
    padding: 0.85rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    transition: border-color var(--trans), box-shadow var(--trans);
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(93, 138, 168, 0.1);
}

.form-submit-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* ── FOOTER ── */
.footer {
    background: var(--navy-dark);
    padding: 4rem 0 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 110px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    transition: opacity var(--trans);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-badges-sober {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.footer-badges-sober span {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--navy-mid);
}

.footer h5 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    color: var(--text-pure);
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer ul a {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.footer ul a:hover {
    color: var(--text-pure);
}

.footer p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.footer-wsp-link {
    color: var(--orange);
    font-weight: 500;
}

.footer-wsp-link:hover {
    color: var(--orange-h);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    text-align: center;
    width: 100%;
}

/* ── WHATSAPP FLOAT ── */
.wsp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    background: var(--green-wsp);
    color: var(--text-pure);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform var(--trans), background var(--trans);
}

.wsp-float:hover {
    transform: scale(1.1);
    background: var(--green-wsp-h);
}

/* ── NUEVOS CTAS Y BANNERS (CONVERSION OPTIMIZATION) ── */

/* Espacio del párrafo heroico antes de los botones */
.hero-sub {
    margin-bottom: 0 !important;
    /* resetear para que sea el grupo quien controle la distancia */
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding: 3rem 1rem;
    /* padding interno en lugar de margin, funciona igual en desktop y móvil */
    flex-wrap: wrap;
}

.hero-cta-group .btn {
    min-width: 200px;
    font-weight: 700;
}

.hero-urgency-hook {
    font-size: 1.15rem;
    color: var(--text-muted);
    padding-bottom: 2rem;
    font-weight: 600;
}

/* ── CTA RIBBON ── */
.cta-ribbon {
    background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    border-top: 2px solid rgba(217, 90, 17, 0.4);
    border-bottom: 2px solid rgba(217, 90, 17, 0.4);
    padding: 4rem 0;
    position: relative;
    z-index: 1; /* Ensure it stays behind header */
}

.cta-ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.ribbon-text {
    text-align: left;
    flex: 1;
    min-width: 260px;
}

.ribbon-text h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-pure);
    line-height: 1.3;
}

.ribbon-text p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.ribbon-action {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cta-ribbon {
        padding: 3rem 0;
    }

    .cta-ribbon-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .ribbon-text {
        text-align: center;
    }

    .ribbon-text p {
        margin-bottom: 0;
    }

    .ribbon-action {
        margin: 0;
        /* en columna el gap del parent ya separa */
    }
}



/* ── FAQ CTA ── */
.faq-cta {
    padding: 5rem 1rem 3rem;
}

.faq-cta h3 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 2rem;
}

.faq-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ── ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .pyme-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-minimal-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid-2x2 {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {

    /* Top Bar Mobile */
    .top-bar-left span {
        display: none;
    }

    .top-bar-right {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.4rem;
        padding: 0.3rem 0;
    }

    .top-bar-right a {
        font-size: 0.85rem;
    }

    /* Hamburger */
    .hamburger {
        display: flex;
        background: var(--navy-dark);
        border: 1px solid var(--border);
        padding: 0.6rem;
        border-radius: var(--r-sm);
        z-index: 1005;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0; /* Always anchored to the right edge */
        height: 100vh;
        width: 100%;
        max-width: 320px;
        background: var(--navy-dark);
        border-left: 1px solid var(--border);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: flex-start;
        justify-content: stretch;
        padding: 2.5rem 1.5rem;
        gap: 0;
        /* Use transform instead of right positioning to avoid horizontal scroll on iOS */
        transform: translateX(110%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        visibility: hidden; /* Prevent tab focus when closed */
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Overlay Oscuro para el Menú */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 990;
        /* Debajo del menú (1000) pero encima del resto */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 2rem;
        right: 1.5rem;
        z-index: 1010;
        margin: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 3.5rem;
        /* Deja espacio para que la X no tape el primer enlace */
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.25rem;
        color: var(--text-pure);
    }

    .nav-cta {
        margin-top: 2rem;
        width: 100%;
        justify-content: center;
    }

    /* Hero Mobile */
    .hero {
        padding: 4rem 0;
    }

    .hero-badge-wrap {
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-sub {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .interactive-cards {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .int-card {
        padding: 1.2rem 0.8rem;
    }

    .int-card i {
        font-size: 1.5rem;
    }

    /* Section Headers */
    .section-head h2 {
        font-size: 2rem;
    }

    /* Maintenance */
    .msb-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .msb-header i {
        font-size: 2rem;
        margin-top: 0;
    }

    .msb-action {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Form Mobile Width Fix */
    .form-card-sober {
        padding: 1.5rem;
        /* Menos padding lateral en móvil */
    }

    .contact-form-wrap {
        width: 100%;
        overflow: hidden;
    }

    /* Floating WhatsApp Fix */
    .wsp-float {
        right: 1rem;
        bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .interactive-cards {
        grid-template-columns: 1fr;
    }

    .pyme-stats {
        grid-template-columns: 1fr;
    }

    .stat-wide {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .stat-wide i {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}


/* =========================================
   ZIGZAG PREMIUM LAYOUT (LOVE & CARE)
   ========================================= */
@media (min-width: 900px) {
    .srv-zigzag {
        display: flex;
        flex-direction: column;
        gap: 6rem;
        padding: 4rem 0;
    }

    .srv-zigzag .srv-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        margin-bottom: 0;
        background: rgba(11, 19, 32, 0.4);
        border: 1px solid var(--border);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    }

    .srv-zigzag .srv-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
        border-color: rgba(217, 90, 17, 0.3);
        /* Subtle orange glow border */
    }

    .srv-zigzag .srv-card:nth-child(even) {
        flex-direction: row-reverse;
    }

    .srv-zigzag .srv-slider,
    .srv-zigzag .srv-content {
        flex: 1;
        width: 50%;
    }

    .srv-zigzag .srv-slider {
        margin-bottom: 0;
        min-height: 100%;
    }

    .srv-zigzag .srv-slider .slider-wrapper {
        height: 100%;
    }

    .srv-zigzag .srv-slider img.slide {
        height: 100%;
        object-fit: cover;
    }

    .srv-zigzag .srv-content {
        padding: 5rem 4rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: linear-gradient(145deg, rgba(16, 26, 43, 0.9), rgba(7, 13, 22, 0.95));
    }

    .srv-zigzag .srv-content h3 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, #fff, #b9c6d3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.2;
    }

    .srv-zigzag .srv-content p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--text-muted);
        margin-bottom: 2.5rem;
    }

    .srv-zigzag .btn-text {
        align-self: flex-start;
        font-size: 1.2rem;
        padding: 1rem 2rem;
        background: var(--orange);
        color: #fff;
        border-radius: 8px;
        text-decoration: none;
        position: relative;
    }

    .srv-zigzag .btn-text:hover {
        background: var(--orange-h);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(217, 90, 17, 0.4);
    }

    .srv-zigzag .btn-text i {
        margin-left: 10px;
    }
}

/* PROYECTOS PREMIUM */
.projects-grid-2x2 {
    gap: 3rem;
}

.project-elegant-card {
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20, 30, 48, 1) 0%, rgba(36, 59, 85, 1) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.project-elegant-card .prj-text {
    padding: 2rem;
}

/* Ambient glow para las páginas internas */
.bg-navy.inner-page-wrap {
    position: relative;
    overflow: hidden;
}

.bg-navy.inner-page-wrap::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(217, 90, 17, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}


/* =========================================
   HERO INNER PAGES (Servicios, Contacto, etc.)
   ========================================= */
.hero-inner-page {
    position: relative;
    padding: 7rem 0 4rem;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    overflow: hidden;
}

.hero-inner-page::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 90, 17, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner-page::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(93, 138, 168, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner-page .hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
}

.hero-inner-page .hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-inner-page .btn {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .hero-inner-page {
        padding: 5rem 0 3rem;
    }

    .hero-inner-page .hero-title {
        font-size: 2.2rem;
    }
}

/* =========================================
   TRUST STRIP (Home page credibility bar)
   ========================================= */
.trust-strip {
    background: var(--navy-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.trust-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    background: var(--navy-mid);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: transform var(--trans), border-color var(--trans);
}

.trust-item:hover {
    transform: translateY(-3px);
    border-color: var(--orange);
}

.trust-item i {
    font-size: 1.8rem;
    color: var(--orange);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-pure);
    margin-bottom: 0.15rem;
}

.trust-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .trust-items {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   GLOBAL POLISH (Smooth page transitions)
   ========================================= */

/* Glassmorphism header */
.header {
    background: rgba(11, 19, 32, 0.88) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Enhanced CTA buttons */
.btn-cta {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 90, 17, 0.35);
}

/* Gradient text polish */
.text-gradient {
    background: linear-gradient(135deg, #FF6B1A 0%, #FFB073 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Smooth section separators */
.section+.section {
    border-top: 1px solid var(--border);
}

/* Footer polish */
.footer {
    background: linear-gradient(180deg, var(--navy-dark) 0%, #050a12 100%);
}