/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  --bg: #faf7f2;
  --bg-alt: #f1ebe1;
  --bg-dark: #1c1815;
  --surface: #ffffff;
  --ink: #211d19;
  --ink-soft: #5b544c;
  --ink-faint: #8a8177;
  --line: #e6ddd0;
  --line-soft: #efe8dc;
  --accent: #3730a3;
  --accent-dark: #262064;
  --accent-soft: #e6e4fb;
  --accent-2: #0891a8;
  --white: #ffffff;
  --cta: #7dd3fc;
  --cta-dark: #38bdf8;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 16px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-s: 0 2px 10px rgba(33, 29, 25, 0.06);
  --shadow-m: 0 10px 40px rgba(33, 29, 25, 0.1);
  --shadow-l: 0 20px 60px rgba(33, 29, 25, 0.16);
}

/* ==========================================================================
   Reset
   ========================================================================== */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container--narrow { max-width: 860px; }

@media (min-width: 900px) {
  .container { padding: 0 40px; }
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3vw + 1rem, 3rem); }
h3 { font-size: clamp(1.3rem, 1.4vw + 1rem, 1.7rem); }
h4 { font-size: 1.1rem; }

p { color: var(--ink-soft); }
.lede { font-size: clamp(1.05rem, 1.2vw + 0.6rem, 1.3rem); color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head--split .lede { max-width: 480px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: var(--cta);
  color: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35);
}
.btn--primary:hover { background: var(--cta-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(56, 189, 248, 0.45); }

.btn--dark {
  background: var(--ink);
  color: var(--white);
}
.btn--dark:hover { background: #000; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--ghost-light {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

.btn--sm { padding: 11px 22px; font-size: 0.84rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}
.text-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.text-link:hover { color: var(--accent); border-color: var(--accent); gap: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
  --header-fg: var(--ink);
  color: var(--header-fg);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: nowrap; }

.site-header.on-dark { --header-fg: #ffffff; }

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  --header-fg: var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 3.4vw, 1.35rem);
  letter-spacing: -0.01em;
  min-width: 0;
  flex-shrink: 1;
  white-space: nowrap;
}
.brand .mark {
  width: clamp(30px, 8vw, 40px);
  height: clamp(30px, 8vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand .mark svg { width: 100%; height: 100%; }
.brand { color: var(--header-fg); }
.brand span { color: var(--accent); }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--header-fg);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--cta);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.main-nav a.is-active { font-weight: 700; text-shadow: 0 0 18px rgba(125, 211, 252, 0.5); }
.main-nav a.is-active::after {
  width: 100%;
  transform-origin: left;
  animation: navActiveGrow .6s var(--ease) .1s both;
}

@keyframes navActiveGrow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 240px;
  background: var(--surface);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .25s var(--ease);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(10px); }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  font-size: 0.88rem;
  color: var(--ink);
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--bg-alt); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; color: var(--header-fg); flex-shrink: 0; }
.header-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--header-fg) 30%, transparent);
  color: var(--header-fg);
  flex-shrink: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.header-call:hover { background: color-mix(in srgb, var(--header-fg) 10%, transparent); border-color: var(--header-fg); }
.header-call svg { width: 18px; height: 18px; color: var(--accent); }

