/* ==========================================================================
   Padithem Health Care — Design System (v2)
   Premium medical design · keeps brand: orange #f26a17, cyan #00bcd4
   Fonts: Merriweather (headings) + PT Sans (body)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --primary: #f26a17;
  --primary-dark: #c8500a;        /* AA-compliant on white for text/links */
  --primary-soft: #fff1e6;
  --secondary: #00bcd4;
  --secondary-dark: #0097a7;
  --secondary-soft: #e0f7fa;

  /* Neutrals */
  --dark: #1c2b36;
  --dark-2: #243847;
  --ink: #22303c;
  --text-main: #33404b;
  --text-muted: #5a6b78;
  --line: #e3e8ed;
  --light: #f6f8fa;
  --white: #ffffff;

  /* Status */
  --success: #1e9e5a;
  --warning: #d97706;
  --danger: #d64545;

  /* Surfaces */
  --card-bg: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(255, 255, 255, 0.4);

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(20, 40, 60, 0.08);
  --shadow-md: 0 10px 30px rgba(20, 40, 60, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 40, 60, 0.16);
  --shadow-primary: 0 8px 22px rgba(242, 106, 23, 0.32);
  --shadow-secondary: 0 8px 22px rgba(0, 188, 212, 0.3);

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: all 0.28s var(--ease);

  /* Typography */
  --font-heading: 'Merriweather', 'Georgia', serif;
  --font-body: 'PT Sans', 'Segoe UI', Arial, sans-serif;

  --container: 1180px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: inline-block; }
svg { display: inline-block; vertical-align: middle; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.28;
  margin: 0 0 0.7em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.08rem; }
h5, h6 { font-size: 1rem; }

p { margin: 0 0 1.1em; }

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--primary); }

ul, ol { margin: 0 0 1.1em 1.35em; padding: 0; }
li { margin-bottom: 0.45em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--primary-soft); color: var(--primary-dark); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

