:root {
  --c-black: #0A0A0A;
  --c-dark: #141414;
  --c-steel: #1E1E1E;
  --c-metal: #333333;
  --c-gray: #6A6A6A;
  --c-white: #F0EEEA;
  --c-white2: #9A9A9A;
  --c-accent: #88B878;
  --c-accent-l: #9DCB8D;

  --f-display: 'Cormorant Garamond', serif;
  --f-label: 'Bebas Neue', sans-serif;
  --f-body: 'Raleway', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  background: var(--c-black);
  color: var(--c-white);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.is-loaded {
  opacity: 1;
}

body.is-leaving {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 88%);
  margin: 0 auto;
}

.section {
  position: relative;
}

.section.pad-lg {
  padding: 120px 0;
}

.section.pad-md {
  padding: 100px 0;
}

.section.pad-sm {
  padding: 80px 0;
}

.bg-black {
  background: var(--c-black);
}

.bg-dark {
  background: var(--c-dark);
}

.overline {
  font-family: var(--f-label);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-accent);
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  font-weight: 300;
  color: var(--c-white);
}

h1 {
  font-size: 88px;
  line-height: 1.05;
}

h2 {
  font-size: 52px;
  line-height: 1.1;
}

h3 {
  font-size: 26px;
  line-height: 1.2;
}

p {
  color: var(--c-white2);
}

.text-muted {
  color: var(--c-white2);
}

.text-gray {
  color: var(--c-gray);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
}

.decor-line {
  width: 48px;
  height: 1px;
  background: var(--c-accent);
  margin: 28px 0;
}

.decor-line.center {
  margin: 28px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--c-white);
  background: transparent;
  color: var(--c-white);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  background: var(--c-white);
  color: var(--c-black);
}

.btn-accent {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}

.btn-accent:hover {
  background: var(--c-accent-l);
  border-color: var(--c-accent-l);
  color: var(--c-white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--c-white);
  color: var(--c-white);
}

.text-link {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-white);
  border-bottom: 1px solid transparent;
  padding-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.text-link:hover {
  border-color: var(--c-accent);
  color: var(--c-white);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  background: var(--c-black);
  border-bottom: 1px solid var(--c-metal);
}

.nav-wrap {
  width: min(1260px, 94%);
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 36px;
  position: relative;
}

.nav-entity {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gray);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nav-entity-link {
  color: var(--c-gray);
}

.nav-entity-sep {
  color: var(--c-metal);
}

.nav-entity-active {
  color: var(--c-white);
  position: relative;
  padding-bottom: 4px;
}

.nav-entity-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--c-accent);
}

.nav-logo {
  font-family: var(--f-label);
  font-size: 24px;
  letter-spacing: 0.2em;
  position: static;
  transform: none;
  justify-self: center;
  white-space: nowrap;
  padding: 0 22px;
  z-index: 2;
}

.nav-logo img {
  height: 68px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-self: end;
  min-width: 0;
  gap: clamp(14px, 1.4vw, 28px);
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--c-white2);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--c-white);
}

.nav-links a.active,
.nav-links a[aria-current='page'] {
  color: var(--c-white);
}

.nav-links a.active::after,
.nav-links a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--c-accent);
}

.nav-rdv {
  background: var(--c-accent);
  color: var(--c-white) !important;
  padding: 10px 22px;
  border: 1px solid var(--c-accent);
}

.nav-rdv:hover {
  background: var(--c-accent-l);
  border-color: var(--c-accent-l);
}

.nav-burger {
  width: 32px;
  height: 22px;
  border: none;
  background: transparent;
  display: none;
  position: relative;
  cursor: pointer;
}

.nav-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-white);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.nav-burger span:first-child {
  top: 4px;
}

.nav-burger span:last-child {
  top: 16px;
}

.nav-burger.is-active span:first-child {
  top: 10px;
  transform: rotate(45deg);
}

.nav-burger.is-active span:last-child {
  top: 10px;
  transform: rotate(-45deg);
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.si-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.si-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-metal);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.si-dot.active {
  background: var(--c-accent);
  transform: scale(1.4);
}

/* Hero */
.hero-home {
  height: 100vh;
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  background: var(--c-black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.9) 24%, rgba(10, 10, 10, 0.72) 45%, rgba(10, 10, 10, 0.18) 72%, rgba(10, 10, 10, 0.04) 100%);
  z-index: 1;
}

.hero-home::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6%;
}

.hero-content p {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--c-white2);
}

.hero-home .hero-content {
  width: min(1200px, 88%);
  margin: 0 auto;
  padding: 0;
}

.hero-home .hero-content::before {
  content: '01';
  position: absolute;
  top: -88px;
  left: -6px;
  font-family: var(--f-label);
  font-size: 200px;
  line-height: 1;
  color: rgba(240, 238, 234, 0.04);
  pointer-events: none;
}