.lang-switch {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--header-fg);
}
.lang-switch a { opacity: 0.6; transition: opacity .2s var(--ease); }
.lang-switch a:hover { opacity: 0.85; }
.lang-switch a.is-active { opacity: 1; color: var(--accent); }
.lang-switch span { opacity: 0.4; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--header-fg);
  opacity: 1;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .header-actions .btn--primary { display: none; }
}
.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--header-fg);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1080px) {
  .main-nav { display: block; }
  .header-call { display: flex; }
  .lang-switch { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--bg);
  padding: 100px 28px 40px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.mobile-nav-close svg { width: 18px; height: 18px; }
.mobile-nav-close:hover { background: var(--ink); border-color: var(--ink); color: var(--white); transform: rotate(90deg); }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  padding-left: 14px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  border-left: 3px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease), padding-left .3s var(--ease);
}
.mobile-nav a.is-active {
  color: var(--accent-dark);
  border-left-color: var(--cta);
  animation: navActiveSlide .4s var(--ease) both;
}
@keyframes navActiveSlide {
  from { padding-left: 0; opacity: 0.5; }
  to { padding-left: 14px; opacity: 1; }
}
.mobile-nav .sub { padding-left: 16px; display: none; }
.mobile-nav .sub.is-open { display: block; }
.mobile-nav .sub a { font-family: var(--font-body); font-size: 1rem; padding: 12px 4px; }
.mobile-nav-lang { margin-top: 24px; display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; }
.mobile-nav-lang a { opacity: 0.55; }
.mobile-nav-lang a.is-active { opacity: 1; color: var(--accent); }
.mobile-nav-lang span { opacity: 0.35; }
.mobile-nav-footer { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.mobile-nav-footer .btn--ghost { border-color: rgba(33,29,25,0.28); }
.mobile-nav-footer .btn--primary { box-shadow: 0 4px 14px rgba(56,189,248,0.3); }
@media (min-width: 1080px) { .mobile-nav { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 130px;
  padding-bottom: 70px;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,0.35) 0%, rgba(20,17,14,0.35) 40%, rgba(15,13,11,0.86) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000'%3E%3Crect width='1600' height='1000' fill='%232b241c'/%3E%3Cpath d='M0 700 L400 500 L800 640 L1200 420 L1600 600 L1600 1000 L0 1000 Z' fill='%233a3126'/%3E%3Cpath d='M0 820 L500 680 L900 780 L1300 620 L1600 760 L1600 1000 L0 1000 Z' fill='%23231d17'/%3E%3C/svg%3E") center/cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Hero media slider (image + video slides) */
.hero-slider { position: absolute; inset: 0; z-index: -3; background: #17130f; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.3s var(--ease);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transform: scale(1.08);
}
.hero-slide.is-active .hero-slide__img { animation: heroZoom 9s var(--ease) forwards; }
.hero-slide video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(20,17,14,0.35) 0%, rgba(20,17,14,0.35) 40%, rgba(15,13,11,0.86) 100%);
}

.hero-dots {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 30px; height: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  transition: background .3s var(--ease);
}
.hero-dots button.is-active { background: var(--white); }
@media (max-width: 720px) { .hero-dots { left: 24px; bottom: 96px; } }

.hero .container { position: relative; z-index: 2; }
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero__top .eyebrow { color: var(--white); opacity: 0.85; }
.hero__top .eyebrow::before { background: var(--white); opacity: 0.6; }
.hero h1 { color: var(--white); max-width: 820px; }
.hero h1 em { font-style: italic; color: var(--cta); }
.hero h1.hero__seo-heading { font-size: clamp(1.05rem, 1.4vw + 0.6rem, 1.4rem); font-weight: 500; max-width: 820px; margin: 0 0 10px; opacity: 0.9; }
.hero__tagline { color: var(--white); max-width: 820px; font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); font-weight: 400; line-height: 1.05; margin: 0; }
.hero__tagline em { font-style: italic; color: var(--cta); }
.hero__lede { color: rgba(255,255,255,0.78); max-width: 420px; font-size: 1.05rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero__stats strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--white); }
.hero__stats span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
@media (min-width: 700px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: none;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 40px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after { content:""; position:absolute; top:-40px; left:0; width:100%; height:40px; background: var(--white); animation: scrollLine 2s infinite; }
@keyframes scrollLine { to { top: 40px; } }
@media (min-width: 900px) { .scroll-cue { display: flex; } }

/* ==========================================================================
   Sections generic
   ========================================================================== */
section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.66); }

/* Intent cards */
.intent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 720px) { .intent-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .intent-grid { grid-template-columns: repeat(6, 1fr); } }

