/* ============================================================
   EARTH ASSET — Shared Stylesheet
   Section map:
   1. CSS Variables & Reset
   2. Typography
   3. Layout Utilities
   4. Header / Nav
   5. Hero
   6. Cards / Service Grid
   7. CTA Banner
   8. Section — About Strip
   9. Footer
   10. Animations
   11. Page-specific overrides (reform / disposal / about / contact)
   ============================================================ */

/* ── 1. Variables & Reset ─────────────────────────────────── */
:root {
  --bg:        #f5f0e6;
  --bg-dark:   #16231d;
  --primary:   #254336;
  --accent:    #b5722a;
  --accent-lt: #e0a45c;
  --ink:       #111916;
  --text:      #1a1a18;
  --text-sub:  #5a5a52;
  --border:    #d8cfbc;
  --white:     #fdfaf5;
  --card-bg:   #fffcf6;

  --font-display: 'Shippori Mincho B1', 'Hiragino Mincho ProN', serif;
  --font-body:    'Noto Sans JP', 'Hiragino Sans', sans-serif;

  --radius:    6px;
  --shadow:    0 4px 24px rgba(17,25,22,.10);
  --shadow-lg: 0 18px 56px rgba(17,25,22,.18);

  --max-w:     1140px;
  --section-py: 96px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── 2. Typography ────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .02em;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  color: var(--primary);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-top: 16px;
  max-width: 560px;
}

/* ── 3. Layout Utilities ──────────────────────────────────── */
.container  { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-py) 0; }
.section.bg-dark { background: var(--bg-dark); }
.section.bg-white { background: var(--white); }

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

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }

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

.section-head .section-lead {
  margin-top: 0;
}

/* ── 4. Header / Nav ──────────────────────────────────────── */
/* SECTION: header */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,245,.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(216,207,188,.72);
  transition: box-shadow .3s, background .3s;
}

#site-header.scrolled {
  background: rgba(253,250,245,.94);
  box-shadow: var(--shadow);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-en {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--primary);
  line-height: 1;
}

.logo-ja {
  font-size: .62rem;
  letter-spacing: .16em;
  color: var(--accent);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text);
  transition: color .2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .25s ease;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  transition: background .2s, transform .15s;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(253,250,245,.98);
  padding: 40px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 28px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* ── 5. Hero ──────────────────────────────────────────────── */
/* SECTION: hero */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: -5%;
  background: url('images/hero.png') center / cover no-repeat;
  animation: kenBurns 24s ease-out forwards;
  will-change: transform;
}

@keyframes kenBurns {
  from { transform: scale(1);    }
  to   { transform: scale(1.12); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9,14,12,.9) 0%, rgba(9,14,12,.56) 48%, rgba(9,14,12,.12) 100%),
    linear-gradient(to right, rgba(9,14,12,.62) 0%, rgba(9,14,12,.28) 48%, transparent 78%);
}

.hero-body {
  position: relative;
  z-index: 3;
  padding: 0 clamp(28px, 6vw, 88px) 92px;
  max-width: 860px;
}

.hero-label {
  font-size: .65rem;
  letter-spacing: .28em;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  letter-spacing: .02em;
  text-wrap: balance;
}

.hero-title em {
  font-style: normal;
  color: var(--accent-lt);
}

.hero-rule {
  width: 36px;
  height: 1px;
  background: var(--accent);
  margin: 36px 0;
}

.hero-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.68);
  line-height: 2.05;
  max-width: 600px;
}

