/* ═══════════════════════════════════════════════════════
   PRO-ZEN 66 — Design System
   Concept: Zen Architectural
   Palette: Washi paper, Stone, Moss, Bamboo, Vermillion
   Typography: Cormorant Garamond + Work Sans
   ═══════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── Design Tokens ── */
:root {
  /* Colors — Zen Garden */
  --ink: #1a1a1a;
  --ink-light: #3a3a3a;
  --paper: #F8F6F1;
  --paper-warm: #F3EFE7;
  --stone: #8B8680;
  --stone-light: #B8B3A8;
  --moss: #4A6741;
  --moss-light: #6B8C5E;
  --bamboo: #C9A96E;
  --bamboo-light: #D9C494;
  --vermillion: #8B2500;
  --vermillion-light: #A83A15;
  --white: #FFFFFF;
  --dark: #141413;
  --dark-surface: #1E1E1C;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Sizing */
  --container: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.25, 1);
  --duration: 0.4s;
  --duration-slow: 0.8s;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 0.85rem + 0.25vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

em {
  font-style: italic;
  color: var(--moss);
}

::selection {
  background: var(--bamboo-light);
  color: var(--ink);
}

/* ── Topbar ── */
.topbar {
  background: var(--dark);
  color: var(--stone-light);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
}

.topbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar__phone {
  color: var(--bamboo);
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

.topbar__phone:hover {
  color: var(--bamboo-light);
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.header.scrolled {
  border-bottom-color: var(--stone-light);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__mark {
  font-size: 1.75rem;
  color: var(--moss);
  line-height: 1;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.logo__num {
  color: var(--bamboo);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-light);
  position: relative;
  transition: color var(--duration) var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--moss);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  color: var(--dark);
  background: var(--bamboo);
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background: var(--moss);
  color: var(--paper);
  box-shadow: 0 2px 8px rgba(74, 103, 65, 0.2);
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.1rem 2.25rem;
  border-radius: 4px;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn--primary {
  background: var(--bamboo);
  color: var(--dark);
  border: 1px solid var(--bamboo);
}

.btn--primary:hover {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--paper);
  box-shadow: 0 4px 16px rgba(74, 103, 65, 0.25);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--bamboo);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--bamboo);
  color: var(--dark);
  border-color: var(--bamboo);
  box-shadow: 0 2px 8px rgba(201, 169, 110, 0.2);
}

.btn--large {
  padding: 1.125rem 2.5rem;
  font-size: 0.875rem;
}

.btn--large .btn__loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn--large.loading .btn__text {
  opacity: 0;
}

.btn--large.loading .btn__loader {
  display: block;
  position: absolute;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Section Base ── */
.section {
  padding: var(--space-3xl) 0;
}

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section__inner--narrow {
  max-width: var(--container-narrow);
}

.section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-md);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}

.section__title--center {
  text-align: center;
}

.section__lead {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  color: var(--ink-light);
  line-height: 1.8;
  max-width: 540px;
}

.section__text {
  color: var(--stone);
  max-width: 540px;
  margin-top: var(--space-sm);
}

.section--dark {
  background: var(--dark);
  color: var(--paper);
}

.section--dark .section__label {
  color: var(--stone);
}

.section--paper {
  background: var(--paper-warm);
}

.section--form {
  background: var(--paper-warm);
}

/* Zen Divider */
.zen-divider {
  width: 60px;
  height: 1px;
  background: var(--bamboo);
  margin: var(--space-lg) 0;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero__inner {
  flex: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-md) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__overtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-weight: 300;
}

.hero__subtitle {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  color: var(--ink-light);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Hero Visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__frame {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero__frame::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--stone-light);
  z-index: -1;
}

.hero__placeholder svg,
.hero__placeholder img {
  width: 100%;
  height: auto;
}

.hero__placeholder img {
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

/* Hero Scroll Indicator */
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: var(--space-lg);
}

