/* ==========================================================================
   Design Europe — "Open Door" redesign
   Paper + ink palette, oak accent, the logo's open-door shape as motif.
   ========================================================================== */

:root {
  --paper: #f1ece4;
  --paper-2: #e6dfd3;
  --ink: #151311;
  --ink-2: #24201c;
  --muted: #6c645b;
  --muted-dark: #a59c90;
  --oak: #a8662f;
  --oak-light: #d8a271;
  --line: rgba(21, 19, 17, 0.14);
  --line-dark: rgba(241, 236, 228, 0.16);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1440px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--oak); color: var(--paper); }

:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--plain::before { display: none; }

.stars { color: var(--oak); letter-spacing: 0.2em; font-size: 0.8rem; }

.display {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.h-xl { font-size: clamp(2.1rem, 5.4vw, 4.6rem); }
.h-lg { font-size: clamp(1.8rem, 4.2vw, 3.6rem); }
.h-md { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }

.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 54ch; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .index,
.kicker {
  font-family: var(--f-display);
  font-size: 0.8rem;
  color: var(--oak);
  margin-bottom: 1rem;
  display: block;
}
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.btn i { transition: transform 0.35s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--oak); border-color: var(--oak); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn--oak { background: var(--oak); border-color: var(--oak); color: #fff; }
.btn--oak:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
  transition: color 0.3s, gap 0.3s var(--ease);
}
.link-arrow:hover { color: var(--oak); gap: 1rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 236, 228, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.5s var(--ease);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header.hide { transform: translateY(-100%); }
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--oak);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(241, 236, 228, 0.94); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img { height: 50px; width: auto; }

.main-nav ul { display: flex; gap: 0.4rem; }
.main-nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0.95rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.main-nav a:hover { background: var(--paper-2); }
.main-nav a.active { background: var(--ink); color: var(--paper); }

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

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23151311' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 2.1rem 0.55rem 0.95rem;
  font: 600 0.82rem var(--f-body);
  color: var(--ink);
  cursor: pointer;
}
.lang-select:hover { border-color: var(--ink); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  transition: background 0.3s;
  white-space: nowrap;
}
.header-call:hover { background: var(--oak); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle { border-color: var(--paper); }
.menu-open .menu-toggle span { background: var(--paper); top: 22px; }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.6s var(--ease), visibility 0s linear 0.6s;
  overflow-y: auto;
}
.menu-open .mobile-menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.6s var(--ease), visibility 0s;
}
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 8vw, 3rem);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu nav a small { font-size: 0.75rem; color: var(--oak-light); font-family: var(--f-body); }
.mobile-menu nav a.active { color: var(--oak-light); }
.mobile-menu-foot { display: grid; gap: 1rem; }
.mobile-menu-foot a { display: inline-flex; gap: 0.6rem; align-items: center; color: var(--muted-dark); }
.mobile-menu .lang-select {
  color: var(--paper);
  border-color: var(--line-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23f1ece4' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  justify-self: start;
}
.mobile-menu .lang-select option { color: var(--ink); }
.menu-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .brand img { filter: invert(1); }
.menu-open { overflow: hidden; }
.menu-open .header-call { background: var(--oak); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: min(calc(100vh - var(--header-h) - 8rem), 760px);
}

.hero-copy { display: flex; flex-direction: column; gap: 2rem; }
.hero-meta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}
.hero-slide.active { opacity: 1; visibility: visible; transition: opacity 0.8s var(--ease) 0.15s, visibility 0s; }
.hero-slide .display > span { display: block; }
.hero-slide .display .serif { color: var(--oak); font-size: 1.12em; line-height: 1; }
.hero-slide .line-in {
  display: block;
  transform: translateY(40%);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.hero-slide.active .line-in { transform: none; opacity: 1; }
.hero-slide.active .line-in:nth-child(2) { transition-delay: 0.12s; }
.hero-slide.active p.line-in { transition-delay: 0.22s; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-count { font-family: var(--f-display); font-size: 0.85rem; min-width: 4.5ch; }
.hero-count b { color: var(--oak); font-weight: 600; }
.hero-dots { display: flex; gap: 0.5rem; flex: 1; }
.hero-dot {
  flex: 1;
  max-width: 90px;
  height: 18px;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
}
.hero-dot::before,
.hero-dot::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--line);
  width: 100%;
}
.hero-dot::after { background: var(--ink); width: 0; }
.hero-dot.done::after { width: 100%; }
.hero-dot.active::after { animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
.hero.paused .hero-dot.active::after { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }

.round-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  display: inline-grid;
  place-items: center;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.round-btn:hover { background: var(--ink); color: var(--paper); }
.round-btn--light { border-color: var(--line-dark); color: var(--paper); }
.round-btn--light:hover { background: var(--paper); color: var(--ink); }

/* The "open door" visual — mirrors the door in the logo */
.door {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  max-height: min(74vh, 700px);
  margin-left: auto;
}
.door-frame {
  position: absolute;
  inset: 0;
  border: 2px solid var(--ink);
}
.door-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
}
.door-panel {
  position: absolute;
  top: 3%;
  bottom: 3%;
  left: -8%;
  right: 12%;
  overflow: hidden;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1.6s var(--ease) 0.2s;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}
