/* ============================================
   Anantana — Boutique Hospital Chain
   Elegant, calm, premium healthcare aesthetic
   ============================================ */

:root {
  /* Palette */
  --ink: #1a2b2a;
  --ink-soft: #2d3f3d;
  --sage: #3d5c57;
  --sage-light: #5a7a74;
  --cream: #f7f4ef;
  --cream-dark: #ebe6dc;
  --gold: #b8976a;
  --gold-soft: #d4b896;
  --white: #ffffff;
  --muted: #6b7c79;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Spacing & rhythm */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 0.4s;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Typography helpers */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

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

h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-xs);
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header.centered {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--sage);
}

.btn-ghost {
  color: var(--cream);
  border: 1px solid rgba(247, 244, 239, 0.35);
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(247, 244, 239, 0.08);
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--duration) var(--ease), padding var(--duration) var(--ease);
}

.nav.scrolled {
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 rgba(26, 43, 42, 0.06);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 2px;
}

.nav.scrolled .logo-mark {
  background: var(--ink);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  transition: color var(--duration) var(--ease);
}

.nav.scrolled .logo-text {
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(247, 244, 239, 0.85);
  transition: color 0.25s var(--ease);
}

.nav.scrolled .nav-links a {
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.nav.scrolled .nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 0.55rem 1.15rem !important;
  border: 1px solid rgba(247, 244, 239, 0.4);
  border-radius: 2px;
  color: var(--cream) !important;
}

.nav.scrolled .nav-cta {
  border-color: var(--ink);
  color: var(--ink) !important;
}

.nav-cta:hover {
  background: rgba(247, 244, 239, 0.12);
}

.nav.scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--cream) !important;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s var(--ease);
}

.nav.scrolled .nav-toggle span {
  background: var(--ink);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(61, 92, 87, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(184, 151, 106, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #1a2b2a 0%, #152322 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 var(--space-md);
  animation: fadeUp 1s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 12vw, 7rem);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(247, 244, 239, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.hero-status {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold-soft), transparent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========== Philosophy ========== */
.philosophy {
  background: var(--cream);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: start;
}

.philosophy-text p {
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.philosophy-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

.stat h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.stat p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ========== Services ========== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  transition: all var(--duration) var(--ease);
}

.service-card:hover {
  border-color: var(--sage-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 43, 42, 0.06);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--sage);
  margin-bottom: var(--space-md);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ========== Difference ========== */
.difference {
  background: var(--ink);
  color: var(--cream);
}

.difference h2 {
  color: var(--cream);
}

.difference-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.difference-list {
  margin-top: var(--space-lg);
}

.difference-list li {
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(247, 244, 239, 0.12);
}

.difference-list li:last-child {
  border-bottom: none;
}

.difference-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--cream);
}

.difference-list span {
  font-size: 0.95rem;
  color: rgba(247, 244, 239, 0.65);
}

.visual-card {
  background: rgba(247, 244, 239, 0.04);
  border: 1px solid rgba(247, 244, 239, 0.1);
  padding: var(--space-xl);
}

.visual-card blockquote {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.visual-card cite {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}

/* ========== Locations ========== */
.locations {
  background: var(--cream);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: border-color var(--duration) var(--ease);
}

.location-card:hover {
  border-color: var(--gold);
}

.location-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.location-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.location-city {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.location-status {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ========== Waitlist ========== */
.waitlist {
  background: var(--white);
  padding-bottom: var(--space-3xl);
}

.waitlist-card {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-2xl) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}

.waitlist-content h2 {
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.waitlist-content p {
  color: rgba(247, 244, 239, 0.7);
  font-size: 1.05rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-row input,
.form-row select {
  flex: 1;
  padding: 0.95rem 1.1rem;
  background: rgba(247, 244, 239, 0.06);
  border: 1px solid rgba(247, 244, 239, 0.15);
  color: var(--cream);
  border-radius: 2px;
  transition: border-color 0.25s var(--ease);
}

.form-row input::placeholder {
  color: rgba(247, 244, 239, 0.4);
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--gold-soft);
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4b896' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row select option {
  background: var(--ink);
  color: var(--cream);
}

.form-row .btn {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
}

.form-row .btn:hover {
  background: var(--gold-soft);
}

.form-note {
  font-size: 0.8rem;
  color: rgba(247, 244, 239, 0.45);
  margin-top: 0.25rem;
}

.form-success {
  text-align: center;
  padding: var(--space-lg);
}

.form-success h3 {
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: rgba(247, 244, 239, 0.7);
}

/* ========== Footer ========== */
.footer {
  background: var(--ink);
  color: rgba(247, 244, 239, 0.7);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(247, 244, 239, 0.1);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
  color: var(--cream);
}

.footer-brand .logo-mark {
  background: var(--cream);
  color: var(--ink);
}

.footer-brand p {
  margin-top: var(--space-sm);
  font-size: 0.95rem;
  max-width: 220px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--space-sm);
}

.footer-links a {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.domain {
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .philosophy-grid,
  .difference-content,
  .waitlist-card {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .locations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    gap: 2.5rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: -8px 0 32px rgba(0,0,0,0.2);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    color: var(--cream) !important;
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-top: 0.5rem;
  }

  .services-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .waitlist-card {
    padding: var(--space-xl) var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .philosophy-card {
    padding: var(--space-md);
  }
}