/* ==========================================================================
   Adevire OÜ — Urban Agency Stylesheet
   ========================================================================== */

:root {
  --ink: #0d0d0d;
  --ink-soft: #1a1a1a;
  --paper: #f3f1ea;
  --paper-dim: #e7e4d9;
  --accent: #d4ff3f;
  --accent-dark: #a8cc2e;
  --accent2: #ff4d2e;
  --line: rgba(13,13,13,0.14);
  --line-light: rgba(243,241,234,0.18);
  --muted: #6b685f;
  --radius: 2px;
  --ease: cubic-bezier(.65,0,.35,1);
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: 'Anton', 'Archivo Black', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 0.4em;
  color: var(--ink);
  line-height: 0.98;
}

p { margin: 0 0 1em; color: var(--muted); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.label {
  font-family: 'Space Grotesk', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.88rem;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--accent); border-color: var(--ink); }

.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); }

.btn-outline-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }

.btn-block { width: 100%; justify-content: center; }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--ink);
}
.section-label .idx { color: var(--accent2); font-family: 'Space Grotesk', monospace; font-weight: 700; }
.section-label .line { flex: 0 0 40px; height: 2px; background: var(--ink); }

.section-title { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.section-subtitle {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}
.section-head { margin-bottom: 50px; }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-subtitle { margin: 0 auto; }

section { padding: 110px 0; position: relative; }

/* ---------------- Header ---------------- */
#site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 2500;
  padding: 22px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
#site-header.scrolled {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  padding: 14px 0;
}
#site-header.dark-page:not(.scrolled) { background: var(--paper); border-bottom: 2px solid var(--ink); padding: 14px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
  font-family: 'Anton', sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo span { color: var(--accent2); font-size: 0.85rem; font-family: 'Space Grotesk', sans-serif; letter-spacing: 1px; }
#site-header:not(.scrolled):not(.dark-page) .logo { color: var(--paper); }
#site-header:not(.scrolled):not(.dark-page) .logo span { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 22px; }

.lang-toggle { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', monospace; font-weight: 700; font-size: 0.82rem; }
.lang-toggle button {
  background: none; border: none; cursor: pointer; padding: 2px 4px;
  color: inherit; opacity: 0.5; letter-spacing: 1px;
}
.lang-toggle button.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
#site-header:not(.scrolled):not(.dark-page) .lang-toggle { color: var(--paper); }
#site-header.scrolled .lang-toggle, #site-header.dark-page .lang-toggle { color: var(--ink); }

.menu-btn {
  display: flex; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.85rem;
}
#site-header:not(.scrolled):not(.dark-page) .menu-btn { color: var(--paper); }
#site-header.scrolled .menu-btn, #site-header.dark-page .menu-btn { color: var(--ink); }
.menu-btn .burger { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.menu-btn .burger span { display: block; height: 2px; width: 100%; background: currentColor; transition: all 0.3s var(--ease); }
body.nav-open .menu-btn .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-btn .burger span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open .menu-btn { color: var(--paper) !important; }
body.nav-open .menu-label-open { display: none; }
body.nav-open .menu-label-close { display: inline; }
.menu-label-close { display: none; }

/* ---------------- Fullscreen Nav Overlay ---------------- */
#nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 2000;
  transform: translateY(-100%);
  transition: transform 0.65s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px 28px 40px;
  overflow-y: auto;
}
body.nav-open #nav-overlay { transform: translateY(0); }

.nav-list { list-style: none; padding: 0; margin: 0 auto; max-width: 1240px; width: 100%; }
.nav-list li { border-bottom: 1px solid var(--line-light); }
.nav-list a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  text-transform: uppercase;
  color: var(--paper);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.nav-list a .n { font-family: 'Space Grotesk', monospace; font-size: 0.9rem; color: var(--accent); font-weight: 700; }
.nav-list a:hover { color: var(--accent); padding-left: 16px; }

.nav-overlay-bottom {
  max-width: 1240px;
  margin: 40px auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line-light);
  font-family: 'Space Grotesk', sans-serif;
}
.nav-overlay-bottom h5 { color: var(--accent); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.nav-overlay-bottom a, .nav-overlay-bottom span { color: rgba(243,241,234,0.75); font-size: 0.9rem; display: block; margin-bottom: 6px; }
.nav-overlay-bottom .lang-toggle { color: var(--paper); }

/* ---------------- Marquee ---------------- */
.marquee {
  background: var(--ink);
  color: var(--accent);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.marquee-track {
  display: inline-flex;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 1px;
  padding-right: 46px;
  display: inline-flex;
  align-items: center;
  gap: 46px;
}
.marquee-track span::after { content: '✦'; color: var(--paper); font-size: 0.9rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- Hero ---------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  padding: 140px 0 70px;
  background: var(--ink);
}
#hero .hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-house.jpg') center/cover no-repeat;
  filter: grayscale(0.55) contrast(1.15) brightness(0.85);
  z-index: -2;
}
#hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.35) 40%, rgba(13,13,13,0.92) 100%);
  z-index: -1;
}
.hero-index {
  position: absolute;
  top: 130px; right: 28px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 12vw, 9rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(243,241,234,0.35);
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.hero-content { max-width: 780px; position: relative; z-index: 1; }
.hero-content .label { color: var(--accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-content .label::before { content: ''; width: 34px; height: 2px; background: var(--accent); display: inline-block; }
.hero-content h1 {
  color: var(--paper);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin-bottom: 26px;
}
.hero-content p {
  color: rgba(243,241,234,0.8);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line-light);
  flex-wrap: wrap;
}
.hero-stats div {
  flex: 1;
  min-width: 160px;
  padding: 22px 24px 0 0;
}
.hero-stats div strong {
  display: block;
  font-size: 1.9rem;
  color: var(--accent);
  font-family: 'Anton', sans-serif;
}
.hero-stats div span {
  color: rgba(243,241,234,0.7);
  font-size: 0.78rem;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------------- About ---------------- */
#about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px;
  width: 100%; height: 100%;
  background: var(--accent);
  z-index: 0;
}
.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
  border: 2px solid var(--ink);
}
.about-badge {
  position: absolute;
  z-index: 2;
  bottom: -22px; left: -22px;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 24px;
  border: 2px solid var(--ink);
}
.about-badge strong { display: block; font-size: 1.7rem; color: var(--accent); font-family: 'Anton', sans-serif; }
.about-badge span { font-size: 0.72rem; font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 1px; color: rgba(243,241,234,0.75); }

.about-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.about-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--ink);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.about-list i { color: var(--accent2); margin-top: 4px; flex-shrink: 0; }

