/* ==========================================================================
   KisPa HealthCare Solutions — Stylesheet
   Design tokens live in :root for easy future editing.
   ========================================================================== */
:root{
  /* Color */
  --navy: #334155;
  --navy-deep: #1E293B;
  --blue: #0891B2;
  --teal: #22D3EE;

  --white: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-soft-alt: #F1F5F9;

  --charcoal: #111827;
  --charcoal-light: #64748B;
  --border: #CBD5E1;

  --danger: #DC2626;
  --success: #0F766E;



  /* Type */
  --font-head: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --radius: 10px;
  --radius-sm: 6px;
--shadow: 0 10px 30px -12px rgba(15,23,42,0.18);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
}

*{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg{ max-width: 100%; display: block; }

h1, h2, h3, h4{
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  font-weight: 700;
}

h1{ font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); font-weight: 800; }
h2{ font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
h3{ font-size: 1.15rem; font-weight: 700; }

p{ margin: 0 0 var(--space-2); color: var(--charcoal-light); max-width: 62ch; }

a{ color: inherit; }

ul{ margin: 0; padding: 0; list-style: none; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.wrap-narrow{ max-width: var(--wrap-narrow); }

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 6px 0;
}
.skip-link:focus{ left: 0; }

:focus-visible{
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

section{ padding: var(--space-6) 0; }

.section-head{
  max-width: 620px;
  margin: 0 auto var(--space-4);
  text-align: center;
}
.section-head p{ margin: 0 auto; }
.section-head-left{ text-align: left; margin-left: 0; }






/* ---------------- Buttons ---------------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease,
              color .18s ease, transform .18s ease;
  min-height: 48px;
}

.btn-primary{
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover{
  background: #E0F2FE;
  color: #0369A1;
  border-color: #BAE6FD;
}

.btn-primary:disabled{
  opacity: .65;
  cursor: not-allowed;
}

.btn-ghost{
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-ghost:hover{
  background: #E0F2FE;
  color: #0369A1;
  border-color: #BAE6FD;
}

.btn-sm{
  padding: 10px 18px;
  min-height: 40px;
  font-size: 0.92rem;
}

.btn-block{
  width: 100%;
}






/* ---------------- OLD Buttons ---------------- */
/* .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  min-height: 48px;
}
.btn-primary{
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover{ background: var(--navy-deep); }
.btn-primary:disabled{ opacity: .65; cursor: not-allowed; }

.btn-ghost{
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--navy); }

.btn-sm{ padding: 10px 18px; min-height: 40px; font-size: 0.92rem; }
.btn-block{ width: 100%; } */

/* ---------------- Header ---------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--space-3);
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-text{ display: flex; flex-direction: column; line-height: 1.1; }
.brand-kispa{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-sub{
  font-size: 0.66rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav ul{
  display: flex;
  gap: var(--space-3);
}
.main-nav a{
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;

}.main-nav a:hover{
  color: #0369A1;
  border-color: #7DD3FC;
}

.header-actions{ display: flex; align-items: center; gap: var(--space-2); }

.menu-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span{
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.mobile-nav{
  border-top: 1px solid var(--border);
  padding: var(--space-3);
  background: var(--white);
}
.mobile-nav ul{ display: flex; flex-direction: column; margin-bottom: var(--space-3); }
.mobile-nav a{
  display: block;
  padding: 14px 4px;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav[hidden]{ display: none; }

/* ---------------- Hero ---------------- */
.hero{
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: center;
}
.hero-copy p.hero-lede{
  font-size: 1.1rem;
  max-width: 46ch;
}
.hero-actions{
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
  flex-wrap: wrap;
}

.hero-visual{ width: 100%; }
.rcm-diagram{ width: 100%; height: auto; }
.rcm-bg{ fill: var(--navy); }
.rcm-flow{
  fill: none;
  stroke: url(#lineGrad);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  opacity: 0.55;
}
.rcm-node rect{
  fill: rgba(255,255,255,0.06);
  stroke: rgba(255,255,255,0.28);
  stroke-width: 1;
}
.rcm-node-accent rect{
  fill: var(--teal);
  stroke: var(--teal);
}
.node-label{ fill: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.node-sub{ fill: rgba(255,255,255,0.7); font-family: var(--font-body); font-size: 12px; }
.rcm-connector{ stroke: rgba(255,255,255,0.4); stroke-width: 1.4; }

/* ---------------- Value strip ---------------- */
.value-strip{
  background: var(--bg-soft);
  padding: var(--space-5) 0;
}
.value-strip h2{ text-align: center; margin-bottom: var(--space-4); }
.value-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.value-item{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  color: var(--navy);
}
.value-item svg{ width: 30px; height: 30px; }
.value-item span{ font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; }

/* ---------------- Services ---------------- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.service-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  background: var(--white);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.service-card:hover{
  border-color: #7DD3FC;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-card svg{ width: 34px; height: 34px; color: var(--teal); margin-bottom: var(--space-2); }
.service-card h3{ margin-bottom: 8px; }
.service-card p{ margin: 0; font-size: 0.95rem; }

/* ---------------- Acupuncture ---------------- */
.acupuncture{ background: var(--navy); color: var(--white); }
.acupuncture-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-5);
  align-items: center;
}
.acu-copy h2{ color: var(--white); }
.acu-copy p{ color: rgba(255,255,255,0.78); max-width: 60ch; }
.acu-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: var(--space-3) 0 var(--space-4);
  max-width: 480px;
}
.acu-list li{
  font-weight: 600;
  font-size: 0.94rem;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
}
.acupuncture .btn-primary{ background: var(--teal); }
.acupuncture .btn-primary:hover{ background: #197575; }

.acu-visual{ display: flex; justify-content: center; }
.acu-outline{ fill: none; stroke: rgba(255,255,255,0.35); stroke-width: 1.5; }
.acu-points circle{ fill: var(--teal); }
.acu-body{ stroke: rgba(255,255,255,0.35); stroke-width: 1.5; }

/* ---------------- Why KisPa ---------------- */
.why{ background: var(--bg-soft); }
.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4) var(--space-3);
}
.why-item{
  border-left: 3px solid var(--teal);
  padding-left: var(--space-2);
}
.why-item p{ margin: 0; font-size: 0.95rem; }

