/* =========================================================
   CloudNest LP - style.css
   ========================================================= */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #1a2332;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Global focus-visible ring */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.tab:focus-visible,
.hamburger:focus-visible,
.service-card:focus-visible,
.case-card:focus-visible,
.support-item:focus-visible,
.pagetop:focus-visible,
.footer-sns a:focus-visible {
  outline: 3px solid #ffb84d;
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }
.pagetop:focus-visible { outline-offset: 4px; border-radius: 50%; }
.footer-sns a:focus-visible { border-radius: 50%; }

/* Anchor scroll offset for sticky header */
section[id], [id] { scroll-margin-top: 96px; }

:root {
  --primary: #1a56b8;
  --primary-dark: #0f3d85;
  --primary-light: #eef3fb;
  --accent: #ff6b35;
  --text: #1a2332;
  --text-sub: #5a6478;
  --border: #e4e8ef;
  --bg-light: #f6f8fb;
  --bg-dark: #0e1a2e;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(0, 30, 80, .05);
  --shadow-hover: 0 4px 16px rgba(0, 30, 80, .08);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: all .2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26, 86, 184, .25); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-ghost-light { color: #fff; border-color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* =========================================================
   Topbar
   ========================================================= */
.topbar { background: #0e1a2e; color: #c8d2e0; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: #c8d2e0; margin-right: 20px; }
.topbar a:hover { color: #fff; }
.topbar-right a { margin-right: 0; margin-left: 20px; }
.topbar-btn { background: var(--accent); color: #fff !important; padding: 4px 14px; border-radius: 4px; font-weight: 700; }
.topbar-btn:hover { background: #e5531f; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 30, 80, .12);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 40px;
  transition: height .25s ease;
}
.header.scrolled .header-inner { height: 60px; }
.header.scrolled .gnav > ul > li > a { padding-top: 20px; padding-bottom: 20px; }

/* Body scroll lock while mobile menu is open */
body.no-scroll { overflow: hidden; touch-action: none; }

/* Focus visibility */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { transition: none; opacity: 1; transform: none; }
  .header, .header-inner { transition: none; }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--primary);
}
.logo i { font-size: 26px; }
.logo-light { color: #fff; }

.gnav { flex: 1; }
.gnav > ul { display: flex; gap: 4px; }
.gnav > ul > li { position: relative; }
.gnav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 28px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.gnav > ul > li > a:hover { color: var(--primary); }
.gnav > ul > li > a i { font-size: 10px; }

.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 640px;
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,20,60,.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s;
}
.gnav > ul > li:hover .megamenu,
.gnav > ul > li:focus-within .megamenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.megamenu-col .megamenu-heading {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
.megamenu-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--text); }
.megamenu-col a:hover { color: var(--primary); padding-left: 4px; }

.header-cta { display: flex; gap: 8px; }
.header-cta .btn { padding: 10px 18px; font-size: 13px; }

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 4px;
  transition: all .3s;
}
.hamburger span:nth-child(1) { top: 10px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg); top: 15px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); top: 15px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2d6b 0%, #1a56b8 100%);
  color: #fff;
  padding-top: 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.06) 0%, transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 520px;
  padding-bottom: 60px;
}
.hero-sub {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 20px;
  letter-spacing: .05em;
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -.02em;
}
.hero-title .accent { color: #ffb84d; position: relative; }
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: rgba(255,184,77,.5);
  border-radius: 2px;
}
.hero-desc { font-size: 17px; opacity: .92; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-stats li { display: flex; flex-direction: column; min-width: 0; }
.hero-stats strong { font-family: "Montserrat", sans-serif; font-size: 28px; font-weight: 800; line-height: 1; }
.hero-stats strong span { font-size: 18px; margin-left: 2px; font-weight: 700; }
.hero-stats small { font-size: 12px; opacity: .8; margin-top: 6px; }

.hero-image img {
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 10, 40, .3);
  width: 100%;
}

.hero-marquee {
  background: rgba(0,0,0,.15);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee-track span { font-size: 13px; opacity: .9; }
.marquee-track i { margin-right: 6px; color: #cfd8e8; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Sections common
   ========================================================= */
.section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: .2em;
  margin: 0 0 12px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.4;
}
.section-lead { color: var(--text-sub); margin: 0; }

/* =========================================================
   Services
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: block;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 20px;
  transition: background-color .2s, color .2s;
}
.service-card:hover .service-icon { background: #dde7f5; color: var(--primary-dark); }
.service-icon.blue,
.service-icon.purple,
.service-icon.orange,
.service-icon.green,
.service-icon.pink,
.service-icon.teal {
  background: var(--primary-light);
  color: var(--primary);
}

/* Geometric SVG decoration classes */
svg.service-deco {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  opacity: .35;
  color: var(--primary);
  pointer-events: none;
  display: block;
}
svg.hero-deco {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 360px;
  height: 360px;
  opacity: .22;
  color: #ffffff;
  pointer-events: none;
  z-index: 0;
  display: block;
}
.feature-deco {
  display: inline-block;
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-left: 8px;
  opacity: .4;
  color: var(--primary);
}
.feature-deco svg { width: 100%; height: 100%; display: block; }

/* Hero main illustration */
.hero-illust {
  width: 100%;
  height: auto;
  max-width: 560px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 10, 40, .25);
  background: #f5f8fd;
}

/* Service card icon SVG sizing */
.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  display: block;
}

/* Marquee icon alignment */
.marquee-track .mq-ico {
  width: 16px;
  height: 16px;
  stroke: #cfd8e8;
  fill: none;
  vertical-align: -3px;
  margin-right: 6px;
  display: inline-block;
  flex-shrink: 0;
}
.marquee-track span { display: inline-flex; align-items: center; }