.hero-note {
  margin-top: 28px;
  color: rgba(253,250,245,.58);
  font-size: .72rem;
  letter-spacing: .08em;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-scroll span {
  font-size: .58rem;
  letter-spacing: .22em;
  color: rgba(255,255,255,.35);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(181,114,42,.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 1; transform-origin: top; }
  50%  { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: top; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  border: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #9d5e1e);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(181,114,42,.24);
}

.btn-primary:hover { background: var(--accent-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(181,114,42,.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(253,250,245,.4);
}

.btn-outline:hover { border-color: var(--accent-lt); color: var(--accent-lt); }

.hero-services {
  display: flex;
  gap: 24px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.hero-service-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(253,250,245,.06);
  border: 1px solid rgba(253,250,245,.12);
  border-radius: var(--radius);
  color: rgba(253,250,245,.8);
  font-size: .82rem;
  font-weight: 500;
}

.hero-service-chip .chip-icon {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}
.hero-service-chip .chip-icon svg { width: 1rem; height: 1rem; stroke: currentColor; stroke-width: 2; }

/* ── Works ───────────────────────────────────────────────── */
/* SECTION: works */
.works-section {
  background: var(--bg);
}

.works-grid {
  display: grid;
  gap: 22px;
}

.works-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.works-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.works-grid-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.works-group + .works-group {
  margin-top: 44px;
}

.works-group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.works-group-head span {
  color: var(--accent);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.works-group-head h3 {
  color: var(--primary);
  font-size: 1.2rem;
}

.work-card {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s;
}

.work-card:hover {
  transform: translateY(-3px);
}

.work-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #efe8da;
}

.work-photo img {
  display: block;
  width: 100%;
  height: auto;
  background: #efe8da;
}

.work-body {
  padding: 12px 2px 0;
}

.work-body h3 {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
}

/* ── 6. Service Cards ─────────────────────────────────────── */
/* SECTION: services */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width .3s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  background:
    linear-gradient(135deg, transparent 52%, rgba(181,114,42,.08) 52%),
    linear-gradient(45deg, transparent 50%, rgba(37,67,54,.07) 50%);
  opacity: 0;
  transition: opacity .25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(181,114,42,.3);
  background: #fffdf8;
}

.service-card:hover::before { width: 100%; }
.service-card:hover::after { opacity: 1; }

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.card-icon svg { width: 2.2rem; height: 2.2rem; stroke: var(--primary); stroke-width: 1.5; }

.card-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 12px;
}

.card-text {
  font-size: .88rem;
  color: var(--text-sub);
  line-height: 1.8;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .06em;
  transition: color .2s, gap .2s;
}

.card-link:hover { color: var(--accent); gap: 10px; }

/* ── 7. CTA Banner ────────────────────────────────────────── */
/* SECTION: cta-banner */
.cta-banner {
  background: var(--ink);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.045) 0 1px, transparent 1px 100%),
    radial-gradient(ellipse 60% 120% at 90% 50%, rgba(181,114,42,.22) 0%, transparent 60%);
  background-size: 56px 56px, auto;
}

.cta-banner .section-title { color: var(--white); }
.cta-banner .section-label { color: var(--accent-lt); }
.cta-banner .section-lead  { color: rgba(253,250,245,.7); }

