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

/* ===== Tokens ===== */
:root {
  --primary: #0F0F0F;
  --accent: #C9C5BB;
  --accent-deep: #8C8678;
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --text: #1F1E1B;
  --muted: #7A7770;
  --border: #E5E2DB;
  --border-strong: #CDC9BF;
  --shadow-soft: 0 10px 30px rgba(15, 15, 15, 0.05);
  --shadow-card: 0 18px 48px rgba(15, 15, 15, 0.10);
  --radius: 2px;
  --radius-lg: 4px;
  --container: 1200px;
  --header-h: 74px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== Base ===== */
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.16;
  color: var(--text);
  letter-spacing: -0.005em;
}

p { color: var(--text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 200;
}
.skip-link:focus { left: 12px; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(248, 247, 244, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--primary);
}
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: 0.005em; color: var(--text); }
.logo-sub { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; }

.site-nav { display: none; }
.nav-list { display: flex; gap: 26px; align-items: center; }
.nav-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 2px;
  position: relative;
  transition: color .15s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 1px;
  background: var(--primary);
  transition: width .2s ease;
}
.nav-list a:hover { color: var(--primary); }
.nav-list a:hover::after { width: 100%; }

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.lang-btn {
  padding: 6px 4px;
  color: var(--muted);
  transition: color .15s ease;
  text-transform: uppercase;
}
.lang-btn.is-active { color: var(--primary); }
.lang-btn:hover { color: var(--text); }
.lang-divider { color: var(--border-strong); font-weight: 400; }

.menu-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius);
}
.menu-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.site-nav.is-open {
  display: block;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 22px 24px;
  box-shadow: var(--shadow-soft);
}
.site-nav.is-open .nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.site-nav.is-open .nav-list li { width: 100%; border-bottom: 1px solid var(--border); }
.site-nav.is-open .nav-list li:last-child { border-bottom: 0; }
.site-nav.is-open .nav-list a { display: block; padding: 14px 4px; font-size: 16px; }
.site-nav.is-open .nav-list a::after { display: none; }

/* ===== Typography helpers ===== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(27px, 4.6vw, 42px);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 640px;
}

.section-head { margin-bottom: 40px; max-width: 760px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  min-height: 50px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
}
.btn-primary:hover { background: #2a2a2a; border-color: #2a2a2a; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--primary); }
.btn-block { width: 100%; }

/* ===== Hero (H5) ===== */
.hero { padding: 56px 0 0; text-align: center; }
.hero-copy { max-width: 820px; }
.hero .eyebrow { color: var(--accent-deep); }
.hero-title {
  font-size: clamp(34px, 6.2vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 auto 22px;
  max-width: 16ch;
}
.hero-sub {
  font-size: 17.5px;
  color: var(--muted);
  margin: 0 auto 30px;
  max-width: 600px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 56px;
}
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 64vh;
  overflow: hidden;
  background: var(--border);
  border-top: 1px solid var(--border);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(15,15,15,0.04);
  pointer-events: none;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== About ===== */
.about { padding: 64px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.about-text p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 15px;
  max-width: 620px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--border);
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
.about-figcaption {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(15, 15, 15, 0.72));
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 26px 18px 14px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.stat:last-child { border-bottom: 0; }
.stat-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Services (S1 — cards grid) ===== */
.services {
  padding: 64px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  padding: 30px 26px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background .2s ease;
}
.service-card:last-child { border-bottom: 0; }
.service-card:hover { background: #FBFAF7; }
.service-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--primary);
  margin-bottom: 18px;
}
.service-ico svg { width: 22px; height: 22px; }
.service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ===== Approach + Why ===== */
.approach { padding: 64px 0; }
.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
.approach-text p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 15px;
  max-width: 600px;
}
.approach-text p:last-child { margin-bottom: 0; }
.why-box {
  background: var(--primary);
  color: #EDEAE3;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.why-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.why-list { display: grid; gap: 0; }
.why-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  font-size: 15.5px;
  color: #D9D5CC;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.why-list li:first-child { border-top: 0; }
.why-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  margin-top: 1px;
}
.why-check svg { width: 13px; height: 13px; }

/* ===== Gallery ===== */
.gallery { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .3s ease;
}
.gallery-item:hover img { transform: scale(1.03); filter: brightness(0.97); }

/* ===== Contact ===== */
.contact { padding: 64px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.contact-details {
  margin: 24px 0 24px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.contact-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.contact-row dd { font-size: 14.5px; color: var(--text); }
.contact-row a { color: var(--primary); font-weight: 600; }
.contact-row a:hover { text-decoration: underline; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--border);
  display: block;
}
.map-wrap iframe { width: 100%; height: 100%; display: block; border: 0; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  font-size: 15px;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 15, 15, 0.08);
  outline: none;
}
.field textarea { resize: vertical; min-height: 100px; }
.field-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.field-check label { font-size: 13px; color: var(--muted); font-weight: 400; line-height: 1.5; }
.field-check a { color: var(--primary); text-decoration: underline; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 13.5px; min-height: 1.2em; color: var(--muted); }
.form-status.is-success { color: #2E7D32; font-weight: 600; }
.form-status.is-error { color: #B8341C; font-weight: 600; }

/* ===== Footer ===== */
.site-footer {
  background: #0F0F0F;
  color: #C9C5BB;
  padding: 52px 0 22px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo-name { color: #F8F7F4; }
.site-footer .logo-sub { color: #948F84; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(201, 197, 187, 0.14);
}
.footer-tag {
  margin-top: 16px;
  font-family: var(--font-head);
  font-style: italic;
  color: #B6B2A8;
  font-size: 16px;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col li, .footer-col a {
  font-size: 13.5px;
  color: #B6B2A8;
  line-height: 1.5;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 22px;
  font-size: 12.5px;
  color: #837F76;
  letter-spacing: 0.02em;
}

/* ===== Privacy page ===== */
.privacy-page {
  padding: 56px 0;
  max-width: 760px;
}
.privacy-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 6px;
}
.privacy-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.privacy-section {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.privacy-section:last-child { border-bottom: 1px solid var(--border); }
.privacy-section h2 {
  font-size: 19px;
  margin-bottom: 8px;
}
.privacy-section p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14.5px;
}
.back-home:hover { text-decoration: underline; }

/* ===== Media queries (mobile-first) ===== */
@media (min-width: 640px) {
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 0; border-right: 1px solid var(--border); }
  .stat:last-child { border-right: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-last-child(2) { border-bottom: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.6fr; }
}

@media (min-width: 900px) {
  .site-nav { display: block; }
  .menu-toggle { display: none; }
  .hero { padding: 72px 0 0; }
  .hero-media { aspect-ratio: 21 / 9; max-height: 70vh; }
  .about { padding: 96px 0; }
  .about-grid { grid-template-columns: 1.15fr 1fr; gap: 60px; }
  .about-stats { margin-top: 60px; }
  .services { padding: 96px 0; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { border-right: 1px solid var(--border); }
  .service-card:nth-child(3n) { border-right: 0; }
  .service-card:nth-last-child(-n+3) { border-bottom: 0; }
  .service-card { padding: 34px 30px; }
  .approach { padding: 96px 0; }
  .approach-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .why-box { padding: 40px 36px; }
  .gallery { padding: 96px 0; }
  .contact { padding: 96px 0; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .contact-form { padding: 34px; }
  .section-head { margin-bottom: 48px; }
}

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