/* ===== 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: #1B3A6B;
  --primary-deep: #142C52;
  --accent: #FF6B35;
  --accent-deep: #D8521F;
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --text: #0F1B2D;
  --muted: #5A6B85;
  --border: #DEE4ED;
  --border-strong: #C3CCDB;
  --shadow-soft: 0 10px 30px rgba(15, 27, 45, 0.06);
  --shadow-card: 0 18px 44px rgba(15, 27, 45, 0.10);
  --radius: 4px;
  --radius-lg: 6px;
  --container: 1220px;
  --header-h: 74px;
  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
}

/* ===== Base ===== */
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.62;
  -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: 700;
  line-height: 1.14;
  color: var(--text);
  letter-spacing: -0.01em;
}

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(245, 247, 250, 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: 36px; height: 36px; flex: none; }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1.04; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; color: var(--text); }
.logo-sub { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px; }

.site-nav { display: none; }
.nav-list { display: flex; gap: 26px; align-items: center; }
.nav-list a {
  font-size: 15px;
  font-weight: 600;
  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: 2px;
  background: var(--accent);
  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: 14px;
  font-weight: 700;
  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: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius);
}
.menu-bar {
  width: 23px;
  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: 17px; }
.site-nav.is-open .nav-list a::after { display: none; }

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

.section-title {
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 50px;
  font-family: var(--font-head);
  font-size: 15px;
  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: var(--primary-deep); border-color: var(--primary-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }

/* ===== Hero (H1 — copy left, image right) ===== */
.hero { padding: 40px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-title {
  font-size: clamp(32px, 5.6vw, 54px);
  font-weight: 700;
  line-height: 1.06;
  margin: 0 0 20px;
  letter-spacing: -0.015em;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 540px;
  line-height: 1.58;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.hero-meta {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.hero-meta li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--border);
  box-shadow: var(--shadow-card);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 6px;
  background: var(--accent);
}

/* ===== About ===== */
.about { padding: 56px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.about-text p {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 15px;
  max-width: 640px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 2;
  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, 27, 45, 0.78));
  color: #fff;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 30px 18px 14px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 40px;
  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: 700;
  font-size: 25px;
  color: var(--primary);
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== Services (S4 — minimal list) ===== */
.services {
  padding: 56px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.service-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.service-no {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding-top: 2px;
}
.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}
.service-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 52ch;
}

/* ===== Approach + Why ===== */
.approach { padding: 56px 0; }
.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
.approach-text p {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 15px;
  max-width: 600px;
}
.approach-text p:last-child { margin-bottom: 0; }
.why-box {
  background: var(--primary);
  color: #D7DEEA;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.why-title {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.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: 16px;
  color: #CBD5E5;
  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: 3px;
  background: var(--accent);
  color: #fff;
  margin-top: 2px;
}
.why-check svg { width: 13px; height: 13px; }

/* ===== Gallery ===== */
.gallery { padding: 56px 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: 56px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.contact-details {
  margin: 24px 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.contact-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row dt {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.contact-row dd { font-size: 16px; 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: 26px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.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: 16px;
  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(27, 58, 107, 0.12);
  outline: none;
}
.field textarea { resize: vertical; min-height: 104px; }
.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: 14px; 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: 14px; min-height: 1.2em; color: var(--muted); }
.form-status.is-success { color: #1F7A37; font-weight: 600; }
.form-status.is-error { color: #C0341B; font-weight: 600; }

/* ===== Footer ===== */
.site-footer {
  background: var(--primary-deep);
  color: #AEBBD0;
  padding: 52px 0 22px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo-name { color: #F5F7FA; }
.site-footer .logo-sub { color: #8C9BB6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(174, 187, 208, 0.18);
}
.footer-tag {
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  color: #C3CEDF;
  font-size: 16px;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col li, .footer-col a {
  font-size: 14.5px;
  color: #AEBBD0;
  line-height: 1.5;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 22px;
  font-size: 13px;
  color: #7E8DA8;
  letter-spacing: 0.02em;
}

/* ===== Privacy page ===== */
.privacy-page {
  padding: 48px 0;
  max-width: 780px;
}
.privacy-page h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 6px;
}
.privacy-updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.privacy-section {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.privacy-section:last-of-type { border-bottom: 1px solid var(--border); }
.privacy-section h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.privacy-section p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.62;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
}
.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-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 44px;
  }
  .service-item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .service-item:last-child { 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: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .about { padding: 92px 0; }
  .about-grid { grid-template-columns: 1.12fr 1fr; gap: 60px; }
  .about-stats { margin-top: 56px; }
  .services { padding: 92px 0; }
  .approach { padding: 92px 0; }
  .approach-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .why-box { padding: 40px 36px; }
  .gallery { padding: 92px 0; }
  .contact { padding: 92px 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; }
}