.hero-home h1 {
  max-width: 740px;
}

.hero-home .hero-content p {
  max-width: 520px;
  margin: 0 0 40px;
}

.hero-home .decor-line.center {
  margin: 28px 0;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-home .hero-ctas {
  justify-content: flex-start;
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.scroll-down span {
  display: block;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-gray);
  margin-bottom: 12px;
}

.scroll-down .line {
  width: 1px;
  height: 40px;
  background: var(--c-metal);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.scroll-down .line::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-accent);
  animation: drop 2s infinite cubic-bezier(0.8, 0, 0.2, 1);
}

@keyframes drop {
  100% {
    top: 100%;
  }
}

/* Stats */
.stats-section {
  background: var(--c-dark);
  border-top: 1px solid rgba(240, 238, 234, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding: 80px 0;
}

.stat-item {
  padding: 0 12px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.stat-value {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}

.stat-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-num {
  font-family: var(--f-label);
  font-size: 72px;
  color: var(--c-white);
  line-height: 1;
}

.stat-suf {
  font-family: var(--f-label);
  font-size: 30px;
  color: var(--c-accent);
  vertical-align: top;
  margin-left: 2px;
}

.stat-label {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-white2);
  display: block;
}

/* Expertise */
.expert-section {
  background: var(--c-black);
  padding: 120px 0;
}

.expert-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 80px;
  align-items: center;
}

.expert-left {
  position: relative;
  z-index: 1;
}

.section-num {
  position: absolute;
  top: -20px;
  left: -20px;
  font-family: var(--f-label);
  font-size: 160px;
  opacity: 0.04;
  color: var(--c-white);
  z-index: 0;
  pointer-events: none;
}

.expert-left .content {
  position: relative;
  z-index: 2;
}

.expert-text {
  margin-top: 24px;
}

.expert-text p + p {
  margin-top: 18px;
}

.image-frame {
  position: relative;
  z-index: 1;
}

.image-frame::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--c-metal);
  z-index: -1;
}

.expert-image {
  height: 480px;
}

/* Services */
.services-section {
  background: var(--c-dark);
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--c-black);
  border: 1px solid rgba(240, 238, 234, 0.08);
  padding: 190px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.24) 44%, rgba(10, 10, 10, 0.85) 100%);
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(136, 184, 120, 0.34);
}

.service-card .card-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--f-label);
  font-size: 64px;
  opacity: 0.16;
  color: var(--c-white);
  z-index: 2;
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 2;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 34px;
}

.service-card p {
  font-size: 14px;
  color: var(--c-white2);
  max-width: 29ch;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 0;
  filter: brightness(0.74) saturate(0.9);
  transition: transform 0.55s ease, filter 0.55s ease;
  z-index: 0;
}

.service-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.86) saturate(1);
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* Galerie */
.galerie-section {
  background: var(--c-black);
  padding: 80px 0 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 380px 260px;
  gap: 3px;
  width: min(1200px, 92%);
  margin: 48px auto 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.92);
  transition: filter 0.5s ease;
}

.gallery-item:hover img {
  filter: brightness(0.95) saturate(1);
}

.gallery-label {
  display: none;
}

.gallery-a {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.gallery-b {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

.gallery-c {
  grid-row: 1 / 2;
  grid-column: 3 / 4;
}

.gallery-d {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

.gallery-e {
  grid-row: 2 / 3;
  grid-column: 3 / 4;
}

/* CTA Final */
.cta-final {
  background: var(--c-dark);
  text-align: center;
  padding: 120px 0;
}

.cta-final p {
  max-width: 640px;
  margin: 20px auto 40px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--c-metal);
  background: var(--c-black);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
  width: min(1200px, 88%);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 360px;
}

.footer-logo {
  font-family: var(--f-label);
  font-size: 48px;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

.footer-logo img {
  height: 100px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-top: 0;
}

.footer-tagline::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--c-accent);
  margin: 0 0 16px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav a {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-nav a:hover {
  border-color: var(--c-accent);
  color: var(--c-white);
}

.footer-contact {
  font-size: 12px;
  color: var(--c-white2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  width: min(1200px, 88%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--c-gray);
}

.footer-bottom a {
  color: var(--c-white2);
}

/* Reveal animations */
.reveal-up {
  overflow: hidden;
}

.reveal-up .reveal-inner {
  display: block;
  transform: translateY(100%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-up.is-visible .reveal-inner {
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 1s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-fade.is-visible {
  opacity: 1;
}

.reveal-image {
  position: relative;
  overflow: hidden;
}

.reveal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.85);
}

.reveal-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-steel);
  z-index: 2;
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-image.is-visible::before {
  transform: scaleX(0);
  transform-origin: right center;
}

/* Tilt cards */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}

/* Hero small (interior pages) */
.hero-small {
  height: 65vh;
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
}

.hero-small::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
  z-index: 1;
}

.hero-small .hero-content {
  z-index: 2;
  width: min(1180px, 88%);
  margin: 0 auto;
  padding-top: 34px;
}

.hero-small .overline {
  display: block;
  margin-bottom: 16px;
}

.hero-small .decor-line.center {
  margin: 28px 0;
}

.hero-expertise,
.hero-services,
.hero-engagement,
.hero-contact {
  background: var(--c-black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-small h1 {
  font-size: 68px;
}

/* Interior layouts */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--c-steel);
  padding: 32px;
  border-top: 2px solid var(--c-accent);
}

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

.card p {
  font-size: 14px;
  color: var(--c-gray);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.tag {
  border: 1px solid var(--c-metal);
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-white2);
}

.image-tall {
  height: 420px;
}

.line-list {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--c-gray);
}

.line-list li {
  padding-left: 18px;
  position: relative;
}

.line-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-accent);
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--c-metal);
}

