/* Vista Speciality Clinic - Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

/* ===== CSS Variables ===== */
:root {
  --primary: #c9184a;
  --primary-light: #ff4d6d;
  --primary-pale: #ffb3c1;
  --accent: #ff758c;
  --background: #fff8fa;
  --background-alt: #fff0f3;
  --foreground: #1a0a0e;
  --muted: #6b4755;
  --muted-light: #9d7282;
  --card: #fff;
  --border: #f2d0d8;
  --border-strong: #e8b4c0;
  --success: #22c55e;
  --whatsapp: #25d366;
}

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

html {
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: inherit;
}

body::before {
  content: "";
  position: fixed;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

a { color: inherit; text-decoration: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button, [role="button"] { cursor: pointer; }
blockquote, p, h1, h2, h3, h4, h5, h6, hr, figure, pre, dl, dd { margin: 0; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--primary-pale); border-radius: 3px; }

/* ===== Keyframe Animations ===== */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes gradient-shift {
  0% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
@keyframes blob-morph {
  0%, 100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; }
}
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(32px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes scale-in {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes slide-right {
  0% { opacity: 0; transform: translateX(-24px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* ===== Utility Classes ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

/* ===== Animations ===== */
.animate-float { animation: float-gentle 5s ease-in-out infinite; }
.animate-float-badge { animation: float-badge 4s ease-in-out infinite; }
.animate-blob { animation: blob-morph 8s ease-in-out infinite; }
.animate-fade-up { animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* ===== Component Styles ===== */

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #c9184a, #ff4d6d 50%, #ff758c);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

/* Primary Button */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c9184a, #ff4d6d);
  color: #fff;
  font-weight: 600;
  border-radius: 1rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 24px rgba(201, 24, 74, 0.25);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::after { transform: translateX(200%); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 24, 74, 0.35);
}

/* WhatsApp Button */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-weight: 600;
  border-radius: 1rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  border: 2px solid var(--primary-pale);
  border-radius: 1rem;
  padding: 0.875rem 1.25rem;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: rgba(201, 24, 74, 0.05);
}

/* Trust Cards */
.trust-card {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(201, 24, 74, 0.12);
}

/* Testimonial Cards */
.testimonial-card {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(201, 24, 74, 0.1);
}

/* Form Inputs */
.form-group {
  position: relative;
  margin-bottom: 0.5rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 0.75rem;
  background: #fff;
  font-size: 0.875rem;
  transition: all 0.25s ease;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 24, 74, 0.1);
  outline: none;
}
.form-input.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}
.form-input.error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Error Messages */
.error-message {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 500;
}
.error-message.show {
  display: block;
}

/* Blob Backgrounds */
.blob-bg {
  position: absolute;
  border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
  animation: blob-morph 10s ease-in-out infinite;
}

/* Star Rating */
.star-filled { color: #f59e0b; }

/* Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* Urgency BG */
.urgency-bg {
  background: linear-gradient(135deg, #fff0f3, #ffe4ea 50%, #fff0f3);
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(255, 248, 250, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(201, 24, 74, 0.08);
}
.header .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .header .inner { padding: 0 1.5rem; }
}
.header .logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}
.header nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.header nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.header nav a:hover { color: var(--primary); }
.header .header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.header .header-actions .btn-call {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--primary-pale);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  transition: background 0.2s;
}
.header .header-actions .btn-call:hover { background: rgba(201, 24, 74, 0.05); }
.header .header-actions .btn-wa {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #25d366;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  transition: background 0.2s;
}
.header .header-actions .btn-wa:hover { background: #1ebe5d; }

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: var(--muted);
  background: transparent;
  transition: all 0.2s;
}
.mobile-menu-btn:hover { color: var(--primary); background: rgba(201, 24, 74, 0.05); }

@media (min-width: 768px) {
  .header nav { display: flex; }
  .header .header-actions { display: flex; }
  .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.4);
}
.mobile-menu.open { display: block; }
.mobile-menu .menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  animation: slide-right 0.3s ease;
}
.mobile-menu .close-btn {
  align-self: flex-end;
  padding: 0.5rem;
  background: transparent;
  border-radius: 0.5rem;
  color: var(--muted);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  color: var(--foreground);
}
.mobile-menu .menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: visible;
  padding-top: 4rem;
}
.hero .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero .subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 36rem;
}
.hero .hero-image {
  position: relative;
  border-radius: 2rem;
  overflow: visible;
}
.hero .hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2rem;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
  .hero .subtitle { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .hero .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .hero h1 { font-size: 3.75rem; }
  .hero .hero-image img { height: 560px; }
}

/* Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 12px rgba(201, 24, 74, 0.08);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.badge-pill .dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem; height: 0.5rem;
  flex-shrink: 0;
}
.badge-pill .dot span:first-child {
  position: absolute;
  display: inline-flex;
  width: 100%; height: 100%;
  border-radius: 9999px;
  background: #4ade80;
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.badge-pill .dot span:last-child {
  position: relative;
  display: inline-flex;
  width: 0.5rem; height: 0.5rem;
  border-radius: 9999px;
  background: #22c55e;
}

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 0.5rem; }
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

/* Social Proof Row */
.social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}
.avatar-stack {
  display: flex;
}
.avatar-stack .avatar {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  border: 2px solid #fff;
  overflow: hidden;
  margin-left: -0.625rem;
}
.avatar-stack .avatar:first-child { margin-left: 0; }
.avatar-stack .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.avatar-stack .avatar-count {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  border: 2px solid #fff;
  background: rgba(201, 24, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: -0.625rem;
}
.stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

/* Hero Floating Badges */
.hero-badges {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .hero-badges { display: block; }
}
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  animation: float-badge 4s ease-in-out infinite;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(201, 24, 74, 0.08);
}
.hero-badge .icon-wrap {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-badge p:first-of-type { font-size: 0.875rem; font-weight: 700; }
.hero-badge p:last-of-type { font-size: 0.75rem; color: var(--muted-light); line-height: 1.3; }

/* Hero Right Column */
.hero-right {
  position: relative;
  padding-bottom: 3rem;
}

/* Hero Logo Badge */
.hero-logo-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  z-index: 30;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border: 3px solid #fff;
}
.hero-logo-badge img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 11px;
}

