/* ============================================
   Kidney Care – Service landing page
   Medical Tours India | #0B3C5D
   ============================================ */

:root {
  --primary: #0B3C5D;
  --primary-light: #0d4a6f;
  --primary-dark: #062536;
  --accent: #0d9488;
  --accent-light: #2dd4bf;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --bg: #fafbfc;
  --bg-alt: #f0f4f8;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(11, 60, 93, 0.06);
  --shadow: 0 4px 12px rgba(11, 60, 93, 0.08);
  --shadow-md: 0 10px 24px rgba(11, 60, 93, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.35rem; }
p { margin: 0 0 0.5rem; font-size: 0.9375rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Page content + sidebar layout */
.page-content {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.content-main {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: calc(60px + 1rem);
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  padding-left: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.sidebar-nav a:hover {
  color: var(--primary);
  background: var(--accent-soft);
}

.sidebar-nav a.current {
  color: var(--primary);
  font-weight: 600;
  background: var(--accent-soft);
}

.section {
  padding: 3.5rem 0;
}

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

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-header--center {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.section-title {
  display: block;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-full);
  margin-top: 0.75rem;
}

.section-header--center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

/* Highlight main points with colours */
.hl {
  color: var(--primary);
  font-weight: 600;
}

.hl-accent {
  color: var(--accent);
  font-weight: 600;
}

.hl-bg {
  background: var(--accent-soft);
  color: var(--primary);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-weight: 600;
}

.hl-bg-accent {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(45, 212, 191, 0.15));
  color: var(--primary-dark);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.main-nav a:hover { color: var(--primary); }

.cta-link {
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 600;
}

.cta-link:hover {
  background: var(--primary-light);
  color: var(--white) !important;
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
    display: none;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.is-open { display: flex; }
}

/* Hero */
.hero {
  background: var(--primary);
  background-image:
    linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--white);
  padding: 4rem 1.5rem 4.5rem;
  text-align: center;
}

.hero h1, .hero .hero-subtitle { color: inherit; }

.hero-content { max-width: 640px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.hero h1 { margin-bottom: 0.5rem; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  opacity: 0.9;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }

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

.btn-primary:hover {
  background: #f1f5f9;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin-left: 0.5rem;
}

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

.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

@media (max-width: 500px) {
  .btn-secondary { margin-left: 0; margin-top: 0.5rem; }
}

/* Strip */
.strip {
  background: var(--primary-dark);
  color: var(--white);
  padding: 0.875rem 1.5rem;
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.strip-item {
  color: var(--accent-light);
  font-weight: 600;
  opacity: 1;
}

.strip-item::after {
  content: "·";
  margin-left: 2rem;
  opacity: 0.5;
}

.strip-item:last-child::after { display: none; }

@media (max-width: 640px) {
  .strip-item::after { display: none; }
}

/* Service tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.tile {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.tile:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.tile-icon {
  display: block;
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.tile h3 {
  color: var(--primary);
  font-size: 1.05rem;
}

.tile p { margin: 0; font-size: 0.9rem; }

/* Conditions grid */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.condition-card {
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  transition: box-shadow 0.2s;
}

.condition-card:hover { box-shadow: var(--shadow); }

.condition-card h3 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.condition-card p { margin: 0; font-size: 0.875rem; }

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-full);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.chip:hover {
  background: rgba(13, 148, 136, 0.2);
  border-color: var(--accent);
  color: var(--primary-dark);
}

/* Why India */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.reason-card {
  background: var(--bg-card);
  padding: 1.5rem 1.5rem 1.5rem 3.5rem;
  padding-top: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow 0.2s;
  min-height: 140px;
}

.reason-card:hover { box-shadow: var(--shadow); }

.reason-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.reason-card h3 { color: var(--primary); font-size: 1rem; }
.reason-card p { margin: 0; font-size: 0.875rem; }

/* Steps */
.steps-section { padding: 3rem 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.step {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.2s;
}

.step:hover { box-shadow: var(--shadow); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-sans);
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.step h3 { font-size: 1rem; color: var(--primary); }
.step p { margin: 0; font-size: 0.875rem; }

@media (max-width: 700px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .steps { grid-template-columns: 1fr; }
}

/* Benefits row */
.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 600px;
  margin: 0 auto;
}

.faq-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-accordion-trigger:hover {
  background: var(--bg-alt);
}

.faq-accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.2s;
}

.faq-accordion-icon::before,
.faq-accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 1px;
}

.faq-accordion-icon::before {
  width: 12px;
  height: 2px;
  left: 4px;
  top: 9px;
}

.faq-accordion-icon::after {
  width: 2px;
  height: 12px;
  left: 9px;
  top: 4px;
}

.faq-accordion-trigger[aria-expanded="true"] .faq-accordion-icon::after {
  display: none;
}

.faq-accordion-trigger[aria-expanded="true"] .faq-accordion-icon {
  transform: rotate(180deg);
}

.faq-accordion-panel {
  padding: 0 1.25rem 1rem;
}

.faq-accordion-panel p {
  margin: 0;
  padding-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Cost block */
.cost-block {
  padding: 2.5rem 0;
}

.cost-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.cost-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.cost-inner p {
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

/* Cost comparison table (cardiac page) */
.cost-comparison {
  max-width: 360px;
  margin: 0 auto 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}

.cost-row:last-child { border-bottom: none; }

.cost-row--highlight {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(13, 148, 136, 0.12));
  font-weight: 700;
  color: var(--primary-dark);
  border-left: 4px solid var(--accent);
}

.cost-note {
  text-align: center;
  font-size: 0.875rem !important;
  margin: 0 !important;
}

/* Highlight heading for cost comparison blocks */
.cost-comparison-heading {
  margin: 0;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.08));
  border-bottom: 1px solid var(--border);
  text-align: center;
}

/* Intro block (cardiac page) */
.intro-block {
  padding: 2rem 0;
}

.intro-block .intro-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA section */
.cta-section {
  background: var(--primary);
  background-image:
    linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-title {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

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

.cta-section .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
}

.cta-section .hl,
.cta-section .hl-accent,
.hero .hl,
.hero .hl-accent {
  color: var(--accent-light);
}
.cta-section .hl-bg,
.cta-section .hl-bg-accent {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 1.5rem 1.5rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.88;
}

.site-footer a { color: var(--accent-light); }

@media (max-width: 1024px) {
  .page-content {
    grid-template-columns: 1fr;
    padding: 0 1.5rem 2rem;
  }
  .sidebar {
    position: static;
    order: -1;
    margin-bottom: 0.5rem;
  }
  .sidebar-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
  }
  .sidebar-title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
    width: 100%;
  }
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-nav a {
    padding: 0.4rem 0.75rem;
  }
}

@media (max-width: 640px) {
  .section { padding: 2.5rem 0; }
  .hero { padding: 3rem 1.25rem 3.5rem; }
}

/* Sticky CTA button */
.sticky-cta-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sticky-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.35);
  color: var(--white);
}
@media (max-width: 640px) {
  .sticky-cta-btn {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}
