@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
    --bg: #05080d;
    --bg-soft: #08111b;
    --bg-card: #0d1722;
    --bg-light: #f4f6f8;
    --white: #ffffff;
    --muted: #b8c2cc;
    --muted-2: #84919e;
    --line: rgba(255, 255, 255, .14);
    --line-dark: rgba(8, 12, 16, .12);
    --blue: #004aad;
    --blue-light: #1f6ed4;
    --red: #d71920;
    --max: 1380px;
    --header-h: 78px;
    --gray-light: #cad3dc;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --transition: .3s var(--ease);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

body, button, input, textarea, select {
    font-family: Inter, Arial, sans-serif;
}

h1, h2, h3, h4, h5, strong, .brand, .nav-link, .nav-cta, .eyebrow,
.project-category, .machine-info > span, .clients-label {
    font-family: Montserrat, Inter, sans-serif;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    cursor: pointer;
    background: transparent;
}

.container {
    width: min(calc(100% - 80px), var(--max));
    margin: 0 auto;
}

/* =====================================================
   HEADER & NAVIGATION
===================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(7, 9, 12, .88);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.main-nav {
    width: min(calc(100% - 50px), 1500px);
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand img {
    width: 135px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
    mix-blend-mode: lighten;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding: 28px 0 24px;
    color: var(--gray-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: color .25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

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

.nav-cta {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, .35);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.nav-cta:hover {
    background: var(--white);
    color: #080a0d;
    border-color: var(--white);
}

/* MENÚ MÓVIL (TOGGLE) */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    color: inherit;
}

.mobile-menu-toggle::before {
    content: "☰";
    font-size: 24px;
}

.mobile-menu-toggle[aria-expanded="true"]::before {
    content: "×";
    font-size: 30px;
}

/* =====================================================
   COMPONENTES GENERALES
===================================================== */
section {
    position: relative;
}

.eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #a3b0bd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 0 28px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: transform .3s var(--ease), background .3s ease, color .3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: #080a0d;
}

.btn-light:hover {
    background: #fff;
}

/* BOTÓN FLOTANTE DE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 999;
    transition: transform 0.3s var(--ease), background 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    background: #20ba5a;
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 14s ease-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,9,12,.94), rgba(7,9,12,.72) 38%, rgba(7,9,12,.28) 72%, rgba(7,9,12,.55));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 80px), var(--max));
    margin: 0 auto;
    padding-top: 70px;
}

.hero-kicker {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
    color: var(--gray-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.hero-kicker span:first-child {
    color: var(--white);
}

.hero-kicker span:last-child {
    position: relative;
    padding-left: 28px;
}

.hero-kicker span:last-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 1px;
    background: var(--red);
}

.hero-content h1 {
    max-width: 880px;
    margin-bottom: 28px;
    font-size: clamp(52px, 6.5vw, 105px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.05em;
}

.hero-content h1 span {
    display: block;
    color: var(--gray-light);
}

.hero-content > p {
    max-width: 620px;
    margin-bottom: 38px;
    color: var(--gray-light);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .17em;
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    bottom: 42px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gray-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
}

.scroll-line {
    width: 52px;
    height: 1px;
    background: var(--muted-2);
}

.hero-index {
    position: absolute;
    z-index: 2;
    right: 40px;
    bottom: 40px;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    letter-spacing: .15em;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

/* =====================================================
   CAPABILITIES SECTION
===================================================== */
.capabilities-section {
    padding: 150px 0 0;
    background: var(--bg);
}

.section-header, .experience-header, .process-header {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 25px;
    align-items: start;
}

.section-number, .experience-number, .process-number {
    color: rgba(255, 255, 255, .3);
    font: 700 13px Montserrat, sans-serif;
    letter-spacing: .15em;
    padding-top: 4px;
}

.section-header h2, .projects-header h2, .experience-header h2, .process-header h2 {
    max-width: 900px;
    font-size: clamp(38px, 5vw, 74px);
    line-height: .98;
    letter-spacing: -.04em;
    font-weight: 700;
}

.section-header h2 span, .projects-header h2 span, .experience-header h2 span, .process-header h2 span {
    color: #8996a3;
    font-weight: 500;
}

.capabilities-intro {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 100px;
    margin: 65px 0 80px 115px;
    max-width: 1050px;
}

.capabilities-intro p {
    color: #9cb0c0;
    font-size: 15px;
    line-height: 1.9;
}

.capabilities-intro .capabilities-lead {
    color: #e2e8ee;
    font-size: 22px;
    line-height: 1.55;
}

