/* =================================================================
   Soma Furuie | Patent Translator Site
   Phase 2 — Polished CSS (PC + Mobile)

   Palette: Hybrid (Navy + Cream + Sage)
   Typography: Cormorant Garamond (headings) + Inter Tight (body/UI)
   ================================================================= */

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

/* ===== Design Tokens ===== */
:root {
  /* Color: Hybrid A×B */
  --color-primary:        #1B2A4A;
  --color-primary-soft:   #2A3B5F;
  --color-bg:             #FAF8F3;
  --color-bg-alt:         #F2EFE7;
  --color-body:           #2C3142;
  --color-body-soft:      #5A6075;
  --color-accent:         #5D7561;
  --color-accent-hover:   #4A6150;
  --color-border:         #D9D2C5;
  --color-border-soft:    #E8E3D6;
  --color-white:          #FFFFFF;
  --color-overlay-dark:   rgba(27, 42, 74, 0.92);

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-sans:  'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --max-width:         1200px;
  --max-width-narrow:  780px;
  --nav-height:        72px;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;
}

/* ===== Base ===== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-accent-hover); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--color-primary); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Subtle entrance animation (Hero only) ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Navigation ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}
.nav-logo:hover { color: var(--color-primary); opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.2rem;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-body);
  position: relative;
}
.nav-links a:hover { color: var(--color-accent); }
.nav-links a.active { color: var(--color-primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--color-accent);
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--color-primary-soft); color: var(--color-white) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  margin-top: var(--nav-height);
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 5rem 2rem;
}

.hero-content {
  max-width: 840px;
  animation: fadeUp 0.8s ease-out 0.05s both;
}

.hero h1 {
  font-size: 3.6rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 1.8rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.hero-divider {
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 auto 2rem;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.8rem;
  letter-spacing: 0.01em;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-reply {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 1rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-primary);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border-radius: 2px;
  cursor: pointer;
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
}

/* On dark surfaces (Hero, Mid CTA, Footer area) */
.btn-on-dark {
  background: var(--color-white);
  color: var(--color-primary) !important;
  border-color: var(--color-white);
}
.btn-on-dark:hover {
  background: transparent;
  color: var(--color-white) !important;
  border-color: var(--color-white);
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--color-border);
}
.stat-item:last-child { border-right: none; }

.stat-item h3 {
  font-family: var(--font-sans);
  font-size: 2.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  letter-spacing: -0.025em;
  line-height: 1;
}

.stat-item p {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-body-soft);
  margin: 0;
}

.stats-note {
  text-align: center;
  margin-top: 2.8rem;
  font-size: 0.93rem;
  font-style: italic;
  color: var(--color-body-soft);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* ===== Thesis Banner (Workflow shift one-liner) ===== */
.thesis-banner {
  padding: 5.5rem 2rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.thesis-inner {
  max-width: 760px;
}

.thesis-label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.6rem;
  padding-bottom: 0.6rem;
  display: inline-block;
  border-bottom: 1px solid var(--color-accent);
}

.thesis-statement {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.012em;
  margin: 0;
}

/* ===== Section Base ===== */
.section { padding: 6.5rem 0; }
.section-alt { background: var(--color-bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0;
  display: inline-block;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-accent);
}

.section-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.section-link:hover { color: var(--color-accent-hover); border-bottom-color: var(--color-accent-hover); }

.section-link-wrap { text-align: center; margin-top: 3rem; }

/* ===== Why Choose Me (4 cards) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2.6rem 2.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(27, 42, 74, 0.08);
  border-color: var(--color-accent);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1.25;
}

.card p {
  color: var(--color-body);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}

.card-featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  position: relative;
}
.card-featured h3,
.card-featured strong { color: var(--color-white); }
.card-featured p { color: rgba(255, 255, 255, 0.88); }
.card-featured:hover {
  border-color: var(--color-accent);
  box-shadow: 0 16px 44px rgba(27, 42, 74, 0.28);
}

/* ===== How It Works (4 steps) ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  text-align: center;
  position: relative;
}

/* Decorative connecting line behind step numbers (desktop) */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 auto 1.4rem;
}

.section-alt .step-number { background: var(--color-bg); }