/* Feature number decoration */
.feature-num { position: relative; }
.feature-num-deco {
  display: inline-block;
  width: 48px;
  height: 48px;
  vertical-align: middle;
  margin-left: 10px;
  color: var(--primary);
  opacity: .5;
}

.service-card h3 { margin: 0 0 10px; font-size: 20px; }
.service-card p { color: var(--text-sub); font-size: 14px; margin: 0 0 20px; }
.service-price {
  display: block;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.service-price strong {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  color: var(--primary);
  margin: 0 4px;
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
.service-card:hover .service-more i { transform: translateX(4px); }
.service-more i { transition: transform .2s; }

/* =========================================================
   Features
   ========================================================= */
.features { background: var(--bg-light); }
.feature-grid { display: flex; flex-direction: column; gap: 60px; }
.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-item.reverse { direction: rtl; }
.feature-item.reverse > * { direction: ltr; }
.feature-item img { border-radius: 8px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.feature-num {
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--primary);
  opacity: .15;
  line-height: 1;
  display: block;
}
.feature-body h3 { font-size: 26px; margin: 0 0 16px; font-weight: 800; }
.feature-body p { color: var(--text-sub); margin: 0; }

/* =========================================================
   Pricing
   ========================================================= */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: var(--bg-light);
  padding: 6px;
  border-radius: 50px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-tabs .tab {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-sub);
  transition: all .2s;
}
.pricing-tabs .tab.active { background: var(--primary); color: #fff; box-shadow: 0 2px 6px rgba(26, 86, 184, .2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  position: relative;
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.price-card.recommended {
  border-color: var(--border);
  border-top: 3px solid var(--accent);
  background: #fff;
}
.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.price-card h3 { font-size: 22px; margin: 0 0 6px; }
.price-desc { font-size: 13px; color: var(--text-sub); margin: 0 0 24px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 24px; }
.price span { font-size: 14px; color: var(--text-sub); }
.price strong {
  font-family: "Montserrat", sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
}
.price.contact { margin-bottom: 24px; }
.price.contact strong {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
.price-features { margin: 0 0 28px; }
.price-features li {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li:last-child { border-bottom: none; }
.price-features i { color: #00a878; }

/* =========================================================
   Cases
   ========================================================= */
.cases { background: var(--bg-light); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
  box-shadow: var(--shadow);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.case-thumb { aspect-ratio: 16/10; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-thumb img { transform: scale(1.08); }
.case-body { padding: 20px; }
.case-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}
.case-body h3 { font-size: 16px; margin: 0 0 10px; line-height: 1.5; }
.case-body p { font-size: 13px; color: var(--text-sub); margin: 0; }

/* =========================================================
   News & Support
   ========================================================= */
.news-support { background: #fff; }
.news-support-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}
.block-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.block-more { font-size: 13px; color: var(--primary); font-weight: 500; }
.block-more:hover { text-decoration: underline; }

.news-list li {
  display: grid;
  grid-template-columns: 100px 80px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.news-list time { font-size: 13px; color: var(--text-sub); font-family: "Montserrat", sans-serif; }
.news-cat {
  font-size: 11px;
  padding: 3px 0;
  text-align: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 3px;
  font-weight: 700;
}
.news-cat.important { background: #ffe5e5; color: #d9001b; }
.news-list a { font-size: 14px; }
.news-list a:hover { color: var(--primary); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.support-item {
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  text-align: center;
  transition: all .2s;
}
.support-item i { font-size: 28px; color: var(--primary); margin-bottom: 10px; display: block; }
.support-item span { font-size: 13px; font-weight: 500; }
.support-item:hover { background: var(--primary); color: #fff; }
.support-item:hover i { color: #fff; }

.support-contact {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}
.support-lead { font-size: 13px; margin: 0 0 8px; opacity: .9; }
.support-tel {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 4px;
}
.support-hours { font-size: 12px; margin: 0; opacity: .8; }

/* =========================================================
   CTA
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.08) 0%, transparent 55%);
}
.cta-inner { position: relative; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 12px; font-weight: 800; }
.cta-inner p { margin: 0 0 32px; opacity: .9; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--bg-dark); color: #c8d2e0; padding-top: 80px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-desc { font-size: 13px; line-height: 1.8; margin: 20px 0; color: #8b97ac; }
.footer-desc { font-style: normal; }
.footer-sns { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-sns li { margin: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: #1a73e8; color: #fff; padding: 12px 20px; text-decoration: none; font-weight: 700; }
.skip-link:focus { left: 0; top: 0; outline: 2px solid #fff; }
.footer-sns a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  color: #fff;
}
.footer-sns a:hover { background: var(--primary); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer-col .footer-col-title { font-size: 14px; color: #fff; margin: 0 0 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 13px; padding: 6px 0; color: #8b97ac; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 12px;
  color: #6b7689;
  text-align: center;
}
.footer-bottom .disclaimer { margin-left: 12px; opacity: .7; }

/* =========================================================
   Pagetop
   ========================================================= */
.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(26, 86, 184, .3);
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 99;
}
.pagetop.show { opacity: 1; visibility: visible; }
.pagetop:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* =========================================================
   Scroll animations
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .header-inner { gap: 20px; }
  .gnav > ul > li > a { padding: 28px 10px; font-size: 13px; }
  .header-cta .btn { padding: 8px 14px; font-size: 12px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-image { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .sp-only { display: inline; }
  .topbar { display: none; }
  .gnav, .header-cta { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .gnav.open {
    display: block;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    padding: 20px;
  }
  .gnav.open > ul { flex-direction: column; gap: 0; }
  .gnav.open > ul > li > a { padding: 16px 0; border-bottom: 1px solid var(--border); }
  .gnav.open .megamenu { display: none; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-ctas { justify-content: center; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stats strong { font-size: 26px; }

  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-item, .feature-item.reverse { grid-template-columns: 1fr; direction: ltr; gap: 24px; }
  .feature-num { font-size: 48px; }

  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-card.recommended { transform: none; }

  .case-grid { grid-template-columns: 1fr; }
  .news-support-grid { grid-template-columns: 1fr; gap: 40px; }
  .news-list li { grid-template-columns: 80px 70px 1fr; gap: 10px; font-size: 13px; }

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

  .pagetop { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .hero-inner { min-height: 0; padding-bottom: 40px; gap: 28px; }
  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 15px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero-stats { gap: 14px 20px; }
  .hero-stats li { flex: 1 1 30%; }
  .hero-stats strong { font-size: 24px; }
  .btn-lg { padding: 14px 22px; font-size: 14px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .feature-grid { gap: 40px; }
  .feature-body h3 { font-size: 22px; }
  .price-card { padding: 32px 24px; }
  .price strong { font-size: 38px; }
  .price.contact strong { font-size: 20px; }
  .news-list li { grid-template-columns: 76px 64px 1fr; gap: 8px; }
  .news-list time { font-size: 12px; }
  .news-list a { font-size: 13px; }
  .block-title { font-size: 20px; }
  .support-contact { padding: 20px; }
  .support-tel { font-size: 24px; }
  .footer { padding-top: 56px; }
  .footer-inner { padding-bottom: 40px; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cta-section { padding: 64px 0; }
  .cta-buttons .btn { flex: 1 1 auto; justify-content: center; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
  .hero-image img { transform: none; }
  .price-card.recommended { transform: none; }
  .fade-up { opacity: 1; transform: none; }
  .btn-primary:hover,
  .pagetop:hover,
  .service-card:hover,
  .case-card:hover,
  .price-card:hover { transform: none; }
  .case-card:hover .case-thumb img { transform: none; }
  .service-card:hover .service-more i { transform: none; }
}

/* =========================================================
   Print
   ========================================================= */
@media print {
  .topbar, .header, .hamburger, .pagetop, .hero-marquee, .cta-section, .footer-sns { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; line-height: 1.6; }
  a { color: #000; text-decoration: underline; }
  .hero {
    background: #fff !important;
    color: #000 !important;
    padding: 24px 0;
  }
  .hero-bg, .cta-section::before { display: none; }
  .hero-title, .hero-desc, .hero-sub, .hero-stats { color: #000 !important; }
  .hero-sub { border-color: #999; background: #f3f3f3; }
  .hero-image { display: none; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
  .section { padding: 24px 0; page-break-inside: avoid; }
  .service-card, .price-card, .case-card, .support-item, .support-contact {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
    color: #000 !important;
    page-break-inside: avoid;
  }
  .price-card.recommended { transform: none; background: #fff !important; }
  .support-contact { color: #000 !important; }
  .footer { background: #fff; color: #000; padding-top: 24px; border-top: 1px solid #ccc; }
  .footer-col a, .footer-desc { color: #000; }
  .block-title { border-color: #000; }
  .ribbon { background: #000; }
}

/* =========================================================
   Additions: BeeQuest emphasis, Company page, Contact page
   ========================================================= */

/* BeeQuest header CTA button */
.btn-beequest {
  background: linear-gradient(135deg, #1a56b8 0%, #0f3d85 100%);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 2px 10px rgba(26, 86, 184, .25);
  position: relative;
}
.btn-beequest:hover {
  background: linear-gradient(135deg, #0f3d85 0%, #0b2e66 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26, 86, 184, .35);
}
.btn-beequest i { color: #ffb84d; }

/* Hero BeeQuest badge */
.hero-beequest-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #eef3fb;
  border: 1px solid #c8d7ec;
  color: #0f3d85;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  margin: 16px 0 8px;
  font-weight: 500;
}
.hero-beequest-badge strong { font-weight: 800; color: #1a56b8; }
.bq-badge-icon {
  width: 22px; height: 22px;
  background: #1a56b8; color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
}

/* Flagship service card */
.service-card-flagship {
  border: 2px solid #1a56b8;
  box-shadow: 0 4px 20px rgba(26, 86, 184, .1);
  position: relative;
}
.flagship-badge {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-left: 10px;
  vertical-align: middle;
  letter-spacing: .04em;
}

/* BeeQuest detail section */
.beequest-section {
  background: linear-gradient(180deg, #f6f8fb 0%, #eef3fb 100%);
}
.beequest-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.beequest-text .eyebrow {
  color: #1a56b8;
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.beequest-text .eyebrow i { margin-right: 6px; }
.beequest-lead {
  color: #5a6478;
  font-size: 15px;
  line-height: 1.9;
  margin: 20px 0 28px;
}
.beequest-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin: 0 0 32px;
}
.beequest-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.beequest-features li i {
  color: #1a56b8;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}
.beequest-features strong {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #1a2332;
  margin-bottom: 2px;
}
.beequest-features span {
  display: block;
  font-size: 12.5px;
  color: #5a6478;
  line-height: 1.6;
}
.beequest-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.beequest-visual svg { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 30px rgba(15, 61, 133, .08); }

/* BeeQuest banner (before footer) */
.beequest-banner {
  background: linear-gradient(135deg, #0f3d85 0%, #1a56b8 60%, #2968c8 100%);
  color: #fff;
  padding: 48px 0;
}
.beequest-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.bq-banner-left { flex: 1; min-width: 280px; }
.bq-banner-badge {
  display: inline-block;
  background: rgba(255, 184, 77, .2);
  color: #ffb84d;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 184, 77, .4);
  margin-bottom: 12px;
}
.beequest-banner h2 {
  font-size: 28px;
  margin: 0 0 10px;
  line-height: 1.4;
}
.beequest-banner h2 .accent { color: #ffb84d; }
.beequest-banner p { margin: 0; color: #c8d7ec; font-size: 14px; }
.bq-banner-right { display: flex; gap: 12px; flex-wrap: wrap; }
.beequest-banner .btn-primary { background: #ffb84d; color: #0f3d85; }
.beequest-banner .btn-primary:hover { background: #ffcc6f; }
.beequest-banner .btn-outline { border-color: #fff; color: #fff; background: transparent; }
.beequest-banner .btn-outline:hover { background: #fff; color: #1a56b8; }

/* =========================================================
   Page hero / breadcrumb (common for company.html, contact.html)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, #0e1a2e 0%, #12355b 50%, #1a56b8 100%);
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 184, 77, .08) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(26, 86, 184, .3) 0, transparent 40%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 12px;
  color: #c8d7ec;
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: #c8d7ec; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 9px; opacity: .6; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 500; }
.page-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}
.page-subtitle { color: #c8d7ec; margin: 0; font-size: 14px; }

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: flex-start;
}
.contact-info {
  background: #f6f8fb;
  border: 1px solid #e4e8ef;
  border-radius: 10px;
  padding: 28px;
}
.contact-info h2 {
  font-size: 18px;
  margin: 0 0 16px;
  color: #1a2332;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a56b8;
}
.contact-info dl {
  margin: 0;
  display: grid;
  gap: 18px;
}
.contact-info dt {
  font-size: 12px;
  color: #5a6478;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-info dt i { color: #1a56b8; }
.contact-info dd {
  margin: 0;
  font-size: 14px;
  color: #1a2332;
  line-height: 1.7;
}
.contact-info dd a { color: #1a56b8; font-weight: 700; }
.contact-info dd a:hover { text-decoration: underline; }
.contact-notice {
  margin-top: 20px;
  padding: 14px;
  background: #fff;
  border-left: 3px solid #ffb84d;
  font-size: 12.5px;
  color: #5a6478;
  line-height: 1.7;
  border-radius: 4px;
}

/* Contact form */
.contact-form {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 30, 80, .04);
}
.form-row {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 6px;
}
.required {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 700;
}
.optional {
  display: inline-block;
  color: #5a6478;
  font-size: 10px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 500;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8dde6;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: #1a2332;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1a56b8;
  box-shadow: 0 0 0 3px rgba(26, 86, 184, .12);
}
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: 3px solid #ffb84d;
  outline-offset: 2px;
}
.form-textarea { min-height: 160px; resize: vertical; line-height: 1.7; }
.form-input.error,
.form-select.error,
.form-textarea.error { border-color: #e74c3c; background: #fff5f5; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0;
  padding: 14px;
  background: #f6f8fb;
  border-radius: 6px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: #1a56b8;
  flex-shrink: 0;
}
.form-check label {
  font-size: 13px;
  color: #1a2332;
  line-height: 1.7;
}
.form-check a { color: #1a56b8; text-decoration: underline; }
.form-submit {
  text-align: center;
  margin-top: 12px;
}
.form-submit .btn { min-width: 240px; }
.form-error-msg {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}
.form-error-msg.show { display: block; }

/* =========================================================
   Company page
   ========================================================= */
.company-section { padding: 64px 0; }
.company-section + .company-section { border-top: 1px solid #e4e8ef; }
.company-section-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 4px solid #1a56b8;
  line-height: 1.4;
}

/* Company table */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.company-table th,
.company-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid #e4e8ef;
  vertical-align: top;
  line-height: 1.7;
}
.company-table th {
  width: 220px;
  background: #f6f8fb;
  font-weight: 700;
  color: #1a2332;
}
.company-table ul { padding-left: 20px; list-style: disc; }
.company-table ul li { margin-bottom: 4px; }

/* Message box */
.message-box {
  background: #f6f8fb;
  border-radius: 10px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 32px;
  align-items: center;
}
.message-avatar {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #1a56b8, #0f3d85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 56px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(15, 61, 133, .2);
}
.message-body p { margin: 0 0 14px; line-height: 2; color: #1a2332; }
.message-body .message-sign {
  display: block;
  margin-top: 20px;
  font-weight: 700;
  color: #1a2332;
  font-size: 15px;
}

/* MVV */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 10px;
  padding: 32px 24px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.mvv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 30, 80, .08);
}
.mvv-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #1a56b8;
  background: #eef3fb;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.mvv-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.6;
  color: #1a2332;
}
.mvv-card p {
  font-size: 13.5px;
  color: #5a6478;
  line-height: 1.9;
  margin: 0;
}
.mvv-card ul {
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}
.mvv-card ul li {
  padding-left: 18px;
  position: relative;
  color: #1a2332;
}
.mvv-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: #ff6b35;
  border-radius: 50%;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  margin: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, #1a56b8, #c8d7ec);
}
.timeline-item {
  position: relative;
  padding: 0 0 28px 20px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 8px;
  width: 14px; height: 14px;
  background: #fff;
  border: 3px solid #1a56b8;
  border-radius: 50%;
}
.timeline-year {
  display: inline-block;
  font-weight: 800;
  color: #1a56b8;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  margin-right: 12px;
  min-width: 64px;
}
.timeline-item p {
  margin: 4px 0 0;
  color: #1a2332;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .beequest-inner { grid-template-columns: 1fr; gap: 32px; }
  .beequest-features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .message-box { grid-template-columns: 1fr; padding: 28px; }
  .mvv-grid { grid-template-columns: 1fr; }
  .beequest-banner-inner { flex-direction: column; align-items: flex-start; }
  .beequest-banner h2 { font-size: 22px; }
  .company-table th { width: 130px; padding: 14px; font-size: 13px; }
  .company-table td { padding: 14px; font-size: 13px; }
  .page-title { font-size: 24px; }
  .page-hero { padding: 40px 0 32px; }
  .company-section-title { font-size: 18px; }
}
@media (max-width: 600px) {
  .contact-form { padding: 20px; }
  .timeline { padding-left: 28px; }
  .timeline-item::before { left: -26px; width: 12px; height: 12px; }
  .timeline::before { left: 6px; }
}

/* =========================================================
   Service Detail Pages (service-*.html)
   ========================================================= */

/* Service hero */
.service-hero {
  background: linear-gradient(135deg, #0e1a2e 0%, #12355b 55%, #1a56b8 100%);
  color: #fff;
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 184, 77, .1) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(26, 86, 184, .35) 0, transparent 45%),
    linear-gradient(135deg, transparent 40%, rgba(255,255,255,.03) 50%, transparent 60%);
  pointer-events: none;
}
.service-hero::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 360px; height: 360px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.service-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 77, .15);
  color: #ffd38a;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 184, 77, .3);
}
.service-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.service-hero h1 .accent {
  color: #ffb84d;
  display: inline-block;
}
.service-hero-lead {
  font-size: 16px;
  color: #d3dff0;
  line-height: 1.9;
  margin: 0 0 28px;
}
.service-hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.service-hero-ctas .btn-primary { background: #ffb84d; color: #0f3d85; }
.service-hero-ctas .btn-primary:hover { background: #ffcc6f; }
.service-hero-ctas .btn-outline { border-color: #fff; color: #fff; background: transparent; }
.service-hero-ctas .btn-outline:hover { background: #fff; color: var(--primary-dark); }
.service-hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #aabfd9;
}
.service-hero-meta span i { color: #ffb84d; margin-right: 6px; }
.service-hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  aspect-ratio: 4/3;
}
.service-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.service-hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14, 26, 46, .3), rgba(26, 86, 184, .15));
}

/* Service breadcrumb (reuse .page-hero but separate bar) */
.service-breadcrumb {
  background: #f6f8fb;
  border-bottom: 1px solid #e4e8ef;
  padding: 14px 0;
}
.service-breadcrumb .breadcrumb { margin-bottom: 0; color: #5a6478; }
.service-breadcrumb .breadcrumb a { color: #5a6478; }
.service-breadcrumb .breadcrumb a:hover { color: var(--primary); }
.service-breadcrumb .breadcrumb [aria-current="page"] { color: #1a2332; }

/* Shared section heading */
.svc-section { padding: 88px 0; }
.svc-section.alt { background: #f6f8fb; }
.svc-section.dark {
  background: linear-gradient(135deg, #0e1a2e 0%, #12355b 100%);
  color: #fff;
}
.svc-section.dark .svc-eyebrow { color: #ffb84d; }
.svc-section.dark .svc-heading { color: #fff; }
.svc-section.dark .svc-sub { color: #c8d7ec; }

.svc-head { text-align: center; margin-bottom: 48px; }
.svc-eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.svc-heading {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #1a2332;
  line-height: 1.35;
}
.svc-heading .accent { color: var(--primary); }
.svc-sub {
  color: #5a6478;
  font-size: 15px;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.9;
}

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.problem-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.problem-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff4e6;
  color: #e5531f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: #1a2332;
  font-weight: 700;
}
.problem-card p {
  font-size: 13px;
  color: #5a6478;
  margin: 0;
  line-height: 1.8;
}
.problem-card::before {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffb84d'><path d='M11 15h2v2h-2zm0-8h2v6h-2z'/></svg>") no-repeat center/contain;
  opacity: .5;
}

/* Features grid */
.sf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.sf-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 14px;
  padding: 32px 26px;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 30, 80, .1);
  border-color: #c5d4e8;
}
.sf-card-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #ffb84d;
  letter-spacing: .12em;
  margin-bottom: 12px;
  display: block;
}
.sf-card-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a56b8, #0f3d85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.sf-card h3 {
  font-size: 17px;
  margin: 0 0 12px;
  color: #1a2332;
  font-weight: 700;
  line-height: 1.5;
}
.sf-card p {
  font-size: 14px;
  color: #5a6478;
  margin: 0 0 14px;
  line-height: 1.85;
}
.sf-card ul {
  font-size: 13px;
  color: #1a2332;
}
.sf-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.sf-card ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #1a56b8;
  position: absolute;
  left: 0; top: 2px;
  font-size: 11px;
}

/* Offerings */
.offering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.offering-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e4e8ef;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offering-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: #1a2332;
  display: flex;
  align-items: center;
  gap: 10px;
}
.offering-card h3 i {
  color: #fff;
  background: var(--primary);
  width: 34px; height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.offering-card p { margin: 0; font-size: 13px; color: #5a6478; line-height: 1.85; }
.offering-card ul { font-size: 13px; color: #1a2332; margin-top: 6px; }
.offering-card ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 5px;
  line-height: 1.7;
}
.offering-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: #ffb84d;
  border-radius: 50%;
}

.offering-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.offering-table th,
.offering-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #e4e8ef;
  vertical-align: top;
}
.offering-table thead th {
  background: #0e1a2e;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.offering-table tbody th {
  width: 200px;
  background: #f6f8fb;
  color: #1a2332;
  font-weight: 700;
}
.offering-table tbody tr:last-child th,
.offering-table tbody tr:last-child td { border-bottom: none; }

/* Flow */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  position: relative;
}
.flow-step {
  background: #fff;
  border-radius: 14px;
  padding: 26px 22px;
  position: relative;
  border: 1px solid #e4e8ef;
  box-shadow: var(--shadow);
}
.flow-step-num {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #1a56b8, #ffb84d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.flow-step h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: #1a2332;
  font-weight: 700;
}
.flow-step p {
  font-size: 13px;
  color: #5a6478;
  margin: 0;
  line-height: 1.8;
}
.flow-step-icon {
  position: absolute;
  top: 22px; right: 22px;
  color: #c5d4e8;
  font-size: 22px;
}

/* Pricing */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 14px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 30, 80, .1); }
.plan-card.is-recommended {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 12px 30px rgba(26, 86, 184, .15);
}
.plan-ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: #ffb84d;
  color: #0f3d85;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: .08em;
}
.plan-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  margin: 0 0 8px;
}
.plan-desc { font-size: 13px; color: #5a6478; margin: 0 0 18px; line-height: 1.8; }
.plan-price {
  font-size: 28px;
  font-weight: 800;
  color: #1a2332;
  margin: 0 0 4px;
  font-family: "Montserrat", sans-serif;
}
.plan-price small { font-size: 13px; color: #5a6478; font-weight: 500; }
.plan-note { font-size: 12px; color: #5a6478; margin: 0 0 20px; }
.plan-features {
  font-size: 13px;
  color: #1a2332;
  margin-bottom: 24px;
  flex-grow: 1;
}
.plan-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  line-height: 1.7;
}
.plan-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #1a56b8;
  position: absolute;
  left: 0; top: 3px;
  font-size: 11px;
}
.plan-card .btn { width: 100%; }

/* Cases */
.case-grid-svc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.case-card-svc {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e4e8ef;
  transition: transform .2s, box-shadow .2s;
}
.case-card-svc:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 30, 80, .12); }
.case-card-svc .case-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e4e8ef;
}
.case-card-svc .case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-card-svc-body { padding: 22px; }
.case-card-svc .case-tag {
  display: inline-block;
  font-size: 11px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 10px;
}
.case-card-svc h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #1a2332;
  line-height: 1.5;
}
.case-card-svc p {
  font-size: 13px;
  color: #5a6478;
  margin: 0 0 14px;
  line-height: 1.85;
}
.case-card-svc .case-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid #e4e8ef;
  padding-top: 14px;
}
.case-card-svc .case-metric {
  flex: 1;
  min-width: 80px;
}
.case-card-svc .case-metric span {
  display: block;
  font-size: 11px;
  color: #5a6478;
  margin-bottom: 2px;
}
.case-card-svc .case-metric strong {
  font-size: 18px;
  color: var(--primary);
  font-family: "Montserrat", sans-serif;
}

/* FAQ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: 0 8px 20px rgba(0, 30, 80, .08); }
.faq-item summary {
  list-style: none;
  padding: 20px 56px 20px 56px;
  font-weight: 700;
  font-size: 15px;
  color: #1a2332;
  cursor: pointer;
  position: relative;
  line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 20px; top: 18px;
  width: 26px; height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
}
.faq-item summary::after {
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 22px; top: 22px;
  color: var(--primary);
  font-size: 13px;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "\f068"; }
.faq-item .faq-a {
  padding: 0 20px 22px 56px;
  font-size: 14px;
  color: #5a6478;
  line-height: 1.9;
  position: relative;
}
.faq-item .faq-a::before {
  content: "A";
  position: absolute;
  left: 20px; top: 0;
  width: 26px; height: 26px;
  background: #ffb84d;
  color: #0f3d85;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

/* Related services */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.related-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  padding: 26px 22px;
  display: block;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 30, 80, .1);
  border-color: var(--primary);
}
.related-card-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.related-card h3 {
  font-size: 15px;
  margin: 0 0 8px;
  color: #1a2332;
}
.related-card p {
  font-size: 12px;
  color: #5a6478;
  margin: 0 0 14px;
  line-height: 1.7;
}
.related-card .related-more {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}
.related-card:hover .related-more { color: var(--primary-dark); }

/* Final CTA */
.service-cta {
  background: linear-gradient(135deg, #0e1a2e 0%, #12355b 50%, #1a56b8 100%);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.service-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 184, 77, .1) 0, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(26, 86, 184, .3) 0, transparent 40%);
  pointer-events: none;
}
.service-cta-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.service-cta h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.4;
}
.service-cta h2 .accent { color: #ffb84d; }
.service-cta p {
  color: #d3dff0;
  font-size: 15px;
  margin: 0 auto 28px;
  max-width: 680px;
  line-height: 1.9;
}
.service-cta-ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.service-cta-ctas .btn-primary { background: #ffb84d; color: #0f3d85; }
.service-cta-ctas .btn-primary:hover { background: #ffcc6f; }
.service-cta-ctas .btn-outline { border-color: #fff; color: #fff; background: transparent; }
.service-cta-ctas .btn-outline:hover { background: #fff; color: var(--primary-dark); }

/* Stats strip (used inside hero or below hero) */
.svc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.svc-stat {
  padding: 26px 22px;
  text-align: center;
  border-right: 1px solid #e4e8ef;
}
.svc-stat:last-child { border-right: none; }
.svc-stat strong {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}
.svc-stat strong small { font-size: 14px; color: #5a6478; font-weight: 600; }
.svc-stat span {
  font-size: 12px;
  color: #5a6478;
  margin-top: 4px;
  display: block;
}

/* Tech stack chips */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.tech-chip {
  background: #fff;
  border: 1px solid #e4e8ef;
  color: #1a2332;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tech-chip i { color: var(--primary); }

.svc-section.dark .tech-chip {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.svc-section.dark .tech-chip i { color: #ffb84d; }

/* Two-col feature row (image + text) */
.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.svc-split:last-child { margin-bottom: 0; }
.svc-split.reverse > :first-child { order: 2; }
.svc-split-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 30, 80, .12);
  aspect-ratio: 4/3;
}
.svc-split-image img { width: 100%; height: 100%; object-fit: cover; }
.svc-split-text h3 {
  font-size: 22px;
  margin: 0 0 14px;
  color: #1a2332;
  font-weight: 800;
  line-height: 1.4;
}
.svc-split-text .svc-eyebrow { text-align: left; }
.svc-split-text p {
  font-size: 14px;
  color: #5a6478;
  margin: 0 0 14px;
  line-height: 1.95;
}
.svc-split-text ul {
  font-size: 13.5px;
  color: #1a2332;
}
.svc-split-text ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  line-height: 1.8;
}
.svc-split-text ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  left: 0; top: 3px;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .service-hero { padding: 56px 0 64px; }
  .service-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .service-hero h1 { font-size: 30px; }
  .svc-section { padding: 64px 0; }
  .svc-heading { font-size: 24px; }
  .svc-split { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .svc-split.reverse > :first-child { order: 0; }
  .offering-table tbody th { width: 140px; font-size: 12px; padding: 12px 14px; }
  .offering-table td { padding: 12px 14px; font-size: 13px; }
  .service-cta h2 { font-size: 22px; }
  .svc-stats { margin-top: -24px; grid-template-columns: repeat(2, 1fr); }
  .svc-stat { border-bottom: 1px solid #e4e8ef; }
  .svc-stat:nth-child(2n) { border-right: none; }
  .svc-stat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .service-hero h1 { font-size: 24px; }
  .service-hero-lead { font-size: 14px; }
  .service-hero-ctas { gap: 10px; }
  .service-hero-ctas .btn { flex: 1 1 auto; justify-content: center; padding: 14px 18px; font-size: 14px; }
  .service-hero-meta { gap: 14px 20px; font-size: 11px; }
  .svc-stats { grid-template-columns: 1fr; margin-top: -20px; }
  .svc-stat { border-right: none; border-bottom: 1px solid #e4e8ef; padding: 20px 16px; }
  .svc-stat:last-child { border-bottom: none; }
  .svc-stat strong { font-size: 24px; }
  .faq-item summary { padding: 16px 48px 16px 50px; font-size: 14px; }
  .faq-item summary::before { left: 14px; top: 15px; }
  .faq-item summary::after { right: 16px; top: 19px; }
  .faq-item .faq-a { padding: 0 16px 18px 50px; font-size: 13px; }
  .faq-item .faq-a::before { left: 14px; }
  .plan-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-section { padding: 48px 0; }
  .svc-head { margin-bottom: 32px; }
  .offering-table { font-size: 13px; }
  .offering-table thead { display: none; }
  .offering-table tbody th,
  .offering-table tbody td { display: block; width: 100%; padding: 10px 14px; border-bottom: none; }
  .offering-table tbody th { background: #0e1a2e; color: #fff; font-size: 12px; }
  .offering-table tbody tr { border-bottom: 1px solid #e4e8ef; }
  .offering-table tbody tr:last-child { border-bottom: none; }
  .service-cta h2 { font-size: 20px; }
  .service-cta-ctas { flex-direction: column; width: 100%; }
  .service-cta-ctas .btn { width: 100%; justify-content: center; }
  .flow-steps { grid-template-columns: 1fr; }
  .case-grid-svc { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Mobile polish (designer pass)
   - tighten paddings / margins, shrink oversized images,
     improve tap targets and readability
   ========================================================= */
@media (max-width: 768px) {
  /* Section rhythm */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: 24px; line-height: 1.4; }
  .section-lead { font-size: 14px; line-height: 1.75; }

  /* Hero */
  .hero-inner { gap: 28px; }
  .hero-title { font-size: 30px; line-height: 1.3; }
  .hero-desc { font-size: 15px; line-height: 1.8; }
  .hero-image { max-width: 360px; margin: 0 auto; }
  .hero-image img { max-height: 260px; object-fit: cover; }
  .hero-stats { gap: 12px 18px; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats small { font-size: 11px; }

  /* Feature blocks */
  .feature-grid { gap: 40px; }
  .feature-item, .feature-item.reverse { gap: 20px; }
  .feature-item img { max-width: 100%; max-height: 240px; width: 100%; margin: 0 auto; aspect-ratio: 16/10; }
  .feature-num { font-size: 44px; }
  .feature-body h3 { font-size: 20px; line-height: 1.4; }
  .feature-body p { font-size: 14px; line-height: 1.8; }

  /* Service cards */
  .service-card { padding: 22px 18px; }
  .service-card h3 { font-size: 18px; }
  .service-card p { font-size: 13px; line-height: 1.75; }

  /* Price cards */
  .price-card { padding: 28px 20px; }
  .price strong { font-size: 34px; }

  /* Case cards */
  .case-thumb { aspect-ratio: 16/10; }
  .case-card h3 { font-size: 16px; }

  /* News / support */
  .news-list li { padding: 14px 0; grid-template-columns: 78px 64px 1fr; gap: 10px; font-size: 13px; }
  .support-contact { padding: 20px 18px; }
  .support-tel { font-size: 22px; }

  /* Page hero (company / contact / faq) */
  .page-hero { padding: 40px 0 28px; }
  .page-title { font-size: 24px; line-height: 1.4; }
  .page-lead { font-size: 14px; line-height: 1.8; }

  /* Company */
  .company-table th, .company-table td { padding: 12px; font-size: 13px; line-height: 1.7; }
  .company-table th { width: 112px; }
  .message-box { padding: 22px 18px; gap: 18px; }
  .mvv-card { padding: 22px 18px; }
  .mvv-card h3 { font-size: 18px; }
  .mvv-card p { font-size: 13px; line-height: 1.8; }
  .timeline { padding-left: 24px; }
  .timeline-item { padding-bottom: 20px; }
  .timeline-year { font-size: 13px; min-width: 56px; }
  .timeline-item p { font-size: 13px; line-height: 1.75; }

  /* Contact form */
  .contact-form { padding: 22px 18px; }
  .contact-form label { font-size: 13px; }
  .contact-form input, .contact-form textarea, .contact-form select { font-size: 15px; padding: 12px 14px; min-height: 44px; }

  /* FAQ */
  .faq-item summary { padding: 16px 44px 16px 48px; font-size: 14px; line-height: 1.6; min-height: 44px; }
  .faq-item .faq-a { padding: 0 16px 16px 48px; font-size: 13px; line-height: 1.85; }

  /* Buttons - maintain 44px tap area */
  .btn { min-height: 44px; }
  .btn-lg { padding: 14px 22px; font-size: 14px; min-height: 48px; }

  /* Footer */
  .footer-inner { gap: 28px; padding-bottom: 32px; }
  .footer-cols { gap: 20px 16px; }
  .footer-col h4 { font-size: 13px; margin-bottom: 12px; }
  .footer-col li { margin-bottom: 8px; font-size: 13px; }

  /* Service detail pages */
  .service-hero { padding: 52px 0 56px; }
  .service-hero h1 { font-size: 26px; line-height: 1.35; }
  .service-hero-lead { font-size: 14px; line-height: 1.8; }
  .service-hero-visual { max-width: 360px; margin: 0 auto; aspect-ratio: 4/3; }
  .service-hero-meta { gap: 10px 18px; font-size: 11px; }
  .svc-section { padding: 56px 0; }
  .svc-head { margin-bottom: 32px; }
  .svc-heading { font-size: 22px; line-height: 1.4; }
  .svc-sub { font-size: 14px; line-height: 1.8; }
  .svc-split { gap: 20px; margin-bottom: 32px; }
  .svc-split-text h3 { font-size: 18px; line-height: 1.45; }
  .svc-split-text p { font-size: 14px; line-height: 1.85; }
  .svc-split-image { max-width: 100%; aspect-ratio: 16/10; }
  .plan-card { padding: 26px 20px; }
  .plan-name { font-size: 17px; }
  .plan-price { font-size: 24px; }
  .case-card-svc-body { padding: 18px; }
  .case-card-svc h3 { font-size: 16px; line-height: 1.45; }
  .case-card-svc p { font-size: 13px; line-height: 1.8; }
  .related-card { padding: 22px 18px; }
  .related-card h3 { font-size: 16px; }
  .related-card p { font-size: 13px; line-height: 1.75; }
  .svc-stats { margin-top: -20px; }
  .svc-stat { padding: 22px 14px; }
  .svc-stat strong { font-size: 24px; }

  /* Beequest section */
  .beequest-section { padding: 52px 0; }
  .beequest-inner { gap: 24px; }
  .beequest-lead { font-size: 14px; line-height: 1.85; }
  .beequest-features li { padding: 14px; }
  .beequest-features strong { font-size: 14px; }
  .beequest-features span { font-size: 12px; }
  .beequest-visual { max-width: 360px; margin: 0 auto; }
  .beequest-banner { padding: 24px 20px; }
  .beequest-banner h2 { font-size: 20px; line-height: 1.4; }

  /* CTA sections */
  .cta-section { padding: 56px 0; }
  .cta-section h2 { font-size: 22px; line-height: 1.4; }
  .cta-section p { font-size: 14px; }
}

@media (max-width: 480px) {
  /* Tighter rhythm on narrow phones */
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: 22px; }

  .hero { padding-top: 32px; }
  .hero-inner { padding-bottom: 32px; gap: 24px; }
  .hero-title { font-size: 26px; }
  .hero-desc { font-size: 14px; }
  .hero-image { max-width: 300px; }
  .hero-image img { max-height: 220px; }
  .hero-stats strong { font-size: 20px; }

  .feature-grid { gap: 32px; }
  .feature-item img { max-height: 200px; }
  .feature-num { font-size: 38px; }
  .feature-body h3 { font-size: 18px; }

  .service-card { padding: 20px 16px; }
  .price-card { padding: 24px 18px; }
  .price strong { font-size: 30px; }

  .page-hero { padding: 32px 0 24px; }
  .page-title { font-size: 22px; }

  .mvv-card { padding: 20px 16px; }
  .message-box { padding: 20px 16px; }
  .company-table th, .company-table td { padding: 10px; font-size: 12.5px; }
  .company-table th { width: 100px; }

  .contact-form { padding: 20px 16px; }

  .faq-item summary { padding: 14px 40px 14px 44px; font-size: 13.5px; }
  .faq-item summary::before { left: 14px; top: 14px; }
  .faq-item summary::after { right: 14px; top: 18px; }
  .faq-item .faq-a { padding: 0 14px 14px 44px; font-size: 13px; }
  .faq-item .faq-a::before { left: 14px; }

  .footer { padding-top: 48px; }
  .footer-inner { padding-bottom: 28px; gap: 24px; }
  .footer-cols { gap: 18px 14px; }

  .cta-section { padding: 48px 0; }
  .cta-section h2 { font-size: 20px; }

  /* Service detail */
  .service-hero { padding: 40px 0 48px; }
  .service-hero h1 { font-size: 22px; }
  .service-hero-lead { font-size: 13.5px; }
  .service-hero-visual { max-width: 300px; }
  .svc-section { padding: 44px 0; }
  .svc-head { margin-bottom: 24px; }
  .svc-heading { font-size: 20px; }
  .svc-sub { font-size: 13.5px; }
  .svc-split { gap: 16px; margin-bottom: 28px; }
  .svc-split-text h3 { font-size: 17px; }
  .plan-card { padding: 22px 16px; }
  .case-card-svc-body { padding: 16px; }
  .related-card { padding: 20px 16px; }

  .beequest-section { padding: 44px 0; }
  .beequest-visual { max-width: 300px; }
  .beequest-banner { padding: 20px 16px; }
  .beequest-banner h2 { font-size: 18px; }

  .btn { min-height: 44px; }
  .btn-lg { padding: 13px 20px; font-size: 13.5px; }

  /* Ensure long headings don't overflow */
  .hero-title, .section-title, .svc-heading, .page-title, .service-hero h1 { overflow-wrap: anywhere; word-break: normal; }
}