.notice-box {
  margin-top: 30px;
  padding: 20px 24px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* ---------------- Services ---------------- */
#services { background: var(--paper); }
.services-list { border-top: 2px solid var(--ink); }
.service-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 34px 20px;
  border-bottom: 2px solid var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), padding-left 0.3s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-row:hover { background: var(--ink); color: var(--paper); padding-left: 34px; }
.service-row:hover .service-row-num { color: var(--accent); }
.service-row:hover .service-row-content p { color: rgba(243,241,234,0.75); }
.service-row:hover .service-row-arrow { opacity: 1; transform: translate(0,0); color: var(--accent); }
.service-row-num {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  color: var(--accent2);
  flex: 0 0 60px;
  transition: color 0.3s var(--ease);
}
.service-row-content { flex: 1; }
.service-row-content h3 { font-size: 1.5rem; margin-bottom: 6px; }
.service-row-content p { margin: 0; font-size: 0.98rem; max-width: 640px; }
.service-row-arrow {
  font-size: 1.4rem;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

/* ---------------- Why us ---------------- */
#why-us { background: var(--ink); color: var(--paper); }
#why-us .section-title { color: var(--paper); }
#why-us .section-label .line { background: var(--paper); }
#why-us .section-subtitle { color: rgba(243,241,234,0.7); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.why-card {
  padding: 36px 26px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.3s var(--ease);
}
.why-card:hover { background: var(--ink-soft); }
.why-card i { font-size: 1.7rem; color: var(--accent); margin-bottom: 18px; display: block; }
.why-card h4 { color: var(--paper); font-size: 1.15rem; }
.why-card p { color: rgba(243,241,234,0.65); font-size: 0.92rem; margin: 0; }

/* ---------------- Gallery ---------------- */
#gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 4px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}
.gallery-item:hover img { filter: grayscale(0); transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item::before {
  content: '+';
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: var(--ink);
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s var(--ease);
  z-index: 2;
}
.gallery-item:hover::before { opacity: 1; transform: scale(1); }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(13,13,13,0.85), transparent);
  color: var(--paper);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ---------------- Contact ---------------- */