.capability-experience {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    min-height: 650px;
    background: #0a0e13;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.capability-visual {
    position: relative;
    min-height: 650px;
    overflow: hidden;
}

.capability-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .3s ease, transform 1s var(--ease);
}

.capability-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, rgba(7, 9, 12, .85)),
                linear-gradient(0deg, rgba(7, 9, 12, .55), transparent 45%);
}

.capability-focus {
    position: absolute;
    left: 36px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.capability-focus span {
    font: 800 13px Montserrat, sans-serif;
    letter-spacing: .2em;
}

.capability-focus small {
    color: #a0acb8;
    font: 700 9px Montserrat, sans-serif;
    letter-spacing: .2em;
}

.capability-panel {
    display: flex;
    flex-direction: column;
    padding: 55px 48px;
    border-left: 1px solid var(--line);
}

.capability-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.capability-number {
    color: #fff;
    font: 800 12px Montserrat, sans-serif;
    letter-spacing: .15em;
}

.capability-label {
    color: #8c9ba8;
    font: 800 10px Montserrat, sans-serif;
    letter-spacing: .2em;
}

.capability-panel h3 {
    margin: 50px 0 22px;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.capability-panel > p {
    color: #a0acb8;
    font-size: 15px;
    line-height: 1.8;
}

.capability-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin-top: 34px;
}

.capability-list span {
    padding-top: 11px;
    border-top: 1px solid var(--line);
    color: #d1d8df;
    font: 600 11px Montserrat, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.capability-selector {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 45px;
}

.capability-dot {
    width: 46px;
    height: 36px;
    color: #7b8896;
    border-bottom: 2px solid #3b444e;
    font: 800 11px Montserrat, sans-serif;
    transition: color .2s, border-color .2s;
}

.capability-dot:hover, .capability-dot.active {
    color: #fff;
    border-color: var(--red);
}

/* =====================================================
   MACHINERY & FABRICATION
===================================================== */
.machine-capacity {
    padding: 120px 0 140px;
}

.machine-capacity-header {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 55px;
}

.machine-capacity-header h3, .machining-feature-content h3, .documented-header h3 {
    max-width: 720px;
    font-size: clamp(32px, 3.8vw, 58px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.machine-capacity-header h3 span, .machining-feature-content h3 span, .documented-header h3 span {
    color: #84919e;
    font-weight: 500;
}

.machine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: #1b2026;
    border: 1px solid #1b2026;
}

.machine-card {
    background: #0b0f14;
    min-width: 0;
}

.machine-image {
    position: relative;
    aspect-ratio: 1/1.05;
    overflow: hidden;
}

.machine-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease), filter .4s ease;
}

.machine-card:hover .machine-image > img {
    transform: scale(1.06);
    filter: brightness(.7);
}

.machine-overlay {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 34px 1fr 24px;
    gap: 12px;
    align-items: end;
    padding: 22px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .88));
}

.machine-overlay > span {
    color: #fff;
    font: 700 11px Montserrat, sans-serif;
}

.machine-overlay small {
    display: block;
    margin-bottom: 5px;
    color: #abb6c2;
    font: 700 8px Montserrat, sans-serif;
    letter-spacing: .17em;
}

.machine-overlay strong {
    color: #fff;
    font: 700 13px Montserrat, sans-serif;
}

.machine-overlay > b {
    color: #fff;
    font-size: 18px;
    transition: transform .25s ease;
}

.machine-card:hover .machine-overlay > b {
    transform: translateX(4px);
}

.machine-info {
    min-height: 110px;
    padding: 22px;
}

.machine-info > span {
    color: #dde3e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
}

.machine-info p {
    margin-top: 9px;
    color: #8c98a4;
    font-size: 13px;
    line-height: 1.65;
}

.machining-feature {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 25px;
    margin-top: 90px;
    padding-top: 80px;
    border-top: 1px solid var(--line);
}

.machining-feature-number {
    color: rgba(255, 255, 255, .3);
    font: 700 13px Montserrat, sans-serif;
    letter-spacing: .15em;
}

.machining-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 20px;
    border-top: 1px solid var(--line);
}

.machining-list span {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: #c4cbd2;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.capabilities-statement {
    margin: 100px 0 -140px;
    padding: 90px 0;
    text-align: center;
    border-top: 1px solid var(--line);
}

.capabilities-statement span {
    display: block;
    margin-bottom: 20px;
    color: #828e9a;
    font: 800 10px Montserrat, sans-serif;
    letter-spacing: .24em;
}

