:root {
  --cerulean: #2f758f;
  --cerulean-bright: #3c91ad;
  --platinum: #f4f5f9;
  --white: #ffffff;
  --navy: #1a2e49;
  --navy-deep: #101f33;
  --ink: #16263a;
  --muted: #657385;
  --line: rgba(26, 46, 73, 0.12);
  --success: #27b05f;
  --font-body: "Manrope", sans-serif;
  --font-heading: "Sora", sans-serif;
  --shadow-sm: 0 12px 32px rgba(26, 46, 73, 0.08);
  --shadow-lg: 0 28px 80px rgba(16, 31, 51, 0.2);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1220px;
  --header-height: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--platinum);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

svg {
  display: block;
}

::selection {
  color: var(--white);
  background: var(--cerulean);
}

:focus-visible {
  outline: 3px solid rgba(60, 145, 173, 0.65);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 132px 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--cerulean);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 32px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.eyebrow--light {
  color: #8ed1e6;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 18px;
}

.hero__meta .eyebrow {
  margin: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid #ffe7b0;
  border-radius: 999px;
  color: var(--navy);
  background: linear-gradient(180deg, #fff8e8 0%, #f3c56a 100%);
  box-shadow:
    0 0 0 4px rgba(243, 197, 106, 0.28),
    0 10px 28px rgba(8, 27, 47, 0.38),
    0 0 36px rgba(243, 197, 106, 0.45);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  animation: badge-glow 2.4s ease-in-out infinite;
}

.hero-badge__icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  color: #fff8e8;
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.18);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-badge svg path:last-child {
  fill: none;
  stroke: #f3c56a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

@keyframes badge-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(243, 197, 106, 0.22),
      0 10px 28px rgba(8, 27, 47, 0.38),
      0 0 24px rgba(243, 197, 106, 0.32);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(243, 197, 106, 0.18),
      0 14px 34px rgba(8, 27, 47, 0.42),
      0 0 48px rgba(255, 214, 130, 0.7);
    transform: translateY(-1px) scale(1.03);
  }
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    transform 0.35s var(--ease),
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.button::before {
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  content: "";
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
}

.button:hover::before {
  left: 130%;
}

.button:hover {
  transform: translateY(-3px);
}

.button svg,
.nav-cta svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.3s var(--ease);
}

.button:hover svg,
.nav-cta:hover svg {
  transform: translateX(4px);
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--cerulean-bright), var(--cerulean));
  box-shadow: 0 15px 35px rgba(47, 117, 143, 0.32);
}

.button--primary:hover {
  box-shadow: 0 20px 44px rgba(47, 117, 143, 0.42);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed,
.no-js [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  transition:
    height 0.4s var(--ease),
    color 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  height: 74px;
  color: var(--navy);
  border-bottom: 1px solid rgba(26, 46, 73, 0.07);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 36px rgba(26, 46, 73, 0.07);
  backdrop-filter: blur(18px);
}

.site-header.menu-is-open {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.98);
}

.nav-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 9px 24px rgba(6, 20, 38, 0.2);
  transition: width 0.4s var(--ease), height 0.4s var(--ease);
}

.site-header.is-scrolled .brand__logo {
  width: 46px;
  height: 46px;
  border-color: rgba(47, 117, 143, 0.16);
  box-shadow: 0 8px 18px rgba(26, 46, 73, 0.1);
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.52);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand__text small {
  margin-top: 4px;
  opacity: 0.7;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  font-size: 0.84rem;
  font-weight: 700;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.primary-nav > a:not(.nav-cta):hover::after,
.primary-nav > a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(7px);
  transition: 0.3s ease;
}

.site-header.is-scrolled .nav-cta {
  color: var(--white);
  border-color: transparent;
  background: var(--navy);
}

.nav-cta:hover {
  border-color: var(--cerulean-bright);
  background: var(--cerulean);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: max(780px, 100svh);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: -5%;
}

