:root {
    --navy-950: #021d3b;
    --navy-900: #052c57;
    --navy-800: #073d73;
    --navy-700: #09538f;
    --blue-600: #087bb3;
    --cyan-500: #13a8c8;
    --cyan-400: #27c1d4;
    --sky-100: #eaf7fb;
    --ink: #08264d;
    --body: #40536c;
    --muted: #6f7e91;
    --line: #dbe5ee;
    --surface: #ffffff;
    --surface-soft: #f4f8fb;
    --shadow-sm: 0 8px 24px rgba(3, 40, 75, 0.08);
    --shadow-lg: 0 24px 70px rgba(2, 33, 65, 0.16);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --container: 1180px;
    --header-height: 92px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--surface);
    color: var(--body);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.55rem, 5vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 3vw, 3.25rem);
}

h3 {
    font-size: 1.25rem;
}

::selection {
    background: var(--cyan-400);
    color: var(--navy-950);
}

:focus-visible {
    outline: 3px solid var(--cyan-400);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--navy-950);
    color: #fff;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-dark {
    background: var(--navy-950);
    color: #dcecf7;
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
    color: #fff;
}

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

.section-heading h2 {
    margin-bottom: 16px;
}

.section-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.06rem;
}

.section-heading.left {
    margin-inline: 0;
    text-align: left;
}

.section-heading.left p {
    margin-inline: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--blue-600);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 26px;
    height: 2px;
    background: var(--cyan-500);
    content: "";
}

.text-accent {
    color: var(--cyan-400);
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
    box-shadow: 0 10px 26px rgba(4, 126, 174, 0.22);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(4, 126, 174, 0.3);
}

.button-small {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.86rem;
}

.button-outline {
    border-color: rgba(255, 255, 255, 0.65);
    background: transparent;
    box-shadow: none;
}

.button-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.button-light-outline {
    border-color: rgba(255, 255, 255, 0.7);
    background: transparent;
    box-shadow: none;
}

.button-light-outline:hover {
    background: #fff;
    box-shadow: none;
    color: var(--navy-900);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-600);
    font-weight: 750;
}

.text-link:hover {
    color: var(--cyan-500);
}

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.95);
    transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 8px 34px rgba(4, 32, 64, 0.08);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 34px;
}

.brand {
    display: grid;
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
}

.brand img {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 27px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li a {
    position: relative;
    display: block;
    padding: 32px 0;
    color: var(--ink);
    font-size: 0.83rem;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav li a::after {
    position: absolute;
    right: 0;
    bottom: 23px;
    left: 0;
    height: 2px;
    background: var(--cyan-500);
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.main-nav li a:hover::after,
.main-nav li a[aria-current="page"]::after {
    transform: scaleX(1);
}

.main-nav li a[aria-current="page"] {
    color: var(--blue-600);
}

.menu-toggle {
    display: none;
}

/* Hero */
.home-hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: var(--navy-950) url("../img/hero-inicio-v2.webp") right center / auto 100% no-repeat;
    color: #fff;
}

.home-hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 24, 50, 0.98) 0%, rgba(2, 32, 62, 0.91) 39%, rgba(2, 33, 65, 0.12) 72%);
    content: "";
}

.home-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 130px;
    background: linear-gradient(180deg, transparent, rgba(2, 24, 50, 0.22));
    content: "";
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 610px;
    align-items: center;
    padding: 72px 0;
}

.hero-copy {
    max-width: 650px;
}

.hero-copy h1 {
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(2.8rem, 5.4vw, 5.2rem);
}

.hero-copy > p {
    max-width: 600px;
    margin-bottom: 30px;
    color: #dce9f2;
    font-size: clamp(1rem, 1.5vw, 1.23rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 46px;
    padding: 0;
    list-style: none;
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d8eaf4;
    font-size: 0.85rem;
    font-weight: 650;
}

.hero-trust li::before {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    background: rgba(39, 193, 212, 0.2);
    color: var(--cyan-400);
    content: "✓";
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: var(--surface-soft);
}

.page-hero-grid {
    display: grid;
    min-height: 510px;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
}

.page-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 76px 64px 76px max(20px, calc((100vw - var(--container)) / 2));
}

.page-hero-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 4.6vw, 4.5rem);
}

.page-hero-copy > p {
    max-width: 570px;
    margin-bottom: 28px;
    font-size: 1.06rem;
}

.page-hero-media {
    position: relative;
    min-height: 440px;
}

.page-hero-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--surface-soft), transparent 20%);
    content: "";
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero.reverse .page-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.page-hero.reverse .page-hero-media {
    order: -1;
}

.page-hero.reverse .page-hero-media::after {
    background: linear-gradient(270deg, var(--surface-soft), transparent 20%);
}

