/* ============================================
   CSS Variables
   ============================================ */
:root {
  --bg-primary: #f4f8ff;
  --bg-secondary: #e8f0fb;
  --bg-card: #ffffff;
  --bg-card-hover: #edf4ff;

  --accent: #0055ff;
  --accent-dim: rgba(0, 85, 255, 0.10);
  --accent-glow: rgba(0, 85, 255, 0.28);
  --accent-secondary: #7c3aed;
  --accent-green: #00b86b;

  --text-primary: #091525;
  --text-secondary: #2c4870;
  --text-muted: #6278a0;

  --border: rgba(0, 85, 255, 0.12);
  --border-accent: rgba(0, 85, 255, 0.40);

  --header-height: 72px;
  --radius: 12px;
  --radius-lg: 20px;

  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(0, 85, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 100% 100%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #003acc; }

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(244, 248, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(0, 85, 255, 0.15);
  box-shadow: 0 1px 24px rgba(0, 85, 255, 0.07);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2c4870;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(0, 85, 255, 0.07);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

/* ============================================
   Main
   ============================================ */
.main {
  padding-top: var(--header-height);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 30%, rgba(0, 85, 255, 0.09) 0%, transparent 65%),
              radial-gradient(ellipse 60% 50% at 85% 85%, rgba(124, 58, 237, 0.07) 0%, transparent 55%),
              radial-gradient(ellipse 40% 40% at 10% 60%, rgba(0, 184, 107, 0.05) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 85, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 85, 255, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(0, 85, 255, 0.45);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(0, 85, 255, 0.07);
  box-shadow: 0 0 20px rgba(0, 85, 255, 0.10);
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #091525 0%, #1740c0 50%, #0055ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(0, 85, 255, 0.15));
}

.hero-lead {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #2c4870;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(0, 85, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0, 85, 255, 0.55), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0040cc);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow), 0 2px 8px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow), 0 4px 16px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.btn-ghost {
  background: rgba(0, 85, 255, 0.06);
  color: #0044cc;
  border: 1px solid rgba(0, 85, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(0, 85, 255, 0.12);
  border-color: rgba(0, 85, 255, 0.45);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.btn-outline:hover {
  background: var(--accent-dim);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 85, 255, 0.15);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: 12px;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 100px 24px;
}

.section-dark {
  background: var(--bg-secondary);
  background-image:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(0, 85, 255, 0.04) 0%, transparent 50%);
}

.section-cta-full {
  background: linear-gradient(135deg, rgba(0, 85, 255, 0.06), rgba(124, 58, 237, 0.06));
  border-top: 1px solid rgba(0, 85, 255, 0.15);
  border-bottom: 1px solid rgba(0, 85, 255, 0.15);
  text-align: center;
}

.section-cta-full h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  color: #091525;
}

.section-cta-full p {
  color: #2c4870;
  margin-bottom: 36px;
  font-size: 17px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  text-shadow: none;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #091525;
}

.section-desc {
  color: #2c4870;
  font-size: 17px;
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 56px;
}

.section-cta {
  margin-top: 56px;
  text-align: center;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(0, 85, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(0, 85, 255, 0.35);
  background: linear-gradient(145deg, #edf4ff, #e2edff);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 85, 255, 0.10), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 6px rgba(0, 85, 255, 0.30));
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #091525;
}

.feature-card p {
  color: #2c4870;
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   Services List
   ============================================ */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(0, 85, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 48px;
  border-bottom: 1px solid rgba(0, 85, 255, 0.08);
  transition: background var(--transition);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item:hover {
  background: rgba(0, 85, 255, 0.03);
}

.service-num {
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 85, 255, 0.20);
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  min-width: 72px;
  transition: color var(--transition);
}

.service-item:hover .service-num {
  color: rgba(0, 85, 255, 0.55);
}

.service-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #091525;
}

.service-body p {
  color: #2c4870;
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================
   Works / Viewer
   ============================================ */

/* トップページ施工事例プレビューカード */
.works-preview-card {
  border: 1px solid rgba(0, 85, 255, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.works-preview-card:hover {
  border-color: rgba(0, 85, 255, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 85, 255, 0.10);
}

.works-preview-body {
  padding: 48px;
}

.works-preview-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.works-preview-body h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #091525;
}

.works-preview-body p {
  color: #2c4870;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

/* 施工事例ページ 個別カード */
.work-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(0, 85, 255, 0.20);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 24px 0;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.work-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 85, 255, 0.12);
}

.work-card-info {
  flex: 1;
}

.work-card-info p {
  color: #2c4870 !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  margin-bottom: 12px !important;
}

.work-card-info strong {
  color: #091525 !important;
}

.work-card-action {
  flex-shrink: 0;
}

/* Works placeholder */
.works-placeholder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.placeholder-card {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.placeholder-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.placeholder-card span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   Flow Steps
   ============================================ */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: flow;
  margin: 40px 0;
}

.flow-step {
  display: flex;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.flow-step:last-child {
  border-bottom: none;
}

.step-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
  text-shadow: none;
  opacity: 0.85;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #091525;
}

.step-content p {
  color: #2c4870;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.step-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-content ul li {
  font-size: 14px;
  color: #3b587a;
  padding-left: 20px;
  position: relative;
}

.step-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Flow mini (top page) */
.flow-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 48px 0;
}

.flow-mini-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow-mini-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 85, 255, 0.10);
  border: 1.5px solid rgba(0, 85, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  box-shadow: 0 2px 12px rgba(0, 85, 255, 0.18);
}

.flow-mini-label {
  font-size: 13px;
  color: #2c4870;
  text-align: center;
  font-weight: 600;
}

.flow-mini-arrow {
  font-size: 20px;
  color: rgba(0, 85, 255, 0.40);
  margin-bottom: 24px;
}

/* Flow FAQ */
.flow-note {
  background: linear-gradient(145deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(0, 85, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 56px 0;
}

.flow-note h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #091525;
}

.flow-note dl {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.flow-note dt {
  font-weight: 700;
  font-size: 16px;
  color: #091525;
  margin-bottom: 6px;
}

.flow-note dd {
  color: #2c4870;
  font-size: 15px;
  line-height: 1.7;
  margin-left: 0;
}

/* CTA Block */
.cta-block {
  background: linear-gradient(135deg, rgba(0, 85, 255, 0.06), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(0, 85, 255, 0.20);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 56px;
}

.cta-block p {
  color: #2c4870;
  font-size: 17px;
  margin-bottom: 24px;
}

/* ============================================
   Page (single.html)
   ============================================ */
.page-hero {
  background: var(--bg-secondary);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 85, 255, 0.06) 0%, transparent 60%);
  border-bottom: 1px solid rgba(0, 85, 255, 0.12);
  padding: 64px 24px;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #091525;
}

.page-desc {
  color: #2c4870;
  font-size: 17px;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.page-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 85, 255, 0.15);
  color: #091525;
}

.page-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: #0e2240;
}

.page-content p {
  color: #2c4870;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 16px;
}

.page-content ul, .page-content ol {
  color: #2c4870;
  padding-left: 24px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.page-content li {
  margin-bottom: 6px;
}

.page-content strong {
  color: #091525;
  font-weight: 700;
}

.page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content hr {
  border: none;
  border-top: 1px solid rgba(0, 85, 255, 0.12);
  margin: 48px 0;
}

/* Table */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.page-content th,
.page-content td {
  padding: 14px 20px;
  border: 1px solid rgba(0, 85, 255, 0.12);
  text-align: left;
}

.page-content th {
  background: rgba(0, 85, 255, 0.05);
  color: #2c4870;
  font-weight: 600;
  width: 180px;
}

.page-content td {
  color: #091525;
}

/* Blockquote */
.page-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  background: rgba(0, 85, 255, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  color: #2c4870;
}

/* ============================================
   Contact page
   ============================================ */
.page-content img {
  border-radius: var(--radius);
  max-width: 200px;
  margin: 16px auto;
}

/* LINE button */
.btn-line {
  background: #06C755;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 85, 255, 0.12);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: #6278a0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  align-items: center;
}

.footer-nav-link {
  padding: 6px 12px;
  font-size: 14px;
  color: #3d5880;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.footer-nav-link:hover {
  color: var(--accent);
  background: rgba(0, 85, 255, 0.07);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(0, 85, 255, 0.08);
}

.copyright {
  font-size: 13px;
  color: #6278a0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(244, 248, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 16px;
    width: 100%;
  }

  .logo-text {
    font-size: 13px;
  }

  .section {
    padding: 72px 20px;
  }

  .service-item {
    flex-direction: column;
    gap: 16px;
    padding: 32px 24px;
  }

  .service-num {
    font-size: 36px;
    min-width: auto;
  }

  .flow-step {
    flex-direction: column;
    gap: 16px;
  }

  .step-number {
    font-size: 40px;
    min-width: auto;
  }

  .flow-mini {
    gap: 8px;
  }

  .flow-mini-arrow {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .flow-note {
    padding: 32px 24px;
  }

  .cta-block {
    padding: 36px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    gap: 4px;
  }

  .work-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 24px;
  }

  .works-preview-body {
    padding: 32px 24px;
  }

  .works-placeholder {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 48px 20px 80px;
  }

  .page-content th {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .flow-mini-arrow {
    transform: rotate(90deg);
    margin-bottom: 0;
  }
}
