/* =================================================================
   Allaher Dan Construction — main stylesheet
   BRAND COLORS: logo'r color bodlale shudhu ei 4 ta line bodlan.
   Green: --brand:#0B5D3B --brand-deep:#062E1F
   Red:   --brand:#2E3338 --brand-deep:#1C1F23 --accent:#D32F2F
   ================================================================= */
:root {
  --brand: #12305A;        /* main (navy) */
  --brand-deep: #0A1A30;   /* dark sections */
  --accent: #C9A227;       /* gold */
  --accent-dark: #A27A16;

  --ink: #1B2430;
  --muted: #5D6876;
  --line: #E3E7EC;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F9;
  --white: #FFFFFF;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 26, 48, .08);
  --shadow-lg: 0 20px 50px rgba(10, 26, 48, .14);
  --container: 1200px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --font-bn: 'Hind Siliguri', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .6em; color: var(--brand-deep); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
.bn { font-family: var(--font-bn); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--brand-deep); color: #C9D3E0; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); }
.section-dark .eyebrow { color: var(--accent); }
.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--accent); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #AFBCCC; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: .2s ease; line-height: 1.2; white-space: nowrap;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-gold { background: var(--accent); color: var(--brand-deep); }
.btn-gold:hover { background: var(--accent-dark); color: var(--white); }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-deep); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--brand-deep); }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--white); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-deep); color: #B7C3D2; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a, .topbar span { color: #B7C3D2; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--accent); }
.topbar .icon { color: var(--accent); }
.topbar-social { display: flex; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10,26,48,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--brand); }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; border-left: 2px solid var(--accent); padding-left: 12px; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; color: var(--brand); }
.brand-text small { font-family: var(--font-head); font-weight: 600; font-size: .68rem; letter-spacing: .32em; color: var(--accent-dark); }
.brand-light .brand-text strong { color: var(--white); }
.brand-light .brand-text small { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav ul a {
  display: block; padding: 10px 14px; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--ink); position: relative;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--brand); }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--brand); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    linear-gradient(90deg, rgba(10,26,48,.97) 0%, rgba(10,26,48,.88) 45%, rgba(18,48,90,.75) 100%),
    var(--hero-img, none) center 70%/cover no-repeat,
    var(--brand-deep);
}
.hero::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 620px; padding: 80px 20px; }
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--accent); }
.hero .lead { font-size: 1.15rem; color: #C4CFDD; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: #D5DEE9; }
.hero-badges .icon { color: var(--accent); }
.hero-art { width: 100%; max-width: 520px; justify-self: end; color: var(--accent); opacity: .95; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: var(--white); padding: 80px 0 70px; overflow: hidden;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero p { color: #C4CFDD; max-width: 640px; font-size: 1.08rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .88rem; color: #9FB0C4; margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); }

/* ---------- Stats ---------- */
.stats { margin-top: -60px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media .ph, .split-media img { border-radius: var(--radius); aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.experience-badge {
  position: absolute; right: -20px; bottom: -24px; background: var(--accent); color: var(--brand-deep);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-family: var(--font-head);
}
.experience-badge strong { display: block; font-size: 2.4rem; line-height: 1; font-weight: 800; }
.experience-badge span { font-weight: 700; font-size: .85rem; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check-list .icon { color: var(--accent-dark); margin-top: 4px; }

/* ---------- Placeholder image ---------- */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  aspect-ratio: 16/10; width: 100%;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: rgba(255,255,255,.55); font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.ph-icon { width: 54px; height: 54px; color: var(--accent); opacity: .85; }

/* ---------- Cards: services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: .25s ease; overflow: hidden; display: flex; flex-direction: column;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201,162,39,.12); color: var(--accent-dark); margin-bottom: 22px;
}
.service-icon .icon { width: 32px; height: 32px; }
.service-card h3 a { color: var(--brand-deep); }
.service-card p { color: var(--muted); flex: 1; }
.service-card .bn { font-size: .9rem; color: var(--accent-dark); margin: -8px 0 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }

/* ---------- Why choose us ---------- */
.feature { display: flex; gap: 18px; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--accent); color: var(--brand-deep);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); }
.section-dark .feature p { color: #AFBCCC; }

/* ---------- Projects ---------- */
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-media { position: relative; }
.project-media img, .project-media .ph { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.status-badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 30px;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--white); color: var(--brand-deep);
}
.status-badge.ongoing { background: var(--accent); }
.status-badge.upcoming { background: #DDE4EC; }
.project-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.project-cat { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); font-family: var(--font-head); }
.project-body h3 { margin: 6px 0 10px; }
.project-body h3 a { color: var(--brand-deep); }
.project-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .88rem; margin-top: auto; }
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta .icon { color: var(--accent-dark); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--white); padding: 9px 18px; border-radius: 30px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); transition: .2s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: var(--white); }
.project-card.is-hidden { display: none; }
.empty-msg { text-align: center; color: var(--muted); display: none; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--accent); opacity: .9; line-height: 1; display: block; margin-bottom: 14px;
}
.step p { margin: 0; color: #AFBCCC; }

/* ---------- Detail pages ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.detail-main .ph, .detail-main > img { border-radius: var(--radius); margin-bottom: 30px; }
.detail-main > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.sidebar-box { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.sidebar-box h3 { font-size: 1.05rem; }
.side-links li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.side-links li:last-child a { border-bottom: 0; }
.side-links li a:hover, .side-links li a.active { color: var(--accent-dark); }
.side-cta { background: var(--brand-deep); color: #C4CFDD; }
.side-cta h3 { color: var(--white); }
.side-cta .btn { width: 100%; margin-top: 8px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.info-table th { color: var(--muted); font-weight: 600; width: 40%; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 20px 0 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list .icon { color: var(--accent-dark); margin-top: 4px; }

/* ---------- About ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mv-card { background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.mv-card .service-icon { margin-bottom: 18px; }
.mv-card p { color: var(--muted); margin: 0; }
.message-box { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.message-box .ph { aspect-ratio: 3/4; border-radius: var(--radius); }
.quote-text { font-size: 1.12rem; font-style: italic; color: var(--ink); border-left: 4px solid var(--accent); padding-left: 22px; }
.signature strong { display: block; font-family: var(--font-head); color: var(--brand-deep); }
.signature span { color: var(--muted); font-size: .92rem; }
.license-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.license { background: var(--white); border: 1px dashed #C7CFD9; border-radius: var(--radius); padding: 24px; text-align: center; }
.license .icon { width: 34px; height: 34px; color: var(--accent-dark); margin: 0 auto 10px; }
.license strong { display: block; font-family: var(--font-head); color: var(--brand-deep); }
.license span { font-size: .85rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contact-card { display: flex; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.contact-card .feature-icon { width: 48px; height: 48px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); }
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 40px; scroll-margin-top: 110px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--brand-deep); }
.field label .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #D3D9E1; border-radius: 6px; font: inherit; font-size: .95rem;
  background: #FBFCFD; color: var(--ink); transition: .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px rgba(18,48,90,.12); }
.field .error { color: #C0392B; font-size: .82rem; margin-top: 4px; display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0392B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 8px; margin-bottom: 24px; display: flex; gap: 12px; align-items: flex-start; }
.alert-success { background: #E7F6EC; color: #1E6B3A; border: 1px solid #BFE5CB; }
.alert-error { background: #FDECEA; color: #A93226; border: 1px solid #F5C6C0; }
.alert .icon { margin-top: 4px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--brand) 0%, var(--brand-deep) 100%); color: var(--white); padding: 60px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(201,162,39,.12); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: #C4CFDD; margin: 0; max-width: 620px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #07111F; color: #94A3B6; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: 70px 20px 50px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--accent); }
.footer-about p { margin: 18px 0 0; }
.footer-about .bn { color: var(--accent); font-size: 1.05rem; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94A3B6; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 5px; }
.footer-contact a { color: #94A3B6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 20px; }
.notfound strong { font-family: var(--font-head); font-size: 7rem; color: var(--accent); line-height: 1; display: block; }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .main-nav { gap: 14px; }
  .main-nav ul a { padding: 10px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .license-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 70px); height: calc(100dvh - 70px);
    border-top: 1px solid var(--line); background: var(--white); flex-direction: column; align-items: stretch;
    padding: 20px; gap: 16px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav ul a::after { display: none; }
  .nav-open { overflow: hidden; }

  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 70px 20px 110px; }
  .hero-art { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .detail-grid, .contact-grid, .message-box { grid-template-columns: 1fr; gap: 40px; }
  .message-box .ph { max-width: 260px; }
  .grid-3, .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .experience-badge { right: 16px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hero-inner { padding: 56px 16px 100px; }
  .hero-badges { gap: 12px 18px; margin-top: 28px; }
  .hide-sm { display: none !important; }
  .topbar-info { gap: 14px; }
  .topbar-info a:nth-child(2) { display: none; }
  .header-inner { min-height: 70px; }
  .brand img { height: 36px; }
  .brand-text strong { font-size: .92rem; }
  .brand-text small { font-size: .6rem; letter-spacing: .26em; }
  .grid-3, .mv-grid, .process, .license-grid, .check-list, .feature-list, .form-grid { grid-template-columns: 1fr; }
  .stat { padding: 24px 12px; }
  .stat strong { font-size: 1.9rem; }
  .form-card { padding: 26px 20px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; padding: 50px 16px 30px; }
}
