/* ===========================
   Charaka Rehab — Design Tokens
=========================== */
:root {
  --color-cream: #F7F1E6;
  --color-cream-dark: #EFE3CC;
  --color-green: #163F38;
  --color-green-light: #23574C;
  --color-orange: #C1602E;
  --color-orange-dark: #A64F24;
  --color-text: #2E3430;
  --color-text-muted: #6C6F64;
  --color-white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-width: 1200px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 14px 34px -18px rgba(22, 63, 56, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 100px;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

svg { display: block; }

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

.section-padding { padding: 96px 0; }

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn span { font-size: 1rem; transition: transform 0.25s ease; }

.btn:hover span { transform: translateX(4px); }

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

.btn-primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-green);
  transform: translateY(-2px);
}

/* ===========================
   Eyebrow / Headings
=========================== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-green);
  font-weight: 500;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 4.2vw, 3.6rem); font-weight: 500; }

h1 .highlight { color: var(--color-orange); font-style: italic; }

h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }

h3 { font-size: 1.1rem; font-weight: 600; }

/* ===========================
   Header
=========================== */
.site-header {
  background: var(--color-cream);
  padding: 14px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark { width: 30px; height: 36px; }

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

.footer-logo-link .logo-img {
  height: 50px;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.05;
  color: var(--color-green);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 3px;
}

.site-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-orange);
}

.header-cta { flex-shrink: 0; padding: 14px 26px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-green);
  border-radius: 2px;
}

/* ===========================
   Hero — full-width background image with overlaid content
=========================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-image: url('../assets/images/hero-bg.png');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 70%;
  background-color: var(--color-cream);
  overflow: hidden;
  padding-bottom: 0;
  margin-bottom: 0;
}

.hero-content {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 0;
}

.hero-copy {
  max-width: 540px;
  padding-right: 24px;
}

.hero-copy .eyebrow { display: block; }

.hero-underline {
  width: 64px;
  height: 3px;
  background: var(--color-orange);
  border-radius: 2px;
  margin: 14px 0 22px;
}

.hero-text {
  margin: 0 0 34px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 480px;
}

/* ===========================
   Feature strip
=========================== */
.feature-strip {
  background: var(--color-green);
  padding: 34px 0;
  margin-top: 0;
  margin-bottom: 0;
}

.features-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  white-space: nowrap;
}

.feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
}

.feature-icon svg { width: 26px; height: 26px; }

.feature-item h3 {
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.feature-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ===========================
   Services
=========================== */
.section-heading {
  text-align: center;
  margin-bottom: 52px;
}

.section-heading .eyebrow { display: flex; justify-content: center; }

.section-heading h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--color-orange);
  margin: 18px auto 0;
  border-radius: 2px;
}

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

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  border: 1px solid rgba(22, 63, 56, 0.07);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -18px rgba(22, 63, 56, 0.3);
}

.service-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--color-cream-dark);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon-wrap svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-orange);
}

.service-link span { display: inline-block; transition: transform 0.25s ease; }

.service-link:hover span { transform: translateX(4px); }

/* ===========================
   CTA banner
=========================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--color-cream-dark);
  margin: 0 32px;
  border-radius: var(--radius-lg);
  max-width: calc(var(--container-width) + 64px);
  margin-left: auto;
  margin-right: auto;
}

.cta-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
  background: var(--color-green);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0% 100%);
}

.cta-shape {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  pointer-events: none;
  z-index: 1;
}

.cta-shape svg { width: 100%; height: 100%; }

.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px 32px;
}

.cta-copy { position: relative; }

.cta-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cta-icon svg { width: 24px; height: 24px; }

.cta-copy h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  max-width: 560px;
}

.cta-actions { position: relative; display: flex; justify-content: flex-end; }

/* ===========================
   Footer
=========================== */
.site-footer {
  background: var(--color-green);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 72px 32px 48px;
}

.footer-logo-link { margin-bottom: 18px; }

.footer-brand .brand-text strong { color: var(--color-white); }
.footer-brand .brand-text small { color: rgba(255, 255, 255, 0.6); }

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 16px 0 22px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.social-links a:hover { background: var(--color-orange); }

.social-links svg { width: 15px; height: 15px; color: var(--color-white); }

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a,
.footer-col p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: var(--color-orange); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}
