:root {
  --stone-50: #f8f5ef;
  --stone-100: #f1ece3;
  --stone-150: #e8dfd2;
  --stone-200: #d8cab7;
  --taupe-500: #8f7f6a;
  --bronze-500: #82674c;
  --olive-500: #5d6257;
  --charcoal-900: #1f211d;
  --charcoal-800: #2c2d29;
  --ink-900: #252620;
  --ink-700: #5f5d56;
  --white: #ffffff;

  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Manrope", sans-serif;

  --container-width: 1240px;
  --container-large: 1380px;
  --header-h: 88px;
  --section-pad: clamp(4.75rem, 8vw, 7.25rem) 0;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 8px 28px rgba(23, 20, 14, 0.07);
  --shadow-md: 0 16px 42px rgba(23, 20, 14, 0.11);
  --shadow-lg: 0 24px 58px rgba(23, 20, 14, 0.15);

  --line-soft: 1px solid rgba(143, 127, 106, 0.18);
  --ease: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--stone-50);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% -5%, rgba(255, 255, 255, 0.8) 0%, transparent 46%),
    radial-gradient(circle at 85% 18%, rgba(232, 223, 210, 0.42) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--charcoal-900);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--ease);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section {
  padding: var(--section-pad);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--bronze-500);
}

.section-label::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.section-title {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  max-width: 13ch;
  margin-bottom: 1.35rem;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: var(--ink-700);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.body-large {
  color: var(--ink-700);
  font-size: clamp(1.03rem, 1.3vw, 1.16rem);
}

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

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.projects-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.pb-xl {
  padding-bottom: clamp(5.5rem, 8vw, 7.5rem);
}

.mt-4 {
  margin-top: 2rem;
}

.bg-white {
  background: var(--stone-50);
}

.bg-gray {
  background: var(--stone-100);
}

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

.bg-dark h2,
.bg-dark h3 {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.9rem 1.6rem;
  transition: var(--ease);
  white-space: nowrap;
}

.btn-lg {
  padding: 1.1rem 2rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--charcoal-900);
  border-color: var(--charcoal-900);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #121310;
  box-shadow: 0 10px 30px rgba(18, 19, 16, 0.28);
}

.btn-outline {
  background: transparent;
  border-color: rgba(31, 33, 29, 0.35);
  color: var(--charcoal-900);
}

.btn-outline:hover {
  border-color: var(--charcoal-900);
  background: var(--charcoal-900);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--charcoal-900);
}

.btn-white {
  background: var(--white);
  border-color: var(--white);
  color: var(--charcoal-900);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: var(--stone-100);
  border-color: var(--stone-100);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.15rem 0;
  background: linear-gradient(180deg, rgba(17, 18, 15, 0.58) 0%, rgba(17, 18, 15, 0.1) 70%, transparent 100%);
  border-bottom: 1px solid transparent;
  transition: var(--ease);
}

.header.scrolled,
.header.menu-open {
  padding: 0.78rem 0;
  background: rgba(248, 245, 239, 0.86);
  border-bottom-color: rgba(130, 103, 76, 0.2);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(31, 33, 29, 0.09);
}

body.inner-page .header {
  padding: 0.78rem 0;
  background: rgba(248, 245, 239, 0.9);
  border-bottom: 1px solid rgba(130, 103, 76, 0.2);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(31, 33, 29, 0.09);
}

