/* ============================================
   ARQUITECTURA METÁLICA RAQUEL CEDEÑO SAS
   Main Stylesheet — Bauhaus Brand Edition
   ============================================ */
/* :) */

/* ---- CSS Variables ---- */
:root {
    /* === Brand System — Industrial Steel + Charcoal + Signal Orange ===
       Usage policy (keep this consistent across the stylesheet):
         • var(--color-orange)        — vibrant signal red-orange (#ff3f1a).
                                        Reserve for primary CTAs, hero focal
                                        point, active states, scarcity badges,
                                        and the footer transition line.
                                        Used sparingly — orange everywhere = orange nowhere.
         • rgba(--color-orange-rgb, X) — decorative emphasis (borders, hover tints,
                                        focus glows). Prefer X = 0.4–0.7 for
                                        visible accents, 0.08–0.25 for tints.
         • var(--color-teal-dark)     — sober structural accent for tags,
                                        dividers, default icon color, category
                                        chips, links, blueprint-like elements.
         • Ink ladder: --color-ink (h1–h4)  >  --color-ink-soft (body)
                       >  --color-ink-muted (captions, supporting copy)
                       >  --color-ink-faint (placeholders, ghost dividers).
       Do not introduce new accent values; modulate the existing tokens. */

    /* Page substrate (cool industrial neutrals) — name kept for compatibility */
    --color-black:        #f4f4f4;  /* primary light substrate */
    --color-black-rgb:    244, 244, 244;
    --color-bg-deep:      #ececec;  /* alt section background */
    --color-bg-mid:       #e3e3e8;  /* projects/mid section, slightly cooler weight */
    --color-bg-raised:    #ffffff;  /* elevated cards / lightest surface */

    /* Dark anchor (footer + CTA dramatic break) */
    --color-bg-darkest:   #13121a;  /* footer + CTA — deep charcoal */
    --color-bg-strip:     #0a0913;  /* footer bottom strip */
    --color-bg-anchor-rgb: 19, 18, 26;  /* for shadows + dark overlays */

    /* Ink scale — primary text family on light substrate */
    --color-ink:          #13121a;  /* primary headings */
    --color-ink-soft:     #2d3435;  /* body text */
    --color-ink-muted:    #5a5a64;  /* secondary text, captions */
    --color-ink-faint:    #9c9ca6;  /* tertiary text, subtle dividers */
    --color-ink-rgb:      19, 18, 26;

    /* Light text (for use on dark anchor sections) */
    --color-light:        #ececec;
    --color-off-white:    #f4f4f4;

    /* Other neutrals (industrial charcoal) */
    --color-dark-gray:    #34343a;
    --color-mid-gray:     #414147;

    /* Steel-blue accent family — the architectural "blueprint" voice */
    --color-teal-light:   #97d6df;
    --color-teal-mid:     #b7e2e8;
    --color-teal-dark:    #44797f;
    --color-teal-muted:   #7ba0a6;

    /* Brand orange — vibrant signal red-orange (the company's red) */
    --color-orange:       #ff3f1a;
    --color-orange-light: #ff7561;  /* hover state */
    --color-orange-rgb:   255, 63, 26;

    --color-slate-dark:   #1d2527;
    --color-slate-mid:    #2d3435;

    /* Legacy aliases (still referenced by older rules — kept in sync) */
    --primary:            var(--color-teal-dark);
    --primary-dark:       #2d5559;
    --primary-light:      var(--color-teal-light);
    --secondary:          #1d2527;
    --secondary-light:    #2d3435;
    --accent:             var(--color-teal-dark);
    --dark:               #13121a;
    --dark-2:             #2d3435;
    --gray-900:           #13121a;
    --gray-800:           #2d3435;
    --gray-700:           #414147;
    --gray-600:           #5a5a64;
    --gray-500:           #7a7a84;
    --gray-400:           #9c9ca6;
    --gray-300:           #c8c8d0;
    --gray-200:           #ececec;
    --gray-100:           #f4f4f4;
    --white:              #ffffff;

    --gradient-brand:     #ff3f1a;
    --gradient-accent:    #44797f;
    --gradient-primary:   #ff3f1a;
    --gradient-dark:      #13121a;

    --shadow-sm:          0 2px 8px rgba(var(--color-bg-anchor-rgb), 0.06);
    --shadow-md:          2px 4px 12px rgba(var(--color-bg-anchor-rgb), 0.08);
    --shadow-lg:          2px 4px 20px rgba(var(--color-bg-anchor-rgb), 0.10);
    --shadow-xl:          2px 6px 30px rgba(var(--color-bg-anchor-rgb), 0.14);
    --shadow-glow:        0 0 20px rgba(var(--color-orange-rgb), 0.22);

    --radius-sm:          4px;
    --radius-md:          4px;
    --radius-lg:          6px;
    --radius-xl:          4px;

    --transition:         all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:    all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography
       Font files go in /fonts/ — Just Sans (.otf/.ttf) and Standerd (.otf/.ttf) */
    --font-primary:       'Just Sans', sans-serif;
    --font-display:       'Standerd', serif;
}