.cta-contacts {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.cta-contact-card {
  flex: 1;
  min-width: 220px;
  padding: 24px 28px;
  background: rgba(253,250,245,.07);
  border: 1px solid rgba(253,250,245,.15);
  border-radius: 10px;
  color: var(--white);
}

.cta-contact-card .method { font-size: .7rem; letter-spacing: .16em; color: var(--accent-lt); font-weight: 700; margin-bottom: 8px; }
.cta-contact-card .value  { font-size: 1.4rem; font-family: var(--font-display); letter-spacing: .06em; }
.cta-contact-card .note   { font-size: .76rem; color: rgba(253,250,245,.55); margin-top: 4px; }

/* LINE button */
.btn-line {
  background: #06c755;
  color: white;
}

.btn-line:hover { background: #05b04c; transform: translateY(-2px); }

/* ── 8. About Strip ───────────────────────────────────────── */
/* SECTION: about-strip */
.about-strip {
  background: linear-gradient(135deg, var(--bg-dark), #101814);
  padding: 80px 0;
  color: var(--white);
}

.about-strip .section-title { color: var(--white); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(253,250,245,.1);
  border: 1px solid rgba(253,250,245,.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 48px;
}

.stat-item {
  padding: 36px 28px;
  background: rgba(253,250,245,.04);
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--accent-lt);
  line-height: 1;
}

.stat-unit {
  font-size: .9rem;
  color: var(--accent-lt);
}

.stat-label {
  font-size: .78rem;
  color: rgba(253,250,245,.55);
  margin-top: 8px;
  letter-spacing: .08em;
}

/* ── 9. Footer ────────────────────────────────────────────── */
/* SECTION: footer */
#site-footer {
  background: #0f1a14;
  color: rgba(253,250,245,.6);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(253,250,245,.08);
}

.footer-logo-en {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .12em;
  color: var(--white);
}

.footer-logo-ja {
  font-size: .62rem;
  letter-spacing: .14em;
  color: var(--accent);
  margin-top: 2px;
}

.footer-desc {
  font-size: .82rem;
  line-height: 1.9;
  margin-top: 16px;
}

.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .84rem;
  transition: color .2s;
}

.footer-links a:hover { color: var(--accent-lt); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: .74rem;
}

/* ── 10. Animations ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes charReveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-fade-up   { animation: fadeUp .7s ease both; }
.anim-fade-in   { animation: fadeIn .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }

/* Hero title char animation */
.hero-title.chars-ready {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.hero-title.chars-ready .char {
  display: inline-block;
  opacity: 0;
  animation: charReveal 1.1s cubic-bezier(.22,1,.36,1) forwards;
}

/* Parallax */
.hero-bg { will-change: transform; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 11. Page-specific ────────────────────────────────────── */
/* SECTION: page-hero (inner pages) */
.page-hero {
  background:
    linear-gradient(120deg, rgba(181,114,42,.16), transparent 42%),
    var(--bg-dark);
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181,114,42,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,114,42,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero .page-label {
  font-size: .7rem;
  letter-spacing: .2em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-lt);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.page-hero .page-label::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--white);
  line-height: 1.2;
}

.page-hero p {
  color: rgba(253,250,245,.65);
  max-width: 520px;
  margin-top: 16px;
  font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .76rem;
  color: rgba(253,250,245,.4);
  margin-bottom: 24px;
}

.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-lt); }
.breadcrumb .sep { opacity: .4; }

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: flex-start;
  transition: box-shadow .2s;
}

.feature-item:hover { box-shadow: var(--shadow); }

.feature-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: rgba(181,114,42,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; stroke: var(--primary); stroke-width: 1.5; }
.thanks-icon { width: 2.5rem; height: 2.5rem; stroke: var(--primary); stroke-width: 1.5; }

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.feature-text {
  font-size: .86rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* Process / Flow */
.flow-steps {
  display: flex;
  gap: 0;
  position: relative;
}

.flow-step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.flow-step::after {
  content: '→';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  z-index: 1;
}

.flow-step:last-child::after { display: none; }

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-text {
  font-size: .8rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* Accordion / FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary);
  gap: 16px;
}

.faq-q .icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  transition: transform .25s, background .2s;
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
  font-size: .88rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}

/* Contact form */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--primary); }
.form-input, .form-textarea, .form-select {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44,74,62,.1);
}

.form-textarea { resize: vertical; min-height: 140px; }
.required { color: var(--accent); font-size: .75rem; margin-left: 4px; }

/* Hero actions (CTA button row on inner pages) */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .works-grid-4, .works-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works-grid-single { grid-template-columns: minmax(0, 520px); }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head .section-lead { margin-top: 16px; }

  .hero { min-height: calc(100svh - 68px); }
  .hero-body { padding: 0 24px 72px; }
  .hero-scroll { right: 24px; bottom: 32px; }
  .hero-title { font-size: 2.45rem; }
  .hero-sub br { display: none; }

  .flow-steps {
    flex-direction: column;
  }

  .flow-step::after {
    content: '↓';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -14px;
    transform: translateX(-50%);
  }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .cta-contacts { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: 2.05rem; }
  .hero-body { padding-bottom: 54px; }
  .hero-label { letter-spacing: .18em; }
  .hero-scroll { display: none; }
  .service-card { padding: 30px 24px; }
  .works-grid-4, .works-grid-3, .works-grid-single { grid-template-columns: 1fr; }
  .work-photo { min-height: 180px; }
}
