/* ============================================================
   StructurElit — styles
   Navy + Light Gray + Orange · bold industrial
   ============================================================ */

:root {
  --navy:      #0F2A4A;
  --navy-900:  #0A1F38;
  --navy-700:  #163963;
  --orange:    #F47920;
  --orange-600:#D9650F;
  --whatsapp:  #25D366;
  --whatsapp-d:#1da851;

  --gray-50:  #F3F5F8;
  --gray-100: #ECEFF3;
  --gray-200: #E1E6ED;
  --gray-400: #98A2B3;
  --gray-600: #475467;
  --white:    #ffffff;

  --ink:      #14233B;
  --shadow-sm: 0 1px 3px rgba(15,42,74,.08), 0 1px 2px rgba(15,42,74,.06);
  --shadow-md: 0 10px 25px -8px rgba(15,42,74,.18);
  --shadow-lg: 0 24px 50px -16px rgba(15,42,74,.30);
  --radius:   14px;
  --radius-sm: 10px;
  --maxw:     1180px;
  --ease:     cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

h1,h2,h3 { font-family: "Oswald", "Inter", sans-serif; font-weight: 600; line-height: 1.05; letter-spacing: .01em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--orange); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  padding: 12px 22px; border: 0; border-radius: 999px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  box-shadow: 0 6px 16px -6px rgba(244,121,32,.6);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn .ico { width: 20px; height: 20px; fill: currentColor; }
.btn .ico--wa { width: 26px; height: 26px; margin: -2px 0; }
.btn--orange { --bg: var(--orange); }
.btn--orange:hover { background: var(--orange-600); }
.btn--whatsapp { --bg: var(--whatsapp); box-shadow: 0 6px 16px -6px rgba(37,211,102,.6); }
.btn--whatsapp:hover { background: var(--whatsapp-d); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10,31,56,.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  background: var(--orange); }
.brand__mark svg { fill: var(--navy); }
.brand__name {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: 1.4rem;
  text-transform: uppercase; letter-spacing: .03em; color: #fff; line-height: 1;
}
.brand__accent { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  color: rgba(255,255,255,.88); font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  position: relative; padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange);
  transition: width .2s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: 6px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: transparent; border: 0; }
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(560px, 88vh, 820px); display: flex; align-items: center; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,31,56,.80) 0%, rgba(10,31,56,.58) 45%, rgba(10,31,56,.88) 100%),
    radial-gradient(120% 90% at 50% 42%, rgba(10,31,56,0) 35%, rgba(10,31,56,.45) 100%);
}
.hero__content { padding-top: 96px; padding-bottom: 56px; max-width: 820px; margin-inline: auto; text-align: center; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .8rem;
  color: var(--orange); margin-bottom: 18px;
}
.hero__title {
  color: #fff; text-transform: uppercase;
  font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: .005em;
}
.hero__title .hl { color: var(--orange); }
.hero__sub { color: rgba(255,255,255,.9); font-size: clamp(1.02rem, 2.2vw, 1.22rem); margin: 22px auto 32px; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- hazard stripe ---------- */
.hazard {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 22px, var(--navy) 22px 44px);
}