.intent-card {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 3/4;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  isolation: isolate;
}
.intent-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); z-index: -2; }
.intent-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,0) 30%, rgba(20,17,14,0.85) 100%);
  z-index: -1;
}
.intent-card span { font-weight: 600; font-size: 0.92rem; }
.intent-card:hover img { transform: scale(1.08); }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 32px 26px;
  border: 1px solid var(--line-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: transparent; }
.service-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card .icon svg { width: 24px; height: 24px; }
.service-card h4 { margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; flex-grow: 1; }
.service-card .text-link { margin-top: 20px; font-size: 0.84rem; }

/* Projects */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.project-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 720px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .project-grid.grid-3 { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  display: block;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.project-card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius-l); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.07); }
.project-card__tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.project-card__body { padding: 18px 4px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.project-card__body h4 { margin-bottom: 6px; }
.project-card__body .loc { font-size: 0.82rem; color: var(--ink-faint); display: flex; align-items: center; gap: 6px; }
.project-card__body .loc svg { width: 13px; height: 13px; }
.project-card__arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.project-card__arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.project-card:hover .project-card__arrow { background: var(--accent); border-color: var(--accent); color: var(--white); }
.project-card:hover .project-card__arrow svg { transform: rotate(45deg); }

.project-card.is-hidden { display: none; }

/* Why us */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-media { position: relative; border-radius: var(--radius-l); overflow: hidden; }
.why-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.why-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.why-stats .stat strong { font-family: var(--font-display); font-size: 2.4rem; display: block; color: var(--accent); }
.why-stats .stat span { font-size: 0.85rem; color: var(--ink-faint); }
.why-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.why-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }

/* Process */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.process-item > div:last-child { grid-column: 1 / -1; margin-top: 4px; }
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); }
.process-item h4 { margin-bottom: 8px; }
.process-item p { max-width: 560px; font-size: 0.94rem; }
@media (min-width: 720px) {
  .process-item { grid-template-columns: 80px 1fr 1fr; }
  .process-item > div:last-child { grid-column: auto; margin-top: 0; }
  .process-item .num-title { display: flex; gap: 24px; align-items: baseline; }
}

/* Before / After */
.ba-slider {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-l);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  box-shadow: var(--shadow-m);
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-after { z-index: 1; }
.ba-slider .ba-before-wrap { position: absolute; inset: 0; width: 50%; z-index: 2; overflow: hidden; }
.ba-slider .ba-before-wrap img { width: var(--ba-w, 100vw); max-width: none; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--white);
  z-index: 3;
  transform: translateX(-50%);
}
.ba-handle .grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-s);
}
.ba-handle svg { width: 14px; height: 14px; }
.ba-label { position: absolute; top: 18px; z-index: 4; background: rgba(20,17,14,0.55); color: var(--white); padding: 6px 14px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ba-label.before { left: 18px; }
.ba-label.after { right: 18px; }

/* Testimonials */
.testi-track-wrap { overflow: hidden; }
.testi-track { display: flex; transition: transform .6s var(--ease); }
.testi-slide { flex: 0 0 100%; padding: 4px; }
@media (min-width: 860px) { .testi-slide { flex: 0 0 50%; } }
.testi-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 36px 32px;
  height: 100%;
  border: 1px solid var(--line-soft);
}
.testi-card .stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 20px; }
.testi-card .stars svg { width: 16px; height: 16px; }
.testi-card blockquote { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); line-height: 1.5; }
.testi-card .who { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.testi-card .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-card .who strong { display: block; font-size: 0.92rem; }
.testi-card .who span { font-size: 0.8rem; color: var(--ink-faint); }

.testi-nav { display: flex; gap: 12px; margin-top: 32px; justify-content: center; }
.testi-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.testi-nav button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.testi-nav svg { width: 16px; height: 16px; }

/* Insights */
.insight-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 720px) { .insight-grid { grid-template-columns: repeat(3, 1fr); } }
.insight-card { display: block; position: relative; }
.insight-card__stretched-link { position: absolute; inset: 0; z-index: 2; }
.insight-card__media { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 20px; }
.insight-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insight-card:hover .insight-card__media img { transform: scale(1.06); }
.insight-card .cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }
.insight-card h4 { margin-bottom: 10px; }
.insight-card .meta { font-size: 0.8rem; color: var(--ink-faint); margin-top: 14px; }