.header-container {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  justify-self: start;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

.brand-text span {
  color: var(--stone-200);
}

.header.scrolled .brand-text,
.header.menu-open .brand-text,
body.inner-page .brand-text {
  color: var(--charcoal-900);
}

.header.scrolled .brand-text span,
.header.menu-open .brand-text span,
body.inner-page .brand-text span {
  color: var(--bronze-500);
}

.main-nav {
  display: none;
}

.main-nav a {
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.42rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header.scrolled .main-nav a,
.header.menu-open .main-nav a,
body.inner-page .main-nav a {
  color: rgba(37, 38, 32, 0.76);
}

.header.scrolled .main-nav a:hover,
.header.scrolled .main-nav a.active,
.header.menu-open .main-nav a:hover,
.header.menu-open .main-nav a.active,
body.inner-page .main-nav a:hover,
body.inner-page .main-nav a.active {
  color: var(--charcoal-900);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.lang-switch button {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.67rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  transition: var(--ease);
}

.lang-switch button.is-active {
  color: var(--charcoal-900);
  background: var(--white);
}

.header.scrolled .lang-switch,
.header.menu-open .lang-switch,
body.inner-page .lang-switch {
  border-color: rgba(37, 38, 32, 0.2);
  background: rgba(255, 255, 255, 0.8);
}

.header.scrolled .lang-switch button,
.header.menu-open .lang-switch button,
body.inner-page .lang-switch button {
  color: rgba(37, 38, 32, 0.66);
}

.header.scrolled .lang-switch button.is-active,
.header.menu-open .lang-switch button.is-active,
body.inner-page .lang-switch button.is-active {
  color: var(--white);
  background: var(--charcoal-900);
}

.menu-toggle {
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--ease);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.header.scrolled .menu-toggle,
.header.menu-open .menu-toggle,
body.inner-page .menu-toggle {
  border-color: rgba(37, 38, 32, 0.26);
  color: var(--charcoal-900);
  background: rgba(255, 255, 255, 0.66);
}

.header.menu-open .main-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: static;
  grid-column: 1 / -1;
  width: 100%;
  padding: 1.1rem;
  background: rgba(248, 245, 239, 0.98);
  border: var(--line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.header.menu-open .main-nav a {
  color: var(--charcoal-900);
  padding: 0.55rem 0.35rem;
}

.header.menu-open .main-nav a::after {
  display: none;
}

.header.menu-open .header-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: static;
  grid-column: 1 / -1;
  width: 100%;
  padding: 0.2rem 1.1rem 1.1rem;
  gap: 0.8rem;
  background: rgba(248, 245, 239, 0.98);
  border: var(--line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.header.menu-open .header-actions .btn {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transform: scale(1.03);
}

.hero.overlay-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(120deg, rgba(15, 16, 14, 0.84) 0%, rgba(15, 16, 14, 0.58) 42%, rgba(15, 16, 14, 0.34) 100%);
}

.hero.overlay-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 78% 28%, rgba(216, 202, 183, 0.3) 0%, transparent 48%);
}

.hero-content {
  position: relative;
}

.hero-text-wrapper {
  max-width: 760px;
  color: var(--white);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 10, 0.24);
  backdrop-filter: blur(4px);
}

.hero-kicker {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.15rem);
  line-height: 0.96;
  max-width: 14ch;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 60ch;
}

.hero-cta-group {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.8);
}

.scroll-down svg {
  width: 16px;
  height: 16px;
  animation: floatDown 2.4s ease-in-out infinite;
}

@keyframes floatDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.about-section {
  position: relative;
}

.about-grid {
  display: grid;
  gap: clamp(2.3rem, 5vw, 4.5rem);
}

.about-text .section-title {
  max-width: 16ch;
}

.about-text .body-large {
  max-width: 62ch;
}

.values-list {
  margin-top: 1.25rem;
}

.values-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-top: var(--line-soft);
}

.values-list li:last-child {
  border-bottom: var(--line-soft);
}

.values-list svg {
  color: var(--olive-500);
  margin-top: 0.22rem;
}

.values-list strong {
  font-weight: 700;
  color: var(--charcoal-900);
}

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

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  border: var(--line-soft);
  padding: 1.8rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 0.9;
  color: var(--charcoal-900);
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink-700);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.stat-card.image-card {
  grid-column: span 2;
  padding: 0;
  min-height: 230px;
  overflow: hidden;
}

.stat-card.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-strip {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 340px;
}

.location-cell {
  position: relative;
  overflow: hidden;
}

.location-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1s var(--ease);
}

.location-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(8deg, rgba(15, 16, 14, 0.65) 0%, rgba(15, 16, 14, 0.06) 72%);
  z-index: 1;
}

.location-cell:hover img {
  transform: scale(1.06);
}

.location-cell-label {
  position: absolute;
  left: 1.45rem;
  bottom: 1.35rem;
  z-index: 2;
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

#before-after {
  border-top: var(--line-soft);
  border-bottom: var(--line-soft);
}

.ba-grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 3rem;
}

.ba-card {
  background: var(--white);
  border-radius: 22px;
  border: var(--line-soft);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.ba-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.ba-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(130, 103, 76, 0.45);
}

.ba-divider::before {
  content: "◀ ▶";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--bronze-500);
  font-weight: 700;
}

.ba-tag {
  position: absolute;
  top: 1rem;
  z-index: 2;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--white);
  background: rgba(15, 16, 14, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.4rem 0.62rem;
}

.ba-tag-before {
  left: 1rem;
}

.ba-tag-after {
  right: 1rem;
}

.ba-range {
  width: 100%;
  margin-top: 1.1rem;
  appearance: none;
  height: 3px;
  border-radius: 999px;
  background: rgba(95, 93, 86, 0.22);
  outline: none;
}

.ba-range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(130, 103, 76, 0.4);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  cursor: ew-resize;
}

.ba-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(130, 103, 76, 0.4);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  cursor: ew-resize;
}

.ba-caption {
  margin-top: 0.85rem;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink-700);
  font-weight: 700;
}

#services {
  border-top: var(--line-soft);
}

.services-modern-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.service-box {
  grid-column: span 12;
  background: var(--white);
  border: var(--line-soft);
  border-radius: 22px;
  padding: 1.9rem 1.45rem;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
  position: relative;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(130, 103, 76, 0.34);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 0.82rem;
  margin-bottom: 1rem;
}