.hero__scroll span {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--stone-light);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bamboo);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ── SPLIT SECTION (Philosophie) ── */
.section--split .section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.split__visual {
  display: flex;
  justify-content: center;
}

.split__image-stack {
  position: relative;
  width: 300px;
  height: 450px;
}

.split__img {
  position: absolute;
  border: 1px solid var(--stone-light);
  overflow: hidden;
}

.split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__img--back img {
  height: 400px;
}

.split__img--front img {
  height: 320px;
}

.split__img--back {
  top: 0;
  left: 0;
  width: 300px;
}

.split__img--front {
  bottom: 0;
  right: -40px;
  width: 250px;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.08);
}

/* ── STATS ── */
.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
  font-weight: 300;
  color: var(--paper);
  line-height: 1;
}

.stat__unit {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  font-weight: 300;
  color: var(--bamboo);
}

.stat__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--stone);
  letter-spacing: 0.04em;
  margin-top: var(--space-xs);
}

.stat__divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

/* ── SERVICES ── */
.services {
  max-width: var(--container);
  margin: var(--space-xl) auto 0;
  border-top: 1px solid var(--stone-light);
}

.service {
  border-bottom: 1px solid var(--stone-light);
  transition: background var(--duration) var(--ease);
}

.service:hover {
  background: var(--paper-warm);
}

.service__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  display: grid;
  grid-template-columns: 60px 1fr 48px;
  gap: var(--space-lg);
  align-items: center;
}

.service__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--stone-light);
}

.service__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.75vw, 1.75rem);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.service__desc {
  color: var(--stone);
  font-size: 0.9375rem;
  max-width: 600px;
}

.service__icon {
  color: var(--stone-light);
  width: 48px;
  height: 48px;
  transition: color var(--duration) var(--ease);
}

.service:hover .service__icon {
  color: var(--moss);
}

/* ── TIMELINE (Méthode) ── */
.timeline {
  margin-top: var(--space-xl);
  position: relative;
  padding-left: 80px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--stone-light);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: -80px;
  top: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-warm);
  border: 1px solid var(--stone-light);
  z-index: 1;
}

.timeline__step {
  font-size: 1.5rem;
  color: var(--moss);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.timeline__desc {
  color: var(--stone);
  max-width: 500px;
}

/* ── GALLERY (Réalisations) ── */
.gallery {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__placeholder svg,
.gallery__placeholder img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease);
}

.gallery__placeholder img {
  height: 350px;
  object-fit: cover;
}

.gallery__item:hover .gallery__placeholder svg,
.gallery__item:hover .gallery__placeholder img {
  transform: scale(1.03);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
}

.gallery__location {
  font-size: 0.8125rem;
  color: var(--stone-light);
}

/* ── TESTIMONIALS ── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.testimonial {
  border-left: 1px solid var(--bamboo);
  padding-left: var(--space-lg);
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--paper);
  margin-bottom: var(--space-md);
}

.testimonial__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.04em;
}

.testimonial__loc {
  display: block;
  font-size: 0.8125rem;
  color: var(--stone);
  margin-top: 0.25rem;
}

/* ── FORM ── */
.section--form .section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.form-intro__contact {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--stone-light);
}

.form-intro__contact p {
  color: var(--stone);
  font-size: 0.9375rem;
}

.form-intro__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  margin: var(--space-xs) 0;
  transition: color var(--duration) var(--ease);
}

.form-intro__phone:hover {
  color: var(--moss);
}

.form-intro__email a {
  color: var(--stone);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease);
}