.acc-item {
  border-bottom: 1px solid var(--c-metal);
}

.acc-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--c-white);
  padding: 22px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.acc-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.acc-index {
  font-family: var(--f-label);
  font-size: 20px;
  color: var(--c-accent);
}

.acc-icon {
  width: 20px;
  height: 2px;
  background: var(--c-white);
  position: relative;
}

.acc-icon::after {
  content: '';
  position: absolute;
  top: -9px;
  left: 9px;
  width: 2px;
  height: 20px;
  background: var(--c-white);
  transition: opacity 0.2s ease;
}

.acc-item.is-open .acc-icon::after {
  opacity: 0;
}

.acc-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}

.acc-item.is-open .acc-content {
  grid-template-rows: 1fr;
}

.acc-content-inner {
  overflow: hidden;
  padding-bottom: 24px;
  color: var(--c-white2);
}

.acc-content-inner p {
  margin-bottom: 12px;
}

.acc-list {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--c-gray);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-details {
  display: grid;
  gap: 24px;
  color: var(--c-white2);
}

.contact-details h3 {
  margin-bottom: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gray);
}

input,
select,
textarea {
  background: transparent;
  border: 1px solid var(--c-metal);
  padding: 12px 14px;
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--c-accent);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

/* Utility */
.center {
  text-align: center;
}

.spacer-lg {
  height: 60px;
}

/* Responsive */
@media (max-width: 1200px) {
  .nav-wrap {
    display: flex;
    justify-content: space-between;
    gap: 18px;
  }

  .nav-logo {
    padding: 0;
  }
}

@media (max-width: 1024px) {
  .nav-entity {
    display: none;
  }

  .nav-logo {
    position: static;
    transform: none;
  }

  .nav-burger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--c-black);
    flex-direction: column;
    gap: 20px;
    padding: 24px 6%;
    border-top: 1px solid var(--c-metal);
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.35s ease, opacity 0.35s ease;
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
  }

  .nav-links a.active::after,
  .nav-links a[aria-current='page']::after {
    bottom: -4px;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-home::after {
    right: 36px;
    width: 260px;
    height: 300px;
  }

  .hero-home .hero-content::before {
    font-size: 160px;
    top: -62px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 34px 28px 36px;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 460px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 240px;
  }

  .gallery-a {
    grid-row: 1 / 3;
    grid-column: 1 / 3;
  }

  .gallery-b {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
  }

  .gallery-c {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
  }

  .gallery-d {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }

  .gallery-e {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-small h1 {
    font-size: 40px;
  }

  .hero-home {
    min-height: 620px;
  }

  .hero-home::after {
    display: none;
  }

  .hero-home .hero-content::before {
    display: none;
  }

  .hero-home .hero-content {
    width: min(88%, 520px);
  }

  .hero-home .hero-content p {
    margin-bottom: 32px;
  }

  .hero-small {
    min-height: 460px;
  }

  .stats-grid,
  .services-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 30px 24px 32px;
  }

  .stat-num {
    font-size: 60px;
  }

  .stat-suf {
    font-size: 26px;
  }

  .service-card {
    min-height: 420px;
    padding: 170px 24px 24px;
  }

  .service-card h3 {
    font-size: 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }

  .gallery-a,
  .gallery-b,
  .gallery-c,
  .gallery-d,
  .gallery-e {
    grid-column: auto;
    grid-row: auto;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-home {
    min-height: 560px;
  }

  .hero-home .hero-content {
    width: 88%;
  }

  .hero-small {
    min-height: 420px;
  }

  .service-card {
    min-height: 380px;
    padding: 148px 18px 20px;
  }

  .service-card h3 {
    font-size: 26px;
  }

  .stat-item {
    padding: 26px 18px 28px;
  }
}
