/* ==========================================================================
   Hospital CADH Especialidades — hoja de estilos
   Sustituye a cdn.tailwindcss.com (≈300 KB de JS) por CSS estático.
   Contiene únicamente las utilidades que el sitio usa realmente.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset (equivalente al preflight de Tailwind)
   -------------------------------------------------------------------------- */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
* { margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type='button'], [type='submit'] { -webkit-appearance: button; background-color: transparent; background-image: none; cursor: pointer; }
:-moz-focusring { outline: auto; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
img, svg, video, iframe { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
:where([hidden]) { display: none; }

/* --------------------------------------------------------------------------
   2. Variables de marca
   -------------------------------------------------------------------------- */
:root {
    --primary: #0d9488;
    --primary-dark: #115e59;
    --primary-light: #ccfbf1;
    --primary-50: #f0fdfa;
    --accent: #14b8a6;
    --gray-900: #0f172a;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-100: #f1f5f9;
    --radius-card: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    background: #ffffff;
}

.font-display { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.inset-0 { inset: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.-top-20 { top: -5rem; }
.-right-20 { right: -5rem; }
.-bottom-20 { bottom: -5rem; }
.-left-20 { left: -5rem; }

.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gap-1   { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2   { gap: 0.5rem; }
.gap-3   { gap: 0.75rem; }
.gap-4   { gap: 1rem; }
.gap-6   { gap: 1.5rem; }
.gap-7   { gap: 1.75rem; }
.gap-8   { gap: 2rem; }
.gap-12  { gap: 3rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   4. Tamaños
   -------------------------------------------------------------------------- */
.w-2   { width: 0.5rem; }
.w-11  { width: 2.75rem; }
.w-12  { width: 3rem; }
.w-14  { width: 3.5rem; }
.w-44  { width: 11rem; }
.w-80  { width: 20rem; }
.w-96  { width: 24rem; }
.w-full { width: 100%; }
.h-2   { height: 0.5rem; }
.h-11  { height: 2.75rem; }
.h-12  { height: 3rem; }
.h-14  { height: 3.5rem; }
.h-44  { height: 11rem; }
.h-96  { height: 24rem; }
.aspect-square { aspect-ratio: 1 / 1; }

.max-w-md  { max-width: 28rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   5. Espaciado
   -------------------------------------------------------------------------- */
.p-2  { padding: 0.5rem; }
.p-4  { padding: 1rem; }
.p-5  { padding: 1.25rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }

.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-5  { margin-bottom: 1.25rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1  { margin-top: 0.25rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

/* --------------------------------------------------------------------------
   6. Tipografía
   -------------------------------------------------------------------------- */
.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }

.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

.leading-tight    { line-height: 1.25; }
.leading-relaxed  { line-height: 1.625; }
.tracking-tight   { letter-spacing: -0.025em; }
.tracking-wider   { letter-spacing: 0.05em; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.underline { text-decoration-line: underline; }

.text-white     { color: #fff; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-900 { color: #0f172a; }
.text-teal-50   { color: #f0fdfa; }
.text-teal-100  { color: #ccfbf1; }
.text-teal-200  { color: #99f6e4; }
.text-teal-300  { color: #5eead4; }
.text-teal-700  { color: #0f766e; }
.text-teal-900  { color: #134e4a; }

/* --------------------------------------------------------------------------
   7. Fondos, bordes y sombras
   -------------------------------------------------------------------------- */
.bg-white      { background-color: #fff; }
.bg-white\/10  { background-color: rgba(255,255,255,0.1); }
.bg-white\/15  { background-color: rgba(255,255,255,0.15); }
.bg-teal-50    { background-color: #f0fdfa; }
.bg-teal-100   { background-color: #ccfbf1; }
.bg-green-500  { background-color: #22c55e; }

.border          { border-width: 1px; }
.border-t        { border-top-width: 1px; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-teal-200  { border-color: #99f6e4; }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/15 { border-color: rgba(255,255,255,0.15); }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }

.rounded-lg  { border-radius: 0.5rem; }
.rounded-xl  { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow-sm  { box-shadow: var(--shadow-sm); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

.object-cover { object-fit: cover; }
.opacity-10 { opacity: 0.1; }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* --------------------------------------------------------------------------
   8. Estados hover
   -------------------------------------------------------------------------- */
.hover\:bg-teal-50:hover      { background-color: #f0fdfa; }
.hover\:bg-white\/15:hover    { background-color: rgba(255,255,255,0.15); }
.hover\:border-teal-300:hover { border-color: #5eead4; }
.hover\:shadow-md:hover       { box-shadow: var(--shadow-md); }
.hover\:text-teal-600:hover   { color: #0d9488; }
.hover\:text-teal-700:hover   { color: #0f766e; }
.hover\:text-white:hover      { color: #fff; }
.hover\:underline:hover       { text-decoration-line: underline; }

/* --------------------------------------------------------------------------
   9. Componentes propios
   -------------------------------------------------------------------------- */
.hero-gradient {
    background:
        radial-gradient(ellipse at top right, rgba(20, 184, 166, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(13, 148, 136, 0.1), transparent 50%),
        linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}

.service-card { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -15px rgba(13, 148, 136, 0.25); border-color: #99f6e4; }

/* Aparición al hacer scroll — sólo se activa si hay JS (clase js-anim en <html>) */
.js-anim .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-anim .fade-in.visible { opacity: 1; transform: translateY(0); }

.nav-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4); }

.btn-secondary {
    background: #fff;
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--gray-100);
    transition: border-color 0.3s ease, color 0.3s ease;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 50;
    transition: transform 0.3s ease;
    animation: pulse-ring 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.section-eyebrow {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.mobile-menu { transform: translateX(100%); transition: transform 0.3s ease; }
.mobile-menu.open { transform: translateX(0); }

.stat-number {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1); }

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: var(--primary-dark);
}

.pattern-dots {
    background-image: radial-gradient(circle, #99f6e4 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0.4;
}

/* --------------------------------------------------------------------------
   10. Accesibilidad
   -------------------------------------------------------------------------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #0d9488;
    outline-offset: 2px;
    border-radius: 4px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

.skip-link {
    position: absolute; left: 12px; top: -100px; z-index: 100;
    background: var(--primary-dark); color: #fff; padding: 12px 20px;
    border-radius: 0 0 10px 10px; font-weight: 600; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .js-anim .fade-in { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   11. Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 768px) {
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:gap-16 { gap: 4rem; }
    .lg\:gap-20 { gap: 5rem; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
    .lg\:pt-40 { padding-top: 10rem; }
    .lg\:pb-32 { padding-bottom: 8rem; }
    .lg\:text-xl  { font-size: 1.25rem; line-height: 1.75rem; }
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 1280px) {
    .xl\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* --------------------------------------------------------------------------
   12. Hero
   -------------------------------------------------------------------------- */
.hero-illustration {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}
.hero-illustration::before {
    content: "";
    position: absolute; top: -50%; right: -20%;
    width: 80%; height: 80%; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
}
.hero-illustration::after {
    content: "";
    position: absolute; bottom: -30%; left: -10%;
    width: 60%; height: 60%; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

/* Tarjetas flotantes sobre el hero */
.hero-badge {
    position: absolute;
    background: rgba(255,255,255,0.97);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 18px 40px -12px rgba(6, 78, 59, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
}
.hero-badge .hb-icon {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ccfbf1, #5eead4); color: #115e59;
}
.hero-badge .hb-title { display: block; font-size: 0.8125rem; font-weight: 700; color: #0f172a; line-height: 1.2; }
.hero-badge .hb-sub   { display: block; font-size: 0.6875rem; color: #64748b; margin-top: 3px; }
.hero-badge--tl { top: 26px; left: -26px; animation: floaty 6s ease-in-out infinite; }
.hero-badge--br { bottom: 30px; right: -10px; animation: floaty 6s ease-in-out infinite 3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 1023px) {
    .hero-badge { display: none; }
}

/* --------------------------------------------------------------------------
   13. Carrusel de médicos
   -------------------------------------------------------------------------- */
.doctors-carousel {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.carousel-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 150s linear infinite;
}
.doctors-carousel:hover .carousel-track,
.doctors-carousel:focus-within .carousel-track,
.carousel-track.paused { animation-play-state: paused; }
@keyframes scrollLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.doctor-slide {
    flex: 0 0 240px;
    margin-right: 18px;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px -8px rgba(13, 148, 136, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f0fdfa;
}
.doctor-slide:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 30px -10px rgba(13, 148, 136, 0.35);
}
.doctor-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doctor-slide.hidden { display: none; }

/* Modo filtro: pausa el marquee y muestra rejilla */
.doctors-carousel.filtering { -webkit-mask-image: none; mask-image: none; }
.doctors-carousel.filtering .carousel-track {
    animation-play-state: paused;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    transform: none;
}
@media (min-width: 640px) { .doctor-slide { flex: 0 0 220px; } }
@media (min-width: 1024px) { .doctor-slide { flex: 0 0 240px; } }

/* Control de pausa accesible */
.carousel-controls { display: flex; justify-content: center; margin-top: 22px; }
.carousel-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.8125rem; font-weight: 600; color: #0f766e;
    background: #f0fdfa; border: 1.5px solid #99f6e4;
    padding: 9px 18px; border-radius: 999px; transition: background 0.2s, border-color 0.2s;
}
.carousel-toggle:hover { background: #ccfbf1; border-color: #5eead4; }

/* Buscador de médicos */
.doctor-search { position: relative; max-width: 420px; margin: 0 auto 32px; }
.doctor-search input {
    width: 100%;
    padding: 13px 18px 13px 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.doctor-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1); }
.doctor-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.no-results { text-align: center; padding: 40px 20px; color: #64748b; font-size: 14px; display: none; }
.no-results.show { display: block; }

/* --------------------------------------------------------------------------
   14. Especialidades — iconos SVG (sustituyen a los emojis)
   -------------------------------------------------------------------------- */
.spec-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid #e8eef2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.spec-card:hover {
    transform: translateY(-4px);
    border-color: #99f6e4;
    box-shadow: 0 16px 32px -18px rgba(13, 148, 136, 0.45);
}
.spec-card .spec-icon {
    width: 46px; height: 46px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    color: #0f766e;
    transition: background 0.3s ease, color 0.3s ease;
}
.spec-card:hover .spec-icon { background: linear-gradient(135deg, #0d9488, #14b8a6); color: #fff; }
.spec-card .spec-name { font-weight: 600; color: #0f172a; line-height: 1.3; }
.spec-card .spec-link { font-size: 0.75rem; color: #0f766e; font-weight: 600; margin-top: auto; }

/* Tarjetas de cirugía sobre fondo oscuro */
.surgery-card {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.surgery-card:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.32); transform: translateY(-4px); }
.surgery-card .sc-icon {
    width: 40px; height: 40px; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; background: rgba(255,255,255,0.13); color: #5eead4;
}
.surgery-card .sc-name { font-weight: 600; font-size: 0.875rem; }

/* --------------------------------------------------------------------------
   15. Confianza: reseñas, prensa
   -------------------------------------------------------------------------- */
.trust-bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 14px 34px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 18px;
    box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.5);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: #334155; }
.trust-item strong { color: #0f172a; }
.trust-stars { display: inline-flex; gap: 2px; color: #f59e0b; }

.review-card {
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 18px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(15, 23, 42, 0.5); }
.review-card blockquote { color: #334155; line-height: 1.7; font-size: 0.9375rem; }
.review-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.review-avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #ccfbf1, #5eead4);
    color: #115e59; font-weight: 700; font-size: 0.9375rem;
}
.review-name { font-weight: 600; font-size: 0.875rem; color: #0f172a; }
.review-src  { font-size: 0.75rem; color: #64748b; }

.press-card {
    display: flex; gap: 18px; align-items: flex-start;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    border: 1px solid #ccfbf1;
    border-radius: 18px;
    padding: 26px;
}

/* --------------------------------------------------------------------------
   16. Páginas legales
   -------------------------------------------------------------------------- */
.legal-prose { max-width: 46rem; margin: 0 auto; color: #334155; line-height: 1.75; }
.legal-prose h2 { font-size: 1.375rem; font-weight: 700; color: #0f172a; margin: 34px 0 12px; }
.legal-prose h3 { font-size: 1.0625rem; font-weight: 700; color: #0f172a; margin: 24px 0 8px; }
.legal-prose p  { margin-bottom: 14px; }
.legal-prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal-prose li { margin-bottom: 7px; }
.legal-prose a  { color: #0f766e; text-decoration: underline; }

/* --------------------------------------------------------------------------
   17. Migas de pan y páginas internas
   -------------------------------------------------------------------------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8125rem; color: #64748b; }
.breadcrumb a { color: #0f766e; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #cbd5e1; }

.prose-block { color: #334155; line-height: 1.75; }
.prose-block p { margin-bottom: 16px; }
.prose-block h2 { font-size: 1.625rem; font-weight: 700; color: #0f172a; margin: 38px 0 14px; font-family: 'Playfair Display', Georgia, serif; }
.prose-block h3 { font-size: 1.125rem; font-weight: 700; color: #0f172a; margin: 26px 0 10px; }
.prose-block ul { list-style: none; margin-bottom: 18px; }
.prose-block ul li { position: relative; padding-left: 30px; margin-bottom: 11px; }
.prose-block ul li::before {
    content: "";
    position: absolute; left: 4px; top: 9px;
    width: 8px; height: 8px; border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #5eead4);
}

/* Tarjeta de médico con texto real (página de especialidad / cuerpo médico) */
.doc-card {
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.doc-card:hover { transform: translateY(-5px); border-color: #99f6e4; box-shadow: 0 22px 42px -26px rgba(13, 148, 136, 0.6); }
.doc-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f0fdfa; }
.doc-card .dc-body { padding: 16px 18px 20px; }
.doc-card .dc-name { font-weight: 700; color: #0f172a; font-size: 0.9375rem; line-height: 1.3; }
.doc-card .dc-spec { font-size: 0.8125rem; color: #0f766e; margin-top: 4px; line-height: 1.4; }

/* Cintillo de llamada a la acción */
.cta-band {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 55%, #134e4a 100%);
    border-radius: 24px;
    padding: 44px 34px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band::after {
    content: "";
    position: absolute; top: -60%; right: -10%;
    width: 60%; height: 200%; border-radius: 50%;
    background: radial-gradient(circle, rgba(94,234,212,0.16), transparent 70%);
    pointer-events: none;
}