.form-intro__email a:hover {
  color: var(--ink);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form__field {
  position: relative;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 1.25rem 0 0.75rem;
  border: none;
  border-bottom: 1px solid var(--stone-light);
  background: transparent;
  color: var(--ink);
  outline: none;
  transition: border-color var(--duration) var(--ease);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.form__field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B8680' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}

.form__field textarea {
  resize: vertical;
  min-height: 100px;
}

.form__field label {
  position: absolute;
  top: 1.25rem;
  left: 0;
  font-size: 0.9375rem;
  color: var(--stone);
  pointer-events: none;
  transition: all var(--duration) var(--ease);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-bottom-color: var(--moss);
}

.form__field input:focus + label,
.form__field input:not(:placeholder-shown) + label,
.form__field select:focus + label,
.form__field select:valid + label,
.form__field textarea:focus + label,
.form__field textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}

/* Select always show label up when it has a value */
.form__field select:not([value=""]) + label {
  top: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}

.form__submit {
  margin-top: var(--space-sm);
}

.form__legal {
  font-size: 0.75rem;
  color: var(--stone);
  margin-top: var(--space-sm);
  line-height: 1.6;
}

.form__legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__feedback {
  padding: var(--space-sm);
  font-size: 0.9375rem;
  border-radius: 2px;
  display: none;
}

.form__feedback--success {
  display: block;
  background: rgba(74, 103, 65, 0.08);
  border: 1px solid var(--moss);
  color: var(--moss);
}

.form__feedback--error {
  display: block;
  background: rgba(139, 37, 0, 0.08);
  border: 1px solid var(--vermillion);
  color: var(--vermillion);
}

/* ── ACCORDION (FAQ) ── */
.accordion {
  margin-top: var(--space-xl);
}

.accordion__item {
  border-bottom: 1px solid var(--stone-light);
}

.accordion__trigger {
  width: 100%;
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.accordion__trigger::-webkit-details-marker {
  display: none;
}

.accordion__icon {
  font-size: 1.5rem;
  color: var(--stone);
  transition: transform var(--duration) var(--ease);
  line-height: 1;
}

details[open] .accordion__icon {
  transform: rotate(45deg);
}

.accordion__content {
  padding-bottom: var(--space-lg);
  color: var(--stone);
  max-width: 600px;
  line-height: 1.8;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: var(--stone);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.footer__logo .logo__text {
  color: var(--paper);
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--stone);
  line-height: 1.5;
}

.footer__heading {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--space-md);
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 0.9375rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
  transition: color var(--duration) var(--ease);
  line-height: 1.6;
}

.footer__col a:hover {
  color: var(--paper);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  font-size: 0.8125rem;
}

.footer__links {
  display: flex;
  gap: var(--space-lg);
}

.footer__links a {
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover {
  color: var(--paper);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* ── Blog Card Thumbnails ── */
.blog-card__thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: var(--space-md);
  border-radius: 2px;
}

/* ── Article Hero Image ── */
.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 2px;
  margin: var(--space-lg) 0;
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-top: var(--space-2xl);
  }

  .hero__visual {
    display: none;
  }

  .section--split .section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .split__visual {
    order: -1;
  }

  .split__image-stack {
    width: 100%;
    max-width: 400px;
    height: 350px;
  }

  .stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .stat__divider {
    display: none;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .section--form .section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .gallery__item--wide {
    grid-column: span 2;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 5rem;
  }

  .topbar__address {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    transform: translateY(-100%);
    transition: transform var(--duration) var(--ease);
    z-index: 105;
  }

  .header__nav.open {
    transform: translateY(0);
  }

  .header__nav .nav__link {
    font-size: 1.125rem;
  }

  .header__burger {
    display: flex;
  }

  .service__inner {
    grid-template-columns: 40px 1fr;
    gap: var(--space-sm);
  }

  .service__icon {
    display: none;
  }

  .timeline {
    padding-left: 60px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline__marker {
    left: -60px;
    width: 40px;
    height: 40px;
  }

  .timeline__step {
    font-size: 1.125rem;
  }

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

  .gallery__item--wide {
    grid-column: span 1;
  }

  .gallery__overlay {
    opacity: 1;
  }

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

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --space-3xl: 3.5rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }
}
