@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700&family=Shippori+Mincho:wght@700&display=swap');

:root {
  --primary:       #1B6B47;
  --primary-dark:  #134E34;
  --primary-light: #27956A;
  --navy:          #1C3557;
  --navy-dark:     #122240;
  --dark:          #0D1117;
  --gray-light:    #F5F7F6;
  --gray-mid:      #E2EAE6;
  --text-main:     #1A1A1A;
  --text-muted:    #6B7280;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  background: #fff;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif JP', serif;
}

/* ── Header ───────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-mid);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-list a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-list a:hover { color: var(--primary); background: var(--gray-light); }
.nav-list a.active { color: var(--primary); }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
.nav-dropdown::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0; right: 0;
  height: 8px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 160px;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  border-radius: 0;
  padding: 0.65rem 1.25rem;
  display: block;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--gray-light); }

.btn-contact-nav {
  background: var(--primary);
  color: #fff !important;
  border-radius: 4px;
  padding: 0.45rem 1rem !important;
  transition: background 0.2s !important;
}
.btn-contact-nav:hover { background: var(--primary-dark) !important; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-main);
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--gray-mid);
  padding: 1rem 2rem;
  gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-light);
}

@media (max-width: 768px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero + MVV shared wrap ───────────────────── */
.hero-mvv-wrap {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero-mvv-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(27,107,71,0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: -200px -100px; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  animation: gridDrift 10s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0;
  padding: 0 2rem;
  padding-top: 68px;
  padding-left: clamp(3rem, 7vw, 10rem);
  will-change: transform, opacity;
}


.hero-label {
  display: inline-block;
  border: 1px solid rgba(39,149,106,0.6);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 2rem;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.hero-catch em {
  font-style: normal;
  color: var(--primary-light);
  display: block;
  font-size: 1.1em;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 2;
  max-width: 600px;
  margin: 0 0 2.5rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(27,107,71,0.4); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

.btn-outline-dark {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--primary); color: #fff; }

/* ── Page hero (inner pages) ──────────────────── */
.page-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(160deg, #E8F2EC 0%, var(--gray-light) 55%, #fff 100%);
  border-bottom: 1px solid var(--gray-mid);
  text-align: center;
}
.page-hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

/* ── Sections ─────────────────────────────────── */
.section {
  padding: 5rem 2rem;
}
.section-light { background: var(--gray-light); }
.section-navy { background: var(--navy); }
.section-dark { background: var(--dark); }

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

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.section-title-light { color: #fff; }
.section-title-line {
  width: 40px; height: 3px;
  background: var(--primary);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}
.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 640px;
}

/* ── Cards ────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .card-grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }

.card-accent { border-left: 3px solid var(--primary); }
.card-accent-navy { border-left: 3px solid var(--navy); }

.card-icon {
  width: 48px; height: 48px;
  background: var(--gray-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card-icon-green { background: rgba(27,107,71,0.1); }

.card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--dark);
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ── Service Cards (index) ────────────────────── */
.service-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 0;
}
.service-card-main {
  background: transparent;
  border-radius: 0;
  padding: 2.5rem 3rem;
  color: var(--dark);
  text-decoration: none;
  transition: background 0.2s;
  display: block;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--gray-mid);
}
.service-card-main:last-child { border-right: none; }
.service-card-main::after {
  content: '→';
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  font-size: 1.25rem;
  color: var(--primary);
  opacity: 0.4;
  transition: opacity 0.2s, right 0.2s;
}
.service-card-main:hover { background: rgba(27,107,71,0.04); }
.service-card-main:hover::after { opacity: 1; right: 1.25rem; }
.service-card-main .tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.service-card-main h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}
.service-card-main p {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.9;
  margin: 0;
}

.service-others {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-mid);
}
.service-card-sub {
  background: transparent;
  border-radius: 0;
  padding: 2.5rem 3rem;
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.2s;
  border-right: 1px solid var(--gray-mid);
}
.service-card-sub:last-child { border-right: none; }
.service-card-sub:hover { background: rgba(27,107,71,0.04); }
.service-card-sub .tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.service-card-sub h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

@media (max-width: 768px) {
  .service-main { grid-template-columns: 1fr; }
  .service-card-main { border-right: none; border-bottom: 1px solid var(--gray-mid); }
  .service-card-main:last-child { border-bottom: none; }
  .service-others { grid-template-columns: 1fr; }
  .service-card-sub { border-right: none; border-bottom: 1px solid var(--gray-mid); }
  .service-card-sub:last-child { border-bottom: none; }
}

/* ── MVV ──────────────────────────────────────── */
.mvv-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--gray-mid);
  align-items: start;
}
.mvv-item:first-child { padding-top: 0; }
.mvv-item:last-child { border-bottom: none; padding-bottom: 0; }

