/*
Theme Name: 出直し看護塾
Theme URI: https://kangojuku.com/
Author: 出直し看護塾
Author URI: https://kangojuku.com/
Description: 出直し看護塾 公式サイト WordPress テーマ
Version: 1.0.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kangojuku
Tags: education, japanese, custom-menu, featured-images
*/

/* ============================================================
   出直し看護塾 — Shared Design System
   ============================================================ */

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

:root {
  --navy:        #FBF3EE;
  --navy-mid:    #F5EBE5;
  --navy-light:  #EDE3DC;
  --teal:        #58C3E8;
  --teal-dark:   #3AADCF;
  --teal-pale:   #FBF3EE;
  --white:       #ffffff;
  --gray-50:     #f9f9fa;
  --gray-100:    #f3f3f5;
  --gray-200:    #e5e5e8;
  --gray-400:    #9c9ba0;
  --gray-600:    #555459;
  --gray-900:    #1e2030;
  --text:        #2a2c36;
  --text-muted:  #71707a;
  --red:         #ef4444;
  --green:       #10b981;
  --amber:       #f59e0b;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow:      0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.15);
  --r:           16px;
  --r-lg:        24px;
  --navbar-h:    72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  padding-top: var(--navbar-h);
}

/* フロントページのヒーローだけナビ裏まで全画面で伸ばす */
.hero {
  margin-top: calc(-1 * var(--navbar-h));
}

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

/* ── UTILITY ───────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

.pill {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(88,195,232,.1);
  border: 1px solid rgba(88,195,232,.2);
  padding: .3rem .9rem; border-radius: 100px;
  margin-bottom: .9rem;
}

.sec-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; color: var(--text);
  line-height: 1.25; margin-bottom: .6rem;
}
.sec-sub { font-size: 1rem; color: var(--text-muted); }

/* ── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .8rem 1.9rem; border-radius: 100px;
  font-size: .9375rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all .2s ease;
  text-decoration: none; font-family: inherit;
}
.btn-teal {
  background: var(--teal); color: var(--white);
  box-shadow: 0 4px 18px rgba(88,195,232,.35);
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(88,195,232,.45); }
.btn-navy { background: var(--teal); color: var(--white); }
.btn-navy:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--gray-400);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: rgba(88,195,232,.05); }
.btn-sm { padding: .55rem 1.3rem; font-size: .875rem; }
.btn-outline {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ── SCROLL FADE ───────────────────── */
.fade { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ════════════════════════════════════
   NAVBAR
════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1002;
  padding: 1.1rem 2rem;
  background: #ffffff !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  transition: padding .35s ease, box-shadow .35s ease;
}
.navbar.stuck {
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(20px);
  padding: .75rem 2rem;
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  color: #2a2c36 !important;
  font-size: .775rem; font-weight: 500;
  padding: .45rem .55rem; border-radius: 8px;
  white-space: nowrap;
  transition: all .18s;
}
.nav-links a:hover { color: var(--teal); background: rgba(88,195,232,.08); }