.insight-card__share { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.insight-card__share a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-s);
  opacity: 0;
  transform: translateX(-46px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.insight-card:hover .insight-card__share a { opacity: 1; transform: translateX(0); }
.insight-card__share a:nth-child(2) { transition-delay: .06s; }
.insight-card__share a:hover { background: var(--accent); color: var(--white); }

/* Social feed */
.social-feed-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .social-feed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .social-feed-grid { grid-template-columns: repeat(4, 1fr); } }

.social-feed-card { display: flex; flex-direction: column; }
.social-feed-card__media { position: relative; display: block; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 1/1; background: var(--bg-alt); }
.social-feed-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.social-feed-card:hover .social-feed-card__media img { transform: scale(1.06); }
.social-feed-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.social-feed-card__play svg { width: 46px; height: 46px; color: var(--white); filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); }
.social-feed-card__platform {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.95); box-shadow: var(--shadow-s);
}
.social-feed-card__platform svg { width: 16px; height: 16px; }
.social-feed-card__platform--facebook svg { color: #1877f2; }
.social-feed-card__platform--instagram svg { color: #c1387e; }
.social-feed-card__body { padding-top: 16px; }
.social-feed-card__caption {
  font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Final CTA */
.final-cta {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-l);
  padding: 56px 32px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .final-cta { padding: 72px 64px; } }
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(55,48,163,0.4), transparent 55%), radial-gradient(circle at 8% 90%, rgba(8,145,168,0.28), transparent 50%);
}
.final-cta .inner { position: relative; z-index: 1; display: grid; gap: 40px; }
@media (min-width: 980px) { .final-cta .inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.final-cta h2 { color: var(--white); margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.7); max-width: 420px; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.quick-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-m); padding: 28px; backdrop-filter: blur(6px); }
.quick-form .form-row { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 560px) { .quick-form .form-row.two { grid-template-columns: 1fr 1fr; } }
.quick-form input, .quick-form select, .quick-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--white);
}
.quick-form input::placeholder, .quick-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.quick-form select option { color: var(--ink); }
.quick-form .fine { font-size: 0.76rem; color: rgba(255,255,255,0.45); margin-top: 12px; }

.quick-form--light { background: var(--bg-alt); border: 1px solid var(--line); backdrop-filter: none; }
.quick-form--light input, .quick-form--light select, .quick-form--light textarea {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.quick-form--light input::placeholder, .quick-form--light textarea::placeholder { color: var(--ink-faint); }
.quick-form--light .fine { color: var(--ink-faint); }

/* Construction cost calculator */
.cost-calc {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  padding: 28px;
}
@media (min-width: 860px) { .cost-calc { padding: 40px; } }
.cost-calc__step-title { margin-bottom: 24px; }
.cost-calc__label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 10px; }
.cost-calc__form .form-row { margin-bottom: 22px; }
.cost-calc__form .form-row.two { display: grid; gap: 18px; }
@media (min-width: 560px) { .cost-calc__form .form-row.two { grid-template-columns: 1fr 1fr; } }
.cost-calc__form input, .cost-calc__form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.cost-calc__form input:focus, .cost-calc__form select:focus { outline: none; border-color: var(--accent); }