/* ---------------- How it works ---------------- */
.how-steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  counter-reset: none;
}
.how-steps li{
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.how-num{
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: var(--space-2);
}
.how-steps h3{ margin-bottom: 6px; }
.how-steps p{ margin: 0; font-size: 0.93rem; }

/* ---------------- About ---------------- */
.about-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-5);
  align-items: start;
}
.privacy-card{
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.privacy-card h3{ margin-bottom: var(--space-2); }
.privacy-card p{ margin: 0; font-size: 0.95rem; }

/* ---------------- FAQ ---------------- */
.faq-item{
  border-bottom: 1px solid var(--border);
}
.faq-q{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  background: none;
  border: none;
  padding: var(--space-3) 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}
.faq-icon{ width: 20px; height: 20px; flex-shrink: 0; transition: transform .2s ease; color: var(--teal); }
.faq-q[aria-expanded="true"] .faq-icon{ transform: rotate(180deg); }

.faq-a{
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease;
}
.faq-a p{ padding-bottom: var(--space-3); margin: 0; font-size: 0.96rem; }
.faq-item.open .faq-a{ max-height: 300px; }

/* ---------------- Contact ---------------- */
.contact{ background: var(--bg-soft); }
.contact-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-5);
  align-items: start;
}
.contact-details{ margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.contact-details li{ display: flex; flex-direction: column; }
.contact-label{ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--charcoal-light); }
.contact-details a{ text-decoration: none; color: var(--navy); font-weight: 600; }

.contact-form{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.form-row{ margin-bottom: var(--space-3); }
.form-row-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.form-row-split .form-row{ margin-bottom: 0; }

label{
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--navy);
}
input, select, textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus{ border-color: var(--teal); }
input.invalid, select.invalid, textarea.invalid{ border-color: var(--danger); }

.field-error{
  display: block;
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 4px;
  min-height: 1em;
}

.form-status{
  margin-top: var(--space-2);
  font-weight: 600;
  font-size: 0.94rem;
}
.form-status.success{ color: var(--success); }
.form-status.error{ color: var(--danger); }

/* ---------------- Footer ---------------- */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,0.82);
  padding-top: var(--space-5);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
}
.footer-brand .brand-kispa{ color: var(--white); }
.footer-brand .brand-sub{ color: var(--teal); }
.footer-brand p{ margin-top: var(--space-2); color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 30ch; }
.site-footer h4{
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}
.footer-nav ul, .footer-legal ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-legal a, .footer-contact a{
  text-decoration: none;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}
.footer-nav a:hover, .footer-legal a:hover, .footer-contact a:hover{ color: var(--teal); }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: var(--space-3) 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .how-steps{ grid-template-columns: repeat(2, 1fr); }
  .value-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px){
  .main-nav{ display: none; }
  .header-cta{ display: none; }
  .menu-toggle{ display: flex; }

  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 420px; margin: 0 auto; }

  .acupuncture-grid{ grid-template-columns: 1fr; }
  .acu-visual{ order: -1; }

  .about-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  section{ padding: var(--space-5) 0; }
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .how-steps{ grid-template-columns: 1fr; }
  .value-grid{ grid-template-columns: repeat(2, 1fr); }
  .acu-list{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: var(--space-3); }
  .form-row-split{ grid-template-columns: 1fr; }
  .hero-actions .btn{ width: 100%; }
}













.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

















.acupuncture .btn-primary:hover {
  background: #E0F2FE;
  color: #0369A1;
  border-color: #BAE6FD;
}










/* Mobile menu positioning */
/* @media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
  }
} */



/* Mobile menu appears directly below the sticky header */
@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    left: auto;

    width: 280px;
    max-width: calc(100vw - 24px);

    padding: 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);

    z-index: 999;
  }

  .mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 8px;
  }

  .mobile-nav li {
    list-style: none;
  }

  .mobile-nav a {
    display: block;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 7px;

    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: all 0.2s ease;
  }

  .mobile-nav a:hover {
    background: #E0F2FE;
    color: #0369A1;
    border-color: #BAE6FD;
  }

  .mobile-nav .btn {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 7px;
  }

  .mobile-nav .btn-primary {
  background: #334155;
  color: #FFFFFF;
  border-color: #334155;
}

.mobile-nav .btn-primary:hover {
  background: #E0F2FE;
  color: #0369A1;
  border-color: #BAE6FD;
}

}