.capabilities-statement strong {
    font: 600 clamp(24px, 3vw, 42px)/1.1 Montserrat, sans-serif;
    letter-spacing: -.035em;
}

/* =====================================================
   PROJECTS SECTION
===================================================== */
.projects-section {
    padding: 210px 0 160px;
    background: #0a0d11;
}

.projects-header {
    display: grid;
    grid-template-columns: 1.2fr .7fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 90px;
}

.project-feature {
    position: relative;
    margin-bottom: 105px;
}

.project-feature-main { width: 78%; }
.project-feature-offset { width: 58%; margin-left: 42%; }
.project-feature-wide { width: 88%; margin-left: 12%; }
.project-feature-tall { width: 60%; }
.project-feature-small { width: 47%; margin-left: 53%; }

.project-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #08111b;
    border: 1px solid transparent;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.project-feature-tall .project-image { aspect-ratio: 4 / 5; }
.project-feature-small .project-image { aspect-ratio: 16 / 10; }

.project-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease), filter .5s ease;
}

.project-feature:hover .project-image {
    box-shadow: 0 0 25px rgba(31, 110, 212, 0.25);
    border-color: rgba(31, 110, 212, 0.4);
}

.project-feature:hover .project-image > img {
    transform: scale(1.045);
    filter: brightness(.72);
}

.project-number {
    position: absolute;
    top: 25px;
    left: 28px;
    color: rgba(255, 255, 255, .9);
    font: 700 11px Montserrat, sans-serif;
    letter-spacing: .18em;
}

.project-hover {
    position: absolute;
    inset: auto 0 0;
    padding: 50px 45px 40px;
    background: linear-gradient(transparent, rgba(4, 6, 8, .96));
    transform: translateY(15px);
    opacity: 0;
    transition: opacity .45s ease, transform .45s var(--ease);
}

.project-feature:hover .project-hover {
    opacity: 1;
    transform: translateY(0);
}

.project-category {
    color: #aab3bc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.project-hover h3 {
    margin: 8px 0 20px;
    font-size: 32px;
    letter-spacing: -.03em;
}

.project-data {
    display: flex;
    gap: 55px;
    margin-bottom: 20px;
}

.project-data small {
    display: block;
    margin-bottom: 3px;
    color: #8894a0;
    font: 800 8px Montserrat, sans-serif;
    letter-spacing: .18em;
}

.project-data strong {
    font: 600 11px Montserrat, sans-serif;
}

.project-hover p {
    color: #b8c2cc;
    font-size: 14px;
    line-height: 1.7;
}