.step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.step p {
  color: var(--color-body-soft);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

/* ===== Mid CTA ===== */
.mid-cta {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 5rem 2rem;
}
.mid-cta h2 {
  color: var(--color-white);
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

/* ===== Specialization Areas ===== */
.spec-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.spec-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 2rem 1.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.spec-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(27, 42, 74, 0.06);
}

.spec-block h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--color-border-soft);
}

.spec-block p,
.spec-block li {
  font-size: 1rem;
  color: var(--color-body);
  line-height: 1.65;
}

.spec-block-primary {
  border-left: 3px solid var(--color-accent);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spec-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list li:first-child { padding-top: 0; }

/* ===== About Preview ===== */
.about-preview {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-text .section-label { margin-bottom: 1.8rem; }
.about-text p {
  color: var(--color-body);
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.about-text .section-link { margin-top: 1.2rem; }

.about-image {
  width: 100%;
  aspect-ratio: 7 / 5;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== Final CTA ===== */
.final-cta {
  text-align: center;
  padding: 7rem 2rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.final-cta h2 {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 2.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

.cta-reply {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-body-soft);
}

/* ===== Footer ===== */
footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.8rem 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-family: var(--font-sans);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--color-white); }
.footer-links svg { vertical-align: middle; }

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  font-family: var(--font-sans);
}

/* ===== Page Content (About / Services / How I Work / Contact / FAQ) ===== */
.page-content {
  margin-top: var(--nav-height);
  padding: 5.5rem 0 7rem;
  background: var(--color-bg);
}

.page-content .container {
  max-width: var(--max-width-narrow);
}

.page-content h1 {
  font-size: 2.8rem;
  margin-bottom: 2.8rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: -0.015em;
}

/* Lead paragraph emphasis (first paragraph after h1) */
.page-content h1 + p {
  font-size: 1.15rem;
  color: var(--color-primary);
  line-height: 1.55;
  margin-bottom: 1.8rem;
  font-weight: 400;
}

.page-content h2 {
  margin: 3.2rem 0 1.2rem;
  font-size: 1.8rem;
}

.page-content h2:first-of-type { margin-top: 1rem; }

.page-content h3 {
  margin: 2rem 0 0.8rem;
  font-size: 1.25rem;
}

.page-content p {
  margin-bottom: 1.2rem;
  color: var(--color-body);
  line-height: 1.7;
}

.page-content ul, .page-content ol { margin: 0 0 1.6rem 1.5rem; }
.page-content li {
  margin-bottom: 0.5rem;
  color: var(--color-body);
  line-height: 1.6;
}

.page-content a {
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.page-content a:hover {
  color: var(--color-accent-hover);
  border-bottom-color: var(--color-accent-hover);
}

.page-content strong { color: var(--color-primary); }

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8rem 0;
  font-size: 0.93rem;
}
.page-content th,
.page-content td {
  border: 1px solid var(--color-border);
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
}
.page-content th {
  background: var(--color-bg-alt);
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.page-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.4rem;
  margin: 1.8rem 0;
  color: var(--color-body-soft);
  font-style: italic;
}

/* Mobile table: horizontal scroll wrap */
.page-content table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
@media (min-width: 641px) {
  .page-content table {
    display: table;
    white-space: normal;
  }
}

/* ===== 404 Error Page ===== */
.error-page {
  margin-top: var(--nav-height);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-bg);
}
.error-page .container { max-width: 580px; }
.error-label {
  font-family: var(--font-sans);
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.error-page h1 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}
.error-text {
  color: var(--color-body-soft);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ===== Blog List ===== */
.blog-list { list-style: none; padding: 0; }
.blog-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}
.blog-item h3 { margin-bottom: 0.3rem; }
.blog-item time { font-size: 0.85rem; color: var(--color-body-soft); font-family: var(--font-sans); }
.blog-item p { color: var(--color-body-soft); margin: 0.5rem 0 0; }

/* =================================================================
   RESPONSIVE — Tablet (≤ 960px)
   ================================================================= */
@media (max-width: 960px) {
  .hero { min-height: 70vh; padding: 4rem 1.5rem; }
  .hero h1 { font-size: 2.6rem; line-height: 1.2; }
  .hero-sub { font-size: 1rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item {
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-item h3 { font-size: 2.4rem; }

  .cards-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card { padding: 2.2rem 1.8rem; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .steps-grid::before { display: none; }

  .spec-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .spec-block-primary { border-left-width: 3px; }

  .about-preview { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { aspect-ratio: 7 / 5; max-width: 560px; margin: 0 auto; }

  .section { padding: 5rem 0; }
  .section-header { margin-bottom: 3rem; }

  .final-cta { padding: 5rem 1.5rem; }
  .final-cta h2 { font-size: 2rem; }

  .page-content { padding: 4rem 0 5rem; }
  .page-content h1 { font-size: 2.3rem; }
  .page-content h2 { font-size: 1.6rem; }
}

/* =================================================================
   RESPONSIVE — Phone (≤ 640px)
   ================================================================= */
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.25rem; }

  .container { padding: 0 1.25rem; }

  /* Nav */
  .nav-inner { padding: 0 1.25rem; }
  .nav-logo { font-size: 1.3rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem;
    border-bottom: 1px solid var(--color-border);
    gap: 0;
  }
  .nav-links.active { display: flex; }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--color-border-soft);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }
  .nav-links a.active::after { display: none; }
  .nav-cta {
    margin-top: 0.8rem;
    text-align: center;
    padding: 0.85rem 1.4rem !important;
    font-size: 0.9rem !important;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 4rem 1.25rem 5rem;
  }
  .hero h1 { font-size: 2rem; line-height: 1.22; margin-bottom: 1.4rem; }
  .hero-divider { width: 44px; margin-bottom: 1.6rem; }
  .hero-sub { font-size: 0.98rem; margin-bottom: 2rem; }

  /* Buttons — bigger tap target */
  .btn-primary {
    padding: 1rem 2rem;
    font-size: 0.85rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Stats Bar */
  .stats-bar { padding: 2.5rem 0; }
  .stats-grid { gap: 0; }
  .stat-item { padding: 1.2rem 0.5rem; }
  .stat-item h3 { font-size: 2rem; }
  .stats-note { margin-top: 2rem; font-size: 0.88rem; padding: 0 1rem; }

  /* Sections */
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-label { font-size: 0.72rem; letter-spacing: 0.18em; }

  /* Cards */
  .card { padding: 2rem 1.5rem; }
  .card h3 { font-size: 1.25rem; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .step-number { width: 50px; height: 50px; }

  /* Thesis banner */
  .thesis-banner { padding: 4rem 1.25rem; }
  .thesis-statement { font-size: 1.7rem; }
  .thesis-label { font-size: 0.7rem; letter-spacing: 0.18em; }

  /* Mid CTA */
  .mid-cta { padding: 3.5rem 1.25rem; }
  .mid-cta h2 { font-size: 1.6rem; margin-bottom: 1.6rem; }

  /* Specialization */
  .spec-block { padding: 1.8rem 1.4rem; }

  /* About preview */
  .about-text p { font-size: 1rem; }

  /* Final CTA */
  .final-cta { padding: 4rem 1.25rem; }
  .final-cta h2 { font-size: 1.7rem; margin-bottom: 1.6rem; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; padding: 0 1.25rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.4rem; }

  /* Page content */
  .page-content { padding: 3rem 0 4rem; }
  .page-content h1 { font-size: 2rem; margin-bottom: 2rem; padding-bottom: 1.2rem; }
  .page-content h2 { font-size: 1.45rem; margin: 2.5rem 0 1rem; }
  .page-content h3 { font-size: 1.15rem; margin: 1.6rem 0 0.6rem; }
  .page-content p, .page-content li { font-size: 1rem; }
  .page-content th, .page-content td { padding: 0.6rem 0.8rem; font-size: 0.88rem; }
}

/* =================================================================
   RESPONSIVE — Small Phone (≤ 380px)
   ================================================================= */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-sub { font-size: 0.92rem; }
  .stat-item h3 { font-size: 1.8rem; }
  .final-cta h2 { font-size: 1.5rem; }
  .mid-cta h2 { font-size: 1.45rem; }
  .page-content h1 { font-size: 1.8rem; }
}

/* =================================================================
   Print
   ================================================================= */
@media print {
  .site-nav, footer, .mid-cta, .final-cta, .nav-cta { display: none; }
  body { background: white; color: black; }
  .hero { background: white; color: black; padding: 2rem 0; }
  .hero h1, .hero p { color: black; }
}