#contact { background: var(--ink); color: var(--paper); }
#contact .section-label .line { background: var(--paper); }
#contact .section-title { color: var(--paper); }
#contact .section-subtitle { color: rgba(243,241,234,0.7); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
.contact-info-card { padding-top: 10px; }
.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}
.contact-info-item i {
  width: 40px; height: 40px;
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-item strong {
  display: block; color: var(--paper); font-size: 0.78rem;
  font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.contact-info-item span, .contact-info-item a { color: rgba(243,241,234,0.75); font-size: 1rem; }
.social-row { display: flex; gap: 14px; margin-top: 30px; }
.social-row a {
  width: 44px; height: 44px;
  border: 1px solid rgba(243,241,234,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  transition: all 0.25s var(--ease);
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.contact-form { padding-top: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 26px; }
.form-group label {
  display: block;
  font-size: 0.74rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(243,241,234,0.6);
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid rgba(243,241,234,0.3);
  border-radius: 0;
  font-family: inherit;
  font-size: 1.02rem;
  background: transparent;
  color: var(--paper);
  transition: border-color 0.25s var(--ease);
}
.form-group select option { color: var(--ink); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(243,241,234,0.35); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: rgba(243,241,234,0.6); margin-bottom: 26px; }
.form-consent a { color: var(--accent); text-decoration: underline; }
.form-consent input { width: auto; margin-top: 4px; accent-color: var(--accent); }
.form-note { font-size: 0.8rem; color: rgba(243,241,234,0.5); margin-top: 16px; }
#form-success {
  display: none;
  background: var(--accent);
  color: var(--ink);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}
#form-success.show { display: block; }

/* ---------------- Footer ---------------- */
#site-footer {
  background: var(--ink);
  color: rgba(243,241,234,0.7);
  padding: 90px 0 26px;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--line-light);
}
.footer-cta { position: relative; z-index: 1; margin-bottom: 70px; }
.footer-cta .section-label .line { background: var(--accent); }
.footer-cta .section-label .idx { color: var(--accent); }
.footer-cta h2 {
  color: var(--paper);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  max-width: 900px;
  margin-bottom: 30px;
}
.footer-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}
.footer-logo { font-family: 'Anton', sans-serif; font-size: 1.6rem; text-transform: uppercase; color: var(--paper); margin-bottom: 14px; }
.footer-logo span { color: var(--accent2); font-size: 0.85rem; font-family: 'Space Grotesk', sans-serif; }
.footer-col h4 { color: var(--paper); font-size: 0.8rem; letter-spacing: 1.5px; margin-bottom: 18px; font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(243,241,234,0.7); font-size: 0.92rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  position: relative; z-index: 1;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  font-family: 'Space Grotesk', sans-serif;
}
.footer-bottom a { color: rgba(243,241,234,0.6); }
.footer-bottom a:hover { color: var(--accent); }
.footer-watermark {
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Anton', sans-serif;
  font-size: 14vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243,241,234,0.06);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ---------------- Cookie banner ---------------- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2400;
  background: var(--ink);
  color: var(--paper);
  padding: 24px;
  border-top: 2px solid var(--accent);
  transform: translateY(120%);
  transition: transform 0.5s var(--ease);
}
#cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; font-size: 0.9rem; color: rgba(243,241,234,0.8); }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions button {
  border-radius: var(--radius);
  padding: 13px 26px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid var(--paper);
}
#cookie-decline { background: transparent; color: var(--paper); }
#cookie-decline:hover { background: rgba(243,241,234,0.1); }
#cookie-accept { background: var(--accent); color: var(--ink); border-color: var(--accent); }
#cookie-accept:hover { background: var(--paper); border-color: var(--paper); }

/* ---------------- Legal pages ---------------- */
.legal-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 180px 0 70px;
}
.legal-hero h1 { color: var(--paper); font-size: clamp(2.4rem, 6vw, 4rem); }
.legal-hero p { color: rgba(243,241,234,0.6); font-family: 'Space Grotesk', sans-serif; }
.legal-content {
  padding: 70px 0 110px;
  max-width: 840px;
  margin: 0 auto;
}
.legal-content h2 { margin-top: 46px; font-size: 1.5rem; text-transform: none; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content ul { color: var(--muted); padding-left: 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.legal-content th, .legal-content td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; font-size: 0.9rem; color: var(--muted); }
.legal-content th { background: var(--paper-dim); color: var(--ink); font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 1px; }
.legal-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 34px; font-family: 'Space Grotesk', sans-serif; }
.legal-content a { color: var(--accent2); text-decoration: underline; }
.back-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;
  margin-top: 50px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
}

[data-lang-content]:not([data-lang-content="en"]) { display: none; }

/* ---------------- Utilities ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-overlay-bottom { grid-template-columns: 1fr 1fr; }
  .about-media { margin-top: 20px; }
}

@media (max-width: 767px) {
  section { padding: 74px 0; }
  .header-actions { gap: 14px; }
  .lang-toggle { display: none; }
  #nav-overlay { padding: 100px 20px 30px; }
  .nav-list a { font-size: clamp(1.9rem, 9vw, 3rem); gap: 12px; }
  .nav-overlay-bottom { grid-template-columns: 1fr; gap: 24px; }
  .nav-overlay-bottom .lang-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-stats div { padding-right: 14px; }
  .hero-index { display: none; }
  .service-row { flex-wrap: wrap; gap: 12px; padding: 26px 14px; }
  .service-row-arrow { display: none; }
  .about-media::before { display: none; }
  .about-badge { left: 0; bottom: -18px; }
}