.project-caption {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    align-items: center;
    gap: 15px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.project-caption > span {
    color: #818e9c;
    font: 700 11px Montserrat, sans-serif;
}

.project-caption h3 {
    font-size: 16px;
    letter-spacing: -.01em;
}

.project-caption p {
    color: #8a96a3;
    font-size: 13px;
}

.projects-end {
    margin-top: 130px;
    padding: 55px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.projects-end span {
    display: block;
    margin-bottom: 12px;
    color: #828e9a;
    font: 800 9px Montserrat, sans-serif;
    letter-spacing: .24em;
}

.projects-end strong {
    font: 500 clamp(20px, 2.6vw, 36px) Montserrat, sans-serif;
}

/* =====================================================
   PROCESS SECTION
===================================================== */
.process-section {
    padding: 160px 0;
    background: var(--bg);
}

.process-intro {
    max-width: 760px;
    margin: 60px 0 80px 115px;
    color: #a0acb8;
    font-size: 16px;
    line-height: 1.9;
}

.process-system {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 0 65px 115px;
}

.process-line {
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
}

.process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    color: #7b8896;
    text-align: left;
}

.process-index {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #3d4650;
    background: var(--bg);
    font: 800 11px Montserrat, sans-serif;
    transition: border-color .25s, color .25s;
}

.process-step strong {
    margin-top: 10px;
    color: inherit;
    font: 800 10px Montserrat, sans-serif;
    letter-spacing: .13em;
}

.process-step small {
    color: #727e8a;
    font-size: 12px;
}

.process-step:hover, .process-step.active { color: #fff; }
.process-step:hover .process-index, .process-step.active .process-index { border-color: var(--red); }

.process-detail {
    display: grid;
    grid-template-columns: 115px 1fr;
    gap: 25px;
    margin-left: 115px;
    padding: 55px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-detail-number {
    color: rgba(255, 255, 255, .3);
    font: 700 14px Montserrat, sans-serif;
}

.process-detail-content > span {
    color: #abb6c2;
    font: 800 10px Montserrat, sans-serif;
    letter-spacing: .2em;
}

.process-detail-content h3 {
    margin: 14px 0 17px;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.process-detail-content > p {
    max-width: 720px;
    color: #9cb0c0;
    font-size: 15px;
    line-height: 1.85;
}

.process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.process-tags span {
    padding: 8px 14px;
    border: 1px solid var(--line);
    color: #b8c2cc;
    font-size: 11px;
}

.process-statement {
    margin: 90px 0 0 115px;
    text-align: center;
}

.process-statement span {
    display: block;
    margin-bottom: 14px;
    color: #828e9a;
    font: 800 9px Montserrat, sans-serif;
    letter-spacing: .22em;
}

.process-statement strong {
    font: 500 clamp(22px, 3vw, 40px) Montserrat, sans-serif;
    letter-spacing: -.035em;
}

/* =====================================================
   EXPERIENCE & CLIENTS MARQUEE
===================================================== */
.experience-section {
    padding: 160px 0 0;
    background: #090c10;
}

.documented-experience {
    margin: 75px 0 0 115px;
}

.documented-header {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 90px;
    align-items: end;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--line);
}

.documented-header h3 {
    max-width: 650px;
}

.documented-header > p {
    color: #9cb0c0;
    font-size: 15px;
    line-height: 1.85;
}

.clients-section {
    margin: 0 0 0 115px;
    overflow: hidden;
    padding: 70px 0 120px;
}

.clients-label {
    margin-bottom: 30px;
    color: #828e9a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .24em;
}

.clients-marquee {
    position: relative;
    width: 100vw;
    margin-left: calc((var(--max) - 100vw) / 2);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 70px;
    padding: 10px 0;
    animation: clientsMove 32s linear infinite;
}

.clients-track:hover { animation-play-state: paused; }

.clients-track span {
    flex: 0 0 190px;
    width: 190px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
}

.clients-track span img {
    width: 100%;
    height: 100%;
    max-width: 155px;
    max-height: 58px;
    object-fit: contain;
}

@keyframes clientsMove {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 35px)); }
}

/* =====================================================
   QUOTE & FORM SECTION
===================================================== */
.quote-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
    padding: 120px 0;
    border-top: 1px solid var(--line);
}

.quote-intro > h3 {
    max-width: 600px;
    font-size: clamp(38px, 4.5vw, 65px);
    line-height: .98;
    letter-spacing: -.045em;
}

.quote-intro > h3 span {
    display: block;
    color: #8896a3;
    font-weight: 500;
}

.quote-intro > p {
    max-width: 520px;
    margin: 28px 0 45px;
    color: #9cb0c0;
    font-size: 15px;
    line-height: 1.85;
}

.direct-contact {
    display: grid;
    gap: 22px;
}

.direct-contact div {
    display: grid;
    gap: 5px;
}

.direct-contact span {
    color: #7b8896;
    font: 800 9px Montserrat, sans-serif;
    letter-spacing: .2em;
}

.direct-contact a {
    width: fit-content;
    color: #e2e8ee;
    font: 600 14px Montserrat, sans-serif;
    border-bottom: 1px solid transparent;
}

.direct-contact a:hover { border-color: var(--red); }

.project-form {
    padding: 45px;
    background: #0d1217;
    border: 1px solid var(--line);
}

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

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    margin-bottom: 9px;
    color: #8c98a4;
    font: 800 10px Montserrat, sans-serif;
    letter-spacing: .18em;
}

