/* =========================================================
   Τεχνικό Γραφείο — Nea Smyrni
   Base styles
   ========================================================= */

:root {
  --paper: #f7f3ec;
  --paper-2: #fcfaf6;
  --ink: #17221d;
  --ink-soft: #37443d;
  --muted: #6b776f;
  --line: #ded7c9;
  --line-soft: #eae4d9;
  --accent: #a75f2c;
  --accent-dark: #84471d;
  --green: #1f3a30;
  --white: #ffffff;
  --radius: 3px;
  --container: 1180px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(23, 34, 29, 0.35);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-2);
}

.btn--light {
  background: transparent;
  border-color: rgba(247, 243, 236, 0.5);
  color: var(--paper-2);
}

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

.btn--sm {
  padding: 10px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--paper-2);
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
}

.brand-mark svg {
  display: block;
  width: 25px;
  height: 25px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.14rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.lang-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-2);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-lines {
  top: 50%;
  margin-top: -0.75px;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  left: 0;
  transform: none;
}

.menu-lines::before {
  top: -6px;
}

.menu-lines::after {
  top: 6px;
}

.menu-btn[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Shared section pieces ---------- */

.section {
  padding: 100px 0;
}

.section--tight {
  padding: 76px 0;
}

.section--paper2 {
  background: var(--paper-2);
}

.section--ink {
  background: var(--green);
  color: rgba(247, 243, 236, 0.82);
}

.section--ink h2,
.section--ink h3 {
  color: var(--paper-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.section-head {
  max-width: 660px;
  margin-bottom: 56px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-head--split .section-head__text {
  max-width: 620px;
}

.section-head--split .section-head__text p {
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.25s ease, color 0.2s ease;
}

.link-arrow:hover {
  gap: 16px;
  color: var(--accent);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-copy p {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 24px 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 420px;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.16em;
  font-size: 0.92rem;
  white-space: nowrap;
}

.hero-rating .rating-text {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: clamp(380px, 56vw, 560px);
  object-fit: cover;
  border-radius: 2px;
}

.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 34px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 20px 24px;
  max-width: 240px;
  box-shadow: 0 18px 40px rgba(23, 34, 29, 0.1);
}

.hero-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-badge span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Stats ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Service cards ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  background: var(--paper);
  padding: 40px 38px 44px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  background: var(--paper-2);
}

.service-num {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 22px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* ---------- Project cards ---------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  display: block;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(23, 34, 29, 0.09);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-body {
  padding: 24px 26px 28px;
}

.project-body h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}

.project-meta {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Feature list ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.feature {
  border-top: 1px solid rgba(247, 243, 236, 0.22);
  padding-top: 24px;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature p {
  color: rgba(247, 243, 236, 0.72);
  font-size: 0.94rem;
  margin: 0;
}

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  padding: 32px 30px;
}

.review blockquote {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.review .stars {
  display: block;
  margin-bottom: 16px;
}

.review-author {
  font-size: 0.86rem;
  font-weight: 600;
}

.review-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--green);
  color: rgba(247, 243, 236, 0.8);
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "ΤΓ";
  position: absolute;
  right: 4%;
  bottom: -60px;
  font-family: var(--serif);
  font-size: 22rem;
  line-height: 1;
  color: rgba(247, 243, 236, 0.045);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-band h2 {
  color: var(--paper-2);
  margin-bottom: 12px;
  max-width: 16ch;
}

.cta-band p {
  margin: 0;
  max-width: 42ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: 0 0 auto;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #101a16;
  color: rgba(247, 243, 236, 0.66);
  padding: 70px 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.site-footer .brand-mark {
  background: var(--accent);
}

.site-footer .brand-name {
  color: var(--paper-2);
}

.site-footer .brand-sub {
  color: rgba(247, 243, 236, 0.5);
}

.footer-blurb {
  margin-top: 20px;
  max-width: 28ch;
  color: rgba(247, 243, 236, 0.6);
}

.footer-title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.45);
  margin-bottom: 18px;
}

.footer-links li,
.footer-info li {
  margin-bottom: 10px;
}

.footer-links a:hover,
.footer-info a:hover {
  color: var(--paper-2);
}

.footer-info a,
.footer-info span {
  color: rgba(247, 243, 236, 0.78);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 243, 236, 0.12);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 236, 0.42);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.page-hero--media {
  padding: 0;
  border-bottom: 0;
  background: var(--ink);
  color: var(--paper-2);
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 0;
}

.page-hero-copy {
  padding: 84px 56px 84px 0;
}

.page-hero-copy h1 {
  margin-bottom: 20px;
}

.page-hero-copy p {
  color: var(--muted);
  max-width: 44ch;
  margin: 0;
  font-size: 1.02rem;
}

.page-hero--media .page-hero-copy p {
  color: rgba(247, 243, 236, 0.72);
}

.page-hero-media {
  position: relative;
  min-height: 380px;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ---------- Detail services ---------- */

.detail-list {
  border-top: 1px solid var(--line);
}

.detail {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: 36px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.detail-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent);
}

.detail h2,
.detail h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  margin: 0;
}

.detail p {
  color: var(--muted);
  margin: 0 0 16px;
}

.detail ul {
  display: grid;
  gap: 8px;
}

.detail li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.process {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  counter-increment: step;
}

.process::before {
  content: "0" counter(step);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 18px;
}

.process h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.process p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  height: clamp(360px, 48vw, 520px);
  object-fit: cover;
}

.about-body p {
  color: var(--ink-soft);
}

.about-signature {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent);
  margin-top: 28px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  padding: 36px 34px;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.team-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.94rem;
}

.pullquote {
  background: var(--paper-2);
  border-left: 2px solid var(--accent);
  padding: 44px 48px;
}

.pullquote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  margin: 0 0 20px;
  color: var(--ink);
}

.pullquote cite {
  font-style: normal;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-list {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.contact-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.contact-item dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-item dd a:hover {
  color: var(--accent);
}

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

.contact-note {
  margin-top: 26px;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 40ch;
}

.map-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-2);
  min-height: 460px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.25) contrast(1.02);
}

.map-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.badge-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}

.badge-open::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2e8b57;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 14px 0 2px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Service area chips ---------- */

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-chips li {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 11px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .hero-badge {
    left: 0;
  }

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

  .review-grid,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-grid {
    gap: 32px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .about-grid {
    gap: 48px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 72px;
  }

  .menu-btn {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 28px 26px;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(23, 34, 29, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-actions {
    margin-top: 20px;
  }

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

  .hero {
    padding: 48px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-media img {
    height: 340px;
  }

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

  .stat {
    border-bottom: 1px solid var(--line);
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section {
    padding: 68px 0;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .page-hero-copy {
    padding: 60px 0;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-media {
    min-height: 280px;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .detail-num {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid img {
    height: 320px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .cta-band h2 {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 20px;
  }

  .brand-sub {
    display: none;
  }

  .hero-badge {
    position: static;
    margin-top: -28px;
    margin-left: 16px;
    margin-right: 16px;
    max-width: none;
    box-shadow: none;
  }

  .hero-media img {
    height: 280px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 30px 24px;
  }

  .project-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .project-card img {
    height: 220px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .review {
    padding: 26px 24px;
  }

  .pullquote {
    padding: 30px 26px;
  }

  .cta-band {
    padding: 64px 0;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .contact-actions .btn {
    width: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