.section { padding: 84px 0; }
.section--soft { background: var(--light); }
.section--tint { background: linear-gradient(180deg, var(--secondary-soft) 0%, #eefcfe 100%); }
.section--dark { background: var(--dark); color: #c9d6e0; }
.section--dark h2, .section--dark h3 { color: #fff; }

.text-center { text-align: center; }

.grid {
  display: grid;
  gap: 28px;
}
.grid > * { min-width: 0; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--split { grid-template-columns: 1.15fr 0.85fr; }
.grid--thirds { grid-template-columns: repeat(3, 1fr); }
.grid--quarters { grid-template-columns: repeat(4, 1fr); }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 14px;
}

.text-muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  background: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8b3d 100%);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242, 106, 23, 0.42); }

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #35d2e8 100%);
  color: #fff;
  box-shadow: var(--shadow-secondary);
}
.btn-secondary:hover { color: #fff; transform: translateY(-2px); }

.btn-outline {
  border-color: var(--primary);
  color: var(--primary-dark);
}
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.btn-ghost { color: var(--primary-dark); background: var(--primary-soft); }
.btn-ghost:hover { background: #ffe3cd; color: var(--primary-dark); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: #1fb959; color: #fff; transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-white:hover { color: var(--primary-dark); transform: translateY(-2px); }

.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.topbar {
  background: var(--dark);
  color: #c9d6e0;
  font-size: 0.85rem;
  padding: 7px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #e8f4fb; font-weight: 700; }
.topbar a:hover { color: var(--primary-light, #ffb27d); }
.topbar-info { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-hours { display: flex; gap: 6px; align-items: center; color: #9fb2bf; }
.topbar-cta a { display: inline-flex; gap: 7px; align-items: center; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { height: 46px; width: auto; }
.logo-text { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.97rem;
}
.nav-links a:hover { color: var(--primary-dark); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary-dark); background: var(--primary-soft); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.header-phone:hover { color: var(--primary-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 3px;
  background: var(--primary-dark);
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 96px;
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(0, 188, 212, 0.16) 0%, rgba(0, 188, 212, 0) 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(242, 106, 23, 0.14) 0%, rgba(242, 106, 23, 0) 55%),
    linear-gradient(160deg, #ffffff 0%, #f2fbfd 100%);
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); animation: pulse-dot 2s infinite; }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 158, 90, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(30, 158, 90, 0); }
}

.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--primary); }
.hero-lead { font-size: 1.16rem; color: var(--text-muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.9rem; font-weight: 700; }
.hero-trust svg { color: var(--secondary-dark); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-photo {
  width: min(380px, 78vw);
  aspect-ratio: 1 / 1.12;
  border-radius: 40% 40% 18px 18px;
  overflow: hidden;
  border: 10px solid #fff;
  box-shadow: var(--shadow-lg);
  background: var(--secondary-soft);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  font-size: 0.88rem;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 auto;
}
.hero-float b { display: block; color: var(--ink); font-size: 0.95rem; }
.hero-float span { color: var(--text-muted); }
.hero-float--1 { top: 8%; left: -4%; animation-delay: 0.4s; }
.hero-float--2 { bottom: 10%; right: -2%; animation-delay: 1.4s; }
.hero-float--2 .icon { background: linear-gradient(135deg, #25d366, #1fb959); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 64px;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(0, 188, 212, 0.14) 0%, rgba(0, 188, 212, 0) 60%),
    linear-gradient(160deg, #ffffff 0%, #f0fafc 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 1.14rem; color: var(--text-muted); max-width: 720px; margin: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  color: var(--text-muted);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "›"; color: #9db0bd; font-size: 1rem; }
.breadcrumbs a { color: var(--text-muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--primary-dark); }
.breadcrumbs [aria-current="page"] { color: var(--primary-dark); font-weight: 700; }

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.card--link { text-decoration: none; color: inherit; }
.card--link h3 { color: var(--ink); transition: var(--transition); }
.card--link:hover h3 { color: var(--primary-dark); }
.card--link:hover { color: inherit; }

.card-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  background: var(--primary-soft);
  margin-bottom: 22px;
  flex: 0 0 auto;
  transition: var(--transition);
}
.card:hover .card-icon { background: linear-gradient(135deg, var(--primary), #ff8b3d); color: #fff; transform: scale(1.05); }
.card-icon--cyan { background: var(--secondary-soft); color: var(--secondary-dark); }
.card:hover .card-icon--cyan { background: linear-gradient(135deg, var(--secondary), #35d2e8); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.97rem; flex: 1; }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}
.card-cta svg { transition: transform 0.25s var(--ease); }
.card:hover .card-cta svg { transform: translateX(4px); }

.card--feature { border-left: 5px solid var(--primary); }

/* Highlight / tint card */
.card--tint { background: linear-gradient(160deg, #fff 0%, var(--primary-soft) 130%); }
.card--cyan { background: linear-gradient(160deg, #fff 0%, var(--secondary-soft) 130%); border-left: 5px solid var(--secondary); }

/* Blog cards */
.card--blog { padding: 0; overflow: hidden; }
.card--blog .card-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--secondary-soft), var(--primary-soft)); overflow: hidden; }
.card--blog .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card--blog:hover .card-media img { transform: scale(1.05); }
.card--blog .card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card--blog .card-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.83rem; color: var(--text-muted); margin-bottom: 12px; }
.card--blog .card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card--blog h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card--blog p { font-size: 0.95rem; }

/* ---------- Feature list / checkmarks ---------- */
.check-list { list-style: none; margin: 0 0 24px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--text-main);
}
.check-list .tick {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--secondary-soft);
  color: var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Numbered steps */
.steps { counter-reset: step; list-style: none; margin: 0; display: grid; gap: 22px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 24px 24px 24px 84px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #ff8b3d);
  box-shadow: var(--shadow-primary);
}
.steps h3 { margin-bottom: 6px; }

/* Stats band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -66px;
  position: relative;
  z-index: 2;
}
.stat {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 28px 20px;
  text-align: center;
}
.stat b { display: block; font-family: var(--font-heading); font-size: 2rem; color: var(--primary); line-height: 1.1; }
.stat span { color: var(--text-muted); font-size: 0.92rem; font-weight: 600; }

/* ---------- CTA panels ---------- */
.cta-panel {
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 55%, #0e4a5a 100%);
}
.cta-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.35) 0%, rgba(0, 188, 212, 0) 70%);
}
.cta-panel h2 { color: #fff; margin-bottom: 12px; }
.cta-panel p { color: #c9d6e0; max-width: 640px; margin-bottom: 28px; }
.cta-panel .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[data-open="true"] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-question .chev {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.faq-item[data-open="true"] .chev { transform: rotate(180deg); background: var(--primary); color: #fff; }
.faq-answer { display: none; padding: 0 24px 22px; color: var(--text-muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item[data-open="true"] .faq-answer { display: block; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.93rem; color: var(--ink); }
.form-field label .req { color: var(--primary); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 10px;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.15);
}
.form-control::placeholder { color: #93a4b0; }
textarea.form-control { resize: vertical; min-height: 110px; }

.form-field.has-error .form-control { border-color: var(--danger); }
.form-error { display: none; color: var(--danger); font-size: 0.86rem; font-weight: 600; }
.has-error .form-error { display: block; }

.form-note { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.table-wrap th { background: var(--dark); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover { background: var(--light); }

/* ---------- Contact info cards ---------- */
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: var(--transition); }
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-card .icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--primary), #ff8b3d); }
.info-card h3 { margin-bottom: 4px; font-size: 1.02rem; }
.info-card p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }
.info-card a { font-weight: 700; }

/* Map */
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); line-height: 0; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--primary-soft);
}
.testimonial .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial p { color: var(--text-muted); font-size: 0.97rem; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary-soft);
  color: var(--secondary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial .who b { display: block; color: var(--ink); font-size: 0.95rem; }
.testimonial .who span { color: var(--text-muted); font-size: 0.84rem; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; list-style: none; margin: 40px 0 0; }
.pagination a, .pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-main);
  font-weight: 700;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary-dark); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Floating actions ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fb959);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(31, 185, 89, 0.45);
  transition: var(--transition);
}
.floating-whatsapp:hover { color: #fff; transform: scale(1.08); }
.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  z-index: -1;
  animation: wa-pulse 2.2s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { opacity: 0; }
}
.floating-whatsapp .tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.floating-whatsapp:hover .tooltip { opacity: 1; }

/* Sticky appointment bar (mobile) */
.sticky-book {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(20, 40, 60, 0.12);
  padding: 10px 14px;
  gap: 10px;
}
.sticky-book .btn { flex: 1; padding: 12px 10px; font-size: 0.92rem; }

/* ---------- Blog layout ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.blog-sidebar { position: sticky; top: 100px; display: grid; gap: 28px; }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-soft); }
.side-card ul { list-style: none; margin: 0; }
.side-card ul li { margin-bottom: 9px; }
.side-card ul a { color: var(--text-main); font-weight: 600; font-size: 0.94rem; display: inline-flex; gap: 8px; }
.side-card ul a:hover { color: var(--primary-dark); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  border: 1px solid var(--line);
  color: var(--text-main);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}
.tag:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Post page */
.post-hero { padding: calc(var(--header-h) + 56px) 0 48px; background: linear-gradient(160deg, #fff, #f0fafc); border-bottom: 1px solid var(--line); }
.post-title { max-width: 860px; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-muted); font-size: 0.9rem; margin-top: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .category a { color: var(--primary-dark); font-weight: 700; }

.post-body { max-width: 820px; }
.post-body h2 { margin-top: 1.6em; }
.post-body h3 { margin-top: 1.4em; }
.post-body ul, .post-body ol { margin-left: 1.4em; }
.post-body blockquote {
  margin: 1.6em 0;
  padding: 18px 26px;
  border-left: 5px solid var(--primary);
  background: var(--primary-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--ink);
}
.post-body pre {
  background: var(--dark);
  color: #d7e3ec;
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1.4em 0;
}
.post-body code { font-family: Consolas, 'Courier New', monospace; font-size: 0.9em; background: var(--light); padding: 2px 7px; border-radius: 5px; }
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.95rem; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.post-body th { background: var(--dark); color: #fff; }
.post-body img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 1em 0; }
.post-body iframe { max-width: 100%; border-radius: var(--radius); border: 0; aspect-ratio: 16 / 9; width: 100%; }

.post-featured-image { margin-top: 34px; }
.post-featured-image img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.post-share { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--text-main); font-weight: 700; font-size: 0.88rem; }
.share-btn:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }

.related-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }

/* Search */
.search-box { position: relative; }
.search-box input { padding-right: 46px; }
.search-box .search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(120deg, var(--secondary) 0%, #35d2e8 100%);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
}
.newsletter h2 { color: #fff; margin-bottom: 8px; }
.newsletter p { color: rgba(255, 255, 255, 0.92); margin: 0; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-family: var(--font-body);
}
.newsletter-form input:focus { outline: 3px solid #fff; outline-offset: 2px; }
.newsletter-success { display: none; color: #064e3b; background: #d1fae5; border-radius: 10px; padding: 12px 18px; font-weight: 700; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #9fb2bf; padding: 70px 0 0; font-size: 0.95rem; }
.site-footer a { color: #b9c8d3; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 1.1fr 1.1fr; gap: 44px; padding-bottom: 48px; }
.footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), #ff8b3d);
}
.footer-col ul { list-style: none; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { display: inline-flex; align-items: center; gap: 8px; }
.footer-col ul a::before { content: "›"; color: var(--primary); font-weight: 700; }

.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { margin-bottom: 14px; }

.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact svg { flex: 0 0 auto; color: var(--primary); margin-top: 3px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}
.footer-bottom .legal { display: flex; gap: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .grid--quarters { grid-template-columns: repeat(2, 1fr); }
  .grid--thirds { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .related-posts { grid-template-columns: repeat(2, 1fr); }
  .hero-float--1 { left: 0; }
  .hero-float--2 { right: 0; }
}

@media (max-width: 900px) {
  .topbar .topbar-info { display: none; }
  .topbar { text-align: center; }
  .topbar .container { justify-content: center; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 14px 24px 22px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; }
  .header-phone { display: none; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: calc(var(--header-h) + 60px); }
  .hero-actions { justify-content: flex-start; }
  .hero-visual { order: -1; }
  .hero-photo { width: min(300px, 68vw); }
  .hero-float--1 { top: -4%; left: -2%; }
  .hero-float--2 { bottom: 4%; right: 0; }

  .grid--split { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .cta-panel { padding: 40px 30px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .grid--thirds, .grid--quarters, .grid--cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -30px; }
  .stat { padding: 20px 12px; }
  .stat b { font-size: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .related-posts { grid-template-columns: 1fr; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .hero-trust { gap: 16px; }
  .hero-actions .btn { flex: 1; min-width: 150px; }
  .sticky-book { display: flex; }
  body { padding-bottom: 62px; }
  .floating-whatsapp { bottom: 78px; width: 52px; height: 52px; }
  .page-hero { padding-top: calc(var(--header-h) + 44px); }
  .cta-actions .btn { flex: 1; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .steps li { padding: 20px 20px 20px 76px; }
  .steps li::before { left: 20px; width: 40px; height: 40px; }
}

/* ============================================================================
   Blog (PHP) — listing, post, comments
   ============================================================================ */
.blog-hero { background: linear-gradient(135deg, #1c2a38 0%, #24384a 100%); color: #fff; padding: 96px 0 72px; text-align: center; }
.blog-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.9rem); margin: 10px 0 14px; color: #fff; }
.blog-hero p { max-width: 640px; margin: 0 auto; opacity: .85; font-size: 1.05rem; }
.blog-hero .eyebrow { color: var(--accent); }
.blog-search { display: flex; gap: 10px; max-width: 520px; margin: 26px auto 0; }
.blog-search input { flex: 1; padding: 12px 16px; border-radius: 10px; border: 0; font: inherit; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; padding: 26px 0 4px; }
.blog-cats a { padding: 8px 16px; border-radius: 999px; background: #f1f5f9; color: var(--ink); font-weight: 700; font-size: .9rem; }
.blog-cats a:hover { background: var(--primary); color: #fff; }
.blog-cats a.active { background: var(--primary); color: #fff; }

.blog-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
.card--blog { padding: 0; overflow: hidden; background: #fff; border: 1px solid #e8eef4; transition: transform .25s ease, box-shadow .25s ease; }
.card--blog:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28, 42, 56, .12); }
.blog-card-media img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card-body { padding: 22px; }
.blog-card-cat a { color: var(--accent); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.card--blog h2, .card--blog h3 { font-size: 1.15rem; line-height: 1.4; margin: 8px 0 10px; }
.card--blog h2 a, .card--blog h3 a { color: var(--ink); }
.card--blog h2 a:hover, .card--blog h3 a:hover { color: var(--primary); }
.card--blog p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: var(--muted); border-top: 1px solid #eef2f6; padding-top: 12px; }
.blog-card-meta .read-more { margin-left: auto; }
.blog-card-meta .read-more a { color: var(--primary); font-weight: 700; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; }
.page-link { font-weight: 700; color: var(--primary); }
.page-info { color: var(--muted); font-size: .92rem; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state h1, .empty-state h2 { margin-bottom: 12px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* --- post --- */
.post-article { padding: 48px 0 24px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.post-main { min-width: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .88rem; color: var(--muted); }
.post-cat { background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .8rem; }
.post-header h1 { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.3; margin: 14px 0 10px; }
.post-author { color: var(--muted); font-size: .95rem; }
.post-cover img { width: 100%; border-radius: 14px; margin: 20px 0 8px; }
.post-content { font-size: 1.06rem; line-height: 1.8; color: #2a3440; }
.post-content h2 { font-family: var(--font-serif); font-size: 1.5rem; margin: 34px 0 12px; color: var(--ink); }
.post-content h3 { font-family: var(--font-serif); font-size: 1.22rem; margin: 28px 0 10px; color: var(--ink); }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 0 0 20px 22px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 4px solid var(--primary); background: #fff7f2; padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 0 0 20px; font-style: italic; }
.post-content img { max-width: 100%; height: auto; border-radius: 12px; }
.post-content table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: .95rem; }
.post-content th, .post-content td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; }
.post-content th { background: #f8fafc; }
.post-content code { background: #f1f5f9; padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.post-content a { color: var(--primary); text-decoration: underline; }
.post-tags { margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: #f1f5f9; color: var(--ink); padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; }

.post-callout { background: linear-gradient(135deg, var(--primary), #ff8b3d); color: #fff; border-radius: 14px; padding: 28px; margin: 34px 0; }
.post-callout h2 { color: #fff; margin-bottom: 8px; }
.post-callout p { opacity: .95; margin-bottom: 18px; }
.post-links { background: #f8fafc; border: 1px solid #e8eef4; border-radius: 12px; padding: 22px 26px; margin-bottom: 34px; }
.post-links ul { list-style: none; margin: 10px 0 0; }
.post-links li { margin-bottom: 8px; }
.post-links a { color: var(--primary); font-weight: 700; }

.post-comments { border-top: 2px solid #eef2f6; padding-top: 26px; }
.post-comments > h3 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 14px; }
.comment { background: #f8fafc; border-radius: 10px; padding: 16px 20px; margin-bottom: 14px; }
.comment b { color: var(--ink); }
.comment time { color: var(--muted); font-size: .82rem; margin-left: 8px; }
.comment p { margin-top: 8px; }
.comment-form { margin-top: 26px; background: #f8fafc; border: 1px solid #e8eef4; border-radius: 12px; padding: 24px; max-width: 640px; }
.comment-form h4 { margin-bottom: 14px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .83rem; color: var(--muted); margin-top: 10px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; font-size: .92rem; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

.post-sidebar .sidebar-card { background: #f8fafc; border: 1px solid #e8eef4; border-radius: 12px; padding: 22px; margin-bottom: 22px; }
.post-sidebar .sidebar-card h3 { font-size: 1.05rem; margin-bottom: 12px; font-family: var(--font-serif); }
.sidebar-list { list-style: none; }
.sidebar-list li { border-bottom: 1px solid #edf1f6; padding: 8px 0; }
.sidebar-list li:last-child { border-bottom: 0; }
.sidebar-list a { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; color: var(--ink); font-weight: 700; }
.sidebar-list a:hover { color: var(--primary); }
.sidebar-list .count { color: var(--muted); font-weight: 400; }
.sidebar-card--cta .btn { margin-bottom: 10px; }
.btn-block { width: 100%; justify-content: center; }

@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: 34px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-search { flex-direction: column; }
  .post-article { padding-top: 30px; }
}