/* ── Dropdown ── */
.nav-item--has-dropdown { position: relative; }
.nav-item--has-dropdown > a {
  display: flex; align-items: center; gap: .3rem;
}
.nav-item--has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .55;
  transition: transform .18s;
}
.nav-item--has-dropdown:hover > a::after { transform: rotate(180deg); opacity: .85; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  padding: .4rem;
  min-width: 160px;
  list-style: none;
  opacity: 0; visibility: hidden;
  transition: opacity .18s, visibility .18s, transform .18s;
  z-index: 200;
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: block;
  padding: .55rem 1rem;
  font-size: .8125rem; font-weight: 500;
  color: var(--text); border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown li a:hover { background: rgba(88,195,232,.08); color: var(--teal); }

/* ── Hamburger button ── */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; padding: 6px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer（全画面） ── */
.mobile-drawer {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--white);
  z-index: 1001;
  padding: 5rem 2rem 2rem;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: .25rem;
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer a {
  display: block; padding: 1rem .75rem;
  font-size: 1.05rem; font-weight: 500;
  color: var(--text); border-radius: 10px;
  border-bottom: 1px solid var(--gray-100);
  transition: all .18s; text-decoration: none;
}
.mobile-drawer a:last-of-type { border-bottom: none; }
.mobile-drawer a:hover { color: var(--teal); background: rgba(88,195,232,.06); padding-left: 1.25rem; }
.mobile-drawer .drawer-cta {
  margin-top: auto; padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.mobile-drawer .drawer-cta a {
  display: block; text-align: center;
  background: var(--teal); color: var(--white);
  padding: 1rem; border-radius: 100px;
  font-weight: 700; font-size: 1rem;
  border-bottom: none;
}
.mobile-drawer .drawer-cta a:hover {
  background: var(--teal-dark); color: var(--white);
  padding-left: .75rem;
}
.drawer-overlay { display: none; }

/* ── Navbar (light bg variant) ── */
.navbar-light { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.navbar-light .nav-links a { color: var(--text); }
.navbar-light .nav-links a:hover { color: var(--teal); }


/* ════════════════════════════════════
   PAGE HERO (subpages)
════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  background-size: cover;
  background-position: center center;
  padding: 5.5rem 0 4rem;
  position: relative; overflow: hidden;
}
/* 写真背景なし（クリーム）→ 淡いグラデーション装飾 */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(88,195,232,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 75% 20%, rgba(88,195,232,.06) 0%, transparent 55%);
  transition: background .3s;
}
/* 写真背景あり → 暗めのオーバーレイに切り替え */
.page-hero[style*="background-image"]::before {
  background: linear-gradient(
    135deg,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.35) 60%,
    rgba(0,0,0,.25) 100%
  );
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
/* 写真ありのときは格子を非表示 */
.page-hero[style*="background-image"]::after { display: none; }

.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto; padding: 0 2rem;
}
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .775rem; color: var(--text-muted);
  margin-bottom: 1.4rem;
}
.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero .breadcrumb a:hover { color: var(--teal); }
.page-hero .breadcrumb span { color: var(--gray-400); }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--text);
  line-height: 1.2; margin-bottom: .75rem;
}
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero .hero-lead {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.85;
}
/* 写真あり → テキストを白に */
.page-hero[style*="background-image"] h1,
.page-hero[style*="background-image"] h1 em  { color: #fff; }
.page-hero[style*="background-image"] .hero-lead { color: rgba(255,255,255,.85); }
.page-hero[style*="background-image"] .breadcrumb,
.page-hero[style*="background-image"] .breadcrumb a,
.page-hero[style*="background-image"] .breadcrumb span { color: rgba(255,255,255,.6); }
.page-hero[style*="background-image"] .pill { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); }

/* ════════════════════════════════════
   SECTION HELPERS
════════════════════════════════════ */
.section { padding: 7rem 0; }
.section-sm { padding: 5rem 0; }
.section-navy { background: var(--navy); }
.section-navy .sec-title { color: var(--text); }
.section-navy .sec-sub { color: var(--text-muted); }
.section-navy .pill { background: rgba(88,195,232,.12); }
.section-gray { background: var(--gray-50); }
.section-mid { background: var(--navy-mid); }

.sec-header { text-align: center; margin-bottom: 3.5rem; }