.hero__media {
  background-image: url("assets/cover-image-frnace-btp.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.04);
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
  will-change: transform;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(11, 29, 49, 0.94) 0%, rgba(17, 43, 67, 0.8) 49%, rgba(25, 62, 85, 0.35) 100%),
    linear-gradient(180deg, rgba(8, 25, 43, 0.25) 0%, rgba(8, 27, 47, 0.46) 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero__glow--one {
  top: 16%;
  right: -9%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(69, 164, 194, 0.3), transparent 68%);
}

.hero__glow--two {
  bottom: -18%;
  left: 24%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(47, 117, 143, 0.22), transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: clamp(50px, 9vw, 130px);
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  padding-top: calc(var(--header-height) + 55px);
  padding-bottom: 100px;
}

.hero__content {
  max-width: 760px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 6.5vw, 6.7rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 span {
  color: #8ed1e6;
  font-weight: 500;
}

.hero__lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 38px;
}

.hero__proof > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__proof svg {
  width: 26px;
  height: 26px;
  padding: 6px;
  border: 1px solid rgba(142, 209, 230, 0.35);
  border-radius: 50%;
  fill: none;
  stroke: #8ed1e6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero__proof span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.hero__proof strong {
  font-size: 0.77rem;
  font-weight: 800;
}

.hero__proof small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(20, 49, 73, 0.3);
  box-shadow: 0 26px 70px rgba(6, 21, 36, 0.25);
  backdrop-filter: blur(18px);
}

.hero-card::after {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.hero-card__top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-card__number {
  color: #8ed1e6;
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.hero-card__top p {
  max-width: 185px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  line-height: 1.55;
}

.hero-card__line {
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent);
}

.hero-card ul {
  display: grid;
  gap: 13px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr 1fr;
}

.hero-card li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.73rem;
  font-weight: 700;
}

.hero-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8ed1e6;
  box-shadow: 0 0 0 4px rgba(142, 209, 230, 0.08);
  content: "";
}

.hero-card address {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.67rem;
  font-weight: 600;
}

.hero-card address svg {
  width: 17px;
  fill: none;
  stroke: #8ed1e6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 38px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.58);
  transform: translateX(-50%);
}

.scroll-cue__mouse {
  position: relative;
  display: block;
  width: 21px;
  height: 33px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
}

.scroll-cue__mouse i {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 99px;
  background: #8ed1e6;
  animation: scroll-dot 1.8s infinite var(--ease);
  transform: translateX(-50%);
}

.scroll-cue small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__curve {
  position: absolute;
  z-index: 3;
  right: -5%;
  bottom: -1px;
  left: -5%;
  height: 42px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--platinum);
  transform: translateY(55%);
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  25% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

/* Portfolio */
.portfolio {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 98% 7%, rgba(47, 117, 143, 0.09), transparent 24%),
    var(--platinum);
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 80px;
  grid-template-columns: 1.1fr 0.9fr;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.8vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

/* Right column: portrait video bg with text overlay */
.section-heading__right {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px; /* Provides a base height */
}

.section-heading__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35; /* Increased visibility */
  pointer-events: none;
  z-index: 0;
}

.section-heading__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(244, 245, 249, 0.95) 0%,
    rgba(244, 245, 249, 0.4) 50%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.section-heading__right > p {
  position: relative; /* relative to sit on top of video naturally without absolute bottom:0 forcing size */
  z-index: 2;
  margin: 0;
  padding: 2rem 1.75rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.service-chips span {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(47, 117, 143, 0.13);
  border-radius: 99px;
  color: #466273;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.71rem;
  font-weight: 700;
}

.service-chips span::before {
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cerulean);
  content: "";
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 64px 0 22px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.gallery-filters button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  transition: 0.3s ease;
}

.gallery-filters button:hover {
  color: var(--navy);
}

.gallery-filters button.is-active {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 8px 20px rgba(26, 46, 73, 0.2);
}

.gallery-toolbar > p {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
}

