﻿:root {
  --navy: #07133b;
  --navy-2: #020817;
  --blue: #075da7;
  --blue-2: #0a78d1;
  --cyan: #80d2ff;
  --steel: #68798b;
  --muted: #eef3f7;
  --line: #d8e1ea;
  --white: #ffffff;
  --orange: #ff9f1c;
  --shadow: 0 28px 70px rgba(2, 8, 23, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy-2);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.site-structure-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .42;
}
.site-structure-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(7,93,167,.16), transparent 30%),
    linear-gradient(115deg, rgba(255,255,255,0) 0 42%, rgba(128,210,255,.08) 42% 43%, transparent 43% 100%);
}
.structure-perspective {
  position: absolute;
  right: -9vw;
  top: 8vh;
  width: min(980px, 72vw);
  height: 78vh;
  transform-style: preserve-3d;
  --bg-parallax-x: 0px;
  --bg-parallax-y: 0px;
  transform: perspective(1100px) rotateX(62deg) rotateZ(-24deg) translate3d(var(--bg-parallax-x), var(--bg-parallax-y), 0);
  animation: backgroundStructureDrift 15s ease-in-out infinite alternate;
}
.bg-beam,
.bg-post,
.bg-diag {
  position: absolute;
  display: block;
  background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(7,93,167,.72) 38%, rgba(6,19,48,.9) 72%, rgba(255,255,255,.72));
  border: 1px solid rgba(147,214,255,.32);
  box-shadow: 0 0 22px rgba(7,93,167,.22), inset 0 0 8px rgba(255,255,255,.28);
}
.bg-beam { height: 18px; transform-origin: left center; }
.bg-b1 { width: 100%; top: 10%; left: 0; }
.bg-b2 { width: 96%; top: 28%; left: 5%; }
.bg-b3 { width: 106%; top: 48%; left: -6%; }
.bg-b4 { width: 92%; top: 68%; left: 8%; }
.bg-b5 { width: 88%; top: 86%; left: 16%; }
.bg-post { width: 20px; height: 74%; top: 10%; transform: rotateX(-58deg); }
.bg-p1 { left: 5%; }
.bg-p2 { left: 32%; }
.bg-p3 { left: 61%; }
.bg-p4 { left: 88%; }
.bg-diag { width: 14px; height: 92%; top: 0; transform-origin: center; }
.bg-d1 { left: 18%; transform: rotate(48deg); }
.bg-d2 { left: 49%; transform: rotate(-48deg); }
.bg-d3 { left: 75%; transform: rotate(48deg); }
.topbar,
.site-header,
main,
.site-footer,
.whatsapp-float {
  position: relative;
  z-index: 1;
}
.services,
.faq,
.contact {
  position: relative;
  overflow: hidden;
}
.services::before,
.faq::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(115deg, transparent 0 48%, rgba(7,93,167,.055) 48% 49%, transparent 49% 100%),
    linear-gradient(90deg, rgba(7,93,167,.04) 1px, transparent 1px),
    linear-gradient(rgba(7,93,167,.035) 1px, transparent 1px);
  background-size: 360px 360px, 72px 72px, 72px 72px;
  pointer-events: none;
}
.services > *,
.faq > *,
.contact > * {
  position: relative;
  z-index: 1;
}
@keyframes backgroundStructureDrift {
  from { transform: perspective(1100px) rotateX(62deg) rotateZ(-24deg) translate3d(var(--bg-parallax-x), var(--bg-parallax-y), 0); }
  to { transform: perspective(1100px) rotateX(58deg) rotateZ(-19deg) translate3d(calc(var(--bg-parallax-x) - 28px), calc(var(--bg-parallax-y) + 18px), 0); }
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.topbar {
  min-height: 42px;
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  padding: 8px 24px;
  background: var(--navy-2);
  color: #d9ecff;
  font-size: .9rem;
}
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 6vw;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(7,19,59,.1);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 16px 42px rgba(2, 8, 23, .1); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 185px; }
.brand strong { display: block; color: var(--blue); font-size: 1.35rem; letter-spacing: 0; line-height: 1; }
.brand small { display: block; color: #606a75; letter-spacing: .36em; font-size: .68rem; font-weight: 800; }
.brand-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), #334155);
  clip-path: polygon(50% 0, 100% 82%, 78% 82%, 50% 34%, 22% 82%, 0 82%);
}
.brand-symbol i { width: 22px; height: 18px; border-top: 6px solid #fff; border-bottom: 6px solid #fff; display: block; transform: skewY(-22deg); }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { padding: 12px 12px; color: #162033; font-weight: 800; font-size: .92rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { padding: 12px 16px; background: var(--blue); color: #fff; font-weight: 900; box-shadow: 0 12px 28px rgba(7,93,167,.26); }
.menu-btn { display: none; border: 0; background: var(--navy); color: #fff; width: 42px; height: 42px; font-size: 1.35rem; }

.hero {
  min-height: calc(100vh - 42px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 42px;
  padding: 76px 6vw 66px;
  background:
    linear-gradient(105deg, rgba(2, 8, 23, .98) 0%, rgba(7, 19, 59, .92) 45%, rgba(7, 93, 167, .62) 100%),
    url("assets/mecma-hangar-clean.png") center/cover;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(0deg, #fff, rgba(255,255,255,0));
}
.spark-canvas { position: absolute; inset: 0; opacity: .48; }
.hero-copy, .hero-card { position: relative; z-index: 2; }
.kicker { margin: 0 0 13px; color: var(--cyan); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 880px; margin-bottom: 22px; font-size: clamp(2.75rem, 6.2vw, 6.4rem); line-height: .9; letter-spacing: 0; text-shadow: 0 12px 34px rgba(0,0,0,.22); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4.2vw, 4.3rem); line-height: 1; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 1.22rem; line-height: 1.12; }
.hero-copy p { max-width: 720px; color: #d7e7f8; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 0; cursor: pointer; font-weight: 900; }
.btn.primary { background: var(--blue-2); color: #fff; box-shadow: 0 16px 38px rgba(10,120,209,.32); }
.btn.ghost { color: #fff; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.hero-card { align-self: end; background: #fff; color: var(--navy); box-shadow: var(--shadow); padding: 10px; transform: perspective(1000px) rotateY(-7deg) rotateX(2deg); }
.hero-card img { aspect-ratio: 4/5.5; width: 100%; object-fit: cover; }
.hero-card div { padding: 14px 8px 6px; }
.hero-card b, .hero-card span { display: block; }
.hero-card span { color: var(--steel); }

.steel-model { position: absolute; right: 8vw; top: 18vh; width: min(760px, 55vw); height: 370px; z-index: 1; transform-style: preserve-3d; transform: perspective(900px) rotateX(60deg) rotateZ(-17deg); opacity: .48; }
.deck { position: absolute; inset: 110px 0 0; border: 2px solid rgba(203,229,255,.45); background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 68px 68px; }
.beam, .post, .diag { position: absolute; background: linear-gradient(90deg, #e8f3ff, #5d7185 52%, #fff); box-shadow: 0 0 18px rgba(128,210,255,.38); }
.beam { height: 16px; width: 100%; }
.b1 { top: 105px; } .b2 { bottom: 18px; } .b3, .b4 { width: 370px; top: 108px; transform: rotate(90deg); transform-origin: left center; } .b3 { left: 0; } .b4 { right: -16px; }
.post { width: 18px; height: 250px; top: 94px; transform: rotateX(-58deg); }
.p1 { left: 22px; } .p2 { left: 38%; } .p3 { left: 67%; } .p4 { right: 22px; }
.diag { width: 15px; height: 370px; top: -20px; }
.d1 { left: 20%; transform: rotate(55deg); } .d2 { left: 50%; transform: rotate(-55deg); } .d3 { left: 77%; transform: rotate(55deg); }

.stats-strip { position: relative; z-index: 4; margin: -28px 6vw 0; display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: var(--shadow); }
.stats-strip article { min-height: 112px; padding: 24px; background: #fff; border-right: 1px solid var(--line); display: grid; align-content: center; }
.stats-strip strong { color: var(--blue); font-size: 1.65rem; line-height: 1; }
.stats-strip span { color: #374151; font-weight: 900; }

.section { padding: 92px 6vw; }
.about { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr); gap: 58px; align-items: center; }
.split-media { position: relative; }
.split-media img { box-shadow: var(--shadow); }
.floating-note { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 18px; background: rgba(7,19,59,.92); color: #fff; font-weight: 900; }
.section-copy p, .service-detail p, .project-grid p, .timeline p, .faq p, .contact p { color: #526173; }
.values-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.values-grid article { padding: 18px; border: 1px solid var(--line); background: #fff; }
.values-grid h3 { color: var(--blue); }

.services { background: var(--muted); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.section-title {
  min-width: 0;
  max-width: 1180px;
}
.section-title .kicker {
  margin-bottom: 10px;
}
.section-title h2 {
  margin-bottom: 0;
}
.section-head a {
  flex: 0 0 auto;
  min-width: 190px;
  max-width: 270px;
  padding: 13px 18px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
}
.service-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.service-tabs button { border: 1px solid var(--line); background: #fff; color: var(--navy); min-height: 44px; padding: 0 14px; cursor: pointer; font-weight: 900; }
.service-tabs button.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.service-detail { display: none; grid-template-columns: minmax(260px, 480px) minmax(0, 1fr); gap: 34px; align-items: stretch; background: #fff; padding: 18px; box-shadow: 0 16px 44px rgba(2,8,23,.08); }
.service-detail.active { display: grid; }
.service-detail img { width: 100%; height: 430px; object-fit: cover; }
.service-detail div { padding: 34px 18px; align-self: center; }
.service-detail ul { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 10px; }
.service-detail li { position: relative; padding-left: 24px; font-weight: 800; color: #1f2937; }
.service-detail li::before { content: ""; width: 9px; height: 9px; background: var(--orange); position: absolute; left: 0; top: .65em; }

.projects { background: radial-gradient(circle at top right, rgba(7,93,167,.28), transparent 34%), var(--navy-2); color: #fff; }
.section-head.light .kicker { color: #93d6ff; }
.section-head.light h2 { color: #fff; }
.section-head.light a { background: #fff; color: var(--navy); }
.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 0;
  margin-bottom: 22px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  overflow: hidden;
}
.featured-project img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06) brightness(.94);
}
.featured-copy {
  padding: 42px;
  display: grid;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(232,241,249,.94)),
    repeating-linear-gradient(90deg, rgba(7,93,167,.08) 0 1px, transparent 1px 18px);
}
.featured-copy span,
.gallery-card span { color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.featured-copy h3 { font-size: clamp(1.8rem, 3.2vw, 3.4rem); line-height: 1; }
.featured-copy p { color: #526173; }
.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 270px;
  gap: 14px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  background: #0b1730;
  box-shadow: 0 16px 38px rgba(0,0,0,.2);
}
.gallery-card.wide { grid-column: span 2; }
.gallery-card.tall { grid-row: span 2; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.14) brightness(.82);
  transform: scale(1.02);
  transition: transform .55s ease, filter .55s ease;
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,8,23,.08) 0%, rgba(2,8,23,.18) 34%, rgba(2,8,23,.9) 100%);
  pointer-events: none;
}
.gallery-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}
.gallery-card span { color: #93d6ff; }
.gallery-card h3 { color: #fff; margin: 6px 0 0; text-shadow: 0 8px 24px rgba(0,0,0,.38); }
.gallery-card:hover img { transform: scale(1.08); filter: saturate(1.2) contrast(1.12) brightness(.98); }
.project-grid { display: none; }
.cinematic-frame,
.gallery-card {
  isolation: isolate;
}
.cinematic-frame::before,
.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 12%, rgba(255,255,255,.22), transparent 24%),
    linear-gradient(120deg, rgba(7,93,167,.18), transparent 42%, rgba(255,159,28,.12));
  mix-blend-mode: screen;
  opacity: .58;
  pointer-events: none;
}
.cinematic-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: inset 0 0 40px rgba(128,210,255,.12);
  pointer-events: none;
}
.featured-project { position: relative; }
.featured-project img {
  filter: saturate(1.18) contrast(1.13) brightness(.84);
  transform: scale(1.015);
}
.cinematic-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 22px;
  background: rgba(147,214,255,.24);
  border: 1px solid rgba(147,214,255,.18);
}
.cinematic-rail span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(255,255,255,.07);
  color: #eaf7ff;
  font-weight: 900;
  text-align: center;
}
.cinematic-gallery .gallery-card {
  border: 1px solid rgba(147,214,255,.16);
  transform: translateY(0);
  transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.cinematic-gallery .gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(147,214,255,.5);
  box-shadow: 0 30px 78px rgba(0,0,0,.36), 0 0 0 1px rgba(128,210,255,.12);
}
.gallery-card.crop-bottom img {
  height: 112%;
  object-position: center 24%;
}
.reveal-card {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.workflow { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr); gap: 38px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.timeline li { min-height: 220px; padding: 26px; background: #fff; border-top: 5px solid var(--blue); }
.timeline span { display: block; color: var(--orange); font-weight: 900; margin-bottom: 18px; }

.faq { background: #f8fafc; }
.faq-list { display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--line); padding: 18px 20px; }
summary { cursor: pointer; font-weight: 900; color: var(--navy); }
details p { margin: 12px 0 0; }

.contact { padding: 92px 6vw; display: grid; grid-template-columns: minmax(0, .9fr) minmax(290px, 520px); gap: 44px; background: linear-gradient(135deg, #eaf4fb, #fff); }
.contact-cards { margin-top: 24px; display: grid; gap: 10px; }
.contact-cards a { padding: 16px; display: flex; justify-content: space-between; gap: 16px; background: #fff; border-left: 4px solid var(--blue); box-shadow: 0 10px 28px rgba(2,8,23,.06); }
.contact-cards span { overflow-wrap: anywhere; color: #526173; font-weight: 800; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.socials a { padding: 12px 14px; background: var(--navy); color: #fff; font-weight: 900; }
.quote-form { display: grid; gap: 14px; padding: 24px; background: #fff; box-shadow: var(--shadow); }
.quote-form label { display: grid; gap: 7px; color: var(--navy); font-weight: 900; font-size: .92rem; }
input, select, textarea { width: 100%; border: 1px solid var(--line); padding: 13px 12px; color: var(--navy-2); background: #fff; }
textarea { resize: vertical; }

.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; padding: 14px 18px; background: #18b357; color: #fff; font-weight: 900; box-shadow: 0 16px 38px rgba(24,179,87,.35); }
.site-footer { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 18px; align-items: center; padding: 28px 6vw; background: var(--navy-2); color: #dceaff; }
.site-footer b, .site-footer span { display: block; }
.site-footer a { color: #93d6ff; font-weight: 900; }

@media (max-width: 980px) {
  .topbar { flex-wrap: wrap; justify-content: flex-start; gap: 10px 18px; }
  .site-header { padding: 12px 20px; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 72px; background: #fff; padding: 10px; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-cta { display: none; }
  .hero, .about, .service-detail.active, .workflow, .contact, .site-footer { grid-template-columns: 1fr; }
  .hero { padding: 54px 20px 58px; }
  .hero-card { max-width: 330px; transform: none; }
  .steel-model { width: 680px; right: -250px; opacity: .32; }
  .stats-strip, .timeline { grid-template-columns: 1fr 1fr; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-project img { height: 380px; }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 250px; }
  .cinematic-rail { grid-template-columns: repeat(2, 1fr); }
  .section, .contact { padding: 68px 20px; }
  .service-detail img { height: 340px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head a { min-width: 0; max-width: none; }
}

@media (max-width: 560px) {
  .brand { min-width: 0; }
  .brand strong { font-size: 1.05rem; }
  h1 { font-size: 3rem; }
  .hero-actions .btn { width: 100%; }
  .stats-strip, .values-grid, .timeline { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .cinematic-rail { grid-template-columns: 1fr; }
  .gallery-card.wide, .gallery-card.tall { grid-column: auto; grid-row: auto; }
  .featured-copy { padding: 26px; }
  .service-tabs { display: grid; }
  .service-tabs button { width: 100%; }
  .contact-cards a { display: grid; }
}