/* ── Tag variants ── */
.tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .85rem; border-radius: 100px;
}
.tag-teal  { background: rgba(88,195,232,.12); color: var(--teal-dark); border: 1px solid rgba(88,195,232,.2); }
.tag-red   { background: #fee2e2; color: #dc2626; }
.tag-green { background: #d1fae5; color: #059669; }
.tag-amber { background: #fef3c7; color: #92400e; }
.tag-blue  { background: #dbeafe; color: #1d4ed8; }

/* ── Card base ── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-p { padding: 1.9rem; }

.card-dark {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  transition: all .3s;
}
.card-dark:hover {
  background: rgba(88,195,232,.06);
  border-color: rgba(88,195,232,.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}

/* ── Divider ── */
.divider { height: 1px; background: var(--gray-100); margin: 2rem 0; }

/* ── Check list ── */
.check-list { display: flex; flex-direction: column; gap: .7rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .925rem; line-height: 1.65;
}
.check-list .ck {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center; margin-top: .1rem;
}
.check-list .ck svg { width: 11px; height: 11px; }

/* ── Number list ── */
.num-list { display: flex; flex-direction: column; gap: 1.2rem; counter-reset: nl; }
.num-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  counter-increment: nl;
}
.num-list li::before {
  content: counter(nl);
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ── Two-column grid ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.four-col  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Highlight box ── */
.highlight-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--r); padding: 1.4rem 1.75rem;
  border: 1px solid var(--gray-200);
}
.highlight-box p { color: var(--teal-dark); font-weight: 600; line-height: 1.75; }

/* ── Table ── */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td {
  padding: .85rem 1.1rem;
  border: 1px solid var(--gray-200);
  font-size: .9rem;
}
.tbl thead th {
  background: var(--teal);
  color: var(--white); font-weight: 700;
  text-align: left;
}
.tbl tbody tr:nth-child(even) { background: var(--gray-50); }
.tbl .tbl-hl { background: rgba(88,195,232,.08); font-weight: 600; color: var(--teal-dark); }
.tbl-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--shadow-sm); }

/* ── Dark hero variant (FAQ等) ── */
.page-hero--dark {
  background: #0e1525 !important;
  background-image: none !important;
}
.page-hero--dark::before { background: none !important; }
.page-hero--dark h1  { color: #fff !important; }
.page-hero--dark .hero-lead { color: rgba(255,255,255,.6) !important; font-size: .95rem; }

/* ── FAQ ── */
.faq-cat { margin-bottom: 3rem; }
.faq-cat-title {
  font-size: 1.15rem; font-weight: 800; color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--gray-200);
}
.faq-cat-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(88,195,232,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.faq-cat-icon svg { width: 17px; height: 17px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
  transition: background .15s;
}
.faq-item:first-child { border-top: 1px solid var(--gray-100); }
.faq-item.open { background: var(--gray-50); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; cursor: pointer;
  font-weight: 600; font-size: .95rem;
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit; color: var(--text);
}
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
}
.faq-item.open .faq-icon { background: var(--teal); transform: rotate(45deg); }
.faq-icon svg { width: 13px; height: 13px; color: var(--text); }
.faq-item.open .faq-icon svg { color: var(--white); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-body-inner {
  padding: .25rem 0 1.25rem;
  color: var(--text-muted); font-size: .9rem; line-height: 1.85;
}

/* ── Testimonial card ── */
.test-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.9rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.test-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.test-stars { color: var(--amber); font-size: 1rem; margin-bottom: .8rem; }
.test-quote { font-size: .95rem; line-height: 1.8; margin-bottom: 1.2rem; }
.test-author { display: flex; align-items: center; gap: .75rem; }
.test-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, #3AADCF 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.test-name { font-size: .85rem; font-weight: 700; }
.test-role { font-size: .75rem; color: var(--text-muted); }

/* ════════════════════════════════════
   PRICING CARD
════════════════════════════════════ */
.price-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 2px solid var(--gray-100);
  padding: 1.9rem 1.6rem;
  display: flex; flex-direction: column;
  transition: all .3s;
}
.price-card:hover { border-color: var(--teal); box-shadow: 0 12px 40px rgba(88,195,232,.15); transform: translateY(-4px); }
.price-card.featured {
  background: var(--navy);
  border-color: var(--teal);
  box-shadow: 0 16px 48px rgba(88,195,232,.25);
}
.price-card.featured:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(88,195,232,.35); }
.price-badge {
  display: inline-block; font-size: .65rem; font-weight: 800; letter-spacing: .15em;
  background: var(--teal); color: var(--white);
  padding: .25rem .75rem; border-radius: 100px;
  margin-bottom: .75rem;
}
.price-name { font-size: .85rem; font-weight: 700; color: var(--text-muted); margin-bottom: .35rem; }
.price-card.featured .price-name { color: var(--text-muted); }
.price-amount {
  font-size: 1.9rem; font-weight: 900; line-height: 1; margin-bottom: .2rem;
  color: var(--text);
}
.price-card.featured .price-amount { color: var(--teal); }
.price-period { font-size: .78rem; color: var(--text-muted); margin-bottom: 1.4rem; }
.price-card.featured .price-period { color: var(--text-muted); }
.price-features { flex: 1; display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.5rem; }
.price-features li {
  font-size: .84rem; line-height: 1.6;
  display: flex; align-items: flex-start; gap: .55rem;
}
.price-card.featured .price-features li { color: var(--text); }

