/* ============================================================
   MANABiYA19 — Apple-inspired Design System
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --white:       #ffffff;
  --apple-gray:  #f5f5f7;
  --text:        #1d1d1f;
  --text-2:      #6e6e73;
  --text-3:      #86868b;
  --dark:        #1d1d1f;
  --red:         #C41E3A;
  --red-dark:    #8B1428;

  /* Legacy aliases for sub-page compatibility */
  --gray-50:     #f5f5f7;
  --gray-200:    #e0e0e5;
  --gray-600:    #6e6e73;
  --gray-700:    #4a4a4f;
  --gray-900:    #1d1d1f;
  --red-primary: #C41E3A;

  --section-pad: 120px;
  --container:   1200px;
  --radius-lg:   20px;
  --radius-md:   12px;

  --font-base: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP", sans-serif;
  --font-num:  "Montserrat", var(--font-base);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-base);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 48px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

/* ── Logo ── */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  flex-shrink: 0;
}

.logo-img {
  height: 28px;
  width: auto;
}

.logo-sub {
  font-size: 0.6rem;
  color: var(--text-2);
  letter-spacing: 0.02em;
  line-height: 1;
}

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

.nav a {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a:hover { color: var(--red); }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--red) !important;
  color: white !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

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

/* ── Mobile Nav ── */
.mobile-nav {
  display: flex;
  position: fixed;
  top: 48px;
  left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  flex-direction: column;
  z-index: 999;
  padding: 16px 0;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

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

.mobile-nav a {
  display: block;
  padding: 14px 40px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: color 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover      { color: var(--red); }

/* On desktop, hide the mobile-nav */
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
  .hamburger  { display: none !important; }
  .nav        { display: flex !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: 48px;
  background: var(--dark);
  min-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 span { color: var(--red); }

.hero-body {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}

/* ============================================================
   PILL BUTTONS
   ============================================================ */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.pill-btn-primary {
  background: var(--red);
  color: white;
}
.pill-btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  color: white;
}

.pill-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.pill-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.pill-btn-dark {
  background: var(--dark);
  color: white;
}
.pill-btn-dark:hover {
  background: #333;
  color: white;
  transform: translateY(-1px);
}

.pill-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
}
.pill-btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--white);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.stat-item {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px;
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-num);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============================================================
   PAIN SECTION
   ============================================================ */
.pain {
  background: var(--dark);
  padding: var(--section-pad) 0;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pain-item {
  border-left: 2px solid var(--red);
  padding-left: 24px;
}

.pain-item-num {
  font-family: var(--font-num);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 12px;
}

.pain-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--apple-gray);
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-header p {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Service Tile */
.service-tile {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: box-shadow 0.3s;
}

.service-tile:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-tile-num {
  font-family: var(--font-num);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-3);
  margin-bottom: 20px;
}

