/* ============================================================
   main.css — clinicasesteticasmalaga.es
   Producción · v1.0
   ============================================================ */

/* ── GOOGLE FONTS ────────────────────────────────────────────
   Importar en el <head> de cada página:
   <link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,700;0,800;0,900;1,700;1,900&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
   ──────────────────────────────────────────────────────────── */

/* ── 1. TOKENS / VARIABLES ─────────────────────────────────── */
:root {
  /* Colores */
  --black:      #0A0A0A;
  --near-black: #141414;
  --dark:       #1C1C1C;
  --mid:        #6B6B6B;
  --light:      #C8C8C8;
  --border:     #E8E8E8;
  --bg:         #FAFAFA;
  --white:      #FFFFFF;
  --accent:     #D4506A;
  --worth:      #1B7F4A;
  --yellow:     #F5C842;

  /* Tipografía */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Espaciado */
  --section-gap: 72px;
  --container:   1200px;
  --radius:      8px;
  --radius-sm:   4px;

  /* Sombras */
  --shadow-card: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 20px 56px rgba(0,0,0,0.13);
  --shadow-search: 0 8px 40px rgba(0,0,0,0.35);
}

/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
ul, ol { list-style: none; }

/* ── 3. LAYOUT UTILITIES ────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.section      { padding: var(--section-gap) 0; }
.section-sm   { padding: 40px 0; }
.section-bg   { background: var(--bg); }
.section-dark { background: var(--near-black); color: var(--white); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--black);
  padding-bottom: 16px;
}
.sec-head.dark { border-bottom-color: rgba(255,255,255,0.15); }

.sec-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--black);
}
.sec-title-white { color: var(--white); }

.sec-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.15s;
}
.sec-link:hover { opacity: 0.75; }

/* ── 4. TIPOGRAFÍA ──────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 900;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ── 5. BOTONES GLOBALES ────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--accent); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--border);
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--black); }

.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-accent:hover { opacity: 0.85; }

.btn-white {
  background: var(--white);
  color: var(--accent);
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-white:hover { opacity: 0.9; }

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 13px 36px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-white-outline:hover { border-color: var(--white); }

/* ── 6. BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}
.badge-black   { background: var(--black);  color: var(--white); }
.badge-accent  { background: var(--accent); color: var(--white); }
.badge-worth   { background: var(--worth);  color: var(--white); }
.badge-outline { background: var(--white);  color: var(--black); border: 1px solid var(--border); }
.badge-premium { background: var(--black);  color: var(--white); }

/* ── 7. TOPBAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 9px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.topbar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.topbar a:hover { text-decoration: underline; }

/* ── 8. NAV ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
  margin-right: 40px;
  line-height: 1;
}
.nav-logo span { color: var(--accent); }

.nav-tabs {
  display: flex;
  height: 100%;
  flex: 1;
}
.nav-tabs li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-tabs li a:hover,
.nav-tabs li a.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.btn-nav-outline {
  padding: 8px 18px;
  border: 1.5px solid var(--black);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-nav-outline:hover { background: var(--black); color: var(--white); }

.btn-nav-fill {
  padding: 8px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-nav-fill:hover { opacity: 0.85; }
.show-mobile { display: none; }

/* ── 9. HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 72px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212,80,106,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.hero-eyebrow span { color: var(--accent); font-weight: 600; }

.hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.65;
}

/* Search */
.search-box {
  max-width: 680px;
  margin: 0 auto 20px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  overflow: hidden;
  box-shadow: var(--shadow-search);
}
.search-box select,
.search-box input {
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--black);
  padding: 18px 20px;
  background: transparent;
}
.search-box select {
  border-right: 1px solid var(--border);
  min-width: 180px;
  cursor: pointer;
  font-weight: 500;
}
.search-box input { flex: 1; }
.search-box input::placeholder { color: var(--light); }
.search-box button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0 32px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.search-box button:hover { opacity: 0.85; }