/* ════════════════════════════════════
   CTA BAND
════════════════════════════════════ */
/* ── Upper CTA (teal) ── */
.cta-upper {
  background: var(--teal); padding: 5rem 0; text-align: center;
}
.cta-upper h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900;
  color: var(--white); line-height: 1.35; margin-bottom: 2rem;
}
.cta-upper .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-upper .btn-white {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); color: var(--text);
  padding: .9rem 2.2rem; border-radius: 100px;
  font-size: .95rem; font-weight: 600; border: none;
  cursor: pointer; transition: all .2s; text-decoration: none; font-family: inherit;
}
.cta-upper .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.cta-upper .btn-outline-white {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--white);
  padding: .9rem 2.2rem; border-radius: 100px;
  font-size: .95rem; font-weight: 600;
  border: 2px solid rgba(255,255,255,.5);
  cursor: pointer; transition: all .2s; text-decoration: none; font-family: inherit;
}
.cta-upper .btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* ── Amber Button ── */
.btn-amber {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #f59e0b; color: var(--white);
  padding: .9rem 2.2rem; border-radius: 100px;
  font-size: .95rem; font-weight: 600; border: none;
  cursor: pointer; transition: all .2s; text-decoration: none; font-family: inherit;
}
.btn-amber:hover { background: #d97706; transform: translateY(-2px); }

/* ── Global Pre-footer CTA 1 ── */
.footer-cta-upper {
  background: var(--gray-900);
  padding: 5rem 0;
  text-align: center;
}
.footer-cta-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900;
  color: var(--white); margin-bottom: .85rem;
}
.footer-cta-sub {
  color: rgba(255,255,255,.55); font-size: .95rem;
  margin-bottom: 2.5rem; line-height: 1.8;
}
.footer-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.footer-cta-outline {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .8rem 1.9rem; border-radius: 100px;
  font-size: .9375rem; font-weight: 600;
  cursor: pointer; text-decoration: none; font-family: inherit;
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.55);
  transition: all .2s ease;
}
.footer-cta-outline:hover {
  border-color: rgba(255,255,255,.9); color: var(--white);
  background: rgba(255,255,255,.1); transform: translateY(-2px);
}

/* ── Global Pre-footer CTA 2 ── */
.footer-cta-lower {
  background: #0d1627;
  padding: 5rem 0;
  text-align: center;
}
.footer-cta-lower-title {
  font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 900;
  color: var(--white); margin-bottom: .75rem; line-height: 1.35;
}
.footer-cta-lower-title em { font-style: normal; color: var(--teal); }
.footer-cta-lower-sub {
  color: rgba(255,255,255,.5); font-size: .95rem; margin-bottom: 2rem;
}