.gallery-toolbar > p span {
  color: var(--cerulean);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.portfolio-grid {
  display: grid;
  gap: 16px;
  grid-auto-flow: dense;
  grid-auto-rows: 280px;
  grid-template-columns: repeat(12, 1fr);
}

.project-card {
  grid-column: span 4;
}

.project-card--wide {
  grid-column: span 8;
}

.project-card--tall {
  grid-row: span 2;
}

.project-card.is-hidden {
  display: none;
}

.project-card.is-filtering {
  animation: card-in 0.55s var(--ease) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
  }
}

.project-card__button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 8px 28px rgba(26, 46, 73, 0.08);
  text-align: left;
  transition:
    box-shadow 0.55s var(--ease),
    transform 0.55s var(--ease);
}

.project-card__button:hover {
  z-index: 2;
  box-shadow: 0 26px 58px rgba(26, 46, 73, 0.22);
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.9s var(--ease),
    filter 0.6s ease;
}

.project-card__button:hover img {
  filter: saturate(1.08);
  transform: scale(1.075);
}

.project-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 27, 45, 0.78) 100%);
  transition: background 0.45s ease;
}

.project-card__button:hover .project-card__shade {
  background: linear-gradient(180deg, rgba(20, 57, 79, 0.08) 20%, rgba(11, 27, 45, 0.88) 100%);
}

.project-card__content {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  transition: transform 0.45s var(--ease);
}

.project-card__button:hover .project-card__content {
  transform: translateY(-4px);
}

.project-card__content small {
  margin-bottom: 6px;
  color: #9ad8eb;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card__content strong {
  font-family: var(--font-heading);
  font-size: 1.03rem;
  font-weight: 600;
}

.project-card__open {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(20, 46, 67, 0.32);
  opacity: 0;
  transform: scale(0.75);
  backdrop-filter: blur(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s var(--ease);
}

.project-card__open svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.project-card__button:hover .project-card__open,
.project-card__button:focus-visible .project-card__open {
  opacity: 1;
  transform: scale(1);
}

/* Services */
.services {
  background:
    radial-gradient(circle at 0% 0%, rgba(47, 117, 143, 0.08), transparent 35%),
    var(--white);
}

.services__intro,
.zones .services__intro {
  max-width: 780px;
  margin-bottom: 48px;
}

.services__intro h2,
.zones .services__intro h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.services__lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.services__visuals {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 48px;
}

.services__visual {
  position: relative;
  display: block;
  overflow: hidden;
  height: 320px;
  border-radius: 20px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 28px rgba(26, 46, 73, 0.08);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.services__visual:hover,
.services__visual:focus-visible {
  box-shadow: 0 18px 40px rgba(26, 46, 73, 0.16);
  transform: translateY(-4px);
}

.services__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.services__visual:hover img,
.services__visual:focus-visible img {
  transform: scale(1.05);
}

.services__visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(11, 27, 45, 0.78) 100%);
  pointer-events: none;
}

.services__visual-caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.25;
}

.services__visual-caption small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services__visual-caption strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.services__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  padding: 28px 26px;
  border: 1px solid rgba(26, 46, 73, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f7f9fc);
  box-shadow: 0 10px 28px rgba(26, 46, 73, 0.05);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s ease;
}

.service-card:hover {
  border-color: rgba(47, 117, 143, 0.28);
  box-shadow: 0 18px 40px rgba(26, 46, 73, 0.12);
  transform: translateY(-4px);
}

.service-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--cerulean);
  background: rgba(47, 117, 143, 0.1);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.service-card > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding: 6px 0 6px 16px;
  color: #3d5166;
  font-size: 0.78rem;
  font-weight: 600;
}

.service-card li::before {
  position: absolute;
  top: 0.85em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cerulean);
  content: "";
}

.services__note {
  margin: 42px 0 0;
  padding: 22px 26px;
  border-left: 3px solid var(--cerulean);
  border-radius: 0 14px 14px 0;
  color: var(--ink);
  background: var(--platinum);
  font-size: 0.95rem;
  line-height: 1.7;
}