/* ---------- trust strip ---------- */
.trust { background: var(--navy-900); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 14px; gap: 4px; position: relative;
}
.trust__item + .trust__item::before {
  content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: rgba(255,255,255,.14);
}
.trust__num { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--orange); line-height: 1; }
.trust__lbl { color: rgba(255,255,255,.78); font-size: .86rem; font-weight: 500; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--light { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: .78rem; color: var(--orange); margin-bottom: 12px; }
.eyebrow--light { color: var(--orange); }
.section__title { font-size: clamp(1.9rem, 4.4vw, 3rem); text-transform: uppercase; color: var(--navy); }
.section__head--light .section__title { color: #fff; }
.section__lead { margin-top: 14px; color: var(--gray-600); font-size: 1.08rem; }
.section__head--light .section__lead { color: rgba(255,255,255,.82); }

/* ---------- services cards ---------- */
.services { background: var(--gray-50); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 24px; position: relative; flex: 1; }
.card__body { border-left: 4px solid var(--orange); }
.card__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(244,121,32,.12); margin-bottom: 14px; }
.card__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__title { font-size: 1.32rem; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.card__text { color: var(--gray-600); font-size: .98rem; }
.card--cta { background: var(--navy); color: #fff; border: 0; }
.card--cta .card__body { border-left: 4px solid var(--orange); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.card--cta .card__title { color: #fff; }
.card--cta .card__text { color: rgba(255,255,255,.82); }
.card--cta .btn { margin-top: 4px; }

/* ---------- why ---------- */
.why { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; top: -40%; right: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(244,121,32,.16), transparent 65%); pointer-events: none;
}
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why__item { position: relative; }
.why__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); margin-bottom: 18px; }
.why__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why__title { font-size: 1.22rem; text-transform: uppercase; margin-bottom: 8px; }
.why__text { color: rgba(255,255,255,.78); font-size: .96rem; }

/* ---------- zone / map ---------- */
.zone { background: var(--gray-50); }
.zone__grid { display: grid; grid-template-columns: 1fr 1.43fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.zone__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 24px 0 30px; }
.zone__list li {
  display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 1rem;
}
.zone__list li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; }
.zone__list span { color: var(--gray-400); font-weight: 500; }

.zone__map { position: relative; }
.idf-map { width: 100%; height: auto; overflow: visible; }

/* raised plate */
.idf-side   { fill: #081c33; }
.idf-top    { fill: url(#idfGrad); filter: url(#idfShadow); }
.idf-paris  { fill: url(#idfParis); opacity: .92; }
.idf-borders path { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.1; stroke-linejoin: round; }
.idf-edge   { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.8; stroke-linejoin: round; }

/* leaders */
.idf-leader { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.2; stroke-linecap: round; }

/* markers */
.idf-marker { transition: transform .2s var(--ease); transform-box: fill-box; transform-origin: center bottom; }
.idf-pin-img  { filter: drop-shadow(0 2px 2px rgba(6,18,42,.45)); }
.idf-pin-m    { display: none; }   /* phone-only pin for inner cities */
.idf-dot-outer { fill: var(--orange); stroke: #fff; stroke-width: 1.6; filter: url(#pinShadow); }
.idf-dot-paris { stroke-width: 2; }
.idf-dot-inner { fill: #fff; }
.idf-label {
  font-family: "Inter", sans-serif; font-weight: 700; font-size: 16px; fill: #fff;
  paint-order: stroke; stroke: #0a2038; stroke-width: 3.6px; stroke-linejoin: round;
  dominant-baseline: middle;
}
.idf-label--bold { font-size: 18.5px; fill: #ffd9b3; }

/* phone-specific labels + leaders (bigger, tuned for the full pins) — hidden on desktop */
.idf-leader-m { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.6; stroke-linecap: round; display: none; }
.idf-label-m {
  font-family: "Inter", sans-serif; font-weight: 700; font-size: 27px; fill: #fff;
  paint-order: stroke; stroke: #0a2038; stroke-width: 5px; stroke-linejoin: round;
  dominant-baseline: middle; display: none;
}
.idf-label-m--bold { font-size: 31px; fill: #ffd9b3; }

/* phones: hide the desktop dots + small text/leaders, show full pins + the bigger phone labels */
@media (max-width: 620px) {
  .idf-label, .idf-leader { display: none; }
  .idf-dot-outer, .idf-dot-inner { display: none; }
  .idf-pin-m { display: inline; }
  .idf-label-m, .idf-leader-m { display: inline; }
}

/* ---------- gallery ---------- */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; grid-auto-flow: dense;
}
.gallery__item {
  padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,42,74,.35), transparent 55%);
  opacity: 0; transition: opacity .25s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- contact ---------- */
.contact { background: var(--navy-900); color: #fff; text-align: center; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(244,121,32,.22), transparent 55%); pointer-events: none;
}
.contact__inner { max-width: 760px; margin-inline: auto; position: relative; }
.contact__title { font-size: clamp(1.9rem, 4.6vw, 3.1rem); text-transform: uppercase; margin-bottom: 14px; }
.contact__lead { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 28px; }
.contact__phone {
  display: inline-block; font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--orange); letter-spacing: .02em; margin-bottom: 26px;
  transition: color .2s var(--ease);
}
.contact__phone:hover { color: #fff; }
.contact__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact__note { margin-top: 24px; color: rgba(255,255,255,.7); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }

/* ---------- footer ---------- */
.site-footer { background: #07182c; color: rgba(255,255,255,.8); }
.footer__inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 48px 20px 28px; }
.brand--footer .brand__name { font-size: 1.3rem; }
.footer__tag { margin-top: 12px; color: rgba(255,255,255,.62); font-size: .92rem; max-width: 360px; }
.footer__contact { text-align: right; }
.footer__phone { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--orange); }
.footer__contact p { font-size: .9rem; margin-top: 6px; color: rgba(255,255,255,.6); }
.footer__bottom {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-align: center;
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px; font-size: .86rem; color: rgba(255,255,255,.55);
}
.footer__legal { transition: color .2s; }
.footer__legal:hover { color: var(--orange); }

/* ---------- floating contact ---------- */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.floating__btn {
  display: inline-flex; align-items: center; gap: 0; height: 56px; border-radius: 999px; color: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden; transition: transform .2s var(--ease); padding-inline: 0;
}
.floating__btn > svg { width: 26px; height: 26px; fill: currentColor; flex: 0 0 auto; margin: 15px; }
.floating__btn > img { width: 32px; height: 32px; flex: 0 0 auto; margin: 12px; }
.floating__txt { font-weight: 700; max-width: 0; opacity: 0; white-space: nowrap; overflow: hidden;
  transition: max-width .3s var(--ease), opacity .2s var(--ease), padding .3s var(--ease); padding-right: 0; }
/* expand-on-hover only on devices with a real pointer (desktop); touch keeps clean circles */
@media (hover: hover) and (pointer: fine) {
  .floating__btn:hover { transform: translateY(-3px) scale(1.02); }
  .floating__btn:hover .floating__txt { max-width: 130px; opacity: 1; padding-right: 22px; }
}
.floating__btn--whatsapp { background: var(--whatsapp); }
.floating__btn--call { background: var(--orange); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(7,24,44,.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px;
  border-radius: 50%; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: background .2s; backdrop-filter: blur(4px);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .zone__grid { grid-template-columns: 1fr; }
  .zone__map { max-width: 620px; margin-inline: auto; }
}

/* phone: let the map span the full viewport width (biggest it can be without cropping) */
@media (max-width: 620px) {
  body { overflow-x: hidden; }
  .zone { overflow: hidden; }
  .zone__map { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,31,56,.98); backdrop-filter: blur(10px);
    padding: 8px 20px 24px; transform: translateY(-130%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow-md); max-height: calc(100vh - 72px); overflow:auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 16px 0 0; text-align: center; }
  .nav-toggle { display: flex; }
  .site-header { background: rgba(10,31,56,.92); backdrop-filter: blur(8px); }

  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3)::before, .trust__item:nth-child(odd)::before { display: none; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .footer__inner { flex-direction: column; }
  .footer__contact { text-align: left; }
}

@media (max-width: 460px) {
  .cards { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
}

/* ---------- motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