/* Hero tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 580px;
  margin: 0 auto;
}
.hero-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.hero-tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 52px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ── 10. WORTH IT STRIP ─────────────────────────────────────── */
.worth-strip {
  overflow: hidden;
  background: var(--worth);
  padding: 13px 0 13px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
}
.worth-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.3);
  padding-right: 16px;
  flex-shrink: 0;
}
.worth-items {
  display: flex;
  gap: 24px;
  animation: scroll-x 22s linear infinite;
  flex-shrink: 0;
  min-width: max-content;
}
.worth-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.worth-pct {
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.worth-name {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.worth-dot { color: rgba(255,255,255,0.3); font-size: 1rem; }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 11. TRATAMIENTOS GRID ──────────────────────────────────── */
.treat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.treat-card {
  background: var(--white);
  padding: 28px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.treat-card:hover { background: var(--black); }
.treat-card:hover .tc-name,
.treat-card:hover .tc-sub  { color: var(--white); }
.treat-card:hover .tc-emoji { color: rgba(255,255,255,0.6); }
.treat-card:hover .tc-worth {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}

.tc-emoji {
  display: block;
  margin-bottom: 16px;
  color: var(--mid);
  transition: color 0.2s;
}
.tc-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
  transition: color 0.2s;
}
.tc-sub {
  font-size: 0.78rem;
  color: var(--mid);
  margin-bottom: 14px;
  transition: color 0.2s;
}
.tc-worth {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(27,127,74,0.1);
  color: var(--worth);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  transition: all 0.2s;
}

/* ── 12. CLINIC CARDS ───────────────────────────────────────── */
.clinics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.clinic-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  background: var(--white);
}
.clinic-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.clinic-card.is-premium { border: 2px solid var(--black); }

.cc-img {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.cc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.clinic-card:hover .cc-img img { transform: scale(1.05); }

.cc-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s;
}
.clinic-card:hover .cc-ph { transform: scale(1.05); }
.ph-a { background: linear-gradient(135deg, #F8E8E0, #EDCDC0); }
.ph-b { background: linear-gradient(135deg, #E0EDE8, #C8DDD5); }
.ph-c { background: linear-gradient(135deg, #F0EAD8, #E8DCC8); }
.ph-d { background: linear-gradient(135deg, #E8E0F0, #D5C8E8); }
.ph-e { background: linear-gradient(135deg, #F8F0E0, #EDE0C8); }
.ph-f { background: linear-gradient(135deg, #E0EDF8, #C8D8ED); }

.cc-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cc-body { padding: 20px; }
.cc-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.1;
}
.cc-location {
  font-size: 0.78rem;
  color: var(--mid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cc-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.stars-row { display: flex; gap: 2px; }
.cc-rating-num   { font-size: 0.88rem; font-weight: 700; }
.cc-rating-count { font-size: 0.75rem; color: var(--mid); }

.cc-treats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cc-treat {
  font-size: 0.72rem;
  padding: 3px 10px;
  background: var(--bg);
  border-radius: 3px;
  color: var(--dark);
  border: 1px solid var(--border);
}

.cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.cc-price { font-size: 0.78rem; color: var(--mid); }
.cc-price strong { color: var(--black); font-weight: 600; }

.btn-cita {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-cita:hover { background: var(--accent); }

/* ── 13. WORTH IT SECTION ───────────────────────────────────── */
.worth-section {
  background: var(--black);
  padding: var(--section-gap) 0;
  color: var(--white);
}
.worth-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.worth-left h2 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--white);
}
.worth-left h2 em { color: var(--accent); font-style: italic; }
.worth-left p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 32px;
}
.worth-meter {
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.wm-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  min-width: 130px;
}
.wm-bar-wrap {
  flex: 1;
  height: 7px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.wm-bar {
  height: 100%;
  background: var(--worth);
  border-radius: 4px;
}
.wm-pct {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--worth);
  min-width: 40px;
  text-align: right;
}
.worth-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.worth-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s;
  cursor: pointer;
}
.worth-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.wc-emoji { margin-bottom: 10px; color: rgba(255,255,255,0.6); }
.wc-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.wc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(27,127,74,0.25);
  color: #4ADE80;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}

/* ── 14. REVIEWS ────────────────────────────────────────────── */
.reviews-strip { padding: 56px 0; background: var(--bg); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.review-card:hover { box-shadow: var(--shadow-card); }

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.av-a { background: #F8E8E0; }
.av-b { background: #E0EDE8; }
.av-c { background: #F0EAD8; }

.review-name { font-size: 0.88rem; font-weight: 600; }
.review-meta { font-size: 0.72rem; color: var(--mid); margin-top: 2px; }
.review-stars { margin-bottom: 10px; color: var(--yellow); letter-spacing: 2px; }
.review-text  { font-size: 0.85rem; color: var(--dark); line-height: 1.65; }
.review-worth {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  background: rgba(27,127,74,0.1);
  color: var(--worth);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
}

/* ── 15. DOCTOR CARDS ───────────────────────────────────────── */
.section-doctors { padding: var(--section-gap) 0; }
/* Homepage: 4 columnas desktop, 2 en móvil */
.section-doctors .doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .section-doctors .doctors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .section-doctors .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
/* Directorio /medicos: 3 columnas con sidebar */
.directory-layout .doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.doc-card {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s, border-color 0.25s;
  background: var(--white);
  position: relative;
}
.doc-card:hover {
  border-color: var(--black);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.doc-card.is-premium { border: 2px solid var(--black); }

/* Stripe por especialidad */
.doc-card-stripe { height: 4px; background: var(--black); }
.doc-card.specialty-laser  .doc-card-stripe { background: linear-gradient(90deg, #D4506A, #E8759A); }
.doc-card.specialty-botox  .doc-card-stripe { background: linear-gradient(90deg, #2D6A4F, #4A9A6A); }
.doc-card.specialty-facial .doc-card-stripe { background: linear-gradient(90deg, #7B5EA7, #A07BC8); }
.doc-card.specialty-body   .doc-card-stripe { background: linear-gradient(90deg, #C4862A, #E8A850); }

.doc-avatar-wrap {
  padding: 24px 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.doc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.doc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.av-pink   { background: linear-gradient(135deg, #D4506A, #E8759A); }
.av-green  { background: linear-gradient(135deg, #2D6A4F, #4A9A6A); }
.av-purple { background: linear-gradient(135deg, #7B5EA7, #A07BC8); }
.av-gold   { background: linear-gradient(135deg, #C4862A, #E8A850); }

.doc-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: var(--worth);
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-header-info { flex: 1; padding-top: 4px; }
.doc-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 3px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.doc-title  { font-size: 0.72rem; color: var(--mid); margin-bottom: 8px; }
.doc-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.doc-stars { display: flex; gap: 1px; }
.doc-star-svg { width: 12px; height: 12px; }
.doc-rating-num   { font-size: 0.82rem; font-weight: 700; }
.doc-review-count { font-size: 0.72rem; color: var(--mid); }

.doc-body { padding: 16px 20px; }
.doc-clinic-ref {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--mid);
  margin-bottom: 12px;
  padding: 7px 10px;
  background: var(--bg);
  border-radius: 5px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.doc-clinic-ref strong {
  color: var(--black);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  display: inline-block;
}

.doc-specialties {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.doc-spec-tag {
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 3px;
  font-weight: 500;
  background: var(--bg);
  color: var(--dark);
  border: 1px solid var(--border);
}
.doc-spec-tag.highlight {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.doc-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: nowrap;
}
.doc-stat {
  background: var(--bg);
  border-radius: 5px;
  padding: 8px 12px;
  text-align: center;
  border: 1px solid var(--border);
  flex: 1;
}
.doc-stat-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.doc-stat-label { font-size: 0.65rem; color: var(--mid); margin-top: 2px; }

.doc-worth {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--worth);
  margin-bottom: 14px;
}
.doc-worth-bar {
  flex: 1;
  height: 5px;
  background: rgba(27,127,74,0.15);
  border-radius: 3px;
  overflow: hidden;
}
.doc-worth-fill { height: 100%; background: var(--worth); border-radius: 3px; }

.doc-footer {
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.btn-doc-primary {
  flex: 1;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px 0;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-doc-primary:hover { background: var(--accent); }
.btn-doc-secondary {
  background: var(--bg);
  color: var(--black);
  border: 1.5px solid var(--border);
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-doc-secondary:hover { border-color: var(--black); }
.doc-premium-label {
  position: absolute;
  top: 16px;
  right: 14px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 3px 7px;
  border-radius: 3px;
}

/* ── 16. CTA PREMIUM ────────────────────────────────────────── */
.cta-premium {
  background: var(--accent);
  padding: 72px 40px;
  text-align: center;
}
.cta-premium h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 16px;
}
.cta-premium p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-plans {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: stretch;
  margin-top: 48px;
}
.plan-item { text-align: center; color: rgba(255,255,255,0.85); }
.plan-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.plan-period { font-size: 0.78rem; opacity: 0.65; }
.plan-label  { font-size: 0.8rem; margin-top: 6px; font-weight: 500; }
.plan-divider { width: 1px; background: rgba(255,255,255,0.2); }

/* ── 17. FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--white);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 40px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.footer-logo-text span { color: var(--accent); }
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 240px;
}
.footer-trust { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--worth);
  flex-shrink: 0;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.15s;
  background: transparent;
}
.social-btn:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }

.footer-nav-col h5 {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-nav-col li { margin-bottom: 9px; }
.footer-nav-col a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.footer-nav-col a:hover { color: var(--white); }
.new-tag {
  font-size: 0.58rem;
  background: var(--accent);
  color: white;
  padding: 1px 5px;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  gap: 24px;
}
.footer-legal { display: flex; align-items: center; gap: 20px; }
.footer-copy  { font-size: 0.72rem; color: rgba(255,255,255,0.2); }
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.6); }
.footer-seo-strip {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.1);
  text-align: right;
  max-width: 380px;
  line-height: 1.4;
}

/* ── 18. FICHA CLÍNICA (página interior) ────────────────────── */
.breadcrumb-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.78rem;
  color: var(--mid);
}
.breadcrumb-bar a { color: var(--mid); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--black); }

.clinic-hero { padding: 48px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.clinic-hero-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}
.clinic-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 260px;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
}
.clinic-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.clinic-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(27,127,74,0.1);
  color: var(--worth);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.clinic-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--black);
}
.clinic-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 14px;
}
.clinic-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.rating-num   { font-size: 1rem; font-weight: 700; }
.rating-count { font-size: 0.82rem; color: var(--mid); }

.treat-pill {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.15s;
}
.treat-pill:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.treat-pill.muted { opacity: 0.5; cursor: default; }

.clinic-treats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.clinic-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Layout interior ficha */
.clinic-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.clinic-section { margin-bottom: 48px; }
.clinic-section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--black);
}
.clinic-desc { font-size: 0.95rem; line-height: 1.75; color: var(--dark); }

/* Sidebar */
.clinic-sidebar { position: sticky; top: 80px; }
.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.sidebar-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--mid);
}
.sidebar-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.5;
}
.sidebar-row svg { flex-shrink: 0; margin-top: 2px; color: var(--mid); }
.sidebar-row a { color: var(--black); text-decoration: none; }
.sidebar-row a:hover { color: var(--accent); }
.sidebar-upgrade {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-upgrade h3 { font-size: 1rem; margin-bottom: 8px; }
.sidebar-upgrade p  { font-size: 0.82rem; opacity: 0.6; margin-bottom: 16px; line-height: 1.5; }

/* Form review */
.review-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
}
.review-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--black); }
.form-group textarea { resize: vertical; min-height: 100px; }

.worth-toggle { display: flex; gap: 16px; }
.worth-toggle label { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; cursor: pointer; font-weight: 400; text-transform: none; letter-spacing: 0; }

.login-prompt {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: center;
}
.login-prompt a { color: var(--accent); font-weight: 600; }

/* ── 19. PÁGINA BUSCAR / DIRECTORIO ─────────────────────────── */
.search-page-header {
  background: var(--black);
  padding: 40px 0;
  color: var(--white);
}
.search-filters {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 64px;
  z-index: 100;
}
.filters-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s;
}
.filter-select:focus { border-color: var(--black); }
.filter-count {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--mid);
}

.directory-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
}
.directory-sidebar {
  position: sticky;
  top: 128px;
}
.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-child { border-bottom: none; }
.filter-group-title {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  margin-bottom: 8px;
  cursor: pointer;
}
.filter-option input { cursor: pointer; }

/* Paginación */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 40px 0;
}
.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--black);
  transition: all 0.15s;
}
.page-btn:hover, .page-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ── 20. ADMIN ──────────────────────────────────────────────── */
.admin-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  background: var(--bg);
}
.admin-sidebar {
  background: var(--black);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.admin-logo span { color: var(--accent); }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.15s;
}
.admin-nav a:hover, .admin-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.admin-badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}
.admin-nav-sep { height: 1px; background: rgba(255,255,255,0.06); margin: 12px 0; }
.admin-main { padding: 0; overflow: auto; }
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-page-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-user { font-size: 0.82rem; color: var(--mid); }
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 32px;
}
.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.admin-stat-card.accent { border-left: 3px solid var(--accent); }
.admin-stat-card.warn   { border-left: 3px solid var(--yellow); }
.admin-stat-card.success{ border-left: 3px solid var(--worth); }
.asc-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.asc-label { font-size: 0.78rem; color: var(--mid); margin-top: 4px; }
.admin-card {
  margin: 0 32px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.admin-card-head h2 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 12px 20px;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg); }
.admin-actions { display: flex; gap: 8px; }
.btn-approve { font-size: 0.72rem; color: var(--worth); font-weight: 600; text-decoration: none; }
.btn-reject  { font-size: 0.72rem; color: var(--accent); font-weight: 600; text-decoration: none; }
.btn-edit    { font-size: 0.72rem; color: var(--mid); font-weight: 600; text-decoration: none; }

/* ── 21. FLASH MESSAGES ─────────────────────────────────────── */
.flash-msg {
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: opacity 0.4s;
}
.flash-success { background: rgba(27,127,74,0.1);  color: var(--worth); border-left: 3px solid var(--worth); }
.flash-error   { background: rgba(212,80,106,0.1); color: var(--accent); border-left: 3px solid var(--accent); }
.flash-info    { background: rgba(10,10,10,0.05);  color: var(--black); border-left: 3px solid var(--black); }

/* ── 22. STAR PICKER ────────────────────────────────────────── */
.star-picker { display: flex; gap: 4px; }
.star-picker span { transition: transform 0.1s; }
.star-picker span:hover { transform: scale(1.2); }

/* ── 23. ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero > * { animation: fadeUp 0.6s ease both; }
.hero-eyebrow  { animation-delay: 0.05s; }
.hero h1       { animation-delay: 0.15s; }
.hero-sub      { animation-delay: 0.25s; }
.search-box    { animation-delay: 0.35s; }
.hero-tags     { animation-delay: 0.42s; }
.hero-stats    { animation-delay: 0.50s; }

/* ── 24. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .worth-grid { grid-template-columns: 1fr; gap: 40px; }
  .clinic-hero-inner { grid-template-columns: 1fr; }
  .clinic-layout { grid-template-columns: 1fr; }
  .clinic-sidebar { position: static; }
  .directory-layout { grid-template-columns: 1fr; }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}

@media (max-width: 768px) {
  :root { --section-gap: 48px; }
  .site-nav { padding: 0 16px; }
  .nav-right { gap: 6px; }
  .btn-nav-outline { display: none !important; }
  .hide-mobile { display: none !important; }
  .show-mobile { display: inline !important; }
  .btn-nav-fill { padding: 8px 14px; font-size: 0.75rem; }
  .btn-nav-fill { padding: 7px 12px; font-size: 0.72rem; }
  .nav-tabs { display: none; }
  .hero { padding: 48px 20px 56px; }
  .search-box { flex-direction: column; border-radius: var(--radius); }
  .search-box select { border-right: none; border-bottom: 1px solid var(--border); min-width: unset; }
  .search-box button { padding: 16px; }
  .clinics-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .treat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .cta-plans { gap: 24px; flex-wrap: wrap; }
  .section-doctors .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 40px 20px 32px; }
  .footer-bottom-bar { flex-direction: column; padding: 16px 20px; gap: 12px; }
  .footer-seo-strip { text-align: left; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .treat-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}