.services__note a {
  color: var(--cerulean);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Zones */
.zones {
  background:
    radial-gradient(circle at 100% 0%, rgba(26, 46, 73, 0.06), transparent 30%),
    var(--platinum);
}

.zones__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zone-card {
  padding: 34px 32px;
  border: 1px solid rgba(26, 46, 73, 0.08);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.zone-card__code {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cerulean-bright), var(--cerulean));
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.zone-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.zone-card > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.zone-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zone-card__list li {
  padding: 7px 12px;
  border: 1px solid rgba(47, 117, 143, 0.14);
  border-radius: 999px;
  color: #456074;
  background: rgba(47, 117, 143, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
}

.zones__extra {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  text-align: center;
}

/* FAQ */
.faq {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 0%, rgba(47, 117, 143, 0.22), transparent 40%),
    #0d1b2a;
}

.faq .section-heading h2 {
  color: var(--white);
}

.faq-list {
  display: flex;
  max-width: 860px;
  flex-direction: column;
  gap: 12px;
  margin: 2.5rem auto 0;
}

.faq-item {
  padding: 1.15rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s ease;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.07);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  flex: 0 0 auto;
  color: #8ed1e6;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary span {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0.85rem 0 0;
  color: #a0aec0;
  font-size: 0.94rem;
  line-height: 1.75;
}

.faq-item a {
  color: #8ed1e6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-seo {
  max-width: 760px;
  margin: 1.5rem auto 0;
  color: #a0aec0;
  font-size: 0.82rem;
  line-height: 1.75;
  text-align: center;
}

.footer-seo p {
  margin: 0.35rem 0 0;
}

.footer-seo a {
  color: #8ed1e6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.86rem;
}

.footer-nav a {
  color: #a0aec0;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  padding: 34px 38px;
  border: 1px solid rgba(47, 117, 143, 0.15);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 244, 247, 0.75)),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.portfolio-cta span {
  color: var(--cerulean);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-cta h3 {
  margin: 5px 0 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.text-link > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--cerulean);
  font-size: 1.1rem;
  transition: transform 0.35s var(--ease);
}

.text-link:hover > span {
  transform: rotate(45deg);
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(47, 117, 143, 0.08), transparent 42%),
    var(--navy-deep);
}

.contact::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 55px 55px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 70%);
  pointer-events: none;
}

.contact__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact__orb--one {
  top: -250px;
  left: -200px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(142, 209, 230, 0.08);
  box-shadow:
    0 0 0 80px rgba(47, 117, 143, 0.025),
    0 0 0 160px rgba(47, 117, 143, 0.018);
}

.contact__orb--two {
  right: -180px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(47, 117, 143, 0.18), transparent 70%);
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(60px, 8vw, 115px);
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
}

.contact__content h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.contact__content h2 span {
  color: #8ed1e6;
}

.contact__lead {
  max-width: 480px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
  line-height: 1.85;
}

.contact__details {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.contact__details a {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 350px;
  transition: transform 0.3s var(--ease);
}

.contact__details a:hover {
  transform: translateX(5px);
}

.contact__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(142, 209, 230, 0.2);
  border-radius: 14px;
  color: #8ed1e6;
  background: rgba(255, 255, 255, 0.04);
}

