/* =======================================
   TOURMED HEALTH — style.css
   Theme: Light Gray | Refined Medical Luxury
   Fonts: Cormorant Garamond (display) + DM Sans (body)
======================================= */

/* ─── CSS Variables ─── */
:root {
  --bg:          #F4F4F2;
  --bg-alt:      #EBEBEA;
  --bg-card:     #FFFFFF;
  --bg-dark:     #1C2430;
  --text:        #1A1F26;
  --text-mid:    #4A5260;
  --text-light:  #8A939E;
  --accent:      #2A6E5B;
  --accent-2:    #4DA58A;
  --accent-warm: #C8A96E;
  --border:      #D8D8D5;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 6px 30px rgba(0,0,0,0.09);
  --shadow-lg:   0 16px 60px rgba(0,0,0,0.12);
  --radius:      14px;
  --radius-sm:   8px;
  --radius-pill: 100px;
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
  --max-w:       1200px;
  --nav-h:       72px;
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ─── Skip Link ─── */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--accent); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ─── Container ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(42,110,91,0.22);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #205445;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,110,91,0.3);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(42,110,91,0.04);
  transform: translateY(-2px);
}
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ─── Section Commons ─── */
.section {
  padding: 96px 0;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 56px;
}
.section-sub-left {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 32px;
}

/* ─── HEADER / NAV ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(244, 244, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 40px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  flex-shrink: 0;
}
.logo-icon {
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo-text em { font-style: italic; color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(42,110,91,0.06);
}
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 8px; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 4px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.5;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(77,165,138,0.3), transparent 70%);
  top: -150px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,169,110,0.2), transparent 70%);
  bottom: -100px; left: -80px;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(42,110,91,0.08);
  border: 1px solid rgba(42,110,91,0.2);
  color: var(--accent);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.6s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-2); border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 22px;
  animation: fadeSlideUp 0.7s ease both 0.1s;
}
.hero-heading em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.7s ease both 0.2s;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin-bottom: 56px;
  animation: fadeSlideUp 0.7s ease both 0.3s;
}
.hero-stats {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 36px;
  box-shadow: var(--shadow-sm);
  animation: fadeSlideUp 0.7s ease both 0.4s;
}
.stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 28px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 4px;
  white-space: nowrap;
}
.stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

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

/* ─── HOW IT WORKS ─── */
.how-it-works {
  background: var(--bg-alt);
  text-align: center;
}
.how-it-works .section-sub { margin: 0 auto 56px; }
.steps-grid {
  display: flex; align-items: flex-start; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.step-card {
  flex: 1 1 200px; max-width: 260px;
  padding: 36px 24px;
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(42,110,91,0.12);
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon { font-size: 2rem; margin-bottom: 14px; }
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.step-card p { font-size: 0.9rem; color: var(--text-mid); }
.step-connector {
  flex: 0 0 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), transparent);
  align-self: center;
  margin: 0 -8px;
  opacity: 0.4;
}

/* ─── SERVICES ─── */
.services-section { text-align: center; }
.services-section .section-sub { margin: 0 auto 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column; gap: 12px;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42,110,91,0.3);
}
.service-icon { font-size: 2.2rem; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.service-card p { font-size: 0.9rem; color: var(--text-mid); flex: 1; }
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 6px;
  transition: gap var(--transition);
  display: inline-flex; align-items: center; gap: 4px;
}
.card-link:hover { gap: 8px; }

/* ─── DESTINATIONS ─── */
.destinations-section {
  background: var(--bg-alt);
  text-align: center;
}
.destinations-section .section-sub { margin: 0 auto 56px; }
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  text-align: left;
}
.dest-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.dest-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.dest-flag { font-size: 2.4rem; margin-bottom: 12px; }
.dest-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.dest-card p { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 16px; }
.dest-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(42,110,91,0.08);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ─── TESTIMONIALS ─── */
.testimonials-section { text-align: center; }
.testimonials-section .section-title { margin-bottom: 48px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  text-align: left;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stars { font-size: 1.1rem; color: var(--accent-warm); letter-spacing: 2px; }
.testimonial-card blockquote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px; margin-top: auto;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-weight: 600; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-light); }

/* ─── WHY US ─── */
.why-section { background: var(--bg-alt); overflow: hidden; }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-list {
  display: flex; flex-direction: column; gap: 16px;
}
.why-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.97rem;
}
.why-check {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.why-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.why-badge-big {
  display: flex; align-items: center; justify-content: center;
}
.why-badge-circle {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center;
  box-shadow: 0 20px 60px rgba(42,110,91,0.35);
}
.why-badge-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}
.why-badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-top: 4px;
}
.why-card-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 3px;
  font-size: 0.9rem; font-weight: 700;
}
.why-card-float small { font-weight: 400; font-size: 0.75rem; color: var(--text-light); }
.why-card-1 { top: 0; left: 0; }
.why-card-2 { bottom: 0; right: 0; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--bg-dark);
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}
.cta-heading em { font-style: italic; color: var(--accent-2); }
.cta-inner > p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-section .btn-ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}
.cta-section .btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
  max-width: 280px;
}
.footer-socials {
  display: flex; gap: 12px; margin-top: 20px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: border-color var(--transition), color var(--transition);
}
.footer-socials a:hover { border-color: var(--accent-2); color: var(--accent-2); }
.footer-nav { display: contents; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--accent-2); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { min-height: 260px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav { display: flex; flex-wrap: wrap; gap: 32px; grid-column: 1/-1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column; gap: 4px;
    z-index: 999;
  }
  .nav-links.open, .nav-cta.open { display: flex; }
  .nav-cta { display: none; top: auto; bottom: 0; padding: 16px 24px; border-top: 1px solid var(--border); border-bottom: none; }
  .nav-cta.open { display: flex; justify-content: center; }
  .nav-links { gap: 4px; }
  .nav-link { padding: 12px 16px; width: 100%; }
  .hero { padding: 60px 0 40px; min-height: auto; }
  .hero-stats { padding: 18px 20px; justify-content: center; }
  .stat { padding: 0 16px; }
  .stat-num { font-size: 1.6rem; }
  .steps-grid { gap: 16px; }
  .step-connector { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 60px; height: 1px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { width: 100%; justify-content: center; }
}

/* ─── Scroll animations ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