/* Reusable cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    position: relative;
    min-height: 100%;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.info-card:hover {
    border-color: rgba(19, 168, 200, 0.45);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.info-card h3 {
    margin-bottom: 12px;
}

.info-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.card-number,
.round-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 23px;
    place-items: center;
    border-radius: 16px;
    background: var(--sky-100);
    color: var(--blue-600);
    font-size: 0.86rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.round-icon {
    border-radius: 50%;
}

.image-card {
    position: relative;
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.image-card img {
    width: 100%;
    height: 176px;
    object-fit: cover;
    transition: transform 500ms ease;
}

.image-card:hover img {
    transform: scale(1.035);
}

.image-card-content {
    position: static;
    flex: 1;
    padding: 24px 26px 27px;
    background: #fff;
    color: var(--body);
}

.image-card-content h3 {
    margin-bottom: 8px;
    color: var(--ink);
}

.image-card-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.service-grid-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-band {
    overflow: hidden;
    background: var(--surface-soft);
}

.industry-band-inner {
    display: grid;
    min-height: 320px;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 80px;
}

.industry-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.industry-list li {
    position: relative;
    padding: 14px 12px 14px 26px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.industry-list li::before {
    position: absolute;
    top: 22px;
    left: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan-500);
    content: "";
}

.industry-quote {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: rgba(2, 39, 75, 0.92);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.industry-quote p {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.4;
}

.industry-photo {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.industry-photo img {
    width: 100%;
    height: auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}

.trust-item {
    padding: 18px 24px;
    border-right: 1px solid var(--line);
    text-align: center;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-item .round-icon {
    margin: 0 auto 18px;
}

.trust-item h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.trust-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}

.split-media {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.split-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-media-home img {
    object-position: 44% center;
}

.split-copy h2 {
    margin-bottom: 20px;
}

.split-copy p {
    margin-bottom: 18px;
}

.check-list {
    display: grid;
    gap: 11px;
    margin: 24px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--ink);
    font-weight: 650;
}

.check-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--cyan-500);
    content: "✓";
    font-size: 1.15rem;
    font-weight: 900;
}

/* Inner pages */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.14);
}

.mission-card {
    padding: 52px;
    background: var(--navy-900);
}