.cost-calc__toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.cost-calc__toggle-btn {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cost-calc__toggle-btn.is-active { background: var(--ink); color: var(--white); }

.cost-calc__packages { display: grid; gap: 12px; }
.cost-calc__package {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.cost-calc__package:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.cost-calc__package input { width: auto; margin-top: 4px; accent-color: var(--accent); }
.cost-calc__package-body { display: flex; flex-direction: column; gap: 2px; }
.cost-calc__package-name { font-weight: 700; }
.cost-calc__package-rate { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.cost-calc__package-desc { font-size: 0.82rem; color: var(--ink-faint); }

.cost-calc__chart-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-bottom: 24px; }
@media (min-width: 720px) { .cost-calc__chart-wrap { flex-direction: row; align-items: flex-start; } }
.cost-calc__donut { width: 220px; height: 220px; flex-shrink: 0; }

.cost-calc__legend { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 4px; }
.cost-calc__legend-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.cost-calc__legend-item:last-child { border-bottom: none; }
.cost-calc__legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.cost-calc__legend-info { flex: 1; display: flex; flex-direction: column; }
.cost-calc__legend-name { font-weight: 600; font-size: 0.92rem; }
.cost-calc__legend-pct { font-size: 0.78rem; color: var(--ink-faint); }
.cost-calc__legend-amount { font-weight: 700; font-size: 0.92rem; white-space: nowrap; }

.cost-calc__total {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.5vw + 1rem, 1.7rem);
  color: var(--ink);
  text-align: center;
  background: var(--bg-alt);
  border-radius: var(--radius-m);
  padding: 18px;
  line-height: 1.5;
}
.cost-calc__total strong { color: var(--accent); }
.cost-calc__disclaimer { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.5; margin-top: 16px; text-align: center; }

.cost-calc__nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

.cost-calc__timeline { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cost-calc__timeline-row { width: 100%; }
.cost-calc__timeline-bar {
  min-width: 12%;
  border: 1px solid;
  border-radius: var(--radius-s);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cost-calc__timeline-name { font-weight: 700; font-size: 0.88rem; }
.cost-calc__timeline-meta { font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; }

@media print {
  .site-header, .mobile-nav, .float-btn, .site-footer, .page-hero, .breadcrumb,
  .cost-calc__nav, .quick-form, .testi-card { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.85); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand span { color: var(--white); }
.footer-brand p { margin-top: 18px; max-width: 300px; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 15px; height: 15px; }

.footer-col h2, .footer-col h5 { color: var(--white); font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 0.92rem; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 26px 0; font-size: 0.8rem; color: rgba(255,255,255,0.68); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-links { display: flex; align-items: center; gap: 22px; }
.footer-lang-switch { display: flex; align-items: center; gap: 6px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,0.25); font-weight: 600; }
.footer-lang-switch a { opacity: 0.85; }
.footer-lang-switch a.is-active { opacity: 1; color: var(--cta); }
.footer-lang-switch span { opacity: 0.5; }

/* ==========================================================================
   Sticky mobile CTA + WhatsApp + Back to top
   ========================================================================== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  background: var(--surface);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-cta-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.mobile-cta-bar svg { width: 19px; height: 19px; }
.mobile-cta-bar .call { color: var(--ink); }
.mobile-cta-bar .whatsapp { color: #25d366; }
.mobile-cta-bar .start { background: var(--accent); color: var(--white); }
@media (min-width: 1080px) { .mobile-cta-bar { display: none; } }

.float-actions { position: fixed; right: 24px; bottom: 24px; z-index: 950; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-m);
  transition: transform .3s var(--ease);
}
.float-btn:hover { transform: translateY(-4px) scale(1.05); }
.float-btn.whatsapp { background: #25d366; color: var(--white); }
.float-btn.whatsapp svg { width: 26px; height: 26px; }
.float-btn.totop { background: var(--surface); border: 1px solid var(--line); color: var(--ink); opacity: 0; pointer-events: none; transform: translateY(10px); }
.float-btn.totop.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-btn.totop svg { width: 18px; height: 18px; }
@media (max-width: 1079px) { .float-actions { bottom: 84px; } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding: 170px 0 56px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.05);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20,17,14,0.4) 0%, rgba(20,17,14,0.45) 45%, rgba(15,13,11,0.88) 100%);
}
.page-hero .eyebrow { color: #7dd3fc; }
.page-hero .eyebrow::before { background: #7dd3fc; }
.page-hero h1 { max-width: 760px; color: var(--white); }
.page-hero .lede { margin-top: 16px; max-width: 620px; color: rgba(255,255,255,0.82); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 12px; height: 12px; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255,255,255,0.72); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 24px 0; text-align: left;
}
.faq-q h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.faq-q .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; transition: all .3s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content:""; position: absolute; background: var(--ink); transition: all .3s var(--ease); }
.faq-q .plus::before { width: 10px; height: 1.4px; }
.faq-q .plus::after { width: 1.4px; height: 10px; }
.faq-item.is-open .plus { background: var(--accent); border-color: var(--accent); }
.faq-item.is-open .plus::before, .faq-item.is-open .plus::after { background: var(--white); }
.faq-item.is-open .plus::after { transform: rotate(90deg) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding-bottom: 24px; max-width: 640px; font-size: 0.94rem; }

/* ==========================================================================
   Tables / content generic (about, service detail)
   ========================================================================== */
.two-col { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.media-frame { border-radius: var(--radius-l); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip .stat { text-align: center; }
.stat-strip strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); display: block; }
.stat-strip span { font-size: 0.82rem; color: var(--ink-faint); }

.value-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card { padding: 30px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line-soft); }
.value-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value-card .icon svg { width: 22px; height: 22px; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card__media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 3/4; margin-bottom: 16px; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card strong { display: block; font-size: 0.98rem; }
.team-card span { font-size: 0.82rem; color: var(--accent); }

.logo-strip { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; opacity: 0.6; }
.logo-strip span { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-faint); }

/* Chips / meta list used in project detail */
.meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
@media (min-width: 640px) { .meta-grid { grid-template-columns: repeat(4, 1fr); } }
.meta-grid .item span { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 6px; }
.meta-grid .item strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--bg-alt); font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 12px; }
.gallery-grid a { border-radius: var(--radius-m); overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid .big { grid-column: span 2; grid-row: span 2; }
@media (min-width: 720px) { .gallery-grid { grid-auto-rows: 200px; } }
@media (max-width: 719px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid .big { grid-column: span 2; grid-row: span 1; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(10,8,7,0.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); padding: 40px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius-m); }
.lightbox-close { position: absolute; top: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); color: var(--white); display: flex; align-items: center; justify-content: center; }
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); color: var(--white); display: flex; align-items: center; justify-content: center; }
.lightbox-nav svg { width: 18px; height: 18px; }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