.is-loaded .door-panel { clip-path: polygon(0 0, 100% 6%, 100% 94%, 0 100%); }
.door-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.1s var(--ease), transform 7s linear;
}
.door-img.active { opacity: 1; transform: scale(1); }
.door-handle {
  position: absolute;
  right: calc(12% + 14px);
  top: 50%;
  width: 6px;
  height: 46px;
  margin-top: -23px;
  background: var(--paper);
  border-radius: 3px;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.door-tag {
  position: absolute;
  right: -1px;
  bottom: 12%;
  transform: translateX(50%) rotate(-90deg);
  transform-origin: center;
  background: var(--paper);
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 3;
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 1.3rem;
  border-block: 1px solid var(--ink);
}
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group span {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  text-transform: uppercase;
  white-space: nowrap;
  padding-inline: 1.6rem;
}
.marquee-group span.star { color: var(--oak-light); padding-inline: 0; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Generic sections ---------- */

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .lead,
.section--dark .eyebrow { color: var(--muted-dark); }
.section--alt { background: var(--paper-2); }

/* ---------- Services accordion ---------- */

.svc-list {
  display: flex;
  gap: 0.75rem;
  height: clamp(440px, 68vh, 640px);
}
.svc {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--r);
  color: var(--paper);
  transition: flex 0.8s var(--ease);
  isolation: isolate;
}
.svc-list:hover .svc { flex: 0.8; }
.svc-list .svc:hover { flex: 2; }
.svc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.svc:hover img { transform: scale(1.06); }
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(21, 19, 17, 0.15) 0%, rgba(21, 19, 17, 0) 35%, rgba(21, 19, 17, 0.88) 100%);
}
.svc-inner {
  position: absolute;
  inset: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.svc-num {
  font-family: var(--f-display);
  font-size: 0.85rem;
  display: inline-flex;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(241, 236, 228, 0.5);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.svc h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.2;
  max-width: 22ch;
}
.svc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.svc-go {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  transform: rotate(-45deg);
  transition: transform 0.5s var(--ease), background 0.3s;
}
.svc:hover .svc-go { transform: rotate(0); background: var(--oak); color: #fff; }

/* ---------- About teaser ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.framed {
  position: relative;
  padding: 0 1.5rem 1.5rem 0;
}
.framed::before {
  content: "";
  position: absolute;
  inset: 1.5rem 0 0 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--r);
  z-index: 0;
}
.framed img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
}
.framed--tall img { aspect-ratio: 4 / 5; }
.about-statement {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-block: 1.5rem 2.5rem;
  text-wrap: pretty;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.fact { padding: 1.5rem 1.5rem 0 0; }
.fact + .fact { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fact-num {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}
.fact-num .stars { font-size: 1.3rem; letter-spacing: 0.05em; display: inline-block; padding-block: 0.6rem; }
.fact-label { color: var(--muted); font-weight: 600; font-size: 0.92rem; }

/* ---------- Works strip ---------- */

.works-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.works-top .lead { margin-top: 1.25rem; }
.works-nav { display: flex; gap: 0.6rem; }

.works-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding-bottom: 0.5rem;
}
.works-strip::-webkit-scrollbar { display: none; }
.works-strip { cursor: grab; }
.works-strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.works-strip.dragging a { pointer-events: none; }
.work-card {
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 420px);
  scroll-snap-align: start;
  margin: 0;
}
.work-card:nth-child(even) { width: clamp(220px, 24vw, 340px); margin-top: 3.5rem; }
.work-card a { display: block; overflow: hidden; position: relative; border-radius: var(--r); }
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.work-card a::after {
  content: "\f065";
  font-family: FontAwesome;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.work-card a:hover img { transform: scale(1.05); }
.work-card a:hover::after { opacity: 1; transform: none; }
.work-card figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.work-card figcaption b { font-family: var(--f-display); color: var(--ink); font-weight: 500; }
.works-cta { margin-top: 3rem; }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem 4rem;
  align-items: end;
}
.cta .lead { margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-star {
  position: absolute;
  right: -4rem;
  top: -6rem;
  font-size: clamp(18rem, 34vw, 30rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 236, 228, 0.12);
  pointer-events: none;
  user-select: none;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { margin-top: 1.5rem; }
.page-hero .lead { margin-top: 1.5rem; }
.crumbs { display: flex; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--oak); }

/* ---------- About page ---------- */

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}
.stat { padding: 1.5rem 1rem 0 0; }
.stat + .stat { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.stat .fact-num { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }

.badge {
  position: absolute;
  z-index: 2;
  left: -1.5rem;
  bottom: 3rem;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--oak);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  line-height: 1.15;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}
