﻿/* ============================================================
   Sections CSS
   ============================================================ */

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }

.noticebar {
  background: var(--primary-deep);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.noticebar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 40px;
  flex-wrap: wrap;
  padding-block: 7px;
}
.noticebar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}
.noticebar-item em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.85;
  font-size: 13px;
}
.noticebar-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.3); }

.header-main {
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.solid .header-main {
  background: color-mix(in oklab, var(--surface) 95%, transparent);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 6px 14px -6px color-mix(in oklab, var(--primary) 80%, black);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); white-space: nowrap; }
.logo-text small { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.08em; }

.nav-desktop { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-desktop a {
  font-size: 15.5px;
  font-weight: 700;
  padding: 10px 11px;
  border-radius: var(--r-sm);
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.nav-desktop a:hover { background: var(--primary-soft); color: var(--primary-deep); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 10px;
  border-radius: var(--r-pill);
  background: var(--primary-soft);
  border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent);
}
.header-phone-icon {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
}
.header-phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone-text small { font-size: 13px; color: var(--primary-deep); letter-spacing: 0.02em; white-space: nowrap; }
.header-phone-text strong { font-size: 15px; font-weight: 700; color: var(--primary-press); letter-spacing: 0.04em; white-space: nowrap; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  cursor: pointer;
}

.nav-drawer {
  position: fixed; inset: 0;
  background: rgba(30, 28, 24, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
  z-index: 200;
}
.nav-drawer.open { opacity: 1; pointer-events: auto; }
.nav-drawer-panel {
  position: absolute; top: 0; right: 0;
  width: min(82vw, 340px); height: 100%;
  background: var(--surface);
  padding: 26px 20px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.nav-drawer.open .nav-drawer-panel { transform: none; }
.nav-drawer-panel > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 12px;
  font-size: 16px; font-weight: 700;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.nav-drawer-panel > a svg { color: var(--ink-faint); }
.nav-drawer-tel { justify-content: center !important; margin-top: 18px; border: none !important; color: #fff !important; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 88% -10%, var(--primary-soft) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in oklab, var(--primary) 22%, transparent) 1px, transparent 1.4px);
  background-size: 28px 28px;
  opacity: 0.30;
  mask-image: radial-gradient(120% 80% at 85% 0%, #000 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 96px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--primary-deep);
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  padding: 7px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.hero-title {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.28;
  letter-spacing: 0.03em;
  margin-top: 22px;
  color: var(--ink);
}
.hero-title mark {
  background: linear-gradient(transparent 62%, color-mix(in oklab, var(--primary) 38%, transparent) 0);
  color: var(--primary-press);
  padding: 0 2px;
}
.hero-lead {
  margin-top: 22px;
  font-size: clamp(17.5px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 36ch;
  line-height: 1.6;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-media { position: relative; }
.hero-photo {
  aspect-ratio: 4 / 3.2;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--surface);
}
.hero-photo-2 {
  position: absolute;
  right: -14px; bottom: -34px;
  width: 42%;
  aspect-ratio: 3 / 3.4;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--surface);
}

/* hero variant: split (equal columns, both photos stacked) */
.hero-split .hero-inner { grid-template-columns: 1fr 1fr; }
.hero-split .hero-photo { aspect-ratio: 4 / 3.4; }

/* hero variant: full (large image, copy overlay-ish, smaller media weight reversed) */
.hero-full .hero-inner { grid-template-columns: 1fr; }
.hero-full .hero-media {
  order: -1;
  margin-bottom: 8px;
}
.hero-full .hero-photo {
  aspect-ratio: 21 / 7;
  border-width: 8px;
}
.hero-full .hero-title { font-size: clamp(36px, 5vw, 58px); }
.hero-full .hero-lead { max-width: 52ch; }

/* ---------- Quick badges ---------- */
.quickbadges { margin-top: clamp(28px, 4vw, 52px); }
.quickbadges-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.qbadge {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.qbadge::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--primary);
}
.qbadge-icon {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--primary-deep);
  color: #fff;
}
.qbadge-text { display: flex; flex-direction: column; line-height: 1.4; }
.qbadge-text strong { font-size: 15px; color: var(--ink); letter-spacing: 0.03em; }
.qbadge-sub { font-size: 14px; font-weight: 700; color: var(--primary-deep); }
.qbadge-note { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }

/* recruit badge — same style, made into a tappable link */
.qbadge-link { cursor: pointer; text-decoration: none; }
.qbadge-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--primary) 35%, var(--line)); }
.qbadge-link .qbadge-note { display: inline-flex; align-items: center; gap: 5px; color: var(--primary-deep); font-weight: 700; }
.qbadge-note-arrow { transition: transform 0.18s; }
.qbadge-link:hover .qbadge-note-arrow { transform: translateX(4px); }
