@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --red: #ff0000;
  --red-ui: #df0000;
  --red-dark: #b90000;
  --navy: #252e6f;
  --navy-soft: #313b7c;
  --navy-dark: #111738;
  --ink: #15182a;
  --muted: #626778;
  --line: rgba(37, 46, 111, 0.12);
  --paper: #ffffff;
  --soft: #f4f5f9;
  --soft-blue: #eef0f8;
  --header-height: 94px;
  --content: 1200px;
  --radius-sm: 16px;
  --radius: 28px;
  --radius-lg: 40px;
  --shadow-soft: 0 18px 55px rgba(18, 24, 64, 0.09);
  --shadow: 0 28px 80px rgba(15, 21, 58, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 400 1rem/1.7 "Inter", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { overflow-wrap: anywhere; }
::selection { color: #fff; background: var(--red-ui); }
.icon { display: inline-block; width: 1em; height: 1em; overflow: visible; fill: currentColor; vertical-align: -0.125em; }
.container, .split-layout, .quote-layout { width: min(calc(100% - 2.5rem), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 0.75rem 1rem; color: #fff; background: var(--red-ui); border-radius: 999px; transform: translateY(-180%); transition: transform 0.2s ease; }
.skip-link:focus { transform: none; }

/* Integrated header and navigation */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: #fff; background: linear-gradient(180deg, rgba(10, 15, 43, 0.76), rgba(10, 15, 43, 0)); border-bottom: 1px solid transparent; transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease; }
.site-header.is-scrolled, body.menu-open .site-header { background: rgba(17, 23, 56, 0.92); border-color: rgba(255, 255, 255, 0.11); box-shadow: 0 15px 45px rgba(7, 10, 31, 0.2); backdrop-filter: blur(18px); }
.header-inner { width: min(calc(100% - 2rem), 1420px); min-height: var(--header-height); margin-inline: auto; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: clamp(1rem, 2.2vw, 2.5rem); }
.brand { position: relative; z-index: 2; display: grid; width: 160px; place-items: center start; }
.brand img { width: auto; height: 78px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(7, 10, 31, 0.28)); }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 2.4vw, 2.5rem); }
.primary-nav > a, .nav-dropdown > a, .language-toggle, .quote-button, .menu-toggle { font-size: 0.82rem; font-weight: 750; letter-spacing: 0.055em; line-height: 1; text-transform: uppercase; }
.primary-nav > a, .nav-dropdown > a { position: relative; padding-block: 1.1rem; color: rgba(255, 255, 255, 0.8); }
.primary-nav > a::after, .nav-dropdown > a::after { content: ""; position: absolute; right: 0; bottom: 0.6rem; left: 0; height: 2px; border-radius: 999px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 0.22s ease; }
.primary-nav a[aria-current="page"], .primary-nav a:hover, .primary-nav a:focus-visible { color: #fff; }
.primary-nav > a[aria-current="page"]::after, .nav-dropdown > a[aria-current="page"]::after, .primary-nav > a:hover::after, .nav-dropdown > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-dropdown { position: relative; display: flex; align-items: center; }
.dropdown-toggle { width: 30px; height: 38px; padding: 0; border: 0; color: #fff; background: transparent; cursor: pointer; }
.dropdown-toggle .icon { transition: transform 0.2s ease; }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown-panel { position: absolute; top: calc(100% - 0.15rem); left: -1rem; width: 315px; padding: 0.65rem; visibility: hidden; opacity: 0; transform: translateY(10px); color: var(--ink); background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 20px; box-shadow: var(--shadow); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; }
.dropdown-panel a { display: block; padding: 0.78rem 0.9rem; border-radius: 12px; font-size: 0.9rem; font-weight: 700; line-height: 1.35; }
.dropdown-panel a:hover, .dropdown-panel a:focus-visible { color: #fff; background: var(--navy); }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel, .dropdown-panel.is-open { visibility: visible; opacity: 1; transform: none; }
.header-actions { display: flex; align-items: center; gap: 0.65rem; }
.language-toggle, .menu-toggle { min-height: 46px; padding: 0.55rem 0.75rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 1px solid rgba(255, 255, 255, 0.32); color: #fff; background: rgba(255, 255, 255, 0.08); border-radius: 999px; cursor: pointer; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.language-toggle:hover, .language-toggle:focus-visible, .menu-toggle:hover, .menu-toggle:focus-visible { color: var(--navy-dark); background: #fff; border-color: #fff; transform: translateY(-2px); }
.language-flag { display: block; flex: 0 0 27px; width: 27px; height: 18px; border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 4px; background: center / cover no-repeat url("/assets/images/flags/es.svg"); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
.language-toggle[data-language-target="en"] .language-flag { background-image: url("/assets/images/flags/us.svg"); }
.quote-button { min-height: 48px; padding: 0.9rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--red-ui); border: 1px solid var(--red-ui); border-radius: 999px; box-shadow: 0 12px 28px rgba(223, 0, 0, 0.25); transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.quote-button:hover, .quote-button:focus-visible { color: #fff; background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(223, 0, 0, 0.32); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: min(820px, 100svh); overflow: hidden; color: #fff; background: var(--navy-dark); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.hero-slide { position: absolute; inset: 0; display: grid; align-items: center; visibility: hidden; opacity: 0; background: var(--navy-dark); transition: opacity 0.7s ease, visibility 0.7s ease; }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::before, .subhero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: radial-gradient(circle at 76% 30%, rgba(255, 0, 0, 0.12), transparent 34%), linear-gradient(90deg, rgba(12, 17, 48, 0.94) 0%, rgba(15, 21, 58, 0.78) 50%, rgba(15, 21, 58, 0.3) 100%); }
.hero-slide.is-active { visibility: visible; opacity: 1; }
.hero-content, .subhero-content { position: relative; z-index: 2; width: min(calc(100% - 2.5rem), var(--content)); margin-inline: auto; }
.hero-content { padding-top: calc(var(--header-height) + 3rem); padding-bottom: 7rem; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 0.62rem; margin: 0 0 1rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.105em; line-height: 1.3; text-transform: uppercase; }
.eyebrow { padding: 0.62rem 0.9rem; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; backdrop-filter: blur(12px); }
.eyebrow::before, .section-kicker::before { content: ""; flex: 0 0 9px; width: 9px; height: 9px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255, 0, 0, 0.12); }
.section-kicker { color: var(--red-ui); }
.hero h1, .subhero h1, .section-heading h2, .cta-title, .not-found h1 { margin: 0; font-weight: 800; letter-spacing: -0.052em; line-height: 1.02; }
.hero h1 { max-width: 820px; font-size: clamp(3.8rem, 7.1vw, 6.9rem); }
.hero-copy { max-width: 650px; margin: 1.35rem 0 2rem; color: rgba(255, 255, 255, 0.78); font-size: clamp(1.02rem, 1.55vw, 1.22rem); line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.button { min-height: 52px; padding: 0.92rem 1.35rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.035em; line-height: 1.2; text-align: center; text-transform: uppercase; transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--red-ui); box-shadow: 0 14px 32px rgba(223, 0, 0, 0.25); }
.button-primary:hover, .button-primary:focus-visible { color: #fff; background: var(--red-dark); box-shadow: 0 18px 38px rgba(223, 0, 0, 0.32); }
.button-secondary { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.38); backdrop-filter: blur(10px); }
.button-secondary:hover, .button-secondary:focus-visible { color: var(--navy-dark); background: #fff; border-color: #fff; }
.button-light { color: var(--navy-dark); background: #fff; }
.button-light:hover, .button-light:focus-visible { color: #fff; background: var(--red-ui); }
.button-whatsapp { color: #fff; background: #168c45; }
.hero-arrow { position: absolute; top: 50%; z-index: 4; width: 50px; height: 50px; padding: 0; display: grid; place-items: center; transform: translateY(-50%); color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%; backdrop-filter: blur(10px); cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--red-ui); border-color: var(--red-ui); }
.hero-prev { left: max(1rem, calc((100vw - 1420px) / 2)); }
.hero-next { right: max(1rem, calc((100vw - 1420px) / 2)); }
.hero-controls { position: absolute; z-index: 4; right: max(1.25rem, calc((100vw - var(--content)) / 2)); bottom: 2.3rem; display: flex; align-items: center; gap: 0.35rem; padding: 0.32rem; background: rgba(8, 12, 35, 0.42); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; backdrop-filter: blur(12px); }
.hero-dot { position: relative; width: 34px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-dot::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 0.55); border-radius: 999px; transition: width 0.2s ease, background 0.2s ease; }
.hero-dot[aria-current="true"]::before { width: 24px; background: var(--red); }

/* Stats and general sections */
.stats-strip { position: relative; z-index: 5; padding: 0 1.25rem; }
.stats-grid { width: min(100%, var(--content)); margin: -42px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; color: var(--ink); background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(255, 255, 255, 0.75); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.stat { min-height: 126px; padding: 1.5rem 2rem; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }
.stat span { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.9rem; font-weight: 650; }
.section { padding: clamp(5.25rem, 9vw, 7.5rem) 0; }
.section-soft { background: var(--soft); }
.section-dark { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(255, 0, 0, 0.13), transparent 28%), var(--navy-dark); }
.section-heading { max-width: 810px; margin-bottom: 2.5rem; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.centered .section-kicker { justify-content: center; }
.section-heading h2 { color: var(--navy-dark); font-size: clamp(2.65rem, 5vw, 4.8rem); }
.section-dark .section-heading h2 { color: #fff; }
.section-copy { max-width: 720px; margin: 1rem auto 0; color: var(--muted); font-size: 1.05rem; }
.section-dark .section-copy { color: rgba(255, 255, 255, 0.7); }
.lead { color: #3f4355; font-size: clamp(1.06rem, 1.55vw, 1.22rem); line-height: 1.8; }
.split-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2.5rem, 7vw, 6.5rem); }
.split-layout > div { min-width: 0; }
.split-layout .button { margin-top: 1.25rem; }
.image-stack, .image-frame { position: relative; overflow: hidden; background: var(--soft-blue); border-radius: var(--radius) 88px var(--radius) var(--radius); box-shadow: var(--shadow); }
.image-stack img, .image-frame img { width: 100%; min-height: 570px; object-fit: cover; }
.image-stack::after, .image-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: inherit; pointer-events: none; }
.image-accent { position: absolute; z-index: 3; right: 1.4rem; bottom: 1.4rem; max-width: 220px; padding: 1.15rem 1.25rem; color: #fff; background: rgba(17, 23, 56, 0.9); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 18px; box-shadow: 0 18px 45px rgba(8, 12, 35, 0.26); backdrop-filter: blur(14px); }
.image-accent strong { display: block; color: #fff; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.image-accent span { display: block; margin-top: 0.35rem; color: rgba(255, 255, 255, 0.76); font-size: 0.82rem; font-weight: 650; line-height: 1.35; }

/* Service and process cards */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.service-card { min-width: 0; overflow: hidden; background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.service-card:nth-child(2) { border-radius: var(--radius) 72px var(--radius) var(--radius); }
.service-card:nth-child(4) { border-radius: var(--radius) var(--radius) 72px var(--radius); }
.service-card:nth-child(5) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 0.85fr; border-radius: 72px var(--radius) var(--radius) var(--radius); }
.service-card:hover { transform: translateY(-7px); border-color: rgba(37, 46, 111, 0.23); box-shadow: var(--shadow); }
.service-card-image { position: relative; display: block; height: 305px; overflow: hidden; background: var(--soft-blue); }
.service-card:nth-child(5) .service-card-image { height: 100%; min-height: 345px; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.35s ease; }
.service-card:hover .service-card-image img { transform: scale(1.045); filter: saturate(1.06); }
.service-card-body { position: relative; padding: 1.75rem 1.8rem 2rem; }
.service-card-body > .icon { display: grid; width: 54px; height: 54px; margin-top: -48px; margin-bottom: 1.1rem; padding: 0.9rem; color: #fff; background: var(--red-ui); border: 5px solid #fff; border-radius: 17px; box-sizing: content-box; box-shadow: 0 12px 28px rgba(223, 0, 0, 0.22); }
.service-card:nth-child(5) .service-card-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.service-card:nth-child(5) .service-card-body > .icon { margin-top: 0; }
.service-card h3, .process-step h3, .value-card h3, .contact-card-grid h2, .mission-grid h2, .service-intro > div:last-child h2 { margin: 0 0 0.7rem; color: var(--navy-dark); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.service-card p { margin: 0 0 1.1rem; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--red-ui); font-size: 0.83rem; font-weight: 800; text-transform: uppercase; }
.text-link .icon { transition: transform 0.2s ease; }
.text-link:hover .icon, .text-link:focus-visible .icon { transform: translateX(4px); }
.process-grid, .value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.process-step { position: relative; min-height: 300px; padding: 1.6rem; overflow: hidden; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 22px; transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease; }
.process-step:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.22); }
.process-step span, .value-card > span { display: grid; width: 48px; height: 48px; margin-bottom: 4.5rem; place-items: center; color: #fff; background: var(--red-ui); border-radius: 50%; font-size: 0.76rem; font-weight: 800; box-shadow: 0 10px 28px rgba(223, 0, 0, 0.25); }
.process-step h3 { color: #fff; }
.process-step p { margin-bottom: 0; color: rgba(255, 255, 255, 0.68); }

/* Galleries and image states */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 270px; gap: 1rem; }
.gallery-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 330px; }
.gallery-card { position: relative; min-width: 0; height: 100%; padding: 0; overflow: hidden; color: #fff; background: var(--soft-blue); border: 0; border-radius: 22px; box-shadow: var(--shadow-soft); cursor: zoom-in; }
.gallery-card:nth-child(5n + 2) { border-radius: 22px 54px 22px 22px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.48s ease, filter 0.3s ease, opacity 0.28s ease; }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 12, 35, 0.82), transparent 60%); opacity: 0.58; transition: opacity 0.25s ease; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.05); filter: saturate(1.06); }
.gallery-card:hover::after, .gallery-card:focus-visible::after { opacity: 0.88; }
.gallery-caption { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; left: 1rem; font-size: 0.88rem; font-weight: 750; line-height: 1.35; text-align: left; }
.gallery-zoom { position: absolute; z-index: 3; top: 0.85rem; right: 0.85rem; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: rgba(17, 23, 56, 0.7); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 50%; backdrop-filter: blur(10px); }
.projects-gallery { grid-auto-rows: 255px; }
.projects-gallery .gallery-card:nth-child(7n + 1), .projects-gallery .gallery-card:nth-child(7n + 5) { grid-row: span 2; }
.center-action { margin-top: 2.3rem; text-align: center; }
.image-loader-indicator { position: absolute; z-index: 6; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; visibility: hidden; opacity: 0; border: 3px solid rgba(255, 255, 255, 0.55); border-top-color: var(--red); border-radius: 50%; pointer-events: none; }
.is-image-loading > .image-loader-indicator { visibility: visible; opacity: 1; animation: image-loader-spin 0.8s linear infinite; }
.image-load-target { opacity: 0.22 !important; }
.hero-slide > .image-loader-indicator { z-index: 3; }
.image-frame > .image-loader-indicator, .image-stack > .image-loader-indicator, .service-card-image > .image-loader-indicator, .gallery-card > .image-loader-indicator { border-color: rgba(37, 46, 111, 0.2); border-top-color: var(--red-ui); }
.has-image-error { background-color: var(--soft-blue); }
.has-image-error > img { opacity: 0 !important; }
.hero-slide.has-image-error { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
@keyframes image-loader-spin { to { transform: rotate(360deg); } }

/* Inner pages */
.subhero { position: relative; min-height: 590px; padding-top: var(--header-height); display: grid; align-items: center; overflow: hidden; color: #fff; background-color: var(--navy-dark); background-position: center; background-size: cover; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.subhero-content { padding-block: 4rem 5rem; }
.subhero h1 { max-width: 950px; font-size: clamp(3.45rem, 6vw, 6.2rem); }
.subhero p:last-child { max-width: 720px; margin: 1.25rem 0 0; color: rgba(255, 255, 255, 0.76); font-size: clamp(1.02rem, 1.55vw, 1.2rem); }
.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.mission-grid article { position: relative; min-height: 330px; padding: clamp(2rem, 5vw, 4rem); overflow: hidden; color: #fff; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.mission-grid article:last-child { background: linear-gradient(145deg, var(--red-ui), var(--red-dark)); border-radius: var(--radius) 80px var(--radius) var(--radius); }
.mission-grid article::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 210px; height: 210px; border: 38px solid rgba(255, 255, 255, 0.07); border-radius: 50%; }
.mission-grid h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.4rem); }
.mission-grid p { position: relative; z-index: 1; max-width: 520px; color: rgba(255, 255, 255, 0.76); }
.value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value-card { min-height: 290px; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); }
.value-card > span { margin-bottom: 3.5rem; }
.value-card p { color: var(--muted); }
.service-intro { align-items: start; }
.service-intro > div:last-child { padding: clamp(2rem, 5vw, 3.5rem); color: #fff; background: linear-gradient(145deg, var(--navy), var(--navy-dark)); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius) 78px var(--radius) var(--radius); box-shadow: var(--shadow); }
.service-intro > div:last-child h2 { color: #fff; font-size: clamp(2rem, 3.7vw, 3.35rem); }
.check-list { margin: 1.3rem 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 0.7rem; padding: 0.78rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.check-list li:last-child { border: 0; }
.check-list .icon { margin-top: 0.35rem; color: #fff; }
.service-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 235px; }
.cta { position: relative; margin: 0 1rem 1rem; padding: clamp(4.5rem, 8vw, 7rem) 1.25rem; overflow: hidden; color: #fff; background: var(--navy-dark); border-radius: var(--radius-lg); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 30%, rgba(255, 0, 0, 0.3), transparent 30%), linear-gradient(120deg, var(--navy-dark), var(--navy)); }
.cta-content { position: relative; z-index: 1; width: min(100%, var(--content)); margin-inline: auto; }
.cta-title { max-width: 790px; font-size: clamp(3rem, 6.2vw, 5.6rem); }
.cta-content > p:not(.cta-title) { max-width: 660px; margin: 1.15rem 0 1.8rem; color: rgba(255, 255, 255, 0.72); font-size: 1.1rem; }

/* Contact */
.contact-cards { position: relative; z-index: 4; margin-top: -54px; padding: 0 1.25rem; }
.contact-card-grid { width: min(100%, var(--content)); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; padding: 0.8rem; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.contact-card-grid article { min-width: 0; padding: 1.55rem 1.35rem; border-radius: 19px; transition: background 0.2s ease, transform 0.2s ease; }
.contact-card-grid article:hover { background: var(--soft); transform: translateY(-3px); }
.contact-card-grid article > .icon { display: grid; width: 46px; height: 46px; margin-bottom: 1rem; padding: 0.8rem; color: #fff; background: var(--red-ui); border-radius: 14px; box-sizing: border-box; }
.contact-card-grid h2 { font-size: 1.25rem; }
.contact-card-grid p, .contact-card-grid a { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.contact-card-grid a:hover { color: var(--red-ui); }
.quote-layout { display: grid; grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr); align-items: start; gap: clamp(2.5rem, 6vw, 5rem); }
.privacy-note { padding: 1rem 1.1rem; color: var(--muted); background: var(--soft); border-radius: 0 14px 14px 0; border-left: 4px solid var(--red-ui); }
.quote-support { margin-top: 2rem; padding: 1.45rem; color: #fff; background: var(--navy-dark); border-radius: 18px; box-shadow: var(--shadow-soft); }
.quote-support p { margin: 0.25rem 0; overflow-wrap: anywhere; }
.quote-form { position: relative; padding: clamp(1.5rem, 4vw, 3rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.honeypot { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.form-grid label:not(.consent) { display: grid; gap: 0.45rem; min-width: 0; color: var(--navy-dark); font-size: 0.88rem; font-weight: 750; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 54px; padding: 0.78rem 0.9rem; color: var(--ink); background: var(--soft); border: 1px solid transparent; border-radius: 14px; font-weight: 400; transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.form-grid textarea { min-height: 160px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { background: #fff; border-color: var(--navy); outline: 0; box-shadow: 0 0 0 4px rgba(37, 46, 111, 0.12); }
.consent { display: flex; align-items: flex-start; gap: 0.65rem; color: var(--ink); font-size: 0.9rem; font-weight: 500; }
.consent input { flex: 0 0 auto; width: 20px; min-height: 20px; margin-top: 0.28rem; accent-color: var(--navy); }
.form-submit { margin-top: 1.3rem; gap: 0.6rem; }
.form-submit[disabled] { opacity: 0.7; cursor: wait; }
.form-status { min-height: 1.7rem; margin-top: 1rem; font-weight: 700; }
.form-status.is-success { color: #13753a; }
.form-status.is-error { color: #a40000; }
.manual-whatsapp { margin-top: 0.5rem; }
.manual-whatsapp[hidden] { display: none; }

/* Footer and floating contact */
.site-footer { margin: 1rem; overflow: hidden; color: rgba(255, 255, 255, 0.74); background: var(--navy-dark); border-radius: var(--radius-lg); }
.footer-grid { width: min(calc(100% - 2.5rem), var(--content)); margin-inline: auto; padding: 5rem 0 3.4rem; display: grid; grid-template-columns: 1.35fr 1fr 1fr 0.9fr; gap: 2.5rem; }
.footer-brand img { width: 190px; filter: drop-shadow(0 10px 22px rgba(7, 10, 31, 0.24)); }
.footer-brand p { max-width: 380px; }
.site-footer h2 { margin: 0 0 1rem; color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 0.62rem; line-height: 1.5; }
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.social-link { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--red-ui); border-radius: 50%; }
.footer-bottom { padding: 1.2rem 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; }
.footer-bottom p { margin: 0; font-size: 0.86rem; }
.floating-actions { position: fixed; z-index: 80; right: 1rem; bottom: 8%; display: grid; gap: 0.55rem; }
.floating-action { position: relative; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: #fff; border: 2px solid rgba(255, 255, 255, 0.9); border-radius: 50%; box-shadow: 0 10px 28px rgba(7, 10, 31, 0.24); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.floating-action:hover, .floating-action:focus-visible { transform: translateY(-3px) scale(1.03); box-shadow: 0 15px 34px rgba(7, 10, 31, 0.3); }
.floating-action.call { background: var(--navy); }
.floating-action.email { background: var(--red-ui); }
.floating-action.whatsapp { background: #168c45; }
.floating-action span { position: absolute; top: 3px; right: calc(100% + 9px); bottom: 3px; width: max-content; max-width: 220px; padding: 0 0.85rem; display: flex; align-items: center; visibility: hidden; opacity: 0; transform: translateX(8px); color: #fff; background: var(--navy-dark); border-radius: 999px; font-size: 0.8rem; font-weight: 750; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease; }
.floating-action:hover span, .floating-action:focus-visible span { visibility: visible; opacity: 1; transform: none; }

/* Lightbox */
.lightbox { width: min(96vw, 1180px); max-width: none; height: min(92vh, 900px); max-height: none; padding: 0; overflow: hidden; color: #fff; background: rgba(11, 15, 39, 0.97); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 26px; box-shadow: 0 34px 100px rgba(0, 0, 0, 0.52); }
.lightbox::backdrop { background: rgba(4, 6, 20, 0.84); backdrop-filter: blur(7px); }
.lightbox figure { position: relative; width: 100%; height: 100%; margin: 0; padding: 4rem 5rem; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 0.8rem; place-items: center; overflow: hidden; background: var(--navy-dark); }
.lightbox figure img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; }
.lightbox figcaption { color: rgba(255, 255, 255, 0.76); font-size: 0.9rem; text-align: center; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 8; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; cursor: pointer; backdrop-filter: blur(10px); }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--red-ui); border-color: var(--red-ui); }
.lightbox-close { top: 0.75rem; right: 0.75rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.not-found { min-height: 78vh; padding: calc(var(--header-height) + 5rem) 1.25rem 5rem; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 75% 20%, rgba(255, 0, 0, 0.24), transparent 30%), var(--navy-dark); text-align: center; }
.not-found > div { max-width: 780px; }
.error-code { display: block; color: var(--red); font-size: clamp(5rem, 15vw, 10rem); font-weight: 850; letter-spacing: -0.07em; line-height: 0.82; }
.not-found h1 { margin-top: 1rem; font-size: clamp(2.7rem, 6vw, 5rem); }

/* Progressive reveal, enhanced only when JavaScript is active */
.reveal-enabled .reveal-item { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease var(--reveal-delay, 0ms), transform 0.6s ease var(--reveal-delay, 0ms); }
.reveal-enabled .reveal-item.is-revealed { opacity: 1; transform: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #ffd400; outline-offset: 3px; }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: 174px 1fr auto; }
  .primary-nav { gap: 1rem; }
  .quote-button { display: none; }
  .service-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-prev { left: 1rem; }
  .hero-next { right: 1rem; }
}

@media (max-width: 980px) {
  :root { --header-height: 86px; }
  .site-header { background: rgba(17, 23, 56, 0.78); backdrop-filter: blur(15px); }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 0.55rem; }
  .brand { width: 132px; }
  .brand img { height: 70px; }
  .menu-toggle { display: inline-flex; grid-column: 3; grid-row: 1; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .primary-nav { position: fixed; z-index: 110; top: var(--header-height); right: 0; left: 0; height: calc(100dvh - var(--header-height)); padding: 1.5rem max(1.25rem, calc((100% - 720px) / 2)); display: none; overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; color: #fff; background: rgba(17, 23, 56, 0.98); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a, .nav-dropdown > a { width: 100%; padding: 1.05rem 0; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 1.15rem; text-transform: none; }
  .primary-nav > a::after, .nav-dropdown > a::after { display: none; }
  .nav-dropdown { display: grid; grid-template-columns: 1fr 52px; }
  .dropdown-toggle { width: 52px; height: 100%; color: #fff; }
  .dropdown-panel { position: static; grid-column: 1 / -1; width: 100%; padding: 0.4rem; display: none; visibility: visible; opacity: 1; transform: none; background: rgba(255, 255, 255, 0.06); border: 0; border-radius: 16px; box-shadow: none; }
  .nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { display: none; }
  .dropdown-panel.is-open, .nav-dropdown:focus-within .dropdown-panel.is-open { display: block; }
  .dropdown-panel a { color: #fff; }
  .hero { min-height: 760px; }
  .hero-content { padding-inline: 4.5rem; }
  .hero-arrow { top: auto; bottom: 2.1rem; transform: none; }
  .hero-prev { left: 1.25rem; }
  .hero-next { right: auto; left: 4.9rem; }
  .split-layout, .quote-layout { grid-template-columns: 1fr; }
  .image-stack, .image-frame { width: min(100%, 680px); margin-inline: auto; }
  .process-grid, .contact-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid, .gallery-preview, .service-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --radius-lg: 28px; }
  .container, .split-layout, .quote-layout, .hero-content, .subhero-content { width: min(calc(100% - 1.5rem), var(--content)); }
  .header-inner { width: min(calc(100% - 1rem), 100%); }
  .brand { width: 112px; }
  .brand img { height: 66px; }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .menu-toggle { min-width: 46px; min-height: 46px; padding: 0.55rem; }
  .language-toggle { min-width: 72px; min-height: 46px; padding: 0.5rem 0.58rem; }
  .language-flag { flex-basis: 25px; width: 25px; height: 17px; }
  .hero { min-height: 700px; }
  .hero-slide::before, .subhero::before { background: linear-gradient(180deg, rgba(12, 17, 48, 0.83), rgba(12, 17, 48, 0.7)); }
  .hero-content { padding: calc(var(--header-height) + 3.6rem) 0 7rem; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.65rem); }
  .hero-copy { font-size: 1rem; }
  .hero-controls { right: 0.9rem; bottom: 2.5rem; }
  .stats-strip { padding-inline: 0.75rem; }
  .stats-grid { grid-template-columns: 1fr; margin-top: -28px; border-radius: 22px; }
  .stat { min-height: auto; padding: 1.15rem 1.3rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stat strong { font-size: 1.45rem; }
  .section { padding: 4.6rem 0; }
  .section-heading h2 { font-size: clamp(2.45rem, 12vw, 3.7rem); }
  .image-stack img, .image-frame img { min-height: 410px; }
  .image-stack, .image-frame { border-radius: 24px 64px 24px 24px; }
  .service-grid, .service-grid-large, .process-grid, .contact-card-grid, .mission-grid, .value-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(2), .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; display: block; border-radius: 22px; }
  .service-card-image, .service-card:nth-child(5) .service-card-image { height: 275px; min-height: 0; }
  .service-card:nth-child(5) .service-card-body { display: block; padding: 1.75rem 1.8rem 2rem; }
  .service-card:nth-child(5) .service-card-body > .icon { margin-top: -48px; }
  .process-step { min-height: 260px; }
  .process-step span { margin-bottom: 3.2rem; }
  .gallery-grid, .gallery-preview, .service-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 235px; }
  .projects-gallery .gallery-card:nth-child(7n + 1), .projects-gallery .gallery-card:nth-child(7n + 5) { grid-row: auto; }
  .subhero { min-height: 500px; }
  .subhero-content { padding-block: 4rem; }
  .subhero h1 { font-size: clamp(2.8rem, 13vw, 4.25rem); }
  .mission-grid article, .mission-grid article:last-child { min-height: 280px; border-radius: 22px; }
  .service-intro > div:last-child { border-radius: 22px 58px 22px 22px; }
  .contact-cards { margin-top: -34px; padding-inline: 0.75rem; }
  .contact-card-grid { gap: 0.25rem; padding: 0.5rem; border-radius: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .quote-form { padding: 1.25rem; border-radius: 22px; }
  .cta { margin-inline: 0.5rem; padding-inline: 1rem; }
  .site-footer { margin: 0.5rem; border-radius: 28px; }
  .footer-grid { gap: 2rem; padding-top: 4rem; }
  .floating-actions { right: 0.65rem; bottom: 1rem; }
  .floating-action { width: 48px; height: 48px; }
  .floating-action span { display: none; }
  .lightbox { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .lightbox figure { padding: 4rem 0.75rem 4.6rem; }
  .lightbox-nav { top: auto; bottom: 0.65rem; transform: none; }
  .lightbox-prev { left: calc(50% - 54px); }
  .lightbox-next { right: calc(50% - 54px); }
}

@media (max-width: 450px) {
  :root { --header-height: 80px; }
  .brand { width: 100px; }
  .brand img { height: 60px; }
  .language-toggle { min-width: 67px; gap: 0.35rem; font-size: 0.76rem; }
  .header-inner { gap: 0.35rem; }
  .button-row .button { width: 100%; }
  .hero { min-height: 730px; }
  .hero-arrow { width: 46px; height: 46px; }
  .hero-next { left: 4.45rem; }
  .gallery-grid, .gallery-preview, .service-gallery { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .service-card-image, .service-card:nth-child(5) .service-card-image { height: 245px; }
  .site-footer { margin-inline: 0; border-radius: 24px 24px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .reveal-enabled .reveal-item { opacity: 1; transform: none; }
}