.badge b { font-family: var(--f-display); font-size: 2.2rem; display: block; font-weight: 600; }
.badge span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--r);
  transition: transform 0.5s var(--ease), border-color 0.3s, background 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--ink); }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.card:hover .card-icon { background: var(--oak); border-color: var(--oak); color: #fff; }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 0.75rem; }
.card p { color: var(--muted); }
.section--dark .card { background: transparent; border-color: var(--line-dark); }
.section--dark .card:hover { border-color: var(--paper); }
.section--dark .card-icon { border-color: var(--paper); }
.section--dark .card p { color: var(--muted-dark); }

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
  position: relative;
}
.step { padding: 0 1.5rem 0 0; position: relative; }
.step-num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  display: block;
  margin-bottom: 1.5rem;
  transition: color 0.4s;
}
.step:hover .step-num { color: var(--oak); -webkit-text-stroke-color: var(--oak); }
.step-line { height: 2px; background: var(--line); margin-bottom: 1.5rem; position: relative; }
.step-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--oak);
}
.step h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Gallery page ---------- */

.page-hero .section-head { margin-bottom: 0; }
.gallery-section { padding-bottom: clamp(4rem, 8vw, 6rem); }
.stars-lg { font-size: 1.4rem; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--line);
  margin-bottom: 1.25rem;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filter-tab i { font-size: 0.85rem; color: var(--oak); transition: color 0.3s; }
.filter-tab:hover { border-color: var(--ink); }
.filter-tab.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-tab.active i { color: var(--oak-light); }

.results-count { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: 1.75rem; }

.masonry { columns: 4 260px; column-gap: 1rem; }
.masonry .gallery-photo-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  animation: fadeUp 0.6s var(--ease) both;
}
.masonry .photo-link { display: block; overflow: hidden; border-radius: calc(var(--r) - 4px); position: relative; background: var(--paper-2); }
.masonry img { width: 100%; height: auto; transition: transform 0.9s var(--ease), filter 0.5s; }
.masonry .photo-link::after {
  content: "\f065";
  font-family: FontAwesome;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--paper);
  font-size: 1.3rem;
  background: rgba(21, 19, 17, 0.35);
  opacity: 0;
  transition: opacity 0.4s;
}
.masonry .photo-link:hover img { transform: scale(1.04); }
.masonry .photo-link:hover::after { opacity: 1; }
.gallery-photo-item.hidden { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact-list { display: grid; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.contact-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.contact-row .ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
}
.contact-row small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-row a,
.contact-row span { font-weight: 600; overflow-wrap: anywhere; }
.contact-row a:hover { color: var(--oak); }

.form-card {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: var(--r);
}
.form-card h2 { margin-bottom: 2rem; }
.field { position: relative; margin-bottom: 1.25rem; }
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
  font: 500 1rem var(--f-body);
  padding: 0.9rem 0;
  border-radius: 0;
  transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-dark); }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--oak-light); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.form-card .btn { margin-top: 1rem; }
.form-card .btn:disabled { opacity: 0.6; cursor: wait; }

.contact-form-status {
  display: none;
  padding: 0.8rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}