/* ---- @font-face ---- */
/* Just Sans — filenames as delivered (spaces preserved, JUST all-caps) */
@font-face { font-family: 'Just Sans'; src: url('../fonts/JUST Sans ExLight.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Just Sans'; src: url('../fonts/JUST Sans Light.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Just Sans'; src: url('../fonts/JUST Sans Regular.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Just Sans'; src: url('../fonts/JUST Sans Medium.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Just Sans'; src: url('../fonts/JUST Sans SemiBold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Just Sans'; src: url('../fonts/JUST Sans Bold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Just Sans'; src: url('../fonts/JUST Sans ExBold.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
/* Standerd — mix of .otf and .ttf as delivered */
@font-face { font-family: 'Standerd'; src: url('../fonts/Standerd-Thin.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Standerd'; src: url('../fonts/Standerd-Light.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Standerd'; src: url('../fonts/Standerd-Regular.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Standerd'; src: url('../fonts/Standerd-Medium.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Standerd'; src: url('../fonts/Standerd-SemiBold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Standerd'; src: url('../fonts/Standerd-Bold.otf') format('opentype'), url('../fonts/Standerd-Bold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Standerd'; src: url('../fonts/Standerd-Black.otf') format('opentype'), url('../fonts/Standerd-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-ink-soft);
    background: var(--color-black);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent iOS auto-zoom on focus — keep at 16px */
input,
textarea,
select {
    font-family: inherit;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TYPOGRAPHY — paragraph justification
   Applies to all body copy and multi-line text blocks.
   Headings, buttons, labels, and nav links are not <p>
   elements so they are unaffected. Single-line paragraphs
   are also visually unaffected (the last line of a justified
   block is always left-aligned by the browser).
   ============================================ */
p {
    text-align: justify;
}

/* Exception: the process timeline alternates text-align
   right (odd steps) and left (even steps) intentionally.
   Justify would clobber the right-aligned last line on odd
   steps, so we restore inheritance for both. */
.process-step .step-content p {
    text-align: inherit;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-gradient {
    color: var(--color-orange);
    -webkit-text-fill-color: var(--color-orange);
}

.hero h1 .text-gradient {
    background: var(--color-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 18px rgba(var(--color-orange-rgb), 0.35));
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.loader-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    width: min(600px, 84vw);
    height: auto;
    animation: logoReveal 0.7s ease both;
    /* Logo file is natively white-friendly (see .footer-logo-img which uses
       it without filter on the dark footer). No inversion needed on dark bg. */
}

.loader-family {
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(236, 236, 236, 0.9);
    text-indent: 0.32em; /* compensate trailing letter-spacing for visual centering */
    animation: logoReveal 0.7s ease 0.18s both;
    white-space: nowrap;
}


@keyframes logoReveal {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: var(--color-orange);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(var(--color-orange-rgb), 0.6);
    animation: loaderProgress 2.5s ease-in-out forwards;
    animation-delay: 0.2s;
    width: 0;
}

@keyframes loaderProgress {
    from { width: 0; }
    to   { width: 100%; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    padding-top: max(18px, env(safe-area-inset-top));
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    background: rgba(19, 18, 26, 0.55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
    background: rgba(244, 244, 244, 0.92);
    padding: 10px 0;
    padding-top: max(10px, env(safe-area-inset-top));
    box-shadow: 0 1px 0 rgba(19, 18, 26, 0.04), 0 8px 30px rgba(19, 18, 26, 0.08);
    border-bottom-color: rgba(19, 18, 26, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
    z-index: 1001;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.logo-img {
    display: block;
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.35s ease;
}

.navbar.scrolled .logo-img {
    filter: brightness(0) invert(0.08);
}

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

.nav-link {
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-light);
    border-radius: var(--radius-sm);
    transition: color 0.25s ease;
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.navbar.scrolled .nav-link {
    color: var(--color-ink-soft);
}

.nav-link:hover,
.nav-link.active,
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--color-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--color-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.btn-nav {
    background: var(--color-orange) !important;
    color: var(--white) !important;
    border: 1px solid var(--color-orange) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

.btn-nav::after { display: none !important; }

.btn-nav:hover,
.navbar.scrolled .btn-nav:hover {
    background: var(--color-orange-light) !important;
    border-color: var(--color-orange-light) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 20px rgba(var(--color-orange-rgb), 0.45) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    z-index: 1001;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
    display: block;
}

.navbar.scrolled .hamburger span {
    background: var(--color-ink);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--color-bg-darkest);
    overflow: hidden;
}

/* No hero pseudo-element animations or noise overlays — the hero is
   rendered exclusively by Vanta NET on both desktop and mobile. Any CSS
   layer above the canvas risked obscuring the WebGL render on iOS Safari. */


.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(var(--color-orange-rgb), 0.10) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.hero-particles {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    will-change: opacity, transform;
    /* Vertical only — horizontal padding comes from .container so the text
       never reaches the viewport edge on narrow screens. */
    padding-top: 148px;
    padding-bottom: 160px;
    width: 100%;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    color: var(--color-light);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    color: rgba(236, 236, 236, 0.78);
    max-width: 540px;
    margin: 0 0 44px;
    line-height: 1.75;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Hero scope: light translucent outline button on dark substrate */
.hero .btn-outline {
    color: var(--color-light);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero .btn-outline:hover {
    color: var(--white);
    border-color: var(--color-orange);
    background: rgba(var(--color-orange-rgb), 0.12);
}

.scroll-indicator {
    display: none;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.875rem 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.25s;
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 48px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--color-orange);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-teal-dark);
    border-color: var(--color-teal-dark);
}

.btn-outline:hover {
    border-color: var(--color-ink);
    background: rgba(var(--color-ink-rgb), 0.04);
    color: var(--color-ink);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO STATS BAR
   ============================================ */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: stretch;
    background: rgba(10, 9, 19, 0.55);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-top: 1px solid rgba(var(--color-orange-rgb), 0.35);
    z-index: 3;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 1.5rem 2rem;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1rem 0;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-light);
    display: block;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-orange);
    display: inline;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(236, 236, 236, 0.62);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
    padding: 104px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-teal-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}


.section-tag i {
    display: none;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-ink);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-description {
    font-size: 17px;
    color: var(--color-ink-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================
   NUESTRA HISTORIA
   ============================================ */
.historia {
    background: linear-gradient(to bottom, var(--color-slate-dark), var(--color-dark-gray));
}

/* Text overrides for dark background */
.historia .section-header h2 {
    color: #fff;
}

.historia .section-tag {
    color: var(--color-teal-light);
}

.historia-content {
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.historia-content h3 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.historia-year {
    color: var(--color-orange);
}

.historia-content p {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.85;
    text-align: justify;
}

.historia-placeholder {
    color: rgba(255, 255, 255, 0.42) !important;
    font-style: italic;
    border-left: 2px dashed rgba(255, 255, 255, 0.14);
    padding-left: 12px;
    margin-top: 24px;
    font-size: 14px !important;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.historia-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Orange accent rule — same treatment as site header elements */
.historia-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-orange);
    z-index: 2;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.historia-img-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), 0 20px 50px rgba(var(--color-bg-anchor-rgb), 0.14);
}

.historia-img-wrapper img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.historia-img-wrapper:hover img {
    transform: scale(1.04);
}

@media (max-width: 1024px) {
    .historia-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .historia-content {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .historia-img-wrapper img {
        height: 280px;
    }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--color-bg-deep);
    overflow: hidden;
}

.about::before {
    content: 'NOSOTROS';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    color: rgba(var(--color-ink-rgb), 0.05);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 72px;
}

.about-img-wrapper {
    position: relative;
}

.about-img-placeholder {
    width: 100%;
    height: 460px;
    background: var(--color-slate-dark);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.about-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(68, 121, 127, 0.06) 40px,
        rgba(68, 121, 127, 0.06) 41px
    );
}

.about-img-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--color-orange);
}

.about-img-placeholder i {
    position: relative;
    font-size: 60px;
    color: rgba(68, 121, 127, 0.3);
}

.about-img-placeholder span {
    position: relative;
    font-size: 12px;
    color: rgba(151, 214, 223, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-img-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 110px;
    height: 110px;
    background: var(--color-orange);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.badge-text {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.about-content {
    padding-left: 8px;
    border-left: 1px solid rgba(var(--color-ink-rgb), 0.10);
}

.about-content h3 {
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 20px;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.about-content p {
    color: var(--color-ink-soft);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 15px;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0 1rem 1.25rem;
    border-left: 2px solid rgba(var(--color-orange-rgb), 0.35);
    transition: border-color 0.3s;
}

.about-feature:hover {
    border-left-color: rgba(var(--color-orange-rgb), 0.7);
}

.feature-icon {
    color: var(--color-teal-dark);
    font-size: 1.1rem;
    padding-top: 2px;
    min-width: 20px;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    display: block;
    transition: color 0.3s;
}

.about-feature:hover .feature-icon {
    color: var(--color-ink);
    background: transparent;
}

.about-feature h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 3px;
    letter-spacing: 0.02em;
}

.about-feature p {
    font-size: 13px;
    color: var(--color-ink-muted);
    margin-bottom: 0;
}

/* Mission / Vision */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(68, 121, 127, 0.1);
    margin-top: 4rem;
}

.mv-card {
    background: transparent;
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(68, 121, 127, 0.1);
    position: relative;
    transition: background var(--transition);
}

.mv-card:last-child {
    border-right: none;
}

.mv-card:hover {
    background: rgba(var(--color-ink-rgb), 0.03);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.mv-card:nth-child(1)::before { background: var(--color-orange); }
.mv-card:nth-child(2)::before { background: var(--color-teal-dark); }
.mv-card:nth-child(3)::before { background: var(--color-teal-light); }

.mv-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
}

.mv-card:nth-child(1) .mv-icon { color: var(--color-orange); }
.mv-card:nth-child(2) .mv-icon { color: var(--color-teal-dark); }
.mv-card:nth-child(3) .mv-icon { color: var(--color-ink); }

.mv-card h3 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-teal-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.mv-card p {
    font-size: 0.9rem;
    color: var(--color-ink-soft);
    line-height: 1.75;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--color-black);
    overflow: hidden;
    clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
    padding-top: 8rem;
    margin-top: -3rem;
}

.services::before {
    content: 'SERVICIOS';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    color: rgba(var(--color-ink-rgb), 0.04);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(68, 121, 127, 0.06);
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--color-black);
    padding: 2.5rem 2rem;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
    will-change: opacity, transform;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 28px 28px;
    border-color: transparent transparent rgba(68, 121, 127, 0.06) transparent;
    pointer-events: none;
}

.service-card:hover {
    background: var(--color-bg-raised);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(68, 121, 127, 0.15);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--color-slate-dark);
}

/* Dark island: featured service card flips text to light */
.service-card.featured h3,
.service-card.featured > p {
    color: var(--color-light);
}

.service-card.featured .service-list li {
    color: rgba(236, 230, 220, 0.75);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.service-card.featured .service-link {
    color: var(--color-teal-light);
}

.service-card.featured .service-link:hover {
    color: var(--color-orange-light);
}

.service-card.featured::before {
    background: var(--color-orange);
    transform: scaleX(1);
}

.service-badge {
    display: inline-block;
    background: var(--color-orange);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 18px;
}

.service-icon {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    display: block;
    margin-bottom: 1.25rem;
}

.service-icon i {
    color: var(--color-teal-dark);
    font-size: 1.8rem;
    transition: color 0.3s;
}

.service-card:hover .service-icon i {
    color: var(--color-ink);
}

.service-card.featured .service-icon i {
    color: var(--color-orange);
}

.service-card.featured:hover .service-icon i {
    color: var(--color-orange-light);
}

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.service-card > p {
    font-size: 14px;
    color: var(--color-ink-soft);
    margin-bottom: 20px;
    line-height: 1.75;
}

.service-list {
    margin-bottom: 24px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: var(--color-ink-muted);
    border-bottom: 1px solid rgba(68, 121, 127, 0.06);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    font-size: 9px;
    color: var(--color-teal-dark);
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-teal-dark);
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 1.5rem;
    transition: color 0.25s, gap 0.25s;
}

.service-link:hover {
    color: var(--color-orange);
    gap: 14px;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
    background: var(--color-slate-dark);
}

/* Header overrides for the dark projects section */
.projects .section-header h2 {
    color: var(--color-light);
}

.projects .section-tag {
    color: var(--color-teal-light);
}

.projects .section-description {
    color: rgba(236, 236, 236, 0.68);
}

.project-filters {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(236, 236, 236, 0.55);
    cursor: pointer;
    position: relative;
    transition: color 0.25s;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-orange);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.filter-btn.active {
    color: var(--color-light);
}

.filter-btn.active::after,
.filter-btn:hover::after {
    transform: scaleX(1);
}

.filter-btn:hover {
    color: var(--color-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.project-card {
    overflow: hidden;
    transition: var(--transition-slow);
    background: var(--color-slate-mid);
    will-change: opacity, transform;
}

.project-card.hidden {
    display: none;
}

.project-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-slate-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: transform var(--transition-slow);
}

.project-placeholder i {
    font-size: 3rem;
    color: rgba(68, 121, 127, 0.4);
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--color-bg-anchor-rgb), 0.97) 0%, rgba(var(--color-bg-anchor-rgb), 0.15) 65%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-placeholder {
    transform: scale(1.05);
}

.project-card:hover .project-placeholder i {
    color: rgba(var(--color-orange-rgb), 0.75);
}

.project-category {
    display: inline-block;
    background: var(--color-teal-dark);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.project-info p {
    font-size: 13px;
    color: var(--gray-400);
}

.project-link {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--color-orange);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 15px;
    transform: scale(0);
    transition: transform var(--transition);
}

.project-card:hover .project-link {
    transform: scale(1);
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    background: var(--color-bg-deep);
}

.process-timeline {
    position: relative;
    padding: 2rem 0;
    display: block;
    background: transparent;
    border: none;
    max-width: 860px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(68, 121, 127, 0.4);
    transform: translateX(-50%);
    display: block;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: start;
    margin-bottom: 4rem;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(var(--color-ink-rgb), 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-ink);
    background: var(--color-bg-deep);
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    z-index: 1;
    position: relative;
    margin: 0;
    letter-spacing: 0;
    box-shadow: none;
}

.step-content {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    height: auto;
    width: 100%;
    transition: none;
}

.step-content:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* Odd steps — content on left, right-aligned text */
.process-step:nth-child(odd) .step-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    padding-right: 2.5rem;
}

.process-step:nth-child(odd) .step-icon {
    margin-left: auto;
}

/* Even steps — content on right, left-aligned text */
.process-step:nth-child(even) .step-content {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
    padding-left: 2.5rem;
}

.process-step:nth-child(even) .step-icon {
    margin-left: 0;
}

.step-icon {
    width: 36px;
    height: 36px;
    color: var(--color-teal-dark);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--color-ink-soft);
    line-height: 1.65;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    padding: 8rem 0;
    background: var(--color-bg-darkest);
    overflow: hidden;
    clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
    margin: -2rem 0;
}

.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(236, 236, 236, 0.8);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Dark island: ensure outline button stays legible on the CTA gradient */
.cta-banner .btn-outline {
    color: var(--color-light);
    border-color: rgba(255, 255, 255, 0.6);
}

.cta-banner .btn-outline:hover {
    color: var(--white);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--color-bg-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 56px;
    align-items: start;
}

.contact-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    border-left: 2px solid rgba(68, 121, 127, 0.4);
    background: transparent;
    border-radius: 0;
    margin-bottom: 0.75rem;
    transition: border-color 0.3s;
}

.contact-card:hover {
    border-left-color: var(--color-teal-dark);
}

.contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal-dark);
    font-size: 1rem;
}

.contact-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-card p {
    font-size: 16px;
    color: var(--color-ink-soft);
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-social {
    margin-top: 24px;
}

.contact-social h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(68, 121, 127, 0.2);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal-dark);
    font-size: 0.85rem;
    transition: all 0.25s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.social-links a:hover {
    border-color: var(--color-teal-dark);
    color: var(--color-teal-dark);
    background: rgba(68, 121, 127, 0.08);
}

.contact-form {
    background: var(--color-bg-raised);
    border: 1px solid rgba(var(--color-ink-rgb), 0.08);
    border-radius: var(--radius-lg);
    padding: 44px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-ink-soft);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(var(--color-ink-rgb), 0.03);
    border: 1px solid rgba(var(--color-ink-rgb), 0.18);
    border-radius: 2px;
    color: var(--color-ink);
    font-size: 0.9rem;
    transition: border-color 0.25s, background 0.25s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-teal-dark);
    background: rgba(var(--color-ink-rgb), 0.05);
    box-shadow: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-ink-faint);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238c8c96' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-darkest);
    border-top: 2px solid var(--color-orange);
    color: var(--color-light);
}

/* Dark island: brighten muted text inside footer for legibility on near-black */
.footer .footer-col > p,
.footer .footer-col ul li a,
.footer .footer-contact li,
.footer .footer-bottom p,
.footer .footer-legal-link {
    color: rgba(236, 236, 236, 0.62);
}

.footer .footer-col h4 {
    color: var(--color-light);
}

.footer-top {
    padding: 72px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    display: block;
    margin-bottom: 24px;
}

.footer-logo-img {
    display: block;
    height: 60px;
    width: auto;
}

.footer-col > p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: var(--gray-500);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0;
    touch-action: manipulation;
}

.footer-col ul li a:hover {
    color: var(--color-orange);
    gap: 4px;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--gray-500);
}

.footer-contact li i {
    color: var(--color-teal-dark);
    font-size: 13px;
    min-width: 16px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    background: var(--color-bg-strip);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-600);
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

/* Launcher wrapper — owns the fixed position */
.wa-launcher {
    position: fixed;
    bottom: max(32px, calc(env(safe-area-inset-bottom) + 20px));
    right: max(28px, calc(env(safe-area-inset-right) + 16px));
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Popup menu */
.wa-menu {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(19, 18, 26, 0.14), 0 2px 8px rgba(19, 18, 26, 0.08);
    overflow: hidden;
    margin-bottom: 10px;
    min-width: 172px;
    transform: scale(0.92) translateY(10px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-launcher.is-open .wa-menu {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.wa-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-ink);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.wa-menu-item:last-child {
    border-bottom: none;
}

.wa-menu-item i {
    font-size: 1.05rem;
    color: #25d366;
    flex-shrink: 0;
}

.wa-menu-item:hover {
    background: rgba(37, 211, 102, 0.07);
}

/* The green button */
.whatsapp-float {
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.32);
    transition: var(--transition);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    animation: pulseWA 2.5s ease infinite;
    flex-shrink: 0;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* Suppress pulse while menu is open */
.wa-launcher.is-open .whatsapp-float {
    animation: none;
    background: #1fb359;
}

@keyframes pulseWA {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.32); }
    50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.55); }
}

.back-to-top {
    position: fixed;
    bottom: max(32px, calc(env(safe-area-inset-bottom) + 20px));
    right: max(96px, calc(env(safe-area-inset-right) + 84px));
    width: 44px;
    height: 44px;
    background: var(--color-orange);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 14px rgba(var(--color-orange-rgb), 0.32);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-orange-light);
    box-shadow: 0 6px 20px rgba(var(--color-orange-rgb), 0.48);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(var(--color-ink-rgb), 0.10);
        padding-top: 48px;
    }

    .about-img-placeholder {
        height: 360px;
    }

    .about-img-badge {
        bottom: -1rem;
        right: -0.5rem;
    }

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

    .mv-card {
        border-right: none;
        border-bottom: 1px solid rgba(68, 121, 127, 0.1);
    }

    .mv-card:last-child {
        border-bottom: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .hero-stats-bar .stat-item {
        padding: 1rem;
    }
}

/* ============================================
   RESPONSIVE — 768px (Mobile)
   ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Full-screen overlay nav */
    .nav-menu {
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: 100%;
        height: 100dvh;
        background: var(--color-bg-darkest);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
        padding-bottom: env(safe-area-inset-bottom);
        z-index: 1000;
    }

    /* Always use light text inside the overlay regardless of scroll state */
    .navbar .nav-menu .nav-link,
    .navbar.scrolled .nav-menu .nav-link {
        color: var(--color-light);
    }

    .navbar .nav-menu .nav-link:hover,
    .navbar .nav-menu .nav-link.active,
    .navbar.scrolled .nav-menu .nav-link:hover,
    .navbar.scrolled .nav-menu .nav-link.active {
        color: var(--color-teal-light);
    }

    /* Keep the close (✕) icon white against the dark overlay */
    .hamburger.active span,
    .navbar.scrolled .hamburger.active span {
        background: var(--white);
    }

    /* Keep logo white on top of the dark overlay when menu is open */
    .navbar.scrolled .logo-img.menu-open,
    .navbar:has(.nav-menu.active) .logo-img {
        filter: brightness(0) invert(1);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 32px;
        left: 50%;
        transform: translateX(-50%);
        width: 280px;
        height: 48px;
        background: url('../img/LOGOTIPO_PNG-04.png') center / contain no-repeat;
        opacity: 0.08;
        filter: invert(1) brightness(0.15);
        pointer-events: none;
    }

    .nav-link {
        font-size: 20px;
        font-weight: 700;
        padding: 14px 32px;
        letter-spacing: 0.03em;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .btn-nav {
        margin-top: 8px;
        padding: 14px 32px !important;
        font-size: 13px !important;
    }

    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 44px;
    }

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

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

    /* Collapse alternating timeline to single-column on mobile */
    .process-timeline::before {
        left: 24px;
    }

    .process-step {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding-left: 56px;
        margin-bottom: 2.5rem;
    }

    .step-number {
        position: absolute;
        left: 0;
        top: 0;
        grid-column: auto;
        grid-row: auto;
        width: 40px;
        height: 40px;
    }

    .process-step:nth-child(odd) .step-content,
    .process-step:nth-child(even) .step-content {
        grid-column: 1;
        grid-row: 1;
        text-align: left;
        padding-right: 0;
        padding-left: 0;
    }

    .process-step:nth-child(odd) .step-icon {
        margin-left: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-card {
        padding: 1rem;
        gap: 1rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* === Hero stacks vertically on mobile ===
       .hero is display:flex; without flex-direction:column its children would
       lay out side-by-side. Keep a viewport-sized min-height (svh = small
       viewport, avoids the iOS-Safari URL-bar jump) so Vanta NET has a
       stable canvas target at init — `auto` previously meant Vanta sized to
       a hero that hadn't finished laying out yet. */
    .hero {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: 100svh;
    }

    .hero-content {
        text-align: center;
        padding-top: 112px;
        padding-bottom: 32px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 14px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats-bar {
        position: relative;
        width: 100%;
        flex-wrap: wrap;
        margin-top: 8px;
    }

    .hero-stats-bar .stat-item {
        flex: 1 1 40%;
        padding: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-suffix {
        font-size: 1.1rem;
    }

    .project-img {
        height: 240px;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .cta-banner {
        padding: 72px 0;
    }

    .wa-launcher {
        bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
        right: max(20px, calc(env(safe-area-inset-right) + 12px));
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .back-to-top {
        right: max(84px, calc(env(safe-area-inset-right) + 72px));
        bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
        width: 42px;
        height: 42px;
    }

    .contact-map { margin-top: 48px; }
    .contact-map__header { margin-bottom: 24px; }
    .contact-map__frame iframe { min-height: 300px; }
    .contact-map__cta {
        bottom: 14px;
        right: 14px;
        padding: 10px 16px;
        font-size: 11px;
    }

    .cookie-banner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 24px max(16px, env(safe-area-inset-bottom));
    }

    .modal-content {
        padding: 28px 20px;
        max-height: 90vh;
    }

    .modal-content h2 {
        font-size: 18px;
    }
}

/* ============================================
   RESPONSIVE — 480px (Small Mobile, iPhone SE-class)
   Layout/stacking rules live in the 768px block; this block only tightens
   sizes and spacing for very narrow screens.
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding-top: 96px;
        padding-bottom: 24px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 9vw, 3rem);
        line-height: 1.08;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        margin-bottom: 28px;
    }

    /* Stack the CTA-banner buttons too (mirrors hero behavior) */
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .hero-stats-bar .stat-item {
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-suffix {
        font-size: 1rem;
    }

    .mv-card {
        padding: 36px 24px;
    }

    .step-content {
        padding: 28px 20px;
    }

    .about-img-badge {
        padding: 14px 18px;
    }

    .badge-number {
        font-size: 30px;
    }

    .contact-card {
        padding: 0.875rem 0.75rem;
        gap: 0.875rem;
    }

    .contact-card p {
        font-size: 14px;
    }

    .contact-form {
        padding: 20px 16px;
    }

    .footer-top {
        padding: 52px 0 36px;
    }

    .logo-img {
        height: 30px;
    }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    transform: scale(0.94);
    transition: transform 0.22s ease;
    user-select: none;
}

.lightbox.active .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   ACCESSIBILITY — Focus Styles
   ============================================ */
:focus-visible {
    outline: 2px solid var(--color-teal-light);
    outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--color-teal-light);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(68, 121, 127, 0.2);
}

.nav-link:focus-visible {
    outline: 2px solid var(--color-teal-light);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.social-links a:focus-visible {
    outline: 2px solid var(--color-teal-light);
    outline-offset: 2px;
}

/* Skip to content (hidden until focused) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--color-teal-dark);
    color: var(--color-light);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 14px;
    z-index: 100000;
    border-radius: var(--radius-sm);
    transition: top 0.2s;
}

.skip-link:focus {
    top: 12px;
}

/* ============================================
   GOOGLE MAP
   ============================================ */
.contact-map {
    margin-top: 72px;
}

.contact-map__header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 16px;
}

.contact-map__header .section-tag {
    justify-content: center;
    margin-bottom: 10px;
}

.contact-map__header h3 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-ink);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.contact-map__address {
    font-size: 14px;
    color: var(--color-ink-muted);
    letter-spacing: 0.04em;
    margin: 0;
}

.contact-map__frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(var(--color-ink-rgb), 0.08);
    box-shadow: 0 6px 22px rgba(var(--color-bg-anchor-rgb), 0.08);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.contact-map__frame:hover {
    box-shadow: 0 14px 38px rgba(var(--color-bg-anchor-rgb), 0.14);
    border-color: rgba(var(--color-orange-rgb), 0.28);
    transform: translateY(-2px);
}

.contact-map__frame iframe {
    display: block;
    width: 100%;
    min-height: 440px;
    /* Cleaner: subtle desaturation only — the heavy hue-rotate dark-mode
       hack looked off against the cream contact background. */
    filter: saturate(0.85) contrast(1.02);
    transition: filter 0.4s ease;
}

.contact-map__frame:hover iframe {
    filter: saturate(1) contrast(1.04);
}

.contact-map__cta {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-orange);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    box-shadow: 0 6px 20px rgba(var(--color-orange-rgb), 0.42);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-map__cta:hover,
.contact-map__cta:focus-visible {
    background: var(--color-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(var(--color-orange-rgb), 0.55);
    color: var(--white);
}

.contact-map__cta i {
    font-size: 14px;
}

/* ============================================
   PRIVACY MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-slate-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    max-width: 680px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    color: var(--gray-400);
    font-size: 28px;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 24px;
    padding-right: 36px;
}

.modal-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-teal-light);
    margin: 20px 0 8px;
}

.modal-body p,
.modal-body li {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.8;
}

.modal-body ul {
    list-style: disc;
    padding-left: 20px;
    margin: 8px 0;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-slate-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 15000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 13px;
    color: var(--gray-400);
    margin: 0;
}

.cookie-banner a {
    color: var(--color-teal-light);
    text-decoration: underline;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
}

.footer-legal-link {
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-legal-link:hover {
    color: var(--color-teal-light);
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */
::selection {
    background: rgba(var(--color-orange-rgb), 0.25);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(var(--color-ink-rgb), 0.06);
}

::-webkit-scrollbar-thumb {
    background: var(--color-teal-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange);
}

/* ============================================
   ANIMATION KEYFRAMES (used by JS)
   ============================================ */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CLIENT LOGO MARQUEE (between Nosotros & Servicios)
   ============================================ */
.logo-marquee {
    background: var(--color-slate-dark);
    padding: 56px 0 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.logo-marquee__header {
    text-align: center;
    margin-bottom: 36px;
}

.logo-marquee .section-tag {
    color: var(--color-teal-light);
}

.logo-marquee__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-light);
    margin: 8px 0 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.logo-marquee__viewport {
    overflow: hidden;
    width: 100%;
    padding: 12px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.logo-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: logoMarqueeScroll 25s linear infinite;
    will-change: transform;
}

.logo-marquee:hover .logo-marquee__track,
.logo-marquee:focus-within .logo-marquee__track {
    animation-play-state: paused;
}

.logo-marquee__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fixed item dimensions so the track total width is stable regardless of
       how/when individual images lazy-load. Without this, image load events
       resize items and the -50% loop end-point no longer matches the start,
       producing the intermittent "logos disappear / gap appears" bug. */
    width: 200px;
    height: 64px;
    margin-right: 40px;
}

.logo-marquee__item img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-marquee__item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes logoMarqueeScroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
    .logo-marquee { padding: 40px 0 48px; }
    .logo-marquee__header { margin-bottom: 28px; }
    .logo-marquee__track { animation-duration: 18s; }
    .logo-marquee__item { width: 140px; height: 48px; margin-right: 28px; }
}

/* ============================================
   HOMEPAGE HERO + NAVBAR — SCOPED ACCENT OVERRIDE
   ============================================
   Scope: ONLY the homepage hero and the navbar that overlays it.
   The rest of the site keeps using #ff3f1a as the brand accent.

   Strategy: redefine the --color-orange* tokens inside .hero and .navbar
   so every existing rule that references them (text-gradient, stats-bar
   border, stat suffix, nav-link underline/hover, .hero-overlay glow, etc.)
   automatically resolves to aquamarine — no rule-by-rule rewriting.

   Vanta NET mesh color is set to #ff3f1a in js/main.js (the orange/red
   moves into the mesh itself while the surrounding UI shifts cool).

   The "VER PROYECTOS" and "CONTÁCTENOS" buttons get an additional
   explicit override to a deeper teal (#44797f), per spec. */

.hero,
.navbar {
    --color-orange:       #97d6df;
    --color-orange-light: #b7e2e8;
    --color-orange-rgb:   151, 214, 223;
}

.hero .btn-primary {
    background: #44797f;
    border-color: #44797f;
    color: var(--white);
}

.hero .btn-primary:hover {
    background: transparent;
    color: #44797f;
    border-color: #44797f;
}

.navbar .btn-nav,
.navbar.scrolled .btn-nav {
    background: #44797f !important;
    border-color: #44797f !important;
    color: var(--white) !important;
}

.navbar .btn-nav:hover,
.navbar.scrolled .btn-nav:hover {
    background: #538d94 !important;
    border-color: #538d94 !important;
    color: var(--white) !important;
    box-shadow: 0 4px 20px rgba(68, 121, 127, 0.45) !important;
}