.service-index {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--bronze-500);
}

.service-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(143, 127, 106, 0.35), rgba(143, 127, 106, 0));
}

.service-title {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  margin-bottom: 0.65rem;
}

.service-desc {
  color: var(--ink-700);
  font-size: 0.95rem;
  max-width: 46ch;
}

.service-icon {
  display: none;
}

#projects {
  border-top: var(--line-soft);
  border-bottom: var(--line-soft);
}

.grid-visual {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  grid-auto-rows: 260px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  grid-column: span 12;
  border: var(--line-soft);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 16, 14, 0.82) 0%, rgba(15, 16, 14, 0.3) 40%, rgba(15, 16, 14, 0) 68%);
  transition: opacity 0.4s ease;
}

.portfolio-info {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  color: var(--white);
  padding: 1.5rem 1.4rem;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover-only: slide info up from bottom on capable devices */
@media (hover: hover) and (pointer: fine) {
  .portfolio-info {
    transform: translateY(100%);
  }
  .portfolio-item:hover .portfolio-info {
    transform: translateY(0);
  }
}

.portfolio-type {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.portfolio-title {
  color: var(--white);
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  margin-bottom: 0.35rem;
}

.portfolio-desc {
  color: rgba(255, 255, 255, 0.75);
  max-width: 34ch;
  font-size: 0.88rem;
  transform: translateY(14px);
  opacity: 0;
  transition: var(--ease);
}

.portfolio-location {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.portfolio-location::before {
  content: "";
  width: 12px;
  height: 1px;
  background: currentColor;
}

.hover-scale {
  display: block;
}

.hover-scale:hover img {
  transform: scale(1.07);
}

.hover-scale:hover .portfolio-desc {
  transform: translateY(0);
  opacity: 1;
}

.projects-archive-head {
  padding-top: calc(var(--header-h) + 3.8rem);
  padding-bottom: 3rem;
}

.projects-page-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 14ch;
}

.projects-page-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.projects-archive-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.projects-archive-grid .portfolio-item {
  grid-column: span 12;
  min-height: 280px;
}

.process-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1541888081640-14dc72719eb7?q=80&w=2000&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.process-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(145deg, rgba(19, 20, 17, 0.94) 0%, rgba(19, 20, 17, 0.88) 55%, rgba(19, 20, 17, 0.8) 100%);
}

.process-section .section-label {
  color: var(--stone-200);
}

.process-section .section-title,
.process-section .section-subtitle {
  color: var(--white);
}

.process-section .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.process-timeline {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.process-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.35rem 1.15rem;
  backdrop-filter: blur(2px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--stone-200);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

.step-title {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.step-desc {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.9rem;
  max-width: 34ch;
}

.testimonials-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.1rem;
}

.testimonial-card {
  background: var(--white);
  border: var(--line-soft);
  border-radius: 18px;
  padding: 1.75rem 1.3rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-icon {
  position: absolute;
  right: 1.15rem;
  top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 4.1rem;
  line-height: 1;
  color: rgba(130, 103, 76, 0.14);
}

.testimonial-text {
  position: relative;
  z-index: 2;
  color: var(--charcoal-800);
  line-height: 1.8;
  font-size: 0.98rem;
}

.testimonial-author {
  margin-top: 1.25rem;
  border-top: var(--line-soft);
  padding-top: 0.95rem;
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1.2rem;
}

.author-location {
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-700);
  font-weight: 700;
}

.section-cta {
  padding: clamp(4rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #242621 0%, #1f211d 45%, #2a2d27 100%);
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 14% 18%, rgba(216, 202, 183, 0.22), transparent 42%);
}

.cta-banner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.04);
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  max-width: 60ch;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.76);
}

.contact-grid {
  display: grid;
  gap: 2.2rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: var(--line-soft);
}

.contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--charcoal-900);
  justify-self: center;
}

.contact-list li svg {
  background: var(--stone-100);
  width: 38px;
  height: 38px;
  padding: 10px;
  border: 1px solid rgba(143, 127, 106, 0.2);
  border-radius: 999px;
}

.contact-list a:hover {
  color: var(--bronze-500);
}

.map-container {
  margin-top: 1.8rem;
  border-radius: 18px;
  overflow: hidden;
  border: var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 250px;
  display: block;
}