.service-tile-en {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-tile h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.service-tile-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.service-tag {
  font-size: 0.7rem;
  color: var(--red);
  background: rgba(196, 30, 58, 0.08);
  border-radius: 100px;
  padding: 4px 12px;
  font-weight: 600;
}

.service-tile > p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-tile-achievements {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 28px;
  padding: 12px 16px;
  background: var(--apple-gray);
  border-radius: 10px;
  line-height: 1.6;
}

.service-tile-achievements strong {
  color: var(--text-2);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s, color 0.2s;
}

.service-link:hover { gap: 8px; color: var(--red-dark); }

.service-tile-changes {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-tile-changes h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.service-tile-changes ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-tile-changes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

.service-tile-changes li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* Services Bottom CTA */
.services-cta {
  margin-top: 48px;
  padding: 48px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.services-cta p {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.services-cta span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  display: block;
}

/* ============================================================
   PROFILE SECTION
   ============================================================ */
.profile-section {
  background: white;
  padding: var(--section-pad) 0;
}

.profile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.profile-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.profile-title {
  font-size: 0.9rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 32px;
}

.profile-bio {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 32px;
}

.profile-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.profile-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.profile-highlight::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* ============================================================
   ACHIEVEMENTS SECTION
   ============================================================ */
.achievements-section {
  background: var(--apple-gray);
  padding: var(--section-pad) 0;
}

.achievements-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 80px;
}

.ach-num-item {
  padding: 48px 40px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.ach-num-item:last-child { border-right: none; }

.ach-number {
  font-family: var(--font-num);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.ach-label {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

.achievements-companies h3 {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 32px;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  text-align: center;
}

.company-badge {
  background: white;
  border-radius: 12px;
  padding: 14px 12px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  transition: box-shadow 0.2s;
}

.company-badge:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.achievements-more {
  text-align: center;
  margin-top: 40px;
}

.achievements-more a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  transition: color 0.2s;
}

.achievements-more a:hover { color: var(--red-dark); }

/* ============================================================
   PHILOSOPHY SECTION
   ============================================================ */
.philosophy-section {
  background: white;
  padding: var(--section-pad) 0;
}

.philosophy-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.philosophy-block {
  background: var(--apple-gray);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.philosophy-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
}

.philosophy-block p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.85;
}

/* ============================================================
   MESSAGE SECTION
   ============================================================ */
.message-section {
  background: var(--dark);
  padding: var(--section-pad) 0;
}

.message-inner {
  max-width: 760px;
  margin: 0 auto;
}

.message-quote {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: white;
  line-height: 1.5;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.message-body p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  margin-bottom: 20px;
}

.message-more {
  margin-top: 40px;
}

.message-more a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  transition: color 0.2s;
}

.message-more a:hover { color: #e83a57; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--apple-gray);
  padding: var(--section-pad) 0;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-inner > p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-base);
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder { color: rgba(0, 0, 0, 0.3); }

.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 16px 28px;
  border-radius: 100px;
  background: var(--red);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-base);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
  word-break: break-all;
}

.footer-column li a:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255, 255, 255, 0.65); }

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SUB-PAGE COMPAT: Section primitives
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-divider {
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 16px 0 24px;
}

/* ── Legacy button classes ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  background: var(--red);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  color: white;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

/* ── CTA button (old class) ── */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--red);
  color: white !important;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s;
}

.cta-button:hover { background: var(--red-dark); }

/* ============================================================
   RESPONSIVE — max-width: 900px
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }

  /* Nav → hamburger */
  .nav        { display: none; }
  .hamburger  { display: flex; }
  .mobile-nav { display: flex; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }

  .hero-image-wrap { order: -1; }
  .hero-image-wrap img { aspect-ratio: 4/3; max-height: 400px; }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 32px 24px;
  }

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

  /* Pain */
  .pain-grid { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px;
  }

  .services-cta .pill-btn {
    width: 100%;
    text-align: center;
  }

  /* Profile */
  .profile-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Achievements */
  .achievements-numbers { grid-template-columns: 1fr; }

  .ach-num-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

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

  .companies-grid { grid-template-columns: repeat(3, 1fr); }

  /* Philosophy */
  .philosophy-blocks { grid-template-columns: 1fr; }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Container */
  .container    { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
}

/* ============================================================
   RESPONSIVE — max-width: 600px
   ============================================================ */
@media (max-width: 600px) {
  :root { --section-pad: 64px; }

  .hero h1    { font-size: 2rem; }
  .hero-body  { font-size: 0.95rem; }

  .hero-ctas             { flex-direction: column; width: 100%; }
  .hero-ctas .pill-btn   { width: 100%; }

  .service-tile   { padding: 32px 24px; }
  .philosophy-block { padding: 32px 24px; }

  .form-row { grid-template-columns: 1fr; }

  .services-cta { padding: 28px 24px; }

  .stats-grid { padding: 0 16px; }
  .stat-item  { padding: 28px 16px; }
  .stat-number { font-size: 2.4rem; }

  .ach-num-item { padding: 32px 24px; }

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

  .profile-inner { gap: 32px; }

  .footer { padding: 60px 0 0; }

  .mobile-nav a { padding: 14px 24px; }
}