.contact__icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact__icon svg.whatsapp-mark {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.contact__details a > span:last-child {
  display: flex;
  flex-direction: column;
}

.contact__details small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__details strong {
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.contact__promise {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.67rem;
  font-weight: 600;
}

.contact__promise svg {
  width: 20px;
  fill: none;
  stroke: #8ed1e6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.form-card {
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 36px 90px rgba(3, 17, 31, 0.32);
}

.form-card__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.form-card__heading small {
  color: var(--cerulean);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-card__heading h3 {
  margin: 6px 0 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.form-card__step {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 99px;
  color: #3c7655;
  background: #eaf7ef;
  font-size: 0.59rem;
  font-weight: 800;
}

.form-mode {
  position: relative;
  display: grid;
  margin: 28px 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--platinum);
  grid-template-columns: 1fr 1fr;
}

.form-mode button {
  position: relative;
  z-index: 2;
  min-height: 43px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 800;
  transition: color 0.35s ease;
}

.form-mode button.is-active {
  color: var(--navy);
}

.form-mode__indicator {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border: 1px solid rgba(26, 46, 73, 0.07);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(26, 46, 73, 0.09);
  transition: transform 0.45s var(--ease);
}

.form-mode.is-detailed .form-mode__indicator {
  transform: translateX(100%);
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field > span {
  color: #3c4d61;
  font-size: 0.64rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(26, 46, 73, 0.13);
  border-radius: 11px;
  outline: none;
  color: var(--ink);
  background: #fbfcfd;
  font-size: 0.76rem;
  font-weight: 500;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.field input,
.field select {
  height: 49px;
  padding: 0 14px;
}

.field textarea {
  min-height: 112px;
  padding: 13px 14px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa4af;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(47, 117, 143, 0.7);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47, 117, 143, 0.09);
}

.detailed-fields {
  display: grid;
  max-height: 0;
  gap: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    max-height 0.7s var(--ease),
    opacity 0.4s ease,
    transform 0.5s var(--ease),
    visibility 0s linear 0.5s;
}

.detailed-fields.is-open {
  max-height: 360px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    max-height 0.7s var(--ease),
    opacity 0.45s ease 0.1s,
    transform 0.5s var(--ease),
    visibility 0s;
}

.form-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 6px;
}

.form-card__footer p {
  max-width: 240px;
  margin: 0;
  color: #87919d;
  font-size: 0.58rem;
  line-height: 1.55;
}

.button--submit {
  min-height: 50px;
  flex: 0 0 auto;
  padding-inline: 20px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 25px rgba(26, 46, 73, 0.2);
}

.button--submit:hover {
  background: var(--cerulean);
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.48);
  background: #0b1828;
}

.site-footer .container {
  display: grid;
  min-height: 110px;
  align-items: center;
  gap: 28px;
  grid-template-columns: 1fr auto 1fr;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
}

.footer-brand__logo {
  display: grid;
  width: 36px;
  height: 36px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
}

.footer-brand__logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: scale(1.52);
}

.site-footer p {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 600;
}

.site-footer .container > a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  font-size: 0.64rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.site-footer .container > a:last-child:hover {
  color: var(--white);
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-float__label {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(26, 46, 73, 0.17);
  font-size: 0.65rem;
  font-weight: 800;
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease);
  backdrop-filter: blur(10px);
}

.whatsapp-float:hover .whatsapp-float__label {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float__icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 13px 30px rgba(17, 97, 49, 0.35);
  transition: transform 0.35s var(--ease);
}

.whatsapp-float:hover .whatsapp-float__icon {
  transform: scale(1.08) rotate(-4deg);
}

.whatsapp-float__icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  transform: translateY(-0.5px);
}

.whatsapp-float__pulse {
  position: absolute;
  right: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: whatsapp-pulse 2.2s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.9);
  }
  70% {
    opacity: 0;
    transform: scale(1.55);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

/* Lightbox */
.lightbox {
  width: min(92vw, 1040px);
  max-width: none;
  height: min(88vh, 850px);
  max-height: none;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--white);
  background: #0b1828;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.45);
}

.lightbox[open] {
  animation: lightbox-in 0.4s var(--ease);
}

.lightbox::backdrop {
  background: rgba(5, 15, 27, 0.83);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 28px 22px;
  background: linear-gradient(transparent, rgba(5, 15, 27, 0.85));
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -16px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.3);
}