.mvv-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  padding-top: 0.25rem;
}
.mvv-label-ja {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.mvv-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 1rem;
}
.mvv-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 2;
  margin: 0;
  max-width: 600px;
}

@media (max-width: 640px) {
  .mvv-item { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Value list ───────────────────────────────── */
.value-list {
  margin-top: 2rem;
}

.value-list-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-mid);
}
.value-list-item:first-child { padding-top: 0; }
.value-list-item:last-child { border-bottom: none; padding-bottom: 0; }

.value-list-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.75rem;
}
.value-list-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 2;
  margin: 0;
}

/* ── Company table ────────────────────────────── */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.company-table th,
.company-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-mid);
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 200px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.company-table td { color: var(--text-main); line-height: 1.8; }

@media (max-width: 600px) {
  .company-table th { width: 120px; padding: 1rem; }
  .company-table td { padding: 1rem; }
}

/* ── Legal notice ─────────────────────────────── */
.legal-box {
  background: #FFF8F0;
  border: 1px solid #E8C89A;
  border-left: 4px solid #C87941;
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}
.legal-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #9A5500;
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
}
.legal-box p, .legal-box section { font-size: 0.82rem; color: #6B4200; line-height: 1.9; margin: 0 0 0.75rem; }
.legal-box p:last-child { margin-bottom: 0; }

/* ── CTA section ──────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--navy) 100%);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 0 0 2rem;
}

/* ── Contact form ─────────────────────────────── */
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.contact-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

/* ── Privacy ──────────────────────────────────── */
.prose h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-mid);
}
.prose p, .prose li {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 2;
}
.prose ul { padding-left: 1.5rem; }
.prose li { margin-bottom: 0.4rem; }

/* ── Footer ───────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-catch {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-nav-col h5 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 0.75rem;
}
.footer-nav-col ul { list-style: none; margin: 0; padding: 0; }
.footer-nav-col li { margin-bottom: 0.4rem; }
.footer-nav-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--primary-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── Utilities ────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ── Privacy Bar ──────────────────────────────── */
.privacy-bar {
  background: var(--gray-light);
  border-top: 1px solid var(--gray-mid);
  padding: 1.25rem 2rem;
}
.privacy-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.privacy-bar p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}
.privacy-bar a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}
.privacy-bar a:hover { color: var(--primary-dark); }

/* ── Dark theme (philosophy / service / company / contact / privacy) ── */
body.dark-theme {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
}

/* Logo: invert to white on dark bg */
body.dark-theme .logo-img { filter: brightness(0) invert(1); }