/* ── Lower CTA (dark) ── */
.cta-band {
  background: var(--gray-900); padding: 5rem 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900;
  color: var(--white); line-height: 1.35; margin-bottom: .75rem;
}
.cta-band h2 em { font-style: normal; }
.cta-band p { color: rgba(255,255,255,.5); font-size: .95rem; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-yt {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #ff0000; color: var(--white);
  padding: .9rem 2.2rem; border-radius: 100px;
  font-size: .95rem; font-weight: 600; border: none;
  cursor: pointer; transition: all .2s; text-decoration: none; font-family: inherit;
}
.btn-yt:hover { background: #d40000; transform: translateY(-2px); }
.btn-yt svg { width: 20px; height: 20px; fill: currentColor; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  padding: 4.5rem 0 2.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.85);
  margin-bottom: .75rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .875rem; color: rgba(255,255,255,.4);
  transition: color .18s;
}
.footer-col a:hover { color: var(--teal); }
.footer-social { display: flex; gap: .5rem; margin-top: 1.4rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all .18s;
}
.footer-social a:hover { background: var(--teal); color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap; gap: .75rem;
}
.footer-bottom .footer-brand .logo-img {
  height: 32px; width: auto; display: block;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: var(--teal); }

/* ── WordPress specific ── */
.wp-post-image { width: 100%; height: auto; display: block; border-radius: var(--r); }

/* ── Blog/Archive styles ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gray-100);
  overflow: hidden;
}
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: .7rem; font-weight: 700; color: var(--teal-dark); margin-bottom: .5rem; letter-spacing: .08em; text-transform: uppercase; }
.blog-card-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; line-height: 1.4; }
.blog-card-excerpt { font-size: .875rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 1rem; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--text-muted); }

/* ── Pagination ── */
.pagination-wrap { text-align: center; margin-top: 3rem; }
.pagination-wrap .nav-links { justify-content: center; gap: .5rem; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: .9rem; font-weight: 600;
  background: var(--gray-100); color: var(--text);
  transition: all .2s;
}
.page-numbers:hover, .page-numbers.current {
  background: var(--teal); color: var(--white);
}

/* ── Single post ── */
.post-content {
  max-width: 800px; margin: 0 auto;
}
.post-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--text); }
.post-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .75rem; color: var(--text); }
.post-content p { margin-bottom: 1.25rem; line-height: 1.85; color: var(--text); }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: .5rem; line-height: 1.7; }
.post-content img { border-radius: var(--r); margin: 1.5rem 0; }
.post-content blockquote {
  border-left: 4px solid var(--teal); padding: 1rem 1.5rem;
  background: var(--gray-50); border-radius: 0 var(--r) var(--r) 0;
  margin: 1.5rem 0; font-style: italic; color: var(--text-muted);
}

/* ════════════════════════════════════
   RESPONSIVE — 900px
════════════════════════════════════ */
@media (max-width: 900px) {
  /* Navbar: hide nav-links, keep logo + CTA */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Footer grid: 2 columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Layout grids */
  .two-col   { grid-template-columns: 1fr; gap: 2.5rem; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col  { grid-template-columns: 1fr 1fr; }

  /* Sections: reduce vertical padding */
  .section    { padding: 5rem 0; }
  .section-sm { padding: 3.5rem 0; }
  .cta-band   { padding: 4rem 0; }
  .cta-upper  { padding: 4rem 0; }
  .footer-cta-upper { padding: 4rem 0; }
  .footer-cta-lower { padding: 4rem 0; }

  /* Page hero */
  .page-hero { padding: 5rem 0 3rem; }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════
   RESPONSIVE — 600px
════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --navbar-h: 62px; }

  /* Container padding */
  .container { padding: 0 1.25rem; }

  /* Navbar */
  .navbar       { padding: .9rem 1.25rem; }
  .navbar.stuck { padding: .6rem 1.25rem; }
  .navbar-inner { gap: .5rem; }
  .btn-sm       { padding: .45rem 1rem; font-size: .8rem; }

  /* Page hero */
  .page-hero { padding: 4.5rem 0 2.5rem; }
  .page-hero-inner { padding: 0 1.25rem; }
  .page-hero .hero-lead { font-size: .95rem; }

  /* Sections */
  .section    { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }
  .sec-header { margin-bottom: 2.25rem; }
  .cta-band   { padding: 3rem 0; }
  .cta-upper  { padding: 3rem 0; }
  .footer-cta-upper { padding: 3rem 0; }
  .footer-cta-lower { padding: 3rem 0; }
  .cta-upper .cta-btns,
  .cta-btns,
  .footer-cta-btns { flex-direction: column; align-items: center; }

  /* Layout grids — all single column */
  .two-col,
  .three-col,
  .four-col {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Footer: single column */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: .75rem;
    text-align: center;
  }

  /* CTA buttons stack */
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  /* Table wrapper: ensure scroll */
  .tbl-wrap {
    -webkit-overflow-scrolling: touch;
  }

  /* Cards: reduce padding */
  .card-p { padding: 1.25rem; }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr; }
}