.modern-form {
  background: var(--white);
  border-radius: 24px;
  border: var(--line-soft);
  box-shadow: var(--shadow-md);
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.form-group-split {
  display: grid;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(143, 127, 106, 0.25);
  background: #fcfaf7;
  color: var(--charcoal-900);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 0.9rem;
  transition: var(--ease);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(31, 33, 29, 0.45);
  box-shadow: 0 0 0 3px rgba(31, 33, 29, 0.08);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(95, 93, 86, 0.56);
}

.form-feedback {
  margin-top: 0.95rem;
  font-size: 0.87rem;
  text-align: center;
  min-height: 1.3rem;
}

.footer-modern {
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  background: linear-gradient(180deg, #1d1f1b 0%, #171815 100%);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.footer-brand h3 span {
  color: var(--stone-200);
}

.footer-desc {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38ch;
}

.footer-links h4 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.footer-links ul {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.89rem;
}

.footer-links a:hover {
  color: var(--stone-200);
}

.presence-list li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.social-icons {
  display: flex;
  gap: 0.7rem;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.social-icons a:hover {
  border-color: var(--stone-200);
  background: rgba(255, 255, 255, 0.1);
}

.social-icons svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

.legal-links {
  display: flex;
  gap: 1rem;
}

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

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, #1f7a4a, #1a6f42);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
  z-index: 900;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.d-none {
  display: none;
}

@media (min-width: 680px) {
  .form-group-split {
    grid-template-columns: 1fr 1fr;
  }

  .services-modern-grid {
    gap: 1.2rem;
  }

  .service-box {
    grid-column: span 6;
  }

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

  .location-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-archive-grid .portfolio-item {
    grid-column: span 6;
  }
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }

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

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .header-container {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }

  .main-nav {
    display: inline-flex;
    justify-self: center;
    gap: 1.6rem;
  }

  .header-actions {
    display: inline-flex;
    justify-self: end;
  }

  .menu-toggle {
    display: none;
  }

  .services-modern-grid {
    gap: 1.35rem;
  }

  .service-box {
    grid-column: span 4;
    padding: 2rem 1.55rem;
  }

  .grid-visual {
    grid-auto-rows: 290px;
    gap: 1.2rem;
  }

  .portfolio-item {
    grid-column: span 6;
  }

  .portfolio-item.tall {
    grid-column: span 5;
    grid-row: span 2;
  }

  .grid-visual > :nth-child(2) {
    grid-column: span 4;
  }

  .grid-visual > :nth-child(3) {
    grid-column: span 3;
  }

  .grid-visual > :nth-child(4) {
    grid-column: span 7;
  }

  .process-timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
    position: relative;
  }

  .process-timeline::before {
    content: "";
    position: absolute;
    left: 2.5%;
    right: 2.5%;
    top: 18px;
    border-top: 1px dashed rgba(255, 255, 255, 0.24);
  }

  .process-step {
    min-height: 100%;
  }

  .projects-archive-grid .portfolio-item {
    grid-column: span 4;
  }
}

@media (max-width: 991px) {
  .header.menu-open .header-actions .lang-switch {
    border-color: rgba(31, 33, 29, 0.2);
    background: rgba(255, 255, 255, 0.85);
  }

  .header.menu-open .header-actions .lang-switch button {
    color: rgba(37, 38, 32, 0.7);
  }

  .header.menu-open .header-actions .lang-switch button.is-active {
    color: var(--white);
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    min-height: 92svh;
    padding-top: calc(var(--header-h) + 1.7rem);
  }

  .hero-text-wrapper {
    border-radius: 20px;
  }

  .hero-title {
    line-height: 0.99;
  }

  .section-label {
    letter-spacing: 0.2em;
  }

  .section-title {
    max-width: 100%;
  }

  .flex-between {
    margin-bottom: 2rem;
  }

  .projects-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .projects-actions .btn {
    width: 100%;
  }

  .cta-banner {
    border-radius: 20px;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .d-md-block {
    display: block;
  }

  .d-md-inline-flex {
    display: inline-flex;
  }

  .d-md-none {
    display: none;
  }
}

/* ── Professional image loading ───────────────────────── */
img {
  max-width: 100%;
  height: auto;
}

.portfolio-item img,
.proj-card img,
.project img {
  background: #1a1a1a;
}

/* ── Dark inner-page header adjustment ────────────────── */
body.inner-page .header {
  background: rgba(12, 12, 12, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

body.inner-page .brand-text {
  color: #faf8f3;
}

body.inner-page .brand-text span {
  color: #5dd4ce;
}

body.inner-page .main-nav a {
  color: rgba(250, 248, 243, 0.72);
}

body.inner-page .main-nav a:hover,
body.inner-page .main-nav a.active {
  color: #faf8f3;
}

body.inner-page .header-actions .btn-primary {
  background: #5dd4ce;
  border-color: #5dd4ce;
  color: #0f0f0f;
}

body.inner-page .menu-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  color: #faf8f3;
  background: rgba(255, 255, 255, 0.08);
}

body.inner-page .lang-switch {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

body.inner-page .lang-switch button {
  color: rgba(250, 248, 243, 0.62);
}

body.inner-page .lang-switch button.is-active {
  background: #faf8f3;
  color: #0f0f0f;
}