.contact-form-status.is-visible { display: block; }
.contact-form-status.is-info { background: rgba(241, 236, 228, 0.1); color: var(--paper); }
.contact-form-status.is-success { background: #e8f7ee; color: #1f7a3f; }
.contact-form-status.is-error { background: #fdecec; color: #9b1c1c; }

.map-frame { margin-top: clamp(3rem, 6vw, 5rem); }
.map-frame .framed { padding: 0 1.5rem 1.5rem 0; }
.map-frame iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(320px, 50vh, 480px);
  border: 0;
  filter: grayscale(0.6) contrast(1.05);
  border-radius: var(--r);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.footer-logo { height: 58px; width: auto; filter: invert(1); margin-bottom: 1.5rem; }
.footer-tagline { color: var(--muted-dark); font-size: 0.92rem; max-width: 46ch; margin-bottom: 1.75rem; }
.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.socials a:hover { background: var(--oak); border-color: var(--oak); color: #fff; }
.site-footer h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oak-light);
  margin-bottom: 1.25rem;
}
.footer-list li { margin-bottom: 0.7rem; color: var(--muted-dark); font-size: 0.92rem; }
.footer-list a { transition: color 0.3s; }
.footer-list a:hover { color: var(--paper); }
.footer-contact li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 0.75rem; }
.footer-contact i { color: var(--oak-light); margin-top: 0.3rem; }
.footer-contact a { overflow-wrap: anywhere; }

.footer-word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 7.4vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 236, 228, 0.22);
  user-select: none;
  margin-bottom: -0.12em;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted-dark);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--paper); }
.footer-bottom a:hover { color: var(--oak-light); }

/* ---------- WhatsApp float ---------- */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08) rotate(-6deg); }
.lightbox-open .whatsapp-float,
.menu-open .whatsapp-float { display: none; }

/* ---------- Lightbox (used by js/service-gallery.js) ---------- */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 13, 11, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0s linear 0.35s;
}
.image-lightbox.open { opacity: 1; visibility: visible; transition: opacity 0.35s, visibility 0s; }
.lb-content { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 88vw; }
.lb-content img {
  max-width: 88vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lb-content img.swap { animation: lbIn 0.45s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lb-caption:empty { display: none; }
.lb-counter { font-family: var(--f-display); font-size: 0.85rem; color: var(--muted-dark); }
.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(21, 19, 17, 0.6);
  color: var(--paper);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s;
  z-index: 2;
}
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover { background: var(--paper); color: var(--ink); }
.lb-close { top: 1.25rem; right: 1.25rem; font-size: 1.8rem; line-height: 1; }
.lb-prev { left: 1.25rem; top: 50%; margin-top: -26px; }
.lb-next { right: 1.25rem; top: 50%; margin-top: -26px; }
.lb-logo {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: #fff;
  border: 0;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  z-index: 2;
}
.lb-logo img { height: 34px; width: auto; }

/* ---------- Image fade-in ---------- */

.js img.fade { opacity: 0; transition: opacity 0.7s var(--ease), transform 1s var(--ease); }
.js img.fade.loaded { opacity: 1; }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: 0.1s; }
.js [data-reveal="3"] { transition-delay: 0.2s; }
.js [data-reveal="4"] { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .main-nav,
  .header-call span { display: none; }
  .menu-toggle { display: inline-block; }
  .header-call { padding: 0; width: 46px; height: 46px; justify-content: center; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 42px; }
  .header-tools .lang-select { display: none; }

  .hero-grid,
  .about-grid,
  .about-hero-grid,
  .contact-grid,
  .cta-grid,
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { min-height: 0; }
  .door { max-width: 460px; max-height: none; margin-inline: auto; width: 88%; }
  .hero-visual { order: -1; }

  .svc-list { flex-direction: column; height: auto; }
  .svc,
  .svc-list:hover .svc,
  .svc-list .svc:hover { flex: none; height: 300px; }

  .cards-3 { grid-template-columns: minmax(0, 1fr); }
  .badge { left: 0.5rem; bottom: 2.5rem; width: 120px; height: 120px; }
  .badge b { font-size: 1.7rem; }
  .cta-star { font-size: 16rem; right: -3rem; top: auto; bottom: -4rem; }
}

@media (max-width: 600px) {
  .cards-2,
  .field-row,
  .footer-grid,
  .process { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 1.25rem; }
  .about-facts { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .work-card { width: 76vw; }
  .work-card:nth-child(even) { width: 64vw; margin-top: 2rem; }
  .masonry { columns: 2; column-gap: 0.6rem; }
  .masonry .gallery-photo-item { margin-bottom: 0.6rem; }
  .hero-actions .btn,
  .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
  .lb-prev,
  .lb-next { top: auto; bottom: 1.25rem; margin-top: 0; }
  .lb-content img { max-width: 94vw; max-height: 72vh; }
  .door-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
}