.lightbox__close svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(14px);
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero__inner {
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.5rem);
  }

  .contact__grid {
    gap: 55px;
    grid-template-columns: minmax(0, 0.75fr) minmax(500px, 1.25fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services__visual {
    height: 260px;
  }

  .project-card {
    grid-column: span 6;
  }

  .project-card--wide {
    grid-column: span 12;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 78px;
  }

  .section-pad {
    padding: 96px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-scrolled .menu-toggle {
    border-color: var(--line);
    background: var(--platinum);
  }

  .site-header.menu-is-open .menu-toggle {
    border-color: var(--line);
    background: var(--platinum);
  }

  .primary-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 110px 32px 35px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition:
      opacity 0.35s ease,
      transform 0.45s var(--ease);
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > a:not(.nav-cta) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.04em;
  }

  .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .primary-nav .nav-cta {
    min-height: 56px;
    justify-content: center;
    margin-top: 18px;
    color: var(--white);
    background: var(--cerulean);
  }

  .hero {
    min-height: 820px;
  }

  .hero__inner {
    gap: 38px;
    grid-template-columns: 1fr;
    padding-top: 125px;
    padding-bottom: 90px;
  }

  .hero__content {
    max-width: 700px;
  }

  .hero-card {
    display: none;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(11, 29, 49, 0.94) 0%, rgba(17, 43, 67, 0.75) 90%),
      linear-gradient(180deg, rgba(8, 25, 43, 0.25) 0%, rgba(8, 27, 47, 0.55) 100%);
  }

  .section-heading {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    margin-left: 0;
  }

  .contact__grid {
    gap: 58px;
    grid-template-columns: 1fr;
  }

  .contact__content {
    max-width: 650px;
  }

  .contact__details {
    grid-template-columns: 1fr 1fr;
  }

  .zones__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section-pad {
    padding: 78px 0;
  }

  .brand__logo,
  .site-header.is-scrolled .brand__logo {
    width: 43px;
    height: 43px;
  }

  .brand__text small {
    display: none;
  }

  .hero {
    min-height: max(760px, 100svh);
  }

  .hero__media {
    background-position: 58% center;
  }

  .hero__inner {
    padding-top: 120px;
    padding-bottom: 115px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 13.4vw, 4.25rem);
    letter-spacing: -0.06em;
  }

  .hero-badge {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .hero__actions {
    flex-direction: column;
    margin-top: 28px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__proof {
    gap: 14px;
    margin-top: 28px;
  }

  .hero__proof > div {
    width: 100%;
  }

  .scroll-cue {
    bottom: 30px;
  }

  .section-heading h2 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__visuals {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .services__visual {
    height: 230px;
  }

  .service-chips {
    margin-top: 34px;
  }

  .gallery-toolbar {
    display: block;
    margin-top: 42px;
  }

  .gallery-filters {
    width: calc(100vw - 16px);
    margin-right: -16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-right: 0;
    border-radius: 14px 0 0 14px;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .gallery-filters button {
    flex: 0 0 auto;
  }

  .gallery-toolbar > p {
    margin-top: 12px;
    text-align: right;
  }

  .portfolio-grid {
    gap: 12px;
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--wide {
    height: 330px;
    grid-column: auto;
  }

  .project-card--tall {
    grid-row: auto;
  }

  .project-card:nth-child(3n + 2) {
    height: 420px;
  }

  .project-card__open {
    opacity: 1;
    transform: scale(0.9);
  }

  .portfolio-cta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 46px;
    padding: 27px 24px;
  }

  .contact__content h2 {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .contact__details {
    grid-template-columns: 1fr;
  }

  .contact__promise {
    align-items: flex-start;
  }

  .form-card {
    margin-inline: -6px;
    border-radius: 24px;
  }

  .form-card__heading {
    display: block;
  }

  .form-card__step {
    display: inline-block;
    margin-top: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .detailed-fields.is-open {
    max-height: 650px;
  }

  .form-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-card__footer p {
    max-width: none;
  }

  .button--submit {
    width: 100%;
  }

  .site-footer .container {
    min-height: 150px;
    justify-items: center;
    gap: 13px;
    padding-block: 24px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer .container > a:last-child {
    justify-content: center;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float__label {
    display: none;
  }

  .whatsapp-float__icon,
  .whatsapp-float__pulse {
    width: 54px;
    height: 54px;
  }

  .lightbox {
    width: 94vw;
    height: 82vh;
  }

  .lightbox__close {
    top: 10px;
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media {
    transform: scale(1.05);
  }
}