/* Header */
body.dark-theme .site-header {
  background: rgba(18,34,64,0.97);
  border-bottom-color: rgba(255,255,255,0.08);
}
body.dark-theme .site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.4); }
body.dark-theme .nav-list a { color: rgba(255,255,255,0.78); }
body.dark-theme .nav-list a:hover { color: #fff; background: rgba(255,255,255,0.08); }
body.dark-theme .hamburger span { background: rgba(255,255,255,0.78); }
body.dark-theme .mobile-menu {
  background: var(--navy-dark);
  border-top-color: rgba(255,255,255,0.08);
}
body.dark-theme .mobile-menu a { color: rgba(255,255,255,0.78); border-bottom-color: rgba(255,255,255,0.06); }
body.dark-theme .dropdown-menu {
  background: var(--navy);
  border-color: rgba(255,255,255,0.12);
}
body.dark-theme .dropdown-menu a { color: rgba(255,255,255,0.78); }
body.dark-theme .dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* Sections */
body.dark-theme .section { background: var(--navy-dark); }
body.dark-theme .section-light { background: #0d1a30; }

/* Section text */
body.dark-theme .section-label { color: var(--primary-light); }
body.dark-theme .section-title { color: #fff; }
body.dark-theme .section-title-line { background: var(--primary-light); }
body.dark-theme .section-lead { color: rgba(255,255,255,0.6); }

/* Cards */
body.dark-theme .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
body.dark-theme .card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
body.dark-theme .card h3 { color: #fff; }
body.dark-theme .card p { color: rgba(255,255,255,0.6); }
body.dark-theme .card-icon { background: rgba(255,255,255,0.06); }
body.dark-theme .card-icon-green { background: rgba(27,107,71,0.2); }
body.dark-theme .card-accent { border-left-color: var(--primary-light); }
body.dark-theme .card-accent-navy { border-left-color: rgba(255,255,255,0.3); }

/* Value list */
body.dark-theme .value-list-item { border-bottom-color: rgba(255,255,255,0.08); }
body.dark-theme .value-list-item h3 { color: #fff; }
body.dark-theme .value-list-item p { color: rgba(255,255,255,0.6); }

/* MVV */
body.dark-theme .mvv-item { border-bottom-color: rgba(255,255,255,0.08); }
body.dark-theme .mvv-label { color: var(--primary-light); }
body.dark-theme .mvv-label-ja { color: rgba(255,255,255,0.4); }
body.dark-theme .mvv-content h2 { color: #fff; }
body.dark-theme .mvv-content p { color: rgba(255,255,255,0.6); }

/* Company table */
body.dark-theme .company-table th,
body.dark-theme .company-table td { border-bottom-color: rgba(255,255,255,0.08); }
body.dark-theme .company-table th { color: rgba(255,255,255,0.45); }
body.dark-theme .company-table td { color: rgba(255,255,255,0.85); }

/* Legal box */
body.dark-theme .legal-box {
  background: rgba(200,121,65,0.1);
  border-color: rgba(200,121,65,0.3);
  border-left-color: #C87941;
}
body.dark-theme .legal-box h4 { color: #E8A96A; }
body.dark-theme .legal-box p { color: rgba(255,220,180,0.75); }

/* Prose (privacy) */
body.dark-theme .prose h2 { color: #fff; border-bottom-color: rgba(255,255,255,0.08); }
body.dark-theme .prose p,
body.dark-theme .prose li { color: rgba(255,255,255,0.6); }

/* Contact */
body.dark-theme .contact-lead { color: rgba(255,255,255,0.6); }

/* Privacy bar */
body.dark-theme .privacy-bar {
  background: #0d1a30;
  border-top-color: rgba(255,255,255,0.06);
}
body.dark-theme .privacy-bar p { color: rgba(255,255,255,0.45); }
body.dark-theme .privacy-bar a { color: var(--primary-light); }
body.dark-theme .privacy-bar a:hover { color: #fff; }

/* ── CEO greeting layout (company page) ──────── */
.greeting-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
}
.greeting-img {
  overflow: hidden;
  border-radius: 8px 0 0 8px;
}
.greeting-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.greeting-body {
  padding: 2.5rem 3rem;
}
@media (max-width: 640px) {
  .greeting-layout { grid-template-columns: 1fr; }
  .greeting-img { height: 300px; border-radius: 8px 8px 0 0; }
}

/* ── Animations ───────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Business card (index) ───────────────────── */
.business-section {
  padding: 0 2rem 5rem;
}

.business-card {
  background: #fff;
  margin: 0 auto;
  max-width: 1100px;
  padding: 3rem;
  border-radius: 50px;
}

/* ── MVV Brief (index) ────────────────────────── */
.mvv-brief-section {
  padding: 5rem 2rem;
  position: relative;
}

.mvv-brief {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.mvv-brief-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
  flex-shrink: 0;
  margin: 0 3rem;
}

.mvv-brief-item {
  flex: 1;
}

.mvv-brief-values {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.mvv-brief-value-list {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.mvv-brief-value-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.45rem 1.25rem;
  border-radius: 4px;
}

.mvv-brief-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.mvv-brief-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.mvv-brief-heading em {
  font-style: normal;
  color: var(--primary-light);
}

.mvv-brief-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  margin: 0;
}

@media (max-width: 768px) {
  .mvv-brief {
    flex-direction: column;
    gap: 2rem;
  }
  .mvv-brief-divider {
    width: 100%;
    height: 1px;
    margin: 0;
    align-self: auto;
  }
}

/* ── Sales service illustrated list (other-services) ── */
.sales-service-list { margin-top: 2rem; }
.sales-service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-mid);
}
.sales-service-item:last-child { border-bottom: none; }
.sales-service-illust {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sales-service-illust img {
  width: 100%;
  max-width: 260px;
  height: auto;
}
.sales-service-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.6rem;
}
.sales-service-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin: 0;
}
@media (max-width: 640px) {
  .sales-service-item { grid-template-columns: 1fr; }
  .sales-service-illust { order: 2; }
  .sales-service-body { order: 1; }
}

/* dark theme overrides */
body.dark-theme .sales-service-item { border-bottom-color: rgba(255,255,255,0.08); }
body.dark-theme .sales-service-body h3 { color: #fff; }
body.dark-theme .sales-service-body p { color: rgba(255,255,255,0.6); }

.sales-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: rgba(27,107,71,0.07);
  border: 1px solid rgba(27,107,71,0.2);
  border-radius: 8px;
  flex-wrap: wrap;
}
.sales-cta-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.25rem;
}
.sales-cta-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}
body.dark-theme .sales-cta-box {
  background: rgba(39,149,106,0.1);
  border-color: rgba(39,149,106,0.25);
}
body.dark-theme .sales-cta-box h4 { color: #fff; }
body.dark-theme .sales-cta-box p { color: rgba(255,255,255,0.6); }
body.dark-theme .sales-cta-box .btn-outline-dark {
  border-color: var(--primary-light);
  color: var(--primary-light);
}
body.dark-theme .sales-cta-box .btn-outline-dark:hover {
  background: var(--primary-light);
  color: #fff;
}

/* Service page specific animations */
.service-feature {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.service-feature.visible { opacity: 1; transform: translateY(0); }