/* Hero Callback Form */
.hero-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(201, 24, 74, 0.08);
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .hero-form {
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    z-index: 20;
    margin-top: 0;
  }
}
.hero-form h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-form form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-form .privacy-note {
  font-size: 0.7rem;
  color: var(--muted-light);
  text-align: center;
  margin-top: 0.25rem;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

/* ===== Sections ===== */
.section {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}
.section-alt { background: var(--background-alt); }
.section-white { background: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
.section-subtitle {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Problem/Concern Cards ===== */
.concern-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .concern-grid { grid-template-columns: 1fr 1fr; }
}
.concern-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: var(--background);
}
.concern-card .icon-wrap {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.concern-card p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.4;
  padding-top: 0.25rem;
}

/* ===== Solution/Services Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(201, 24, 74, 0.1);
  background: #fff;
  box-shadow: 0 2px 12px rgba(201, 24, 74, 0.06);
}
.service-card.featured {
  border-color: var(--primary-pale);
  box-shadow: 0 8px 32px rgba(201, 24, 74, 0.12);
  ring: 2px solid var(--primary-pale);
}
.service-card .featured-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.25rem 1rem;
  box-shadow: 0 4px 12px rgba(201, 24, 74, 0.3);
  white-space: nowrap;
}
.service-card .icon-wrap {
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card .stage-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  display: inline-block;
}
.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== Why Us Grid ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-grid-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) {
  .why-grid-bottom { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .why-grid-bottom { max-width: 42rem; margin-left: auto; margin-right: auto; }
}
.why-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-card .icon-wrap {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-card h3 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== Doctor Section ===== */
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .doctor-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.doctor-image-wrap {
  position: relative;
}
.doctor-image-wrap .bg-gradient {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background: linear-gradient(135deg, #FFB3C1 0%, #FFE4EA 60%, #FFF0F3 100%);
  transform: rotate(-3deg) scale(1.05);
  z-index: 0;
}
.doctor-image-wrap .image-frame {
  position: relative;
  z-index: 1;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(201, 24, 74, 0.15);
}
.doctor-image-wrap .image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top;
}
@media (min-width: 1024px) {
  .doctor-image-wrap .image-frame img { height: 560px; }
}
.doctor-info { display: flex; flex-direction: column; gap: 1.5rem; }
.doctor-info .credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.doctor-info .credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.doctor-info .credential .icon-wrap {
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(201, 24, 74, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doctor-info .credential span {
  font-size: 0.875rem;
  font-weight: 500;
}
.doctor-info blockquote {
  border-left: 4px solid var(--primary-pale);
  padding-left: 1rem;
  margin-top: 0.5rem;
}
.doctor-info blockquote p {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
}
.doctor-info blockquote cite {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
  display: block;
  margin-top: 0.25rem;
}

/* Doctor floating badges */
.doctor-badges {
  position: absolute;
  z-index: 2;
  display: none;
}
@media (min-width: 1024px) {
  .doctor-badges { display: block; }
}
.doctor-badges .badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 16px rgba(201, 24, 74, 0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float-badge 4s ease-in-out infinite;
}
.doctor-badges .badge p:first-of-type { font-size: 0.875rem; font-weight: 700; }
.doctor-badges .badge p:last-of-type { font-size: 0.75rem; color: var(--muted-light); }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card .review-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.testimonial-card .reviewer img {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
}
.testimonial-card .reviewer .name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}
.testimonial-card .reviewer .loc {
  font-size: 0.75rem;
  color: var(--muted-light);
}
.testimonial-card .reviewer .tag {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(201, 24, 74, 0.07);
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  margin-top: 0.125rem;
  display: inline-block;
}

/* ===== PCOS Section ===== */
.pcos-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .pcos-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.pcos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .pcos-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .pcos-grid { grid-template-columns: repeat(4, 1fr); }
}
.pcos-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.pcos-card .icon-wrap {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pcos-card h3 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}
.pcos-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== Urgency Section ===== */
.urgency-section {
  position: relative;
  overflow: hidden;
}
.urgency-section .urgency-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.urgency-section .urgency-icon {
  width: 4rem; height: 4rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(201, 24, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.urgency-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.urgency-list .urgency-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.urgency-list .urgency-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

/* ===== Booking Form Section ===== */
.booking-section .booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .booking-section .booking-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.booking-left .image-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(201, 24, 74, 0.1);
  margin-bottom: 2rem;
}
.booking-left .image-wrap img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}
.booking-left .info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.booking-left .clinic-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.booking-left .clinic-info h4 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.booking-left .clinic-info p {
  font-size: 0.875rem;
  color: var(--muted);
}
.booking-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(201, 24, 74, 0.06);
}
.booking-form-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.booking-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.booking-form-wrap .submit-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: none;
  font-weight: 700;
  font-size: 0.875rem;
}
.booking-form-wrap .privacy-note {
  font-size: 0.75rem;
  color: var(--muted-light);
  text-align: center;
  margin-top: 0.5rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--foreground);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}
.footer .footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.footer .footer-brand img {
  height: 40px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}
.footer .footer-brand p {
  font-size: 0.875rem;
  max-width: 20rem;
  line-height: 1.5;
}
.footer .footer-brand .location {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0.6;
}
.footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer .footer-links h4 {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.footer .footer-links a {
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.footer .footer-links a:hover { color: #fff; }
.footer .footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer .footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  animation: float-badge 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(37, 211, 102, 0.4));
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  transition: transform 0.3s;
}
.whatsapp-float a:hover { transform: scale(1.1); }

/* ===== Reveal on Scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Thank You Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 10, 14, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  animation: modal-fade-in 0.25s ease;
}
.modal-overlay[hidden] {
  display: none;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-box {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(201, 24, 74, 0.15);
  animation: modal-slide-up 0.3s ease;
}
@keyframes modal-slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--background-alt); }
.modal-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}
.modal-box h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}
.modal-box p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.modal-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.modal-dismiss {
  width: 100%;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-strong);
  background: none;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.modal-dismiss:hover {
  background: var(--background-alt);
  color: var(--foreground);
}