/* Timeline (construction updates) */
.timeline { position: relative; padding-left: 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 40px; }
.timeline-item { position: relative; }
.timeline-item::before { content:""; position: absolute; left: -33px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline-item .date { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 8px; }
.timeline-item .progress-bar { width: 160px; height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 12px 0; }
.timeline-item .progress-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

/* Related grid uses project-grid already */

/* Blog / insights page listing */
.blog-featured { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
@media (min-width: 900px) { .blog-featured { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.blog-featured .media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3; }
.blog-featured .media img { width: 100%; height: 100%; object-fit: cover; }

.sidebar { display: flex; flex-direction: column; gap: 36px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l); padding: 26px; }
.sidebar-card h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.sidebar-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
.sidebar-list li:last-child { border-bottom: none; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info-card { background: var(--ink); color: var(--white); border-radius: var(--radius-l); padding: 40px 32px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 26px; }
.contact-info-card ul { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.contact-info-card li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card li svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info-card li strong { display: block; font-size: 0.9rem; }
.contact-info-card li span { font-size: 0.86rem; color: rgba(255,255,255,0.6); }
.map-frame { border-radius: var(--radius-m); overflow: hidden; margin-top: 10px; aspect-ratio: 16/9; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.form-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l); padding: 40px 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: var(--bg);
  transition: border-color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field-row { display: grid; gap: 20px; }
@media (min-width: 560px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip input { position: absolute; opacity: 0; }
.radio-chip { position: relative; }
.radio-chip label { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all .3s var(--ease); margin: 0; }
.radio-chip input:checked + label { background: var(--ink); color: var(--white); border-color: var(--ink); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.is-visible { display: block; }
.form-success .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success .icon svg { width: 28px; height: 28px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.hidden { display: none !important; }
