/* =================================================================
   Nowi Skin & Hair Clinic — Design System & Styles
   Domain: nowiayurveda.in
   ================================================================= */

/* --- Tokens --- */
:root {
  --forest: #1F3A2E;
  --leaf:   #2F5D3A;
  --sand:   #F5F0E6;
  --paper:  #FBF8F2;
  --ink:    #1B1F1A;
  --muted:  #4E5A50;
  --line:   #DDD3C2;
  --gold:   #E4C98F;
  --mist:   #E4EBDF;
  --field:  #C9BFAE;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Manrope', system-ui, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--leaf); }
a:hover { color: var(--forest); }
h1, h2, h3, p { margin: 0; }

/* --- Layout --- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.alt {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* --- Typography Utilities --- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 14px;
}
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.08;
  color: var(--forest);
}
.lead { color: var(--muted); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 15px 26px;
  font-size: 16px;
  border: 1.5px solid var(--forest);
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--forest); color: var(--sand); }
.btn-solid:hover { color: var(--sand); background: #173024; }
.btn-line { background: transparent; color: var(--forest); }
.btn-gold { background: var(--gold); color: var(--forest); border-color: var(--gold); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }

/* --- Header / Nav --- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 240, 230, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--forest);
}
.brand b {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
}
.brand span {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.navlinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  font-weight: 500;
  font-size: 15px;
}
.navlinks a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 0;
}
.navlinks .btn { padding: 11px 20px; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
  .hamburger { display: flex; }
  .navlinks {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  .navlinks.nav-open { display: flex; }
  .navlinks a:not(.btn) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .navlinks .btn {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
  }
}

/* --- Hero --- */
.hero { padding: 72px 0 88px; }
.hero .grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hero .copy { flex: 1 1 460px; min-width: 0; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  color: var(--forest);
  margin-bottom: 22px;
}
.hero .lead { font-size: 19px; max-width: 540px; margin-bottom: 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
}
.stats span { font-size: 14px; color: var(--muted); }
.portrait {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portrait .frame {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.portrait .frame::before {
  content: "";
  position: absolute;
  inset: 28px -16px -16px 28px;
  background: var(--forest);
  border-radius: 220px 220px 24px 24px;
}
.portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 220px 220px 24px 24px;
}
.namecard {
  position: relative;
  z-index: 2;
  width: calc(100% - 40px);
  max-width: 360px;
  margin: -52px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 30px rgba(31, 58, 46, .12);
}
.namecard b { color: var(--forest); }
.namecard div { font-size: 14px; color: var(--muted); }

/* --- Cards (Concerns) --- */
.headrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  margin-bottom: 48px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.card .num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 8px;
}
.card p { color: var(--muted); font-size: 15px; }

/* --- Treatments (Tabs) --- */
.tab-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.tab-btn {
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest);
  font-family: inherit;
  transition: background .15s ease, color .15s ease;
}
.tab-btn[aria-selected="true"] {
  background: var(--forest);
  color: var(--sand);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.treatment-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.treatment-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 4px;
}
.treatment-card .for {
  font-size: 14px;
  color: var(--leaf);
  font-weight: 600;
  margin-bottom: 12px;
}
.treatment-card .details {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.treatment-card .price {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--forest);
}
.treatment-card .price-note {
  font-size: 13px;
  color: var(--muted);
}
.products-mention {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--mist);
  border-radius: 16px;
  font-size: 15px;
  color: var(--forest);
}

/* --- Our Approach (Dark) --- */
.dark { background: var(--forest); color: var(--sand); }
.dark .eyebrow { color: var(--gold); }
.dark .h2 { color: var(--sand); max-width: 720px; margin-bottom: 56px; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
}
.step { border-top: 1px solid rgba(228, 201, 143, .5); padding-top: 22px; }
.step .n {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 15px; color: #D5DDD4; }

/* --- Also at Nowi (Sport Injury) --- */
.also-section {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.also-section .h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 18px; }
.also-section .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 24px;
}
.also-section .service-tag {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
}
.also-section .pricing-note {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* --- Founder --- */
.founder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.founder .pic { flex: 1 1 320px; min-width: 0; max-width: 420px; }
.founder .pic img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.founder .text { flex: 1 1 460px; min-width: 0; }
.founder h2 { font-size: clamp(38px, 4.6vw, 58px); margin-bottom: 8px; }
.founder .creds { font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.founder p.body { font-size: 18px; margin-bottom: 18px; }
blockquote {
  margin: 12px 0 0;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  color: var(--forest);
}

/* --- Booking --- */
.book {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.book .intro { flex: 1 1 360px; min-width: 0; }
.book .intro h2 { font-size: clamp(38px, 4.6vw, 58px); margin-bottom: 18px; }
.book .intro .lead { font-size: 18px; margin-bottom: 28px; }
.ticks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  font-style: normal;
  flex: none;
}
.bookcard {
  flex: 1 1 460px;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 18px 40px rgba(31, 58, 46, .08);
  text-align: center;
}
.bookcard h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 8px;
}
.bookcard .fee {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
}
.bookcard .actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.bookcard .fallback-link {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* --- CRM Modal --- */
.crm-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.crm-modal.open { display: flex; }
.crm-modal-inner {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 90vh;
  max-height: 800px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
}
.crm-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, .08);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.crm-modal-close:hover { background: rgba(0, 0, 0, .15); }
.crm-modal iframe {
  width: 100%;
  flex: 1;
  border: none;
}
.crm-modal-footer {
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: var(--sand);
  border-top: 1px solid var(--line);
}
.crm-modal-footer a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
}

/* --- FAQ --- */
.faq { max-width: 860px; margin: 0 auto; }
.faq .h2 { text-align: center; margin-bottom: 36px; }
details {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--forest);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  flex: none;
  transition: transform .2s ease;
}
details[open] summary::after { content: "\2212"; }
details p { padding: 0 24px 22px; color: var(--muted); }

/* --- Visit --- */
.visit {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
}
.visit .info { flex: 1 1 380px; min-width: 0; }
.visit .h2 { margin-bottom: 26px; }
.visit dl {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
}
.visit dt { font-weight: 700; color: var(--forest); }
.visit dd { margin: 0; color: var(--muted); }
.mapbox {
  flex: 1 1 420px;
  min-width: 0;
  min-height: 340px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #C9D3C4;
  background: var(--mist);
}
.mapbox iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* --- Footer --- */
footer {
  background: var(--forest);
  color: #D5DDD4;
  padding: 56px 0 40px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(213, 221, 212, .25);
}
.foot b {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--sand);
  line-height: 1;
  display: block;
}
.foot span { font-size: 14px; display: block; margin-top: 6px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a {
  color: #D5DDD4;
  text-decoration: none;
  font-size: 14px;
}
.foot-links a:hover { color: var(--gold); }
.legal {
  font-size: 13px;
  color: #B9C5B8;
  margin-top: 22px;
  max-width: 820px;
}

/* --- Floating WhatsApp --- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(31, 58, 46, .3);
  text-decoration: none;
  transition: transform .15s ease;
}
.wa-float:hover {
  color: var(--gold);
  transform: scale(1.08);
}