.mission-card h2 {
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.mission-card p {
    margin: 0;
    color: #d6e5ef;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    padding: 32px 24px;
    border-right: 1px solid var(--line);
    text-align: center;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-value {
    display: block;
    margin-bottom: 7px;
    color: var(--blue-600);
    font-size: 2.35rem;
    font-weight: 850;
    line-height: 1;
}

.stat-label {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.feature-rows {
    display: grid;
    gap: 18px;
}

.feature-row {
    display: grid;
    min-height: 330px;
    grid-template-columns: 0.92fr 1.08fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.feature-row:nth-child(even) {
    grid-template-columns: 1.08fr 0.92fr;
}

.feature-row:nth-child(even) .feature-row-media {
    order: 2;
}

.feature-row-media {
    min-height: 300px;
}

.feature-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-row-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 52px;
}

.feature-row-copy h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.feature-row-copy p {
    margin-bottom: 10px;
}

.feature-row-copy .check-list {
    margin: 14px 0 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    counter-reset: process;
}

.process-step {
    position: relative;
    padding: 0 26px;
    counter-increment: process;
    text-align: center;
}

.process-step::before {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    content: counter(process, decimal-leading-zero);
    font-weight: 800;
}

.process-step:not(:last-child)::after {
    position: absolute;
    top: 30px;
    right: -10px;
    width: 20px;
    color: var(--cyan-500);
    content: "→";
    font-size: 1.3rem;
}

.process-step h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.equipment-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.equipment-card-media {
    height: 180px;
    overflow: hidden;
    background: var(--surface-soft);
}

.equipment-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.equipment-card:nth-child(2n) img {
    object-position: 35% center;
}

.equipment-card:nth-child(3n) img {
    object-position: 72% center;
}

.equipment-card:nth-child(n + 6) img {
    object-position: left center;
}

.equipment-card:hover img {
    transform: scale(1.04);
}

.equipment-card-content {
    padding: 24px;
}

.equipment-card-content h3 {
    margin-bottom: 9px;
    font-size: 1.05rem;
}

.equipment-card-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.project-list {
    display: grid;
    gap: 16px;
}

.project-card {
    display: grid;
    min-height: 190px;
    grid-template-columns: 0.76fr 1.24fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.project-mark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 38px;
    background: linear-gradient(135deg, #074b95, #061f4f);
    color: #fff;
}

.project-mark.red {
    background: linear-gradient(135deg, #ef3b31, #b90f1d);
}

.project-mark.light {
    background: linear-gradient(135deg, #eff9f8, #dcefee);
    color: #0a4d50;
}

.project-monogram {
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.project-mark strong {
    font-size: clamp(1.65rem, 3vw, 2.6rem);
    line-height: 1;
}

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 48px;
}

.project-content h3 {
    margin-bottom: 12px;
    font-size: 1.7rem;
}

.project-content p {
    margin: 0;
}

.project-location {
    color: var(--blue-600);
    font-weight: 700;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 72px;
}

.contact-sidebar {
    padding-right: 55px;
    border-right: 1px solid var(--line);
}

.contact-sidebar h2,
.contact-form-wrap h2 {
    margin-bottom: 12px;
    font-size: 1.8rem;
}

.contact-list {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
    border-bottom: 0;
}

.contact-list .round-icon {
    width: 48px;
    height: 48px;
    margin: 0;
}

.contact-list small {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
}

.contact-list a,
.contact-list strong {
    display: block;
    color: var(--ink);
    font-weight: 750;
    overflow-wrap: anywhere;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.full,
.form-alert,
.contact-form .button {
    grid-column: 1 / -1;
}

.field label {
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #cddae5;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input {
    min-height: 54px;
    padding: 0 16px;
}

.field textarea {
    min-height: 168px;
    padding: 15px 16px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--cyan-500);
    outline: none;
    box-shadow: 0 0 0 4px rgba(19, 168, 200, 0.13);
}

.field-honeypot {
    position: absolute;
    left: -10000px;
}

.form-note {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--muted);
    font-size: 0.79rem;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 650;
}

.form-alert.success {
    border: 1px solid #8bd3bd;
    background: #eaf8f2;
    color: #185f4c;
}

.form-alert.error {
    border: 1px solid #edb1b1;
    background: #fff1f1;
    color: #8b2929;
}

.contact-hero-card {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 17px;
    max-width: 440px;
    margin-top: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
}

.contact-hero-card .round-icon {
    width: 50px;
    height: 50px;
    margin: 0;
}

.contact-hero-card strong,
.contact-hero-card span {
    display: block;
}

.contact-hero-card strong {
    color: var(--ink);
}

.contact-hero-card span {
    color: var(--muted);
    font-size: 0.88rem;
}

/* Footer */
.support-strip {
    background: linear-gradient(100deg, var(--cyan-500), var(--blue-600) 60%, var(--navy-800));
    color: #fff;
}

.support-strip-inner {
    display: grid;
    min-height: 128px;
    grid-template-columns: 68px 1fr auto;
    align-items: center;
    gap: 24px;
}

.support-badge {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--blue-600);
    font-size: 0.85rem;
    font-weight: 850;
}

.support-strip h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.45rem;
}

.support-strip p {
    margin: 0;
    color: #e8f8fb;
}

.site-footer {
    background: var(--navy-950);
    color: #ccdde9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.72fr 1fr 1fr;
    gap: 70px;
    padding-top: 60px;
    padding-bottom: 46px;
}

.footer-brand img {
    width: 88px;
    height: 88px;
    margin-bottom: 15px;
    border-radius: 4px;
    object-fit: contain;
}

.footer-brand p {
    max-width: 270px;
    font-size: 0.86rem;
}

.site-footer h2 {
    margin-bottom: 19px;
    color: #fff;
    font-size: 0.93rem;
    letter-spacing: 0;
}

.footer-links {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: #ccdde9;
    font-size: 0.84rem;
    font-style: normal;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--cyan-400);
}

.footer-contact {
    display: grid;
    gap: 9px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 19px;
}

.social-links a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
}

.social-links a:hover {
    border-color: var(--cyan-400);
    background: var(--cyan-400);
    color: var(--navy-950);
}

.footer-bottom {
    padding: 18px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9fb4c5;
    font-size: 0.77rem;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    z-index: 950;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 12px 30px rgba(7, 62, 38, 0.32);
    isolation: isolate;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.whatsapp-float::before {
    position: absolute;
    z-index: -1;
    inset: -7px;
    border: 2px solid rgba(37, 211, 102, 0.38);
    border-radius: inherit;
    content: "";
    animation: whatsapp-pulse 2.4s ease-out infinite;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.whatsapp-float-label {
    position: absolute;
    right: 76px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(4, 37, 70, 0.16);
    color: var(--navy-900);
    font-size: 0.82rem;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.whatsapp-float-label::after {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 10px;
    height: 10px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    background: #fff;
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #1fbd5a;
    box-shadow: 0 15px 34px rgba(7, 62, 38, 0.4);
    transform: translateY(-3px);
}

.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {
    0% {
        opacity: 0.85;
        transform: scale(0.9);
    }

    75%,
    100% {
        opacity: 0;
        transform: scale(1.28);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 550ms ease, transform 550ms ease;
}

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

@media (max-width: 1120px) {
    :root {
        --header-height: 78px;
    }

    .site-header,
    .header-inner {
        height: var(--header-height);
    }

    .brand,
    .brand img {
        width: 68px;
        height: 68px;
    }

    .menu-toggle {
        position: relative;
        z-index: 1002;
        display: grid;
        width: 46px;
        height: 46px;
        margin-left: auto;
        place-items: center;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        color: var(--ink);
        cursor: pointer;
    }

    .menu-toggle-lines,
    .menu-toggle-lines::before,
    .menu-toggle-lines::after {
        display: block;
        width: 21px;
        height: 2px;
        background: currentColor;
        content: "";
        transition: transform 180ms ease;
    }

    .menu-toggle-lines::before {
        transform: translateY(-7px);
    }

    .menu-toggle-lines::after {
        transform: translateY(5px);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-lines {
        background: transparent;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
        transform: translateY(1px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
        transform: translateY(-1px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        z-index: 1001;
        inset: var(--header-height) 0 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 20px;
        padding: 24px 20px 40px;
        overflow: auto;
        background: #fff;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav ul {
        display: grid;
        gap: 0;
    }

    .main-nav li a {
        padding: 15px 4px;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .main-nav li a::after {
        display: none;
    }

    .nav-cta {
        width: 100%;
    }

    .card-grid,
    .service-grid-home,
    .equipment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 30px;
    }

    .trust-item:nth-child(3) {
        border-right: 0;
    }

    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 48px;
    }

    .process-step:nth-child(3)::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1.1fr 0.9fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-row: span 2;
    }
}

@media (max-width: 820px) {
    .section {
        padding: 72px 0;
    }

    .home-hero,
    .hero-inner {
        min-height: 670px;
    }

    .home-hero {
        background-position: 62% center;
    }

    .home-hero::before {
        background: linear-gradient(90deg, rgba(2, 24, 50, 0.98), rgba(2, 31, 62, 0.83) 66%, rgba(2, 33, 65, 0.42));
    }

    .page-hero-grid,
    .page-hero.reverse .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-copy {
        padding: 62px max(20px, calc((100vw - var(--container)) / 2));
    }

    .page-hero-media,
    .page-hero.reverse .page-hero-media {
        min-height: 360px;
        order: 0;
    }

    .page-hero-media::after,
    .page-hero.reverse .page-hero-media::after {
        background: linear-gradient(180deg, var(--surface-soft), transparent 22%);
    }

    .industry-band {
        background: var(--surface-soft);
    }

    .industry-band-inner,
    .split-section,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .industry-band-inner {
        padding: 64px 0;
    }

    .split-media {
        min-height: 390px;
    }

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

    .mission-card {
        padding: 38px;
    }

    .feature-row,
    .feature-row:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .feature-row:nth-child(even) .feature-row-media {
        order: 0;
    }

    .feature-row-copy {
        padding: 34px;
    }

    .contact-sidebar {
        padding-right: 0;
        padding-bottom: 32px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .project-card {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .home-hero,
    .hero-inner {
        min-height: 650px;
    }

    .home-hero {
        background-position: 69% center;
    }

    .home-hero::before {
        background: rgba(2, 28, 56, 0.84);
    }

    .hero-inner {
        align-items: flex-end;
        padding: 54px 0;
    }

    .hero-copy h1 {
        font-size: 2.55rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-trust {
        gap: 12px;
        margin-top: 30px;
    }

    .hero-trust li {
        width: 100%;
    }

    .page-hero-copy h1 {
        font-size: 2.45rem;
    }

    .page-hero-media,
    .page-hero.reverse .page-hero-media {
        min-height: 280px;
    }

    .card-grid,
    .service-grid-home,
    .equipment-grid,
    .trust-grid,
    .stat-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 26px;
    }

    .industry-list {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item,
    .trust-item:nth-child(3),
    .stat-item {
        padding: 24px 8px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-item:last-child,
    .stat-item:last-child {
        border-bottom: 0;
    }

    .split-media {
        min-height: 320px;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-mark,
    .project-content {
        padding: 30px;
    }

    .project-mark {
        min-height: 150px;
    }

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

    .field,
    .field.full,
    .contact-form .button,
    .form-alert {
        grid-column: 1;
    }

    .support-strip-inner {
        grid-template-columns: 54px 1fr;
        gap: 16px;
        padding: 28px 0;
    }

    .support-badge {
        width: 54px;
        height: 54px;
        font-size: 0.72rem;
    }

    .support-strip h2 {
        font-size: 1.14rem;
    }

    .support-strip p {
        font-size: 0.86rem;
    }

    .support-strip .button {
        grid-column: 1 / -1;
        width: 100%;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .whatsapp-float {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        width: 58px;
        height: 58px;
    }

    .whatsapp-float img {
        width: 29px;
        height: 29px;
    }

    .whatsapp-float-label {
        display: none;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .whatsapp-float::before {
        animation: none;
    }
}