.form-field input, .form-field textarea, .form-field select {
    width: 100%;
    border: 1px solid #2e3740;
    outline: 0;
    background: #090d11;
    color: #e5e9ec;
    padding: 15px 16px;
    font-size: 14px;
    transition: border-color .2s ease, background .2s ease;
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    border-color: #788796;
    background: #0b1015;
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.file-note {
    display: block;
    margin-top: 8px;
    color: #788490;
    font-size: 12px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 10px;
}

.form-whatsapp {
    color: #abb6c2;
    font: 800 11px Montserrat, sans-serif;
    letter-spacing: .13em;
}

.form-whatsapp:hover { color: #fff; }

/* =====================================================
   FINAL CONTACT & FOOTER
===================================================== */
.contact-final {
    position: relative;
    min-height: 570px;
    overflow: hidden;
}

.contact-final-image, .contact-final-overlay {
    position: absolute;
    inset: 0;
}

.contact-final-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-final-overlay {
    background: linear-gradient(90deg, rgba(5,7,9,.94), rgba(5,7,9,.55) 55%, rgba(5,7,9,.35)),
                linear-gradient(0deg, rgba(5,7,9,.75), transparent 50%);
}

.contact-final-content {
    position: relative;
    z-index: 1;
    width: min(800px, calc(100% - 80px));
    padding: 130px 0 120px;
}

.contact-final-content > span {
    color: #abb6c2;
    font: 800 10px Montserrat, sans-serif;
    letter-spacing: .22em;
}

.contact-final-content h2 {
    margin: 18px 0 25px;
    font-size: clamp(43px, 5vw, 76px);
    line-height: .96;
    letter-spacing: -.05em;
}

.contact-final-content h2 span {
    color: #9cb0c0;
    font-weight: 500;
}

.contact-final-content p {
    margin-bottom: 34px;
    color: #c4cbd2;
    font-size: 16px;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.contact-email {
    color: #fff;
    font: 800 11px Montserrat, sans-serif;
    letter-spacing: .15em;
}

.contact-email:hover { color: #d0d6dc; }

.contact-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.contact-data > div {
    min-height: 125px;
    padding: 30px 25px;
    border-right: 1px solid var(--line);
}

.contact-data > div:last-child { border-right: 0; }

.contact-data span {
    display: block;
    margin-bottom: 9px;
    color: #788490;
    font: 800 9px Montserrat, sans-serif;
    letter-spacing: .2em;
}

.contact-data a {
    color: #dce1e6;
    font-size: 13px;
    line-height: 1.5;
}

.contact-data a:hover { color: #fff; }

.site-footer {
    background: #050709;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 55px 0;
}

.footer-brand img {
    width: 120px;
    height: 42px;
    object-fit: contain;
    mix-blend-mode: lighten;
}

.footer-brand p {
    margin-top: 12px;
    color: #788490;
    font-size: 11px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
}

.footer-nav a {
    color: #8c98a4;
    font: 700 11px Montserrat, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-nav a:hover { color: #fff; }

.footer-right {
    text-align: right;
    color: #788490;
    font-size: 12px;
    line-height: 1.8;
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */
@media (max-width: 1100px) {
    :root { --header-h: 70px; }
    .container { width: min(calc(100% - 50px), var(--max)); }
    .main-nav { width: calc(100% - 35px); }
    .nav-links { gap: 18px; }
    .capabilities-intro, .process-intro, .process-system,
    .process-detail, .documented-experience, .clients-section { margin-left: 0; }
    .capability-experience { grid-template-columns: 1fr; }
    .capability-panel { border-left: 0; border-top: 1px solid var(--line); }
    .machine-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-section { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .container { width: calc(100% - 36px); }
    .main-nav { position: relative; gap: 12px; }
    .mobile-menu-toggle { display: inline-flex; margin-left: auto; }

    .main-nav .nav-links {
        display: none;
        position: absolute;
        z-index: 1000;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 18px;
        background: #080d14;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
    }

    .main-nav .nav-links.is-open { display: flex; }
    .main-nav .nav-links .nav-link { display: block; width: 100%; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

    .section-header, .experience-header, .process-header { grid-template-columns: 1fr; gap: 10px; }
    .capabilities-intro { grid-template-columns: 1fr; margin: 45px 0 55px; }
    .machine-capacity-header, .projects-header, .documented-header { grid-template-columns: 1fr; gap: 30px; }
    .machine-grid { grid-template-columns: 1fr 1fr; }
    .machining-feature { grid-template-columns: 1fr; }
    .machining-list { grid-template-columns: 1fr 1fr; }

    .project-feature, .project-feature-main, .project-feature-offset,
    .project-feature-wide, .project-feature-tall, .project-feature-small {
        width: 100%; margin-left: 0; margin-bottom: 65px;
    }

    .project-image { aspect-ratio: 16 / 9; }
    .project-hover { position: relative; opacity: 1; transform: none; padding: 25px 0 0; background: none; }
    .process-system { grid-template-columns: 1fr; gap: 16px; margin: 0; }
    .process-line { display: none; }
    .process-step { display: grid; grid-template-columns: 45px 1fr; align-items: center; gap: 12px; }
    .process-detail { grid-template-columns: 1fr; margin: 45px 0 0; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-data { grid-template-columns: 1fr 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; }
    .footer-right { text-align: left; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 500px) {
    .machine-grid, .machining-list, .contact-data { grid-template-columns: 1fr; }
    .hero-actions, .contact-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}