:root {
    --navy: #123b63;
    --teal-900: #0d4277;
    --teal-700: #114f92;
    --teal-500: #0d8fd3;
    --teal-100: #dbeafe;
    --teal-50: #eff6ff;
    --blue-50: #f5f8fc;
    --ink: #2b3d4f;
    --muted: #60758a;
    --line: #e1e7ef;
    --accent: #ffc105;
    --accent-hover: #e7ad00;
    --profile-primary: #114f92;
    --profile-primary-contrast: #fff;
    --profile-accent: #ffc105;
    --profile-accent-contrast: #172b3a;
    --white: #fff;
    --shadow: 0 16px 45px rgba(17, 79, 146, .12);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 10px 16px; color: var(--white); background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site-header { position: sticky; z-index: 50; top: 0; width: 100%; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(225,231,239,.9); box-shadow: 0 2px 14px rgba(17,79,146,.04); backdrop-filter: blur(12px); transition: background .22s ease, border-color .22s ease, box-shadow .22s ease; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 230px; height: auto; }
.brand-logo-light { display: none; width: 228px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 650; }
.site-nav a { color: #4b6074; transition: color .2s ease; }
.site-nav a:hover { color: var(--teal-700); }
.site-patient-menu { position: relative; }
.site-patient-account { padding: 5px 10px 5px 5px; display: inline-flex; align-items: center; gap: 8px; color: var(--navy); background: #f3f8fc; border: 1px solid #d5e2ec; border-radius: 999px; font-size: 12px; }
.site-patient-account img, .site-patient-account > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; color: #fff; background: var(--teal-700); border: 2px solid #fff; border-radius: 50%; object-fit: cover; font-weight: 850; }
.site-patient-account > i { color: #6b8294; font-size: 9px; transition: transform .2s ease; }
.site-patient-account[aria-expanded="true"] > i { transform: rotate(180deg); }
.site-patient-account:hover { color: var(--teal-700); border-color: #9fc3d9; }
.site-patient-dropdown[hidden] { display: none; }
.site-patient-dropdown { width: 280px; max-width: calc(100vw - 28px); max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; position: absolute; z-index: 80; top: calc(100% + 9px); right: 0; padding: 8px; color: var(--ink); background: #fff; border: 1px solid #d5e2ec; border-radius: 16px; box-shadow: 0 18px 48px rgba(8,43,74,.2); }
.site-patient-dropdown-heading { display: grid; gap: 1px; margin-bottom: 6px; padding: 9px 12px 13px; border-bottom: 1px solid var(--line); }
.site-patient-dropdown-heading small { color: var(--muted); font-size: 12px; }
.site-patient-dropdown-heading strong { color: var(--navy); font-size: 17px; overflow-wrap: anywhere; }
.site-patient-dropdown a, .site-patient-dropdown button { width: 100%; min-height: 44px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; color: #294d63; background: transparent; border: 0; border-radius: 9px; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: left; }
.site-patient-dropdown a:hover, .site-patient-dropdown button:hover { color: var(--teal-700); background: var(--teal-50); }
.site-patient-dropdown a:focus-visible, .site-patient-dropdown button:focus-visible { outline: 2px solid var(--teal-700); outline-offset: -2px; background: var(--teal-50); }
.site-patient-dropdown a[aria-current="page"] { color: var(--teal-700); background: #eaf3fc; font-weight: 750; }
.site-patient-dropdown a[aria-current="page"]::after { content: ''; width: 6px; height: 6px; flex: 0 0 6px; margin-left: auto; border-radius: 50%; background: var(--teal-700); }
.site-patient-dropdown i { width: 20px; flex: 0 0 20px; color: #5f7e97; font-size: 17px; text-align: center; }
.site-patient-dropdown a[aria-current="page"] i { color: var(--teal-700); }
.site-patient-dropdown .site-patient-external { margin-left: auto; font-size: 11px; }
.site-patient-dropdown-footer { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.site-patient-dropdown [data-site-patient-logout], .site-patient-dropdown [data-site-patient-logout] i { color: #a23f36; }
.site-patient-dropdown [data-site-patient-logout]:hover { background: #fff1ef; }
.site-patient-dropdown [data-site-patient-logout]:disabled { opacity: .65; cursor: wait; }
.site-patient-menu-status { margin: 5px 12px; color: #a23f36; font-size: 12px; }
.has-hero-header .site-patient-account { color: #fff; background: rgba(10,51,88,.38); border-color: rgba(255,255,255,.48); }
.has-hero-header .site-header.is-scrolled .site-patient-account { color: var(--navy); background: #f3f8fc; border-color: #d5e2ec; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--navy); }
.has-hero-header .site-header { position: fixed; background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; }
.has-hero-header .brand-logo-dark { display: none; }
.has-hero-header .brand-logo-light { display: block; }
.has-hero-header .site-nav a { color: rgba(255,255,255,.94); text-shadow: 0 1px 10px rgba(4,32,58,.3); }
.has-hero-header .site-nav a:hover { color: var(--accent); }
.has-hero-header .menu-toggle { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.1); }
.has-hero-header .menu-toggle span:not(.sr-only) { background: var(--white); }
.profile-custom.has-hero-header.is-light-profile-header .site-header:not(.is-scrolled) .brand-logo-dark { display: block; }
.profile-custom.has-hero-header.is-light-profile-header .site-header:not(.is-scrolled) .brand-logo-light { display: none; }
.profile-custom.has-hero-header.is-light-profile-header .site-header:not(.is-scrolled) .site-nav a { color: #16364d; text-shadow: 0 1px 8px rgba(255,255,255,.7); transition: none; }
.profile-custom.has-hero-header.is-light-profile-header .site-header:not(.is-scrolled) .site-nav a:hover { color: #000; }
.profile-custom.has-hero-header.is-light-profile-header .site-header:not(.is-scrolled) .menu-toggle { border-color: rgba(7,35,56,.38); background: rgba(255,255,255,.34); }
.profile-custom.has-hero-header.is-light-profile-header .site-header:not(.is-scrolled) .menu-toggle span:not(.sr-only) { background: #072338; }
.has-hero-header .site-header.is-scrolled { background-color: rgba(255,255,255,.82) !important; border-bottom-color: rgba(225,231,239,.78); box-shadow: 0 8px 30px rgba(17,79,146,.13); backdrop-filter: blur(20px) saturate(145%); -webkit-backdrop-filter: blur(20px) saturate(145%); }
.has-hero-header .site-header.is-scrolled .brand-logo-dark { display: block; }
.has-hero-header .site-header.is-scrolled .brand-logo-light { display: none; }
.has-hero-header .site-header.is-scrolled .site-nav a { color: #4b6074; text-shadow: none; }
.has-hero-header .site-header.is-scrolled .site-nav a:hover { color: var(--teal-700); }
.has-hero-header .site-header.is-scrolled .menu-toggle { border-color: var(--line); background: var(--white); }
.has-hero-header .site-header.is-scrolled .menu-toggle span:not(.sr-only) { background: var(--navy); }

.hero { position: relative; z-index: 2; isolation: isolate; overflow: visible; padding: 116px 0 82px; background-color: var(--teal-700); background-image: linear-gradient(90deg, rgba(9,52,94,.94) 0%, rgba(17,79,146,.82) 48%, rgba(9,42,75,.48) 100%), url('/pro/img/fundo1.png'); background-position: center; background-size: cover; }
.hero::after { content: ''; position: absolute; z-index: 0; right: 0; bottom: -1px; left: 0; height: 86px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 58C315 108 657 19 1001 38c176 10 322 42 439 51v11H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; min-height: 350px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 56px; }
.hero-copy { padding-bottom: 50px; }
.eyebrow { display: block; margin-bottom: 11px; color: var(--teal-700); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: var(--accent); text-shadow: 0 1px 12px rgba(0,0,0,.18); }
.hero h1 { max-width: 700px; margin: 0; color: var(--white); font-size: clamp(38px, 5vw, 62px); line-height: 1.07; letter-spacing: -.045em; text-shadow: 0 3px 24px rgba(4,32,58,.28); }
.hero-copy > p { max-width: 610px; margin: 24px 0 0; color: rgba(255,255,255,.9); font-size: 19px; text-shadow: 0 2px 12px rgba(4,32,58,.24); }
.hero-art { position: relative; min-height: 320px; }
.health-cross, .pulse { display: none; }
.pulse-one { inset: 4% 12% 7%; }
.pulse-two { inset: 19% 25% 22%; }
.mini-card { position: absolute; z-index: 2; padding: 13px 17px; color: var(--navy); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.7); border-radius: 13px; box-shadow: 0 16px 38px rgba(4,32,58,.22); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; }
.mini-card span { color: var(--teal-700); margin-right: 5px; }
.mini-card-one { top: 58px; right: 0; animation: mini-card-float 7.4s ease-in-out infinite; }
.mini-card-two { left: 18px; bottom: 58px; animation: mini-card-float 8.2s ease-in-out -2.8s infinite reverse; }
@keyframes mini-card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.search-wrap { position: relative; z-index: 2; transform: translateY(38%); }
.search-form { display: grid; grid-template-columns: 1.45fr 1fr 1fr auto; align-items: end; gap: 12px; padding: 18px; background: var(--white); border: 1px solid #dce6f0; border-radius: 16px; box-shadow: var(--shadow); }
.field label { display: block; margin: 0 0 6px 2px; color: #52677a; font-size: 12px; font-weight: 750; }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; color: var(--ink); background: #fbfdff; border: 1px solid #cedbe7; border-radius: 10px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(13,143,211,.14); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 0; border-radius: 10px; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { color: var(--teal-900); background: var(--teal-50); border: 1px solid #bfd6ea; }
.search-button { height: 50px; white-space: nowrap; }
.search-form-primary { grid-template-columns: minmax(0, 1fr) auto; }
.search-form-primary .field-main { min-width: 0; }
.search-autocomplete { position: relative; }
.search-suggestions { position: absolute; z-index: 100; top: calc(100% + 8px); right: 0; left: 0; max-height: 360px; overflow-y: auto; padding: 10px; background: var(--white); border: 1px solid #cbd9e6; border-radius: 10px; box-shadow: 0 18px 48px rgba(8, 43, 74, .2); }
.suggestion-group { padding: 6px 0; }
.suggestion-group + .suggestion-group { border-top: 1px solid var(--line); }
.suggestion-group > strong { padding: 5px 10px; display: block; color: #728596; font-size: 10px; text-transform: uppercase; }
.suggestion-group button { width: 100%; min-height: 38px; padding: 8px 10px; display: block; color: var(--ink); background: transparent; border: 0; border-radius: 6px; text-align: left; }
.suggestion-group button[hidden] { display: none; }
.suggestion-group button:hover, .suggestion-group button.is-active { color: var(--teal-900); background: var(--teal-50); }
.suggestion-empty { margin: 0; padding: 14px 10px; color: var(--muted); font-size: 13px; }
.professional-type-chips { min-width: 0; margin: 0; padding: 2px 0 0; grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; border: 0; }
.professional-type-chips legend { margin-right: 4px; float: left; color: #52677a; font-size: 11px; font-weight: 750; }
.professional-type-chips label { cursor: pointer; }
.professional-type-chips input { position: absolute; opacity: 0; pointer-events: none; }
.professional-type-chips span { min-height: 30px; padding: 5px 11px; display: inline-flex; align-items: center; color: #526b7d; background: #f4f8fb; border: 1px solid #d5e0e9; border-radius: 999px; font-size: 11px; font-weight: 750; }
.professional-type-chips input:checked + span { color: var(--white); background: var(--teal-700); border-color: var(--teal-700); }
.professional-type-chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.section { padding-top: 96px; padding-bottom: 96px; }
.section-soft { background: var(--blue-50); }
.section-heading { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2, .results-heading h2 { margin: 0; color: var(--navy); font-size: clamp(27px, 3vw, 38px); line-height: 1.2; letter-spacing: -.025em; }
.section-heading > a { color: var(--teal-700); font-size: 14px; font-weight: 750; white-space: nowrap; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.type-card { min-height: 182px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, border .2s ease, box-shadow .2s ease; }
.type-card:hover { transform: translateY(-4px); border-color: #a9c9e5; box-shadow: var(--shadow); }
.type-icon { width: 48px; height: 48px; margin-bottom: 25px; display: grid; place-items: center; border-radius: 14px; font-size: 30px; line-height: 1; }
.type-icon-1 { color: #114f92; background: #e5f0fb; }.type-icon-2 { color: #0d8fd3; background: #e4f5fd; }.type-icon-3 { color: #806000; background: #fff5cf; }.type-icon-4 { color: #3156a3; background: #edf1ff; }
.type-card strong { color: var(--navy); font-size: 17px; }
.type-card > span:last-child { margin-top: 3px; color: var(--muted); font-size: 13px; }
.specialty-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.specialty-grid a { min-height: 62px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-weight: 700; }
.specialty-grid a > span:first-child { width: 28px; height: 28px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-50); border-radius: 8px; font-size: 21px; }
.specialty-grid a b { margin-left: auto; color: var(--teal-700); transition: transform .2s ease; }
.specialty-grid a:hover b { transform: translateX(3px); }
.section.other-care-section { padding-top: 40px; padding-bottom: 40px; }
.other-care-heading { align-items: flex-end; margin-bottom: 20px; }
.other-care-heading h2 { font-size: clamp(26px, 2.5vw, 32px); }
.other-care-heading p { max-width: 620px; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.other-care-heading > a { min-height: 44px; padding: 8px 0; display: inline-flex; align-items: center; gap: 5px; }
.other-care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.specialty-grid .other-care-card { min-width: 0; min-height: 64px; padding: 12px 18px; border-radius: 8px; box-shadow: 0 4px 14px rgba(17,79,146,.05); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.specialty-grid .other-care-card:hover, .specialty-grid .other-care-card:focus { border-color: #9fc5db; box-shadow: 0 10px 24px rgba(17,79,146,.1); transform: translateY(-2px); }
.other-care-copy { min-width: 0; }
.other-care-copy strong { display: block; overflow-wrap: anywhere; }
.other-care-card:focus-visible, .other-care-heading > a:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; }
.other-care-copy strong { color: var(--navy); font-size: 15px; line-height: 1.3; }
.other-care-empty { min-height: 96px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.other-care-empty p { margin: 0; color: var(--muted); }
.other-care-empty a { min-height: 44px; padding: 10px 13px; display: inline-flex; align-items: center; color: var(--teal-700); background: var(--teal-50); border-radius: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.care-availability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.care-availability-grid.is-five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.care-availability-grid.is-five > .care-availability-card { grid-column: span 2; }
.care-availability-grid.is-five > .care-availability-card:nth-last-child(-n + 2) { grid-column: span 3; }
.care-availability-card { min-width: 0; padding: 20px; display: flex; flex-direction: column; background: #f7fbfe; border: 1px solid #d2e1ec; border-top: 3px solid var(--teal-700); border-radius: 8px; box-shadow: 0 8px 24px rgba(17,79,146,.07); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.care-availability-card:hover { border-color: #a8c5db; background: #f3f9fd; box-shadow: 0 12px 30px rgba(17,79,146,.11); transform: translateY(-2px); }
.care-card-head, .care-card-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.care-card-head h3 { margin: 0 0 3px; color: var(--navy); font-size: 20px; line-height: 1.25; }
.care-card-head h3 a:hover, .care-card-head h3 a:focus { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.care-card-price { margin-top: 9px; display: block; }
.care-card-price small, .care-card-price strong { display: block; }
.care-card-price small { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.care-card-price strong { margin-top: 1px; color: var(--teal-700); font-size: 19px; line-height: 1.2; }
.care-online { flex: 0 0 auto; padding: 4px 8px; color: #176b5a; background: #e4f7f1; border-radius: 5px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.care-next { min-height: 62px; margin: 17px 0 13px; padding: 10px 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f2f7fb; border: 1px solid #d7e5ef; border-left: 3px solid var(--accent); border-radius: 0 7px 7px 0; }
.care-next:hover { border-color: #adcbe0; background: #eaf4fb; }
.care-next small, .care-next strong { display: block; }
.care-next small { color: #738695; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.care-next strong { margin-top: 2px; color: var(--navy); font-size: 14px; }
.care-next-copy { min-width: 0; }
.care-next .care-slot-professional { overflow: hidden; margin-top: 4px; color: #506a7e; font-size: 10px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.care-next-action { flex: 0 0 auto; text-align: right; }
.care-next-action strong { color: var(--teal-700); font-size: 12px; }
.care-next-action b { display: block; margin-top: 4px; color: var(--teal-700); font-size: 10px; white-space: nowrap; }
.care-times-label { margin-bottom: 6px; color: #738695; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.care-times { min-height: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 7px; }
.care-times a { min-width: 0; min-height: 88px; padding: 7px 9px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px; color: var(--teal-700); background: var(--white); border: 1px solid #b9d0e3; border-radius: 7px; text-align: center; }
.care-times a:hover { color: var(--white); background: var(--teal-700); border-color: var(--teal-700); }
.care-times span { font-size: 10px; font-weight: 700; white-space: nowrap; }
.care-time-date { display: inline-flex; align-items: baseline; gap: 3px; }
.slot-date { color: var(--muted); font-size: 9px !important; }
.care-times strong { font-size: 13px; }
.care-times .care-slot-professional { display: -webkit-box; overflow: hidden; max-width: 100%; margin-top: 3px; color: #506a7e; font-size: 9px; font-weight: 700; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.care-times .care-slot-price { margin-top: 2px; color: #176b5a; font-size: 10px; font-weight: 800; }
.care-times a:hover .slot-date, .care-times a:hover .care-slot-professional, .care-times a:hover .care-slot-price { color: var(--white); }
.care-card-footer { margin-top: auto; padding-top: 15px; align-items: center; border-top: 1px solid var(--line); }
.care-card-footer > span { color: var(--muted); font-size: 11px; }
.care-card-footer > span strong { color: var(--navy); }
.care-card-footer > a { min-height: 44px; padding: 8px 9px; display: inline-flex; align-items: center; color: var(--teal-700); background: var(--teal-50); border-radius: 5px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.muted { color: var(--muted); }
.pro-cta { min-height: 230px; padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: var(--white); background: var(--teal-700); border-radius: 24px; overflow: hidden; position: relative; }
.pro-cta::after { content: "+"; position: absolute; right: 24%; top: -75px; color: rgba(255,255,255,.04); font-size: 270px; line-height: 1; }
.pro-cta h2 { margin: 0 0 8px; font-size: 34px; line-height: 1.2; }
.pro-cta p { margin: 0; color: #d7e7f7; }
.eyebrow-light { color: #b9ddf7; }
.button-light { position: relative; z-index: 1; color: var(--ink); background: var(--accent); white-space: nowrap; }

.results-hero { position: relative; z-index: 2; isolation: isolate; overflow: visible; padding: 152px 0 102px; background-color: var(--teal-700); background-image: linear-gradient(90deg, rgba(9,52,94,.95) 0%, rgba(17,79,146,.83) 52%, rgba(9,42,75,.56) 100%), url('/pro/img/fundo1.png'); background-position: center 44%; background-size: cover; }
.results-hero::after { content: ''; position: absolute; z-index: 0; right: 0; bottom: -1px; left: 0; height: 72px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 61C337 16 629 104 963 62c178-22 333-35 477-21v59H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; pointer-events: none; }
.results-hero > .container { position: relative; z-index: 1; }
.results-hero .eyebrow { color: var(--accent); text-shadow: 0 1px 10px rgba(4,32,58,.25); }
.results-hero h1 { margin: 0; color: var(--white); font-size: 42px; line-height: 1.15; letter-spacing: -.03em; text-shadow: 0 3px 22px rgba(4,32,58,.3); }
.results-hero > .container > p { margin: 8px 0 28px; color: rgba(255,255,255,.88); }
.specialties-hero { padding-bottom: 92px; }
.specialties-hero > .container > p { max-width: 620px; margin-bottom: 0; }
.specialty-directory-search { max-width: 620px; margin-top: 24px; padding: 5px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.75); border-radius: 12px; box-shadow: 0 12px 28px rgba(4,32,58,.18); }
.specialty-directory-search label { display: block; padding: 4px 12px 0; color: #61788b; font-size: 10px; font-weight: 850; }
.specialty-directory-search input { width: 100%; min-height: 42px; padding: 7px 12px; color: var(--navy); background: transparent; border: 0; outline: 0; font-size: 15px; font-weight: 650; }
.specialty-directory-search input::placeholder { color: #91a3af; }
.specialties-directory { padding-top: 64px; padding-bottom: 100px; }
.specialty-directory-toolbar { margin-bottom: 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.specialty-type-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.specialty-type-filter a, .specialty-type-filter button { min-height: 38px; padding: 8px 15px; color: #587083; background: #f2f7fa; border: 1px solid #d3e1e9; border-radius: 999px; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; }
.specialty-type-filter a:hover, .specialty-type-filter button:hover, .specialty-type-filter .is-active { color: #fff; background: var(--teal-700); border-color: var(--teal-700); text-decoration: none; }
.specialty-sort { flex: 0 0 auto; display: grid; gap: 5px; color: #61788b; font-size: 10px; font-weight: 850; }
.specialty-sort select { min-width: 188px; min-height: 40px; padding: 7px 34px 7px 11px; color: var(--navy); background: #fff; border: 1px solid #cbdce7; border-radius: 6px; font: inherit; font-size: 12px; cursor: pointer; }
.specialty-type-group + .specialty-type-group { margin-top: 54px; padding-top: 44px; border-top: 1px solid var(--line); }
.specialty-type-heading { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.specialty-type-heading span { color: var(--teal-700); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.specialty-type-heading h2 { margin: 3px 0 0; color: var(--navy); font-size: 30px; line-height: 1.2; }
.specialty-type-heading > small { color: var(--muted); font-size: 11px; font-weight: 750; }
.specialty-directory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.specialty-directory-card { min-width: 0; min-height: 190px; padding: 20px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: 8px 14px; color: inherit; background: linear-gradient(135deg, #fff 0%, #f7fbfe 100%); border: 1px solid #d5e2ec; border-radius: 8px; box-shadow: 0 7px 20px rgba(17,79,146,.05); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.specialty-directory-card:hover, .specialty-directory-card:focus { color: inherit; border-color: #9ec6dd; box-shadow: 0 13px 28px rgba(17,79,146,.11); text-decoration: none; transform: translateY(-2px); }
.specialty-directory-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--teal-700); border-radius: 12px; font-size: 25px; font-weight: 400; }
.specialty-directory-content { min-width: 0; }
.specialty-directory-card h3 { margin: 0; color: var(--navy); font-size: 18px; line-height: 1.25; }
.specialty-directory-card .specialty-directory-description { margin: 7px 0 0; color: #526b7c; font-size: 13px; font-weight: 500; line-height: 1.45; }
.specialty-directory-card .specialty-directory-professionals { margin: 9px 0 0; color: #627789; font-size: 11px; font-weight: 750; }
.specialty-directory-next { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; color: #526b7c; font-size: 10px; }
.specialty-directory-next > span { width: 100%; color: #718695; font-weight: 750; }
.specialty-directory-next strong { color: #178064; font-weight: 850; }
.specialty-day-badge { padding: 3px 6px; color: #116c56; background: #e4f5ee; border: 1px solid #b8e2d2; border-radius: 4px; }
.specialty-directory-card > b { grid-column: 2; align-self: end; color: var(--teal-700); font-size: 11px; white-space: normal; }
.specialty-directory-empty { margin: 18px 0 0; padding: 44px 24px; text-align: center; background: #f5f9fc; border: 1px solid #d5e2ec; border-radius: 8px; }
.specialty-directory-empty h2 { margin: 0; color: var(--navy); font-size: 24px; }
.specialty-directory-empty p { margin: 8px 0 20px; color: var(--muted); }
.specialty-directory-empty > div { display: flex; justify-content: center; gap: 10px; }
.specialty-directory-empty .button-ghost { color: var(--teal-700); background: #fff; border: 1px solid #bfd6ea; }
.search-form-compact { position: relative; z-index: 2; border-color: rgba(255,255,255,.75); box-shadow: 0 16px 38px rgba(4,32,58,.2); transform: translateY(30%); }
.results-section { position: relative; z-index: 1; padding-top: 82px; padding-bottom: 90px; }
.results-heading { margin-bottom: 26px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.results-heading h2 { font-size: 28px; }
.results-heading p { margin: 4px 0 0; color: var(--muted); }
.results-actions { display: flex; align-items: center; gap: 14px; }
.clear-filters { color: var(--teal-700); font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--blue-50); }
.view-toggle a { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; color: var(--muted); border-radius: 7px; font-size: 12px; font-weight: 750; }
.view-toggle a.is-active { color: var(--teal-900); background: var(--white); box-shadow: 0 2px 7px rgba(18,56,74,.1); }
.professional-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.professional-card { overflow: hidden; background: linear-gradient(180deg, var(--teal-50) 0, var(--teal-50) 100px, var(--white) 100px); border: 1px solid #d7e2ec; border-radius: 20px; box-shadow: 0 8px 24px rgba(17,79,146,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.professional-card:hover { transform: translateY(-4px); border-color: #b8cee2; box-shadow: var(--shadow); }
.professional-photo { width: 148px; height: 148px; margin: 28px auto 0; display: block; overflow: hidden; background: var(--blue-50); border: 5px solid var(--white); border-radius: 50%; box-shadow: 0 10px 24px rgba(17, 79, 146, .18); }
.professional-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .25s ease; }
.professional-card:hover .professional-photo img { transform: scale(1.035); }
.professional-body { padding: 18px 22px 24px; text-align: center; }
.professional-card .chip-row { justify-content: center; }
.verified { display: inline-block; margin-bottom: 7px; color: var(--teal-700); font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.professional-body h3 { margin: 0; color: var(--navy); font-size: 21px; line-height: 1.25; }
.professional-title { min-height: 25px; margin: 5px 0 13px; color: var(--muted); font-size: 14px; }
.professional-credentials { margin: 9px 0 13px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.professional-credentials > span { padding: 5px 8px; display: inline-flex; align-items: center; gap: 5px; color: var(--teal-900); background: var(--teal-50); border: 1px solid #c7dced; border-radius: 7px; font-size: 11px; }
.professional-credentials strong { font-size: 11px; }
.professional-credentials small { color: #5d7587; font-size: 10px; font-weight: 700; }
.professional-rating, .profile-rating { display: flex; align-items: center; gap: 5px; color: #8a6200; }
.professional-rating { min-height: 24px; margin: -4px 0 12px; justify-content: center; font-size: 13px; }
.rating-stars { --rating-percent: 0%; position: relative; display: inline-block; flex: 0 0 auto; width: 5.4em; height: 1em; overflow: hidden; color: #d7e0e5; font-size: 17px; line-height: 1; letter-spacing: .08em; }
.rating-stars:before, .rating-stars:after { position: absolute; top: 0; left: 0; content: '\2605\2605\2605\2605\2605'; white-space: nowrap; }
.rating-stars:after { width: var(--rating-percent); overflow: hidden; color: var(--accent); }
.professional-rating strong { color: #5f4a24; }
.professional-rating small { color: var(--muted); }
.rating-empty { color: #7d9199 !important; font-size: 12px !important; font-weight: 650; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.chip-primary { color: var(--teal-900); background: var(--teal-50); border: 1px solid #c7dced; }
.professional-specialties { margin: 13px 0 18px; color: #49636f; font-size: 13px; }
.professional-price { margin: 12px 0; padding: 10px 12px; display: flex; align-items: baseline; justify-content: center; gap: 6px; color: #637989; background: #f2f7fb; border-radius: 8px; font-size: 11px; }
.professional-price strong { color: var(--navy); font-size: 12px; }
.professional-price b { color: var(--teal-700); font-size: 16px; }
.card-link { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 13px; color: var(--teal-700); background: var(--teal-50); border-radius: 9px; font-size: 13px; font-weight: 800; }
.professional-grid.is-list-view { grid-template-columns: 1fr; gap: 14px; }
.is-list-view .professional-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; min-height: 178px; background: linear-gradient(90deg, var(--teal-50) 0, var(--teal-50) 92px, var(--white) 92px); }
.is-list-view .professional-photo { width: 118px; height: 118px; margin: 0 0 0 24px; }
.is-list-view .professional-body { position: relative; padding: 22px 28px; text-align: left; }
.is-list-view .professional-card:has(.professional-price) .professional-body { padding-right: 210px; }
.is-list-view .professional-card .chip-row { justify-content: flex-start; }
.is-list-view .professional-rating { justify-content: flex-start; }
.is-list-view .professional-title { min-height: 0; margin-bottom: 9px; }
.is-list-view .professional-specialties { margin: 10px 0 13px; }
.is-list-view .professional-price { position: absolute; top: 22px; right: 28px; min-width: 154px; margin: 0; padding: 8px 0 8px 18px; align-items: flex-end; flex-direction: column; gap: 1px; background: transparent; border-left: 1px solid var(--line); text-align: right; }
.is-list-view .professional-price strong { font-size: 12px; }
.is-list-view .professional-price b { display: block; margin-top: 2px; font-size: 20px; }
.professional-list-head, .professional-list-item { display: grid; grid-template-columns: 82px minmax(260px, 1.4fr) minmax(190px, 1fr) 140px 116px; align-items: center; column-gap: 18px; }
.professional-grid.is-list-view { display: block; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.professional-list-head { padding: 10px 18px; color: #728696; background: #f2f6f9; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.professional-list-item { min-height: 112px; padding: 16px 18px; background: var(--white); border-bottom: 1px solid var(--line); }
.professional-list-item:last-child { border-bottom: 0; }
.professional-list-item:hover { background: #f9fbfd; }
.professional-list-photo { width: 72px; height: 72px; display: block; overflow: hidden; background: var(--blue-50); border: 2px solid var(--white); border-radius: 50%; box-shadow: 0 3px 10px rgba(17,79,146,.16); }
.professional-list-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.professional-list-identity h3 { margin: 0; color: var(--navy); font-size: 17px; }
.professional-list-identity .professional-credentials { margin: 6px 0 5px; justify-content: flex-start; }
.professional-list-identity .professional-rating { min-height: 18px; margin: 0; justify-content: flex-start; }
.professional-list-specialties > span, .professional-list-price > span { display: block; margin-bottom: 4px; color: #7b8e9c; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.professional-list-specialties p { margin: 0; color: #405d72; font-size: 13px; line-height: 1.45; }
.professional-list-price { text-align: right; }
.professional-list-price strong { display: block; color: var(--teal-700); font-size: 19px; white-space: nowrap; }
.professional-list-action { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--teal-700); background: var(--teal-50); border-radius: 8px; font-size: 12px; font-weight: 800; }
.results-hero { padding-top: 126px; padding-bottom: 78px; }
.results-section { padding-top: 70px; }
.professional-grid.is-list-view { display: grid; gap: 14px; overflow: visible; background: transparent; border: 0; border-radius: 0; }
.professional-search-result { min-height: 190px; padding: 20px; grid-template-columns: 76px minmax(220px, 1.15fr) minmax(170px, .8fr) minmax(320px, 1.3fr); gap: 20px; background: var(--white); border: 1px solid #d7e2ec; border-radius: 8px; box-shadow: 0 6px 20px rgba(17,79,146,.06); }
.professional-search-result:last-child { border-bottom: 1px solid #d7e2ec; }
.professional-search-result:hover { background: var(--white); border-color: #adc7dc; box-shadow: 0 10px 28px rgba(17,79,146,.1); }
.professional-search-result .professional-list-photo { align-self: start; width: 76px; height: 76px; }
.professional-search-result .professional-list-identity { align-self: start; min-width: 0; }
.professional-search-result .professional-list-identity h3 { font-size: 18px; line-height: 1.3; }
.professional-search-result .professional-credentials { margin-top: 7px; }
.professional-search-result .professional-rating { margin-top: 8px; }
.result-consultations { display: block; margin-top: 7px; color: #60758a; }
.result-consultations strong, .result-consultations small { display: block; }
.result-consultations strong { color: #405d72; font-size: 11px; }
.result-consultations small { margin-top: 1px; font-size: 10px; }
.professional-search-result .professional-list-specialties { align-self: start; min-width: 0; padding-top: 2px; }
.professional-search-result .professional-list-specialties p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.result-profile-quote { margin: 9px 0; padding-left: 9px; border-left: 2px solid var(--teal-500); }
.professional-search-result .result-profile-quote p { margin: 0; display: -webkit-box; overflow: hidden; color: #405d72; font-size: 12px; font-style: italic; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.result-profile-quote mark { padding: 0 2px; color: var(--navy); background: #fff1a8; border-radius: 2px; font-style: normal; font-weight: 800; }
.result-online-badge { width: fit-content; margin-top: 12px; padding: 4px 7px; display: block; color: #176b5a; background: #e4f7f1; border-radius: 5px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.result-booking { min-width: 0; padding-left: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 10px 18px; border-left: 1px solid var(--line); }
.result-booking .professional-list-price { min-width: 94px; text-align: left; }
.result-booking .professional-list-price > span { margin: 0; }
.result-next-slot span, .result-next-slot strong { display: block; }
.result-next-slot span { color: #7b8e9c; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.result-next-slot strong { margin-top: 2px; color: var(--navy); font-size: 13px; }
.result-slot-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.result-slot-list a { min-width: 0; min-height: 52px; padding: 6px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--teal-700); background: var(--white); border: 1px solid #b9d0e3; border-radius: 7px; line-height: 1.2; }
.result-slot-list a:hover { color: var(--white); background: var(--teal-700); border-color: var(--teal-700); }
.result-slot-list span { font-size: 9px; font-weight: 700; white-space: nowrap; }
.result-slot-list strong { font-size: 12px; }
.result-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.result-actions .button { min-height: 39px; padding: 7px 18px; font-size: 12px; }
.result-profile-link { color: var(--teal-700); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.result-no-slots { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }
.availability-section { position: relative; z-index: 1; }
.empty-state, .state-card { max-width: 650px; margin: 20px auto; padding: 60px 34px; text-align: center; background: var(--blue-50); border: 1px solid var(--line); border-radius: 22px; }
.empty-state > span, .state-icon { width: 60px; height: 60px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--teal-700); background: var(--white); border-radius: 18px; font-size: 32px; }
.empty-state h2, .state-card h1 { margin: 0 0 8px; color: var(--navy); }
.empty-state p, .state-card p { margin: 0 0 24px; color: var(--muted); }
.state-section { min-height: 62vh; padding-top: 80px; padding-bottom: 80px; }

.profile-top { position: relative; isolation: isolate; overflow: hidden; min-height: 316px; padding: 130px 0 112px; background-color: var(--profile-primary); background-position: center; background-size: cover; }
.profile-top::after { content: ''; position: absolute; z-index: 0; right: 0; bottom: -1px; left: 0; height: 78px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f7fafd' d='M0 58C315 108 657 19 1001 38c176 10 322 42 439 51v11H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; pointer-events: none; }
.profile-top > .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,.72); font-size: 13px; }
.breadcrumb a { color: var(--white); font-weight: 700; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb.is-dark-text { color: rgba(7,35,56,.78); text-shadow: 0 1px 5px rgba(255,255,255,.45); }
.breadcrumb.is-dark-text a { color: #072338; }
.breadcrumb.is-dark-text a:hover { color: #000; }
.profile-section { position: relative; z-index: 2; margin-top: -112px; padding-top: 0; padding-bottom: 110px; }
.profile-section::before { content: ''; position: absolute; z-index: -1; top: 112px; bottom: 0; left: 50%; width: 100vw; background: #f7fafd; transform: translateX(-50%); }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 28px; }
.profile-main { overflow: hidden; padding: 0 32px 22px; background: var(--white); border: 1px solid #d9e4ee; border-radius: 22px; box-shadow: 0 14px 42px rgba(17,79,146,.08); }
.profile-intro { display: grid; grid-template-columns: 182px 1fr; align-items: center; gap: 28px; margin: 0 -32px; padding: 36px 32px; background: linear-gradient(135deg, #f4f9fe 0%, #eaf3fb 100%); border-bottom: 1px solid var(--line); }
.profile-photo { width: 172px; height: 172px; object-fit: cover; object-position: center 18%; background: var(--blue-50); border: 6px solid var(--white); border-radius: 50%; box-shadow: 0 12px 30px rgba(17, 79, 146, .2); }
.profile-intro-content { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 24px; }
.profile-header-booking { padding-left: 22px; display: flex; align-items: stretch; flex-direction: column; gap: 5px; border-left: 1px solid #cbdce9; }
.profile-header-booking > span { color: #62798a; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.profile-header-booking > strong { color: var(--navy); font-size: 18px; line-height: 1.2; }
.profile-header-booking > small { min-height: 18px; color: var(--profile-primary); font-size: 11px; font-weight: 800; }
.profile-header-booking .button { width: 100%; min-height: 42px; margin-top: 5px; justify-content: center; padding: 0 12px; font-size: 12px; }
.profile-custom .verified, .profile-custom .back-link { color: var(--profile-primary); }
.profile-custom .button-primary { color: var(--profile-accent-contrast); background: var(--profile-accent); box-shadow: 0 7px 18px color-mix(in srgb, var(--profile-accent) 24%, transparent); }
.profile-custom .button-primary:hover, .profile-custom .button-primary:focus { color: var(--profile-accent-contrast); background: var(--profile-accent); filter: brightness(.92); }
.profile-custom .rating-stars:after { color: var(--profile-accent); }
.profile-custom .chip-primary { color: var(--profile-primary); border-color: var(--profile-primary); }
.profile-intro h1 { margin: 0; color: var(--navy); font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; }
.profile-title { margin: 8px 0 16px; color: var(--muted); font-size: 18px; }
.profile-registration-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.profile-registration { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; color: var(--profile-primary); background: var(--teal-50); border: 1px solid #b8d0e5; border-radius: 8px; }
.profile-registration strong { font-size: 13px; }
.profile-registration small { padding-left: 7px; border-left: 1px solid #b8d0e5; color: #536b7d; font-size: 11px; font-weight: 750; }
.profile-rating { display: block; margin: -7px 0 15px; }
.profile-rating-top { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.profile-rating-top .rating-stars { font-size: 18px; }
.profile-rating strong { color: #5f4a24; font-size: 16px; }
.profile-rating > span:last-child:not(.rating-empty) { color: var(--muted); font-size: 13px; }
.profile-rating-link { color: #526f82; font-size: 13px; font-weight: 700; padding: 0 12px; border: 1px solid #a9c4df; border-radius: 8px; background: #fff; white-space: nowrap; text-decoration: none; }
.profile-rating-link:hover, .profile-rating-link:focus { color: var(--profile-primary); }
.profile-share-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px; margin: 8px 0 10px; }
.profile-share-actions > span { display: none; }
.profile-share-actions > div { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-share-button { min-height: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 1px solid #c8dbe7; border-radius: 999px; color: #315c73; background: #f5faff; font-size: 11px; font-weight: 800; text-decoration: none; cursor: pointer; }
.profile-share-button > i { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(49,92,115,.12); font-size: 10px; line-height: 1; }
.profile-share-button:hover, .profile-share-button:focus { border-color: var(--profile-primary); color: var(--profile-primary); background: #fff; text-decoration: none; }
.profile-share-button.is-whatsapp { border-color: #b8dfc8; color: #167345; background: #edf9f1; }
.profile-share-button.is-whatsapp > i { color: #fff; background: #27ae60; }
.profile-share-button.is-whatsapp:hover, .profile-share-button.is-whatsapp:focus { border-color: #27ae60; color: #12643d; background: #e2f6e9; }
.profile-share-button.is-native { color: var(--profile-primary); }
.profile-share-actions small { display: none; flex-basis: 100%; color: #21804e; font-size: 10px; font-weight: 700; text-align: right; }
.profile-share-actions small:not(:empty) { display: block; }
.profile-trust { margin: 0 -32px; padding: 12px 32px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #f8fbfe; border-bottom: 1px solid var(--line); }
.profile-trust .profile-share-actions { flex: 0 0 auto; align-items: flex-end; flex-direction: column; gap: 4px; margin: 0; }
.profile-trust .profile-share-actions > span { display: block; width: 100%; color: var(--muted); font-size: 10px; font-weight: 800; text-align: right; }
.profile-trust > div:first-child { display: flex; align-items: flex-start; flex-direction: column; gap: 2px; }
.profile-trust > div:first-child strong, .profile-trust > div:first-child span { display: inline; }
.profile-trust > div:first-child strong { color: var(--navy); font-size: 12px; }
.profile-trust > div:first-child strong::before { content: '\f058'; margin-right: 6px; color: var(--profile-primary); font-family: FontAwesome; font-weight: 400; }
.profile-trust > div:first-child > span { margin-top: 1px; color: var(--muted); font-size: 10px; }
.profile-trust > div:first-child > span::before { content: '\f073'; margin-right: 6px; color: #7890a1; font-family: FontAwesome; }
.profile-online-badge { flex: 0 0 auto; padding: 5px 8px; color: #176b5a; background: #e4f7f1; border-radius: 5px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.profile-intro-content > div > .profile-online-badge { display: inline-flex; margin: 8px 0 4px; padding: 5px 9px; align-items: center; gap: 7px; }
.profile-intro-content > div > .profile-online-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2eaf73; box-shadow: 0 0 0 3px rgba(46,175,115,.14); }
@keyframes profile-online-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(46,175,115,.14); } 50% { box-shadow: 0 0 0 7px rgba(46,175,115,0); } }
.profile-intro-content > div > .profile-online-badge::before { animation: profile-online-pulse 1.8s ease-in-out infinite; }
.profile-summary { margin: 0 -32px; padding: 18px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: #dce6ee; border-bottom: 1px solid var(--line); }
.profile-summary > div { min-width: 0; padding: 12px 15px; background: #fff; }
.profile-summary span, .profile-summary strong { display: block; }
.profile-summary span { margin-bottom: 4px; color: #718493; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.profile-summary strong { overflow-wrap: anywhere; color: var(--navy); font-size: 13px; line-height: 1.35; }
.profile-mobile-cta { display: none; }
.profile-block { padding: 30px 0; border-bottom: 1px solid var(--line); }
.profile-block h2 { margin: 0 0 18px; color: var(--navy); font-size: 23px; }
.profile-custom .profile-about > h2, .profile-custom .profile-reviews-heading h2, .profile-custom .profile-attendances > h2 { display: flex; align-items: center; gap: 10px; }
.profile-custom .profile-about > h2::before, .profile-custom .profile-reviews-heading h2::before, .profile-custom .profile-attendances > h2::before { content: ''; width: 5px; height: 24px; flex: 0 0 5px; background: var(--profile-accent); border-radius: 3px; }
.biography { color: #465d72; line-height: 1.8; }
.biography-toggle { display: none; margin-top: 12px; padding: 0; color: var(--profile-primary); background: transparent; border: 0; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.profile-reviews { scroll-margin-top: 90px; }
.profile-reviews-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.profile-reviews-heading > div > span { display: block; margin-bottom: 4px; color: var(--profile-primary); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.profile-reviews-heading h2 { margin: 0; }
.profile-reviews-heading > small { max-width: 340px; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: right; }
.profile-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.profile-review-card { min-width: 0; padding: 17px; border: 1px solid #dce6ed; border-radius: 8px; background: #fff; box-shadow: 0 5px 14px rgba(25, 58, 82, .06); }
.profile-review-card .rating-stars { font-size: 15px; }
.profile-review-card blockquote { margin: 14px 0 17px; padding: 0; border: 0; color: #354f63; font-size: 14px; font-style: normal; line-height: 1.65; }
.profile-review-card footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid #edf2f5; }
.profile-review-card footer strong { color: #176b5a; font-size: 11px; }
.profile-review-card footer strong:before { content: '\2713'; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: 5px; border-radius: 50%; background: #e4f7f1; color: #16806b; font-size: 10px; }
.profile-review-card footer span { color: var(--muted); font-size: 10px; text-align: right; }
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.detail-list > div, .detail-list > .detail-item { padding: 15px; display: flex; gap: 12px; background: var(--teal-50); border: 1px solid #dbe7f1; border-radius: 12px; transition: border-color .18s ease, transform .18s ease; }
.detail-list > div:hover, .detail-list > .detail-item:hover { transform: translateY(-1px); border-color: #b8d0e5; }
.detail-item { width: 100%; text-align: left; cursor: pointer; appearance: none; -webkit-appearance: none; }
.detail-item.specialty-filter.is-active { border-color: var(--profile-primary); box-shadow: 0 0 0 2px rgba(17,79,146,.16); }
.detail-icon { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; color: var(--white); background: var(--teal-700); border-radius: 9px; font-size: 21px; }
.profile-custom .detail-icon { color: var(--profile-primary-contrast); background: var(--profile-primary); }
.detail-list p { margin: 0; }
.detail-list small { display: block; color: var(--muted); }
.detail-list .detail-specialty-price { margin-top: 5px; color: var(--profile-primary); font-size: 12px; font-weight: 850; }
.detail-list .detail-procedures { margin-top: 6px; font-size: 10px; line-height: 1.35; color: #5c7081; }
.attendance-list.is-single { grid-template-columns: minmax(0, 470px); }
.attendance-item { padding: 18px !important; background: #fff !important; }
.attendance-copy, .attendance-heading, .attendance-meta, .attendance-footer { display: flex; }
.attendance-copy { width: 100%; min-width: 0; flex-direction: column; gap: 12px; }
.attendance-heading { align-items: baseline; justify-content: space-between; gap: 12px; }
.attendance-heading strong { color: var(--navy); font-size: 17px; }
.attendance-heading small { flex: 0 0 auto; color: #687e8f; font-size: 10px; font-weight: 750; }
.attendance-meta { flex-wrap: wrap; gap: 6px; }
.attendance-meta > span { padding: 4px 7px; color: #526b7c; background: #eef5fa; border-radius: 5px; font-size: 10px; font-weight: 700; }
.attendance-meta > .attendance-qualification { color: var(--profile-primary); background: #e7f0fa; }
.attendance-meta > .attendance-rqe { color: #70520a; background: #fff3cd; }
.attendance-meta > .attendance-practice-area { color: #52606a; background: #edf0f2; }
.attendance-footer { align-items: center; justify-content: space-between; gap: 14px; padding-top: 11px; border-top: 1px solid #e5edf3; }
.attendance-footer > strong { color: var(--profile-primary); font-size: 13px; }
.attendance-footer > span { color: var(--profile-primary); font-size: 12px; font-weight: 850; }
.attendance-footer b { margin-left: 3px; font-size: 15px; }
.booking-card { scroll-margin-top: 90px; }
.info-row { padding: 12px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px dashed var(--line); }
.info-row:last-child { border: 0; }
.info-row span { color: var(--muted); }
.info-row strong { text-align: right; }
.back-link { margin-top: 28px; display: inline-flex; gap: 8px; color: var(--teal-700); font-size: 14px; font-weight: 750; }
.booking-card { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; padding: 32px; background: var(--white); border: 1px solid #cfdeeb; border-top: 4px solid var(--teal-700); border-radius: 20px; box-shadow: 0 14px 38px rgba(17,79,146,.11); }
.profile-custom .booking-card { border-top-color: var(--profile-primary); }
.booking-card.is-next-soon { border-color: color-mix(in srgb, var(--profile-accent) 58%, #cfdeeb); box-shadow: 0 18px 46px rgba(17,79,146,.16), 0 0 0 3px color-mix(in srgb, var(--profile-accent) 17%, transparent); }
.booking-soon-badge { grid-column: 2; grid-row: 2; justify-self: start; margin: 0; padding: 5px 8px; color: var(--profile-accent-contrast); background: var(--profile-accent); border-radius: 999px; font-size: 9px; font-weight: 850; white-space: nowrap; }
.booking-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--teal-700); background: var(--teal-50); border-radius: 13px; }
.profile-custom .booking-icon { color: var(--profile-primary); }
.booking-heading { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 4px 12px; }
.booking-heading .booking-icon { grid-row: 1 / 3; }
.booking-heading h2 { grid-column: 2; grid-row: 1; margin: 0; }
.booking-card > h2 { margin: 18px 0 8px; color: var(--navy); font-size: 23px; }
.booking-card h2 { color: var(--navy); font-size: 23px; }
.booking-card p { color: var(--muted); }
.booking-card .booking-telemedicine-note { margin: 8px 0 0; color: #728491; font-size: 11px; line-height: 1.35; }
.booking-card small { display: block; margin-top: 14px; color: #7b9099; line-height: 1.5; }
.booking-cta { margin: 14px 0 16px; padding: 10px 12px; color: #4f6675; background: #f6fbff; border: 1px solid #d4e3f1; border-radius: 9px; font-size: 12px; font-weight: 750; }
.schedule-groups, .schedule-group { min-width: 0; }
.schedule-groups { display: grid; gap: 18px; margin: 20px 0; }
.schedule-group + .schedule-group { padding-top: 17px; border-top: 1px solid var(--line); }
.schedule-group h3 { display: none; }
.schedule-group-specialties { margin: -4px 0 10px; display: grid; gap: 3px; color: #5a7081; font-size: 13px; line-height: 1.4; }
.schedule-specialty-price { width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 12px; }
.schedule-specialty-price strong { margin-left: auto; color: var(--profile-primary); font-size: 12px; font-weight: 850; text-align: right; }
.schedule-empty-filter { display: none; margin: 0 0 8px; padding: 8px 10px; color: #5f6d77; background: #f4f8fb; border: 1px dashed #c7d8e7; border-radius: 8px; font-size: 12px; }
.schedule-date-tabs { width: 100%; max-width: 100%; min-width: 0; margin: 0 0 12px; padding-bottom: 4px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-inline: contain; }
.schedule-date-tabs::-webkit-scrollbar { display: none; }
.schedule-date-tab { min-width: 92px; min-height: 54px; padding: 8px 10px; display: grid; gap: 2px; color: #526b7d; background: #f8fbfe; border: 1px solid #d6e3ed; border-radius: 9px; text-align: left; cursor: pointer; }
.schedule-date-tab strong, .schedule-date-tab span { display: block; white-space: nowrap; }
.schedule-date-tab strong { color: var(--navy); font-size: 11px; }
.schedule-date-tab span { font-size: 10px; font-weight: 700; }
.schedule-date-tab.is-active { color: var(--profile-primary); background: #eef6fc; border-color: var(--profile-primary); box-shadow: inset 0 -3px 0 var(--profile-primary); }
.schedule-date-tab.is-active strong { color: var(--profile-primary); }
.schedule-days { margin: 0; }
.schedule-day { padding: 12px; border: 1px solid #dce6ef; border-radius: 11px; background: #f8fbfe; }
.schedule-day-head { display: none; }
.schedule-day-head strong { color: var(--navy); font-size: 12px; }
.schedule-day-head .schedule-day-highlight { padding: 2px 7px; color: var(--profile-accent-contrast); background: var(--profile-accent); border-radius: 999px; letter-spacing: .04em; font-size: 10px; font-weight: 900; }
.schedule-day-head span { color: var(--muted); font-size: 11px; font-weight: 700; }
.schedule-times { display: flex; flex-wrap: wrap; gap: 6px; }
.schedule-time { min-width: 68px; min-height: 44px; padding: 8px 11px; color: var(--profile-primary); background: var(--white); border: 1px solid var(--profile-primary); border-radius: 8px; font-size: 12px; font-weight: 800; text-align: center; cursor: pointer; transition: color .16s ease, background .16s ease, transform .16s ease; }
.schedule-time-hour, .schedule-time-price { display: block; }
.schedule-time-price { display: none; }
.schedule-time:hover, .schedule-time:focus { color: var(--profile-primary-contrast); background: var(--profile-primary); transform: translateY(-1px); }
.booking-open { overflow: hidden; }
body.profile-custom #cs-wa-float-host,
body.booking-open #cs-wa-float-host,
body.checkout-page #cs-wa-float-host { display: none !important; }
.booking-modal { position: fixed; z-index: 3000; inset: 0; display: none; align-items: center; justify-content: center; padding: 22px; }
.booking-modal.is-open { display: flex; }
.booking-modal-backdrop { position: absolute; inset: 0; background: rgba(8,31,53,.72); backdrop-filter: blur(5px); }
.booking-dialog { position: relative; z-index: 1; width: min(760px, 100%); max-height: min(90vh, 820px); overflow-y: auto; padding: 30px; background: var(--white); border-radius: 24px; box-shadow: 0 30px 90px rgba(4,24,42,.35); }
.booking-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; padding: 0; color: #657b8e; background: #f0f4f7; border: 0; border-radius: 50%; font-size: 27px; line-height: 1; }
.booking-dialog-head { padding-right: 42px; }
.booking-dialog-head h2 { margin: 0; color: var(--navy); font-size: 29px; line-height: 1.2; }
.booking-dialog-head p { margin: 6px 0 0; color: var(--muted); }
.booking-steps { display: grid; grid-template-columns: repeat(3,1fr); margin: 24px 0; padding: 0; list-style: none; }
.booking-steps li { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; color: #8a9aa5; font-size: 12px; font-weight: 750; }
.booking-steps li:not(:last-child):after { content: ''; position: absolute; z-index: -1; top: 50%; left: calc(50% + 24px); width: calc(100% - 48px); height: 2px; background: #dfe7ec; }
.booking-steps b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e9eff3; font-size: 11px; }
.booking-steps li.is-active, .booking-steps li.is-complete { color: var(--profile-primary); }
.booking-steps li.is-active b, .booking-steps li.is-complete b { color: var(--profile-primary-contrast); background: var(--profile-primary); }
.booking-alert { display: none; margin-bottom: 15px; padding: 10px 12px; color: #93451f; background: #fff4e9; border: 1px solid #f1cfaf; border-radius: 10px; font-size: 13px; }
.booking-alert.is-visible { display: block; }
.booking-panel { display: none; }
.booking-panel.is-active { display: block; }
.booking-slot-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px; margin-bottom: 20px; padding: 16px 17px; color: var(--navy); background: linear-gradient(135deg,#f5faff,#eaf4fc); border: 1px solid #c9ddea; border-radius: 14px; box-shadow: inset 4px 0 0 var(--profile-primary); }
.booking-slot-summary strong, .booking-slot-summary span { display: block; }
.booking-slot-professional { min-width: 0; }
.booking-slot-professional strong { overflow: hidden; font-size: 17px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.booking-slot-professional span { margin-top: 4px; color: #63798a; font-size: 12px; font-weight: 700; }
.booking-slot-professional small { margin-top: 3px; color: #8193a1; font-size: 11px; font-weight: 500; }
.booking-slot-date { min-width: 118px; padding-left: 18px; border-left: 1px solid #cbdde9; }
.booking-slot-date span, .booking-slot-hour span { margin-bottom: 3px; color: #667e90; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.booking-slot-date strong { color: var(--navy); font-size: 13px; }
.booking-slot-hour { min-width: 75px; padding: 9px 12px; background: var(--profile-primary); border-radius: 10px; text-align: center; box-shadow: 0 5px 12px rgba(17,79,146,.18); }
.booking-slot-hour span { color: var(--profile-primary-contrast); opacity: .76; }
.booking-slot-hour strong { color: var(--profile-primary-contrast); font-size: 17px; line-height: 1.1; }
.booking-loading { width: 100%; padding: 12px; text-align: center; }
.booking-procedures { margin: 0; padding: 0; border: 0; }
.booking-procedures legend { margin-bottom: 10px; color: var(--navy); font-size: 16px; font-weight: 800; }
#booking-procedure-list { display: grid; gap: 9px; }
.booking-procedure { position: relative; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 14px; border: 1px solid #d9e4ec; border-radius: 13px; cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.booking-procedure:hover { border-color: #a9c5da; background: #f9fcff; }
.booking-procedure.is-selected { border-color: var(--profile-primary); background: #f2f8fd; box-shadow: 0 0 0 2px color-mix(in srgb, var(--profile-primary) 13%, transparent); }
.booking-procedure input { width: 18px; height: 18px; margin: 0; accent-color: var(--profile-primary); }
.booking-procedure strong { display: block; color: var(--navy); font-size: 14px; }
.booking-procedure small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.booking-procedure-price { color: var(--profile-primary); font-size: 18px; font-weight: 900; white-space: nowrap; }
.booking-help { margin-bottom: 16px; padding: 13px 15px; background: #f2f8fd; border-left: 4px solid var(--profile-primary); border-radius: 0 10px 10px 0; }
.booking-help strong, .booking-help span { display: block; }
.booking-help strong { color: var(--navy); }
.booking-help span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.booking-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.booking-fields label { color: #52677a; font-size: 12px; font-weight: 750; }
.booking-fields label.is-wide { grid-column: 1/-1; }
.booking-fields input { width: 100%; height: 46px; margin-top: 5px; padding: 0 12px; color: var(--ink); background: #fbfdff; border: 1px solid #cedbe7; border-radius: 9px; outline: none; }
.booking-fields input:focus { border-color: var(--profile-primary); box-shadow: 0 0 0 3px rgba(17,79,146,.12); }
.booking-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; color: var(--muted); font-size: 12px; cursor: pointer; }
.booking-consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--profile-primary); }
.booking-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e4ebf0; }
.booking-actions .button { min-width: 130px; }
.booking-back { color: #52677a; background: #eef3f6; }
#booking-submit { display: none; }
.purchase-trust { margin: 16px 0; padding: 12px 14px; color: #31566b; background: #fffaf0; border: 1px solid #f0d48b; border-radius: 9px; }
.purchase-trust-items { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.purchase-trust-items > span { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; white-space: nowrap; }
.purchase-trust-items i { width: 24px; height: 24px; display: grid; place-items: center; color: #07845f; background: #d9f8eb; border: 1px solid #8ee4c3; border-radius: 50%; font-size: 11px; font-style: normal; }
.purchase-trust-live { margin-top: 10px; padding-top: 8px; display: flex; align-items: center; justify-content: center; gap: 7px; border-top: 1px solid #f0dfad; color: #5d7180; font-size: 10px; }
.purchase-trust-live i { width: 7px; height: 7px; background: #16b985; border-radius: 50%; box-shadow: 0 0 0 0 rgba(22,185,133,.45); animation: purchase-live-pulse 1.8s infinite; }
@keyframes purchase-live-pulse { 70% { box-shadow: 0 0 0 7px rgba(22,185,133,0); } 100% { box-shadow: 0 0 0 0 rgba(22,185,133,0); } }
.booking-success { text-align: center; }
.booking-success-icon { width: 62px; height: 62px; margin: 0 auto 14px; display: grid; place-items: center; color: #fff; background: #1e9b72; border-radius: 50%; font-size: 30px; }
.booking-success h3 { margin: 0; color: var(--navy); font-size: 24px; }
.booking-success > p { max-width: 540px; margin: 8px auto 18px; color: var(--muted); }
.booking-success-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 15px; text-align: left; }
.booking-success-summary div { padding: 11px; background: #f5f8fb; border-radius: 10px; }
.booking-success-summary small, .booking-success-summary strong { display: block; }
.booking-success-summary small { color: var(--muted); font-size: 10px; }
.booking-success-summary strong { color: var(--navy); }
.booking-payment-pending { padding: 14px; color: #725300; background: #fff7d6; border: 1px solid #efd47b; border-radius: 11px; }
.booking-payment-pending strong, .booking-payment-pending span { display: block; }
.booking-payment-pending span { margin-top: 3px; font-size: 12px; }
.booking-payment-pending .booking-pay-link { margin-top: 10px; min-width: 100%; justify-content: center; }
.booking-pix-copy { margin-top: 12px; display: block; text-align: left; }
.booking-pix-copy span { margin: 0 0 6px; color: #6b4b00; font-size: 12px; font-weight: 800; }
.booking-pix-copy textarea { width: 100%; min-height: 84px; padding: 8px 10px; color: #23313f; background: #fffef7; border: 1px solid #efd47b; border-radius: 8px; font-size: 12px; line-height: 1.45; resize: vertical; }
.booking-copy-pix { margin-top: 10px; }
.button-disabled { width: 100%; color: #789097; background: #e9eff1; cursor: not-allowed; }
.button-disabled:hover { transform: none; }

.site-footer { padding: 56px 0 24px; color: #d7e7f7; background: #114f92; }
.footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 50px; }
.brand-logo-footer { width: 205px; }
.footer-inner p { max-width: 320px; color: #c1d8ee; }
.footer-inner > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer-inner strong { color: var(--white); }
.footer-inner a:not(.brand):hover { color: var(--white); }
.footer-bottom { margin-top: 38px; padding-top: 20px; color: #b4cee6; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .hero-art { display: none; }
    .hero-copy { padding-bottom: 20px; }
    .search-wrap { transform: translateY(35%); }
    .search-form { grid-template-columns: 1fr auto; }
    .field-main { grid-column: 1 / -1; }
    .search-button { align-self: end; }
    .section:first-of-type { padding-top: 120px; }
    .type-grid { grid-template-columns: repeat(2, 1fr); }
    .professional-grid { grid-template-columns: repeat(2, 1fr); }
    .care-availability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .care-availability-grid.is-five > .care-availability-card { grid-column: auto; }

    .professional-search-result { grid-template-columns: 76px minmax(0, 1fr) minmax(300px, 1.2fr); }
    .professional-search-result .professional-list-specialties { grid-column: 2; }
    .result-booking { grid-column: 3; grid-row: 1 / 3; }
    .profile-layout { grid-template-columns: 1fr; }
    .booking-card { position: static; max-height: none; overflow: visible; }
}

@media (max-width: 700px) {
    .container { width: min(100% - 28px, 1160px); }
    .header-inner { min-height: 66px; gap: 9px; }
    .brand-logo { width: 205px; }
    .brand-logo-light { width: 202px; }
    .menu-toggle { order: 1; display: block; }
    .brand { order: 2; }
    .site-patient-menu { order: 3; margin-left: auto; }
    .site-patient-account { padding: 3px; border: 0; background: transparent; }
    .site-patient-account img, .site-patient-account > span { width: 38px; height: 38px; flex-basis: 38px; }
    .site-patient-account strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .site-patient-account > i { display: none; }
    .site-patient-dropdown { top: calc(100% + 7px); right: 0; }
    .has-hero-header .site-patient-account, .has-hero-header .site-header.is-scrolled .site-patient-account { background: transparent; border: 0; }
    .site-nav { position: absolute; left: 14px; right: 14px; top: 72px; padding: 14px; display: none; align-items: stretch; flex-direction: column; gap: 3px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 11px 12px; }
    .has-hero-header .site-nav.is-open a { color: #4b6074; text-shadow: none; }
    .has-hero-header .site-nav.is-open a:hover { color: var(--teal-700); }
    .hero { padding-top: 104px; }
    .hero h1 { font-size: 40px; }
    .hero-copy > p { font-size: 16px; }
    .search-wrap { padding-bottom: 30px; transform: none; }
    .search-form, .search-form-compact { grid-template-columns: 1fr; }
    .search-form-compact { transform: none; }
    .field-main { grid-column: auto; }
    .section, .profile-section { padding-top: 64px; padding-bottom: 64px; }
    .section:first-of-type { padding-top: 64px; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .type-grid, .specialty-grid, .professional-grid, .detail-list, .care-availability-grid { grid-template-columns: 1fr; }
    .section.other-care-section { padding-top: 28px; padding-bottom: 28px; }
    .professional-type-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
    .professional-type-chips legend { display: none; }
    .professional-type-chips span { white-space: nowrap; }
    .search-suggestions { max-height: 300px; }
    .care-availability-card { padding: 19px; }
    .care-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); overflow: visible; }
    .care-times a { min-width: 0; padding: 7px 4px; align-items: center; flex-direction: column; justify-content: center; gap: 1px; }
    .care-times span, .care-times strong { line-height: 1.25; }
    .care-card-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
    .other-care-heading { gap: 10px; }
    .other-care-heading > a { padding: 4px 0; }
    .specialty-grid .other-care-card { min-height: 64px; padding: 12px 16px; }
    .other-care-empty { align-items: flex-start; flex-direction: column; }
    .type-card { min-height: 150px; }
    .type-icon { margin-bottom: 16px; }
    .pro-cta { padding: 34px 26px; align-items: flex-start; flex-direction: column; }
    .results-hero { padding: 92px 0 58px; background-position: 64% center; }
    .results-hero h1 { font-size: 34px; }
    .specialties-hero { padding-bottom: 72px; }
    .specialty-directory-search { margin-top: 20px; }
    .specialties-directory { padding-top: 42px; padding-bottom: 70px; }
    .specialty-directory-toolbar { margin-bottom: 34px; align-items: stretch; flex-direction: column; gap: 16px; }
    .specialty-type-filter { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; scrollbar-width: none; }
    .specialty-type-filter::-webkit-scrollbar { display: none; }
    .specialty-type-filter a, .specialty-type-filter button { flex: 0 0 auto; }
    .specialty-sort select { width: 100%; }
    .specialty-type-group + .specialty-type-group { margin-top: 38px; padding-top: 32px; }
    .specialty-type-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
    .specialty-type-heading h2 { font-size: 25px; }
    .specialty-directory-grid { grid-template-columns: 1fr; }
    .specialty-directory-card { min-height: 176px; padding: 16px; grid-template-columns: 38px minmax(0, 1fr); }
    .specialty-directory-icon { width: 38px; height: 38px; border-radius: 10px; }
    .specialty-directory-card > b { grid-column: 2; justify-self: start; }
    .specialty-directory-empty > div { align-items: stretch; flex-direction: column; }
    .results-heading { align-items: flex-start; flex-direction: column; }
    .results-actions { width: 100%; justify-content: space-between; }
    .view-toggle { margin-left: auto; }
    .is-list-view .professional-card { grid-template-columns: 102px minmax(0, 1fr); min-height: 154px; background: linear-gradient(90deg, var(--teal-50) 0, var(--teal-50) 62px, var(--white) 62px); }
    .is-list-view .professional-photo { width: 84px; height: 84px; margin-left: 12px; border-width: 4px; }
    .is-list-view .professional-body { padding: 17px 14px; }
    .is-list-view .professional-card:has(.professional-price) .professional-body { padding-right: 14px; }
    .is-list-view .professional-price { position: static; min-width: 0; margin: 9px 0; padding: 8px 10px; align-items: baseline; flex-direction: row; justify-content: flex-start; background: #f2f7fb; border-left: 0; text-align: left; }
    .is-list-view .professional-price b { display: inline; margin-top: 0; font-size: 16px; }
    .professional-grid.is-list-view { border-radius: 8px; }
    .professional-list-head { display: none; }
    .professional-list-item { min-height: 0; padding: 14px; grid-template-columns: 66px minmax(0, 1fr); column-gap: 12px; row-gap: 9px; }
    .professional-list-photo { width: 64px; height: 64px; }
    .professional-list-identity h3 { font-size: 16px; }
    .professional-list-identity .professional-credentials { gap: 4px; }
    .professional-list-specialties, .professional-list-price, .professional-list-action { grid-column: 2; }
    .professional-list-specialties > span { display: none; }
    .professional-list-price { display: flex; align-items: baseline; gap: 6px; text-align: left; }
    .professional-list-price > span { margin: 0; }
    .professional-list-price strong { font-size: 17px; }
    .professional-list-action { width: fit-content; padding: 0 12px; }
    .professional-grid.is-list-view { display: grid; gap: 12px; overflow: visible; border: 0; }
    .professional-search-result { min-height: 0; padding: 16px; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; border: 1px solid #d7e2ec; border-radius: 8px; }
    .professional-search-result .professional-list-photo { width: 66px; height: 66px; }
    .professional-search-result .professional-list-specialties { grid-column: 1 / -1; padding: 12px 0 0; border-top: 1px solid var(--line); }
    .professional-search-result .professional-list-specialties > span { display: block; }
    .professional-search-result .professional-list-specialties p { -webkit-line-clamp: 2; }
    .result-online-badge { margin-top: 8px; }
    .result-booking { grid-column: 1 / -1; grid-row: auto; padding: 13px 0 0; border-top: 1px solid var(--line); border-left: 0; }
    .result-booking .professional-list-price { grid-column: auto; display: block; text-align: left; }
    .result-slot-list { grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); }
    .result-actions .button { flex: 1; }
    .is-list-view .professional-body h3 { font-size: 18px; }
    .is-list-view .verified, .is-list-view .professional-specialties { display: none; }
    .profile-intro { position: relative; grid-template-columns: 1fr; justify-items: center; align-items: start; gap: 0; margin: 0 -18px; padding: 120px 18px 24px; border-radius: 14px 14px 0 0; text-align: center; }
    .profile-main { overflow: visible; padding: 0 18px 18px; border-radius: 14px; }
    .profile-intro-content { width: 100%; grid-template-columns: 1fr; gap: 0; }
    .profile-intro-content > div:first-child { display: flex; align-items: center; flex-direction: column; }
    .profile-header-booking { display: none; }
    .profile-intro h1 { font-size: 28px; line-height: 1.08; letter-spacing: -.025em; }
    .profile-registration-list { justify-content: center; margin: 8px 0 10px; gap: 5px; }
    .profile-registration { padding: 5px 7px; align-items: flex-start; flex-direction: column; gap: 1px; }
    .profile-registration small { padding-left: 0; border-left: 0; }
    .profile-rating { margin: 0; }
    .profile-rating-top { margin-bottom: 2px; }
    .profile-rating-top .rating-stars { font-size: 15px; }
    .profile-rating strong { font-size: 14px; }
    .profile-rating-link { font-size: 11px; }
    .profile-share-actions { align-items: flex-end; flex-direction: column; margin-top: 10px; }
    .profile-share-actions > div { width: auto; flex-wrap: nowrap; justify-content: flex-end; gap: 0; }
    .profile-share-button, .profile-share-button.is-native, .profile-share-button.is-whatsapp { width: 44px; min-height: 44px; flex: 0 0 44px; justify-content: center; padding: 0; border: 0; color: transparent; background: transparent; font-size: 0; }
    .profile-share-button:hover, .profile-share-button:focus, .profile-share-button.is-whatsapp:hover, .profile-share-button.is-whatsapp:focus { border: 0; background: transparent; }
    .profile-share-button > i, .profile-share-button.is-native > i { flex: 0 0 26px; width: 26px; height: 26px; color: #6c8292; background: transparent; font-size: 19px; }
    .profile-share-button.is-whatsapp > i { color: #25a65a; background: transparent; }
    .profile-share-button.is-native > i { color: var(--profile-primary); }
    .profile-trust { align-items: center; flex-direction: row; gap: 8px; margin: 0 -18px; padding: 11px 18px; }
    .profile-trust > div:first-child { min-width: 0; flex: 1 1 auto; }
    .profile-trust .profile-share-actions { width: 132px; flex: 0 0 132px; align-items: flex-end; margin: 0; }
    .profile-trust .profile-share-actions > span { font-size: 9px; }
    .profile-trust > div:first-child strong { font-size: 10.5px; white-space: nowrap; }
    .profile-trust > div:first-child > span { font-size: 9px; white-space: nowrap; }
    .profile-summary { margin: 0 -18px; padding: 1px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-summary > div { padding: 10px; }
    .profile-summary > div:last-child { grid-column: 1 / -1; }
    .profile-summary.has-audience > div:last-child { grid-column: auto; }
    .profile-main > .booking-card { margin: 0 -18px; padding: 26px 18px; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
    .profile-main > .booking-card.is-next-soon { box-shadow: inset 0 3px 0 var(--profile-accent); }
    .profile-main > .booking-card .booking-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 2px 10px; }
    .profile-main > .booking-card .booking-icon { width: 42px; height: 42px; grid-row: 1 / 3; }
    .profile-main > .booking-card .booking-heading h2 { grid-column: 2; grid-row: 1; font-size: 21px; line-height: 1.12; }
    .profile-main > .booking-card .booking-soon-badge { grid-column: 2; grid-row: 2; justify-self: start; margin: 0; padding: 3px 7px; font-size: 8px; }
    .profile-top { min-height: 210px; padding: 90px 0 64px; background-position: 65% center; }
    .profile-section { margin-top: -48px; padding-top: 0; padding-bottom: 64px; }
    .profile-section::before { top: 48px; }
    .profile-photo { position: absolute; z-index: 2; top: -38px; left: 50%; width: 144px; height: 144px; border-width: 5px; transform: translateX(-50%); box-shadow: 0 14px 30px rgba(17,79,146,.24); }
    .profile-block { padding: 24px 0; }
    .profile-block h2 { margin-bottom: 14px; font-size: 21px; }
    .biography.is-collapsed { position: relative; max-height: 210px; overflow: hidden; }
    .biography.is-collapsed::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 68px; background: linear-gradient(transparent, #fff); pointer-events: none; }
    .biography-toggle { display: inline-flex; }
    .profile-reviews-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
    .profile-reviews-heading > small { max-width: none; text-align: left; }
    .info-row { align-items: flex-start; flex-direction: column; gap: 2px; }
    .info-row strong { text-align: left; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .booking-modal { padding: 0; align-items: flex-end; }
    .booking-dialog { width: 100%; max-height: 94vh; padding: 23px 16px 18px; border-radius: 22px 22px 0 0; }
    .booking-dialog-head h2 { font-size: 24px; }
    .booking-steps li span { display: none; }
    .booking-slot-summary { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 15px; }
    .booking-slot-professional { grid-column: 1; grid-row: 1; }
    .booking-slot-date { grid-column: 1; grid-row: 2; min-width: 0; padding: 7px 0 0; display: flex; align-items: baseline; gap: 6px; border-top: 1px solid #d6e4ee; border-left: 0; }
    .booking-slot-date span { margin: 0; color: var(--profile-primary); }
    .booking-slot-date strong { font-size: 11px; }
    .booking-slot-hour { grid-column: 2; grid-row: 1 / 3; align-self: center; }
    .booking-fields { grid-template-columns: 1fr; }
    .booking-fields label.is-wide { grid-column: auto; }
    .purchase-trust-items { align-items: flex-start; flex-direction: column; }
    .purchase-trust-items > span { white-space: normal; }
    .booking-actions { position: sticky; bottom: -18px; margin-right: -16px; margin-left: -16px; padding: 13px 16px 18px; background: #fff; }
    .booking-actions .button { flex: 1; min-width: 0; padding-right: 10px; padding-left: 10px; }
    .booking-procedure { grid-template-columns: 22px minmax(0,1fr); }
    .booking-procedure-price { grid-column: 2; font-size: 16px; }
    .booking-success-summary { grid-template-columns: 1fr; }
    .profile-custom { padding-bottom: 84px; }
    .profile-mobile-cta { position: fixed; z-index: 200; right: 0; bottom: 0; left: 0; min-height: 76px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.98); border-top: 1px solid #cbdbe7; box-shadow: 0 -8px 24px rgba(12,48,78,.14); }
    .profile-mobile-cta > div { min-width: 0; }
    .profile-mobile-cta span, .profile-mobile-cta strong { display: block; }
    .profile-mobile-cta span { overflow: hidden; color: #5f7484; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
    .profile-mobile-cta strong { margin-top: 2px; color: var(--navy); font-size: 13px; }
    .profile-mobile-cta .button { min-width: 142px; min-height: 46px; padding: 0 15px; justify-content: center; font-size: 13px; }
    #cs-wa-float-host { right: 14px !important; bottom: calc(160px + env(safe-area-inset-bottom)) !important; }
}
@media (prefers-reduced-motion: reduce) {
    .profile-intro-content > div > .profile-online-badge::before { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Upcoming consultations: readable dates, one primary choice per care area. */
.availability-section .section-heading p { margin: 10px 0 0; color: var(--muted); line-height: 1.5; }
.availability-section .care-next { align-items: flex-start; flex-direction: column; padding: 16px; gap: 14px; }
.availability-section .care-next-copy > strong { font-size: 18px; line-height: 1.4; }
.availability-section .care-next .care-slot-professional { display: block; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
.availability-section .care-next-action { width: 100%; text-align: left; }
.availability-section .care-next-action strong { font-size: 20px; }
.availability-section .care-next-action b { margin-top: 12px; padding: 12px; border-radius: 6px; background: var(--teal-700); color: white; font-size: 14px; text-align: center; white-space: normal; }
.care-alternatives { margin-bottom: 16px; }
.care-alternatives summary { min-height: 44px; padding: 12px 0; cursor: pointer; color: var(--teal-700); font-size: 14px; font-weight: 700; }
.availability-section .care-times .care-slot-professional, .availability-section .care-times .care-slot-price { font-size: 12px; }
.availability-section .care-times .slot-day { white-space: normal; }
.availability-section .care-time-date { flex-wrap: wrap; justify-content: center; }
.availability-section .care-card-footer { flex-wrap: wrap; gap: 8px; }
.availability-section .care-card-footer > a { font-size: 12px; white-space: normal; }
.availability-section .care-card-footer .care-profile-link { padding-left: 0; background: transparent; }
.availability-section a:focus-visible, .care-alternatives summary:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; }
.care-empty { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--teal-50); }
.care-empty p { margin: 0 0 16px; }

.availability-section .care-next-professional { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.availability-section .care-professional-avatar { display: block; width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
.availability-section .care-next-professional .care-slot-professional { min-width: 0; margin-top: 0; }

.availability-section .care-professional-identity { min-width: 0; }
.availability-section .care-professional-registration { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }

.availability-section .care-times .care-professional-avatar { margin: 8px 0 4px; }
.availability-section .care-times .care-slot-professional { display: block; overflow: visible; overflow-wrap: anywhere; -webkit-line-clamp: unset; }
.availability-section .care-times .care-professional-registration { max-width: 100%; white-space: normal; font-weight: 500; }
.availability-section .care-times a:hover .care-professional-registration { color: var(--white); }

/* Keep filtered cards and the alternate global grid out of layout and keyboard navigation. */
.specialties-directory [hidden] { display: none !important; }

/* Specialty directory: readable cards and compact navigation. */
.results-hero.specialties-hero { padding: 112px 0 58px; }
.specialties-hero .specialty-directory-search { margin-top: 18px; }
.specialty-directory-search label { font-size: 12px; color: #526b7c; }
.specialty-directory-search input { min-height: 44px; font-size: 16px; }
.specialty-directory-search input::placeholder { color: #61788b; }
.specialty-directory-search:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.specialties-directory { padding-top: 32px; padding-bottom: 56px; }
.specialty-directory-toolbar { margin-bottom: 28px; gap: 16px; }
.specialty-type-filter a, .specialty-type-filter button { min-height: 44px; display: inline-flex; align-items: center; padding: 9px 15px; font-size: 14px; }
.specialty-sort { font-size: 12px; }
.specialty-sort select { min-height: 44px; font-size: 14px; }
.specialty-type-heading { margin-bottom: 16px; }
.specialty-type-heading > small { font-size: 13px; }
.specialty-type-group + .specialty-type-group { margin-top: 36px; padding-top: 28px; }
.specialties-directory .specialty-directory-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.specialties-directory .specialty-directory-card { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; min-height: 0; }
.specialty-directory-card h3 { font-size: 20px; line-height: 1.3; overflow-wrap: anywhere; }
.specialty-directory-card .specialty-directory-description { font-size: 15px; line-height: 1.5; margin-top: 8px; }
.specialty-directory-next { margin-top: 16px; padding: 12px; gap: 5px; font-size: 16px; line-height: 1.4; background: #edf7f3; border-radius: 6px; }
.specialty-directory-next > span { font-size: 12px; color: #526b7c; }
.specialty-directory-next strong { color: #116c56; }
.specialty-directory-card .specialty-directory-professionals { margin-top: 10px; font-size: 14px; font-weight: 500; }
.specialties-directory .specialty-directory-card > b { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); align-self: stretch; font-size: 14px; line-height: 1.5; }
.specialties-directory a:focus-visible, .specialty-sort select:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; }
@media (max-width: 700px) {
    .results-hero.specialties-hero { padding: 76px 0 34px; }
    .specialties-hero::after { height: 28px; }
    .specialties-hero h1 { font-size: 30px; }
    .specialties-hero > .container > p { font-size: 15px; line-height: 1.45; }
    .specialties-hero .specialty-directory-search { margin-top: 14px; }
    .specialties-directory { padding-top: 20px; padding-bottom: 40px; }
    .specialty-directory-toolbar { margin-bottom: 20px; gap: 12px; }
    .specialty-type-filter { flex-wrap: wrap; overflow: visible; padding-bottom: 0; gap: 6px; }
    .specialty-type-filter a, .specialty-type-filter button { padding-right: 12px; padding-left: 12px; }
    .specialty-sort { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .specialty-sort select { min-width: 0; width: auto; flex: 1; max-width: 240px; }
    .specialty-type-heading { margin-bottom: 12px; gap: 6px; }
    .specialty-type-heading h2 { font-size: 24px; }
    .specialties-directory .specialty-directory-grid { grid-template-columns: 1fr; gap: 12px; }
    .specialties-directory .specialty-directory-card { padding: 18px; }
}

/* Professional results: identity and booking with readable comparison details. */
.professionals-results-hero { padding: 108px 0 46px; }
.professionals-results-hero .search-form-compact { transform: none; margin-top: 20px; }
.professionals-results-hero + .results-section { padding-top: 28px; }
.results-heading { margin-bottom: 20px; }
.results-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 24px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #f5f9fc; }
.results-toolbar label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.results-toolbar select { min-height: 44px; min-width: 180px; padding: 8px 12px; border: 1px solid #b9d0e3; border-radius: 6px; background: white; color: var(--navy); font: inherit; font-size: 15px; }
.results-toolbar .button { min-height: 44px; }
.results-timezone { margin-left: auto; padding-bottom: 10px; font-size: 12px; color: var(--muted); }
.professional-list-item.professional-search-result { grid-template-columns: minmax(0, 1.25fr) minmax(330px, 1fr); align-items: start; gap: 24px; padding: 22px; }
.result-professional { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; min-width: 0; }
.professional-search-result .professional-list-identity h3 { font-size: 20px; }
.professional-search-result .professional-credentials small { font-size: 13px; }
.professional-search-result .professional-credentials strong { font-size: 13px; }
.professional-search-result .professional-list-specialties { padding-top: 8px; border: 0; }
.professional-search-result .professional-list-specialties > span { font-size: 12px; }
.professional-search-result .professional-list-specialties p { font-size: 15px; }
.professional-search-result .result-online-badge { margin-top: 6px; font-size: 12px; }
.professional-search-result .result-profile-quote { margin: 14px 0; padding: 10px 12px; border-left: 3px solid var(--teal-500); background: #f5f9fc; }
.professional-search-result .result-profile-quote p { font-size: 14px; line-height: 1.5; -webkit-line-clamp: 4; }
.professional-search-result .professional-rating .rating-empty { font-size: 12px; font-weight: 400; color: var(--muted); }
.professional-search-result .result-consultations strong, .professional-search-result .result-consultations small { font-size: 12px; font-weight: 400; color: var(--muted); }
.professional-search-result .result-booking { grid-column: auto; grid-row: auto; padding-left: 22px; gap: 12px; }
.result-booking .professional-list-price > span, .result-next-slot span { font-size: 12px; }
.result-booking .professional-list-price strong { font-size: 24px; }
.result-next-slot strong { font-size: 16px; line-height: 1.4; }
.result-choose-label { grid-column: 1 / -1; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--navy); }
.result-slot-list a { min-height: 88px; gap: 5px; padding: 9px 6px; }
.result-slot-list span { font-size: 12px; white-space: normal; text-align: center; }
.result-slot-list .slot-date { font-size: 12px !important; }
.result-slot-list strong { font-size: 16px; }
.result-slot-list small { font-size: 11px; text-align: center; line-height: 1.4; }
.result-booking .result-actions { justify-content: space-between; gap: 12px; }
.result-booking .result-profile-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.results-pagination { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.results-pagination div { display: flex; align-items: center; gap: 6px; }
.results-pagination a { min-width: 42px; min-height: 42px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); background: var(--white); border: 1px solid #b9d0e3; border-radius: 6px; font-size: 14px; font-weight: 800; }
.results-pagination a:hover, .results-pagination a.is-active { color: var(--white); background: var(--teal-700); border-color: var(--teal-700); }
.results-pagination .pagination-direction { min-width: 108px; }
.results-pagination a.is-disabled { color: #8494a1; background: #eef3f6; border-color: #d9e2e8; pointer-events: none; }
.results-section a:focus-visible, .results-toolbar select:focus-visible, .results-toolbar button:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; }
@media (max-width: 900px) {
    .professional-list-item.professional-search-result { grid-template-columns: 1fr; }
    .professional-search-result .result-booking { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
    .results-hero.professionals-results-hero { padding: 76px 0 32px; }
    .professionals-results-hero::after { height: 24px; }
    .professionals-results-hero h1 { font-size: 30px; }
    .professionals-results-hero > .container > p { margin-bottom: 0; font-size: 15px; line-height: 1.45; }
    .professionals-results-hero .search-form-compact { margin-top: 16px; }
    .professionals-results-hero + .results-section { padding-top: 20px; }
    .results-heading { gap: 8px; margin-bottom: 16px; }
    .results-heading h2 { font-size: 24px; }
    .results-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 12px; gap: 12px 8px; }
    .results-toolbar select { min-width: 0; width: 100%; font-size: 14px; padding: 8px; }
    .results-toolbar .button, .results-timezone { grid-column: 1 / -1; }
    .results-timezone { margin: 0; padding: 0; text-align: center; }
    .professional-list-item.professional-search-result { padding: 16px; gap: 16px; }
    .result-professional { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
    .professional-search-result .professional-list-identity h3 { font-size: 18px; }
    .professional-search-result .professional-list-specialties { grid-column: auto; }
    .result-slot-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .results-pagination { margin-top: 24px; gap: 8px; }
    .results-pagination a { min-width: 38px; min-height: 38px; padding: 7px 9px; font-size: 13px; }
    .results-pagination .pagination-direction { min-width: 0; }
}

/* Professional pagination: reachable at both ends, with consistent touch targets. */
#resultados { scroll-margin-top: 100px; }
.results-heading .results-range { color: #526b7c; font-size: 14px; }
.results-pagination { display: grid; grid-template-columns: auto minmax(0, auto) auto; gap: 10px 16px; }
.results-pagination a, .results-pagination .pagination-direction { min-height: 44px; min-width: 44px; padding: 10px 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #b9d0e3; border-radius: 6px; font-size: 14px; line-height: 1.4; }
.results-pagination .pagination-direction { min-width: 108px; font-weight: 700; }
.results-pagination .is-disabled { color: #61788b; background: #eef3f6; border-color: #d9e2e8; }
.results-pagination .pagination-numbers { flex-wrap: wrap; justify-content: center; gap: 6px; }
.results-pagination .pagination-status { color: var(--muted); font-size: 14px; text-align: center; }
.results-pagination:not(.is-compact) > .pagination-status { grid-column: 1 / -1; }
.results-pagination.is-compact { margin: 0 0 20px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); justify-content: space-between; }
.results-pagination .pagination-ellipsis { padding: 0 4px; color: var(--muted); }
@media (max-width: 700px) {
    #resultados { scroll-margin-top: 76px; }
    .results-pagination { grid-template-columns: 1fr auto 1fr; gap: 10px 8px; }
    .results-pagination .pagination-direction { min-width: 0; padding: 10px; font-size: 13px; }
    .results-pagination .pagination-prev { grid-column: 1; grid-row: 1; }
    .results-pagination .pagination-next { grid-column: 3; grid-row: 1; }
    .results-pagination .pagination-numbers { grid-column: 1 / -1; grid-row: 2; }
    .results-pagination.is-compact .pagination-status { grid-column: 2; grid-row: 1; font-size: 13px; }
}

/* Fragment navigation focuses the result region without outlining the entire list. */
#resultados:focus { outline: none; }

/* Public professional profile: readable details and explicit appointment actions. */
.profile-custom .profile-layout > *, .profile-custom .profile-intro-content > div { min-width: 0; }
.profile-custom .profile-intro h1 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; overflow-wrap: anywhere; }
.profile-custom .profile-registration { max-width: 100%; align-items: flex-start; flex-direction: column; gap: 3px; padding: 8px 10px; text-align: left; }
.profile-custom .profile-registration strong { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.profile-custom .profile-registration small { padding-left: 0; border-left: 0; font-size: 13px; line-height: 1.5; }
.profile-custom .profile-online-badge { font-size: 11px; }
.profile-custom .profile-rating-top .rating-stars { font-size: 18px; }
.profile-custom .profile-rating strong { font-size: 16px; }
.profile-custom .profile-rating-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; }
.profile-custom .profile-trust { flex-wrap: wrap; gap: 12px; }
.profile-custom .profile-trust > div:first-child { min-width: 0; }
.profile-custom .profile-trust > div:first-child strong { font-size: 13px; line-height: 1.5; white-space: normal; }
.profile-custom .profile-trust > div:first-child > span { font-size: 12px; line-height: 1.5; white-space: normal; }
.profile-custom .profile-trust .profile-share-actions > span, .profile-custom .profile-share-actions small { font-size: 12px; }
.profile-custom .profile-summary span { font-size: 12px; }
.profile-custom .profile-summary strong { font-size: 14px; line-height: 1.5; }
.profile-custom .profile-block h2 { font-size: clamp(22px, 2vw, 24px); line-height: 1.3; }
.profile-custom .biography { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.profile-custom .biography-toggle { min-height: 44px; font-size: 14px; }
.profile-custom .attendance-heading { flex-wrap: wrap; gap: 4px 12px; }
.profile-custom .attendance-heading strong { font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.profile-custom .attendance-heading small, .profile-custom .attendance-meta > span { font-size: 12px; }
.profile-custom .attendance-footer { flex-wrap: wrap; gap: 8px 12px; }
.profile-custom .attendance-footer > strong, .profile-custom .attendance-footer > span { font-size: 14px; }
.profile-custom .profile-reviews-heading > div > span, .profile-custom .profile-review-card footer span { font-size: 12px; }
.profile-custom .profile-reviews-heading > small, .profile-custom .profile-review-card footer strong { font-size: 13px; }
.profile-custom .profile-review-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.profile-custom .profile-review-card blockquote { font-size: 16px; }
.profile-custom .profile-review-card footer { flex-wrap: wrap; }
.profile-custom .booking-card { padding: 24px; scroll-margin-top: 96px; }
.profile-custom .booking-heading { grid-template-columns: 42px minmax(0, 1fr); gap: 4px 10px; }
.profile-custom .booking-icon { width: 42px; height: 42px; }
.profile-custom .booking-heading h2 { font-size: 22px; line-height: 1.3; }
.profile-custom .booking-card .booking-telemedicine-note { font-size: 14px; line-height: 1.55; color: var(--muted); }
.profile-custom .booking-card > small { font-size: 13px; line-height: 1.55; color: var(--muted); }
.profile-custom .booking-cta { font-size: 14px; line-height: 1.5; }
.profile-custom .booking-soon-badge { font-size: 11px; white-space: normal; }
.profile-custom .schedule-group-specialties, .profile-custom .schedule-specialty-price strong { font-size: 14px; line-height: 1.5; }
.profile-custom .schedule-empty-filter { font-size: 14px; }
.profile-custom .schedule-date-tabs { padding: 4px 4px 7px; gap: 8px; }
.profile-custom .schedule-date-tab { flex: 0 0 auto; min-width: 108px; min-height: 60px; padding: 9px 12px; }
.profile-custom .schedule-date-tab strong { font-size: 13px; }
.profile-custom .schedule-date-tab span { font-size: 14px; }
.profile-custom .schedule-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; }
.profile-custom .schedule-time { min-width: 0; min-height: 72px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 10px; }
.profile-custom .schedule-time-label { display: block; font-size: 12px; font-weight: 600; line-height: 1.2; }
.profile-custom .schedule-time-hour { font-size: 22px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.profile-custom .profile-booking-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 68px; padding: 10px 18px; line-height: 1.2; }
.profile-custom .profile-booking-action .schedule-time-label, .profile-custom .profile-booking-action .schedule-time-hour { color: inherit; overflow: visible; }
.profile-custom .schedule-time:focus-visible, .profile-custom .schedule-date-tab:focus-visible, .profile-custom .profile-booking-action:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.profile-custom .schedule-time:active, .profile-custom .profile-booking-action:active { transform: scale(.97); }
.profile-custom .booking-close { width: 44px; height: 44px; }

@media (min-width: 701px) {
    .profile-custom .profile-intro { grid-template-columns: 132px minmax(0, 1fr); align-items: start; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
    .profile-custom .profile-photo { width: 132px; height: 132px; border-width: 5px; }
    .profile-custom .profile-intro-content { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .profile-custom .profile-rating { margin-bottom: 0; }
    .profile-custom .profile-header-booking { display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: center; gap: 4px 16px; padding: 16px 0 0; border-left: 0; border-top: 1px solid #cbdce9; }
    .profile-custom .profile-header-booking > span, .profile-custom .profile-header-booking > strong, .profile-custom .profile-header-booking > small { grid-column: 1; }
    .profile-custom .profile-header-booking > span, .profile-custom .profile-header-booking > small { font-size: 12px; }
    .profile-custom .profile-header-booking > strong { font-size: 16px; line-height: 1.45; }
    .profile-custom .profile-header-booking .profile-booking-action { grid-column: 2; grid-row: 1 / 4; margin: 0; }
    .profile-custom .profile-share-button { min-width: 44px; min-height: 44px; font-size: 12px; }
    .profile-custom .profile-trust .profile-share-actions { margin-left: auto; }
}

@media (min-width: 981px) {
    .profile-custom .booking-card { max-height: calc(100dvh - 130px); }
}

@media (min-width: 981px) and (max-width: 1100px) {
    .profile-custom .profile-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
    .profile-custom .profile-intro { grid-template-columns: 104px minmax(0, 1fr); gap: 18px; }
    .profile-custom .profile-photo { width: 104px; height: 104px; }
}

@media (min-width: 981px) and (max-width: 1199px) {
    .profile-custom .profile-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-custom .profile-summary > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .profile-custom .profile-intro { padding-bottom: 18px; }
    .profile-custom .profile-intro h1 { font-size: clamp(26px, 6.8vw, 32px); }
    .profile-custom .profile-trust { align-items: flex-start; }
    .profile-custom .profile-trust > div:first-child { flex: 1 1 155px; }
    .profile-custom .profile-trust .profile-share-actions { flex: 1 1 132px; width: auto; }
    .profile-custom .profile-trust .profile-share-actions > span { max-width: 100%; }
    .profile-custom .profile-main > .booking-card { padding: 24px 18px; }
    .profile-custom .profile-main > .booking-card .booking-heading h2 { font-size: 22px; line-height: 1.3; }
    .profile-custom .profile-main > .booking-card .booking-soon-badge { font-size: 11px; }
    .profile-custom { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
    .profile-custom .profile-mobile-cta { gap: 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
    .profile-custom .profile-mobile-cta > div { flex: 1 1 0; }
    .profile-custom .profile-mobile-cta > div > span { font-size: 12px; }
    .profile-custom .profile-mobile-cta > div > strong { font-size: 14px; line-height: 1.45; }
    .profile-custom .profile-mobile-cta .profile-booking-action { flex: 0 0 112px; min-width: 112px; min-height: 68px; padding: 10px 12px; }
}

@media (max-width: 360px) {
    .profile-custom .profile-trust .profile-share-actions { align-items: flex-start; }
    .profile-custom .profile-trust .profile-share-actions > span { text-align: left; }
    .profile-custom .profile-summary { grid-template-columns: minmax(0, 1fr); }
}

/* Keep the chosen date and its appointment times in one visual group. */
.profile-custom .booking-heading { gap: 4px 12px; }
.profile-custom .booking-cta { margin: 10px 0 20px; padding: 0; border: 0; background: none; color: var(--muted); font-weight: 400; }
.profile-custom .schedule-groups { margin: 0 0 20px; gap: 22px; }
.profile-custom .schedule-group-specialties { margin: 0 0 14px; }
.profile-custom .schedule-specialty-price { align-items: flex-start; flex-direction: column; gap: 4px; }
.profile-custom .schedule-specialty-price > span { color: var(--navy); font-weight: 650; }
.profile-custom .schedule-specialty-price > strong { margin-left: 0; font-size: 16px; text-align: left; }
.profile-custom .schedule-calendar { min-width: 0; padding: 12px; background: #f4f8fd; border: 1px solid #dce7f2; border-radius: 16px; }
.profile-custom .schedule-date-tabs { margin: -4px -4px 12px; width: calc(100% + 8px); max-width: calc(100% + 8px); padding: 4px; gap: 8px; scrollbar-width: thin; scrollbar-color: #bdcfe2 transparent; }
.profile-custom .schedule-date-tabs::-webkit-scrollbar { display: block; height: 4px; }
.profile-custom .schedule-date-tabs::-webkit-scrollbar-thumb { background: #bdcfe2; border-radius: 4px; }
.profile-custom .schedule-date-tab { position: relative; min-width: 172px; min-height: 72px; padding: 12px; grid-template-columns: 32px minmax(0, 1fr) 16px; grid-template-rows: auto auto; align-items: center; gap: 1px 10px; background: #edf3fa; border: 1px solid transparent; border-radius: 12px; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.profile-custom .schedule-date-tab .schedule-date-icon { grid-column: 1; grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 36px; background: #e5eef9; border-radius: 8px; color: var(--profile-primary); font-size: 18px; }
.profile-custom .schedule-date-tab strong { grid-column: 2; grid-row: 1; font-size: 12px; font-weight: 650; }
.profile-custom .schedule-date-tab > span { grid-column: 2; grid-row: 2; color: var(--navy); font-size: 20px; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; }
.profile-custom .schedule-date-tab .schedule-date-check { grid-column: 3; grid-row: 1 / 3; visibility: hidden; color: var(--profile-primary); font-size: 16px; }
.profile-custom .schedule-date-tab.is-active { color: var(--profile-primary); background: #fff; border-color: var(--profile-primary); box-shadow: 0 2px 6px rgba(17,79,146,.08); }
.profile-custom .schedule-date-tab.is-active .schedule-date-check { visibility: visible; }
.profile-custom .schedule-date-tab:hover { border-color: var(--profile-primary); background: #fff; }
.profile-custom .schedule-date-tabs.is-single .schedule-date-tab { flex: 1 1 0; min-width: 0; }
.profile-custom .schedule-day { padding: 0; border: 0; border-radius: 0; background: none; }
.profile-custom .schedule-day-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; margin: 0 0 10px; }
.profile-custom .schedule-day-caption > span { color: #526b7d; font-size: 12px; font-weight: 650; }
.profile-custom .schedule-day-caption > small { margin: 0; color: #526b7d; font-size: 12px; }
.profile-custom .schedule-time { border-color: #b4cce3; background: #fff; }
.profile-custom .schedule-time:hover, .profile-custom .schedule-time:focus { border-color: var(--profile-primary); background: var(--profile-primary); }
.profile-custom .booking-card .booking-telemedicine-note { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.profile-custom .booking-card > small { margin-top: 8px; font-size: 12px; }
.profile-custom .booking-slot-professional strong { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.profile-custom .booking-slot-professional .booking-slot-credentials { display: block; margin: 4px 0 0; color: #405e75; font-size: 13px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.profile-custom .booking-slot-professional > span { font-size: 13px; line-height: 1.5; }
.profile-custom .booking-slot-professional > small { display: block; font-size: 12px; }

@media (max-width: 700px) {
    .profile-custom .booking-slot-professional { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px solid #cbdde9; }
    .profile-custom .booking-slot-date { grid-column: 1; grid-row: 2; flex-direction: column; gap: 2px; padding: 0; border: 0; }
    .profile-custom .booking-slot-date span { font-size: 11px; }
    .profile-custom .booking-slot-date strong { font-size: 14px; }
    .profile-custom .booking-slot-hour { grid-column: 2; grid-row: 2; }
    .profile-custom .booking-slot-hour strong { font-size: 22px; }
}

/* Choose one care area before browsing its appointment dates. */
.profile-custom .schedule-care-picker { display: grid; min-width: 0; gap: 7px; margin: 0 0 12px; }
.profile-custom .schedule-care-picker label { color: var(--navy); font-size: 13px; font-weight: 750; }
.profile-custom .schedule-care-control { position: relative; min-width: 0; min-height: 48px; padding: 11px 36px 11px 12px; color: var(--navy); background: #fff; border: 1px solid #b4cce3; border-radius: 10px; }
.profile-custom .schedule-care-control > span { display: block; font-size: 16px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.profile-custom .schedule-care-control::after { content: ''; position: absolute; right: 15px; top: calc(50% - 5px); width: 8px; height: 8px; border-right: 2px solid var(--profile-primary); border-bottom: 2px solid var(--profile-primary); transform: rotate(45deg); pointer-events: none; }
.profile-custom .schedule-care-control select { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.profile-custom .schedule-care-control:hover { border-color: var(--profile-primary); }
.profile-custom .schedule-care-control:focus-within { outline: 3px solid var(--profile-primary); outline-offset: 2px; }
.profile-custom .has-care-selector .schedule-specialty-price > span { display: none; }
.profile-custom .schedule-group + .schedule-group { padding-top: 0; border-top: 0; }
.profile-custom .schedule-empty-price { margin: 0 0 14px; color: var(--profile-primary); font-size: 16px; font-weight: 800; }
.profile-custom .schedule-empty-filter { margin: 0 0 20px; padding: 14px; line-height: 1.6; border-style: solid; }

/* Keep the selected care area and its price together. */
.profile-custom .has-care-selector .schedule-group-specialties { display: none; }
.profile-custom .schedule-care-picker { margin-bottom: 18px; }
.profile-custom .attendance-item:disabled { cursor: default; }
.profile-custom .attendance-item:disabled .attendance-footer > span { color: var(--muted); font-weight: 600; }

@media (min-width: 701px) {
    .profile-custom .profile-intro { grid-template-columns: 192px minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
    .profile-custom .profile-photo { width: 192px; height: 192px; }
    .profile-custom .profile-intro-content { grid-template-columns: minmax(0, 1fr) 156px; align-items: center; gap: 20px; }
    .profile-custom .profile-intro-content > div:only-child { grid-column: 1 / -1; }
    .profile-custom .profile-intro h1 { font-size: clamp(42px, 3.9vw, 52px); line-height: 1.15; }
    .profile-custom .profile-header-booking { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 0 0 0 18px; border-top: 0; border-left: 1px solid #cbdce9; }
    .profile-custom .profile-header-booking > strong { font-size: 18px; line-height: 1.4; }
    .profile-custom .profile-header-booking > small { font-size: 14px; }
    .profile-custom .profile-header-booking .profile-booking-action { min-height: 44px; margin-top: 6px; padding: 10px 8px; flex-direction: row; font-size: 13px; }
}

@media (min-width: 701px) and (max-width: 980px) {
    .profile-custom .profile-intro { grid-template-columns: 132px minmax(0, 1fr); gap: 20px; }
    .profile-custom .profile-photo { width: 132px; height: 132px; }
    .profile-custom .profile-intro-content { grid-template-columns: minmax(0, 1fr) 148px; gap: 16px; }
    .profile-custom .profile-intro h1 { font-size: 32px; }
}

@media (min-width: 981px) and (max-width: 1199px) {
    .profile-custom .profile-intro { grid-template-columns: 136px minmax(0, 1fr); gap: 16px; }
    .profile-custom .profile-photo { width: 136px; height: 136px; }
    .profile-custom .profile-intro-content { grid-template-columns: minmax(0, 1fr) 132px; gap: 14px; }
    .profile-custom .profile-intro h1 { font-size: 32px; }
    .profile-custom .profile-header-booking { padding-left: 14px; }
    .profile-custom .profile-header-booking > strong { font-size: 16px; }
}

/* Desktop date navigation remains usable without a trackpad. */
.profile-custom .schedule-date-navigation { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -4px 0 8px; }
.profile-custom .schedule-date-navigation[hidden] { display: none; }
.profile-custom .schedule-date-navigation > span { color: #526b7d; font-size: 12px; font-weight: 650; }
.profile-custom .schedule-date-arrows { display: flex; flex-shrink: 0; gap: 6px; }
.profile-custom .schedule-date-arrows button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #b4cce3; border-radius: 10px; background: #fff; color: var(--profile-primary); font-size: 14px; cursor: pointer; transition: background .16s ease, border-color .16s ease; }
.profile-custom .schedule-date-arrows button:hover:not(:disabled) { background: #e5eef9; border-color: var(--profile-primary); }
.profile-custom .schedule-date-arrows button:active:not(:disabled) { background: #d5e5f6; }
.profile-custom .schedule-date-arrows button:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.profile-custom .schedule-date-arrows button:disabled { color: #92a5b8; background: #edf3f8; border-color: #dce7f2; cursor: default; }
@media (min-width: 701px) {
    .profile-custom .schedule-date-tabs { padding-bottom: 8px; }
    .profile-custom .schedule-date-tabs::-webkit-scrollbar { height: 6px; }
    .profile-custom .schedule-date-tabs::-webkit-scrollbar-thumb:hover { background: #8daac6; }
}
@media (max-width: 700px) {
    .profile-custom .schedule-date-navigation { display: none; }
}

/* Review copy supports the same section heading used for About and Attendances. */
.profile-custom .profile-reviews-heading > div > span { margin: 6px 0 0; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.5; text-transform: none; }

/* A single appointment area gets a readable summary instead of a selector. */
.profile-custom .booking-card:not(.has-care-selector) .schedule-group-specialties { margin-bottom: 18px; }
.profile-custom .booking-card:not(.has-care-selector) .schedule-specialty-price { min-width: 0; padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 8px; background: #f8fbff; border: 1px solid #dce7f2; border-radius: 12px; }
.profile-custom .booking-card:not(.has-care-selector) .schedule-specialty-price > span { display: block; flex: 1 1 auto; min-width: 0; max-width: 100%; color: var(--navy); font-size: 16px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.profile-custom .booking-card:not(.has-care-selector) .schedule-specialty-price > strong { flex: 0 0 auto; margin-left: auto; text-align: right; white-space: nowrap; color: var(--profile-primary); font-size: 22px; font-weight: 850; line-height: 1.25; font-variant-numeric: tabular-nums; }

/* Keep the professional's photo with their identity in the booking dialog. */
.profile-custom .booking-slot-professional { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.profile-custom .booking-slot-professional > :not(.booking-slot-avatar) { grid-column: 2; }
.profile-custom .booking-slot-professional > .booking-slot-avatar { position: relative; grid-column: 1; grid-row: 1 / span 4; display: grid; place-items: center; width: 64px; height: 64px; margin: 0; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #dceaf7; color: var(--profile-primary); font-size: 26px; }
.profile-custom .booking-slot-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
@media (max-width: 700px) {
    .profile-custom .booking-slot-professional { grid-template-columns: 56px minmax(0, 1fr); column-gap: 10px; }
    .profile-custom .booking-slot-professional > .booking-slot-avatar { width: 56px; height: 56px; }
}

/* Stage 1: bring the home search and the first available appointments closer. */
.portal-home .hero { padding: 108px 0 28px; }
.portal-home .hero::after { height: 32px; }
.portal-home .hero-grid { min-height: 0; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; }
.portal-home .hero-copy { padding-bottom: 0; }
.portal-home .hero .eyebrow { margin-bottom: 8px; }
.portal-home .hero h1 { max-width: 700px; font-size: clamp(34px, 3.8vw, 48px); line-height: 1.1; }
.portal-home .hero-copy > p { max-width: 650px; margin-top: 14px; font-size: 17px; line-height: 1.5; }
.portal-home .hero-art { min-height: 170px; }
.portal-home .mini-card-one { top: 12px; }
.portal-home .mini-card-two { bottom: 12px; left: 0; }
.portal-home .search-wrap { margin-top: 24px; padding-bottom: 0; transform: none; }
.portal-home .search-form { gap: 10px 12px; padding: 16px 18px; align-items: start; }
.portal-home .field label { margin: 0 0 6px; font-size: 13px; line-height: 18px; }
.portal-home .field input { font-size: 16px; }
.portal-home .search-example { display: block; margin-top: 6px; color: #52677a; font-size: 12px; line-height: 1.5; }
.portal-home .search-button { align-self: start; margin-top: 24px; min-width: 156px; }
.portal-home .professional-type-chips { gap: 6px; padding-top: 0; }
.portal-home .professional-type-chips span { min-height: 44px; padding: 8px 10px; font-size: 12px; }
.portal-home .availability-section { padding-top: 28px; }
.portal-home .availability-section .section-heading { margin-bottom: 20px; gap: 12px; }
.portal-home .availability-section .section-heading h2 { font-size: clamp(26px, 2.5vw, 32px); }
.portal-home .availability-section .section-heading .eyebrow { margin-bottom: 6px; }
.portal-home .availability-section .section-heading p { margin-top: 6px; font-size: 14px; }
.portal-home .availability-section .section-heading > a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 701px) and (max-width: 980px) {
 .portal-home .hero { padding-top: 100px; }
 .portal-home .hero-grid { grid-template-columns: minmax(0, 1fr); }
 .portal-home .hero h1 { max-width: 650px; }
 .portal-home .search-form .field-main { grid-column: 1; }
}
@media (max-width: 700px) {
 .portal-home .hero { padding: 84px 0 22px; }
 .portal-home .hero::after { height: 20px; }
 .portal-home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
 .portal-home .hero .eyebrow { font-size: 11px; margin-bottom: 6px; }
 .portal-home .hero h1 { font-size: clamp(28px, 8.2vw, 34px); line-height: 1.12; }
 .portal-home .hero-copy > p { margin-top: 10px; font-size: 15px; line-height: 1.45; }
 .portal-home .search-wrap { margin-top: 18px; }
 .portal-home .search-form { padding: 14px; gap: 10px; }
 .portal-home .search-button { width: 100%; margin-top: 0; }
 .portal-home .professional-type-chips { padding-bottom: 3px; }
 .portal-home .availability-section { padding-top: 22px; }
 .portal-home .availability-section .section-heading { margin-bottom: 14px; gap: 4px; }
 .portal-home .availability-section .section-heading .eyebrow,
 .portal-home .availability-section .section-heading p { display: none; }
 .portal-home .availability-section .section-heading h2 { font-size: 26px; line-height: 1.2; }
}

/* Stage 2: one primary appointment, with profile and alternative times below. */
.availability-section .care-next { margin: 14px 0 8px; padding: 14px; gap: 16px; border: 1px solid #d7e5ef; border-radius: 10px; background: white; }
.availability-section .care-next-professional { width: 100%; margin: 0; gap: 12px; }
.availability-section .care-next .care-professional-avatar { width: 56px; height: 56px; }
.availability-section .care-next .care-slot-professional { margin: 0; color: var(--navy); font-size: 17px; line-height: 1.35; }
.availability-section .care-next .care-professional-registration { margin-top: 4px; font-size: 12px; }
.care-slot-summary, .result-slot-summary { width: 100%; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; }
.care-slot-summary > *, .result-slot-summary > * { min-width: 0; }
.availability-section .care-next-copy { flex: 1 1 100px; }
.availability-section .care-next-copy > strong { font-size: 16px; line-height: 1.4; }
.availability-section .care-next-action { width: auto; margin-left: auto; text-align: right; }
.availability-section .care-next-action > strong { font-size: 20px; white-space: nowrap; }
.availability-section .care-slot-summary small { font-size: 11px; font-weight: 500; text-transform: none; color: #52677a; }
.slot-book-cta { width: 100%; min-height: 56px; padding: 10px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #e4ad00; border-radius: 8px; background: var(--accent); color: #173b5d; font-size: 14px; font-weight: 700; line-height: 1.2; transition: background .15s ease, box-shadow .15s ease; }
.slot-book-cta > strong, .care-next .slot-book-cta > strong { margin: 0; color: inherit; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.slot-book-cta > span:last-child { margin-left: auto; font-size: 20px; }
.slot-book-cta:hover, .care-next:hover .slot-book-cta { background: #f1b900; box-shadow: 0 3px 9px rgba(153, 113, 0, .16); }
.slot-book-cta:active, .care-next:active .slot-book-cta { background: #e5ac00; }
.availability-section .care-alternatives { margin-bottom: 4px; }
.availability-section .care-alternatives summary { padding: 12px 2px; }
.availability-section .care-times a { gap: 4px; padding: 12px 8px; }
.availability-section .care-times strong { font-size: 22px; }
.availability-section .care-times span { white-space: normal; }
.availability-section .care-card-footer { padding-top: 8px; flex-direction: row; align-items: center; }
.availability-section .care-card-footer > a { font-size: 13px; }
.availability-section a:focus-visible, .availability-section summary:focus-visible, .result-alternatives summary:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; }
.professional-list-item.professional-search-result { grid-template-columns: minmax(0, 1fr) minmax(290px, .7fr); gap: 24px; }
.professional-search-result .professional-list-identity { min-width: 0; }
.professional-search-result .professional-list-identity h3 { line-height: 1.3; overflow-wrap: anywhere; }
.result-professional-details { grid-column: 1 / -1; min-width: 0; }
.professional-search-result .professional-rating { margin: 0 0 8px; }
.professional-search-result .professional-list-specialties { padding: 0; }
.professional-search-result .professional-list-specialties p { margin-top: 4px; line-height: 1.45; }
.professional-search-result .result-profile-quote { margin: 0 0 12px; }
.professional-search-result .result-profile-quote p { -webkit-line-clamp: 3; }
.professional-search-result .result-consultations { margin-top: 8px; }
.professional-search-result .result-booking { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.result-booking-care { margin: 0; color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.result-slot-summary .result-next-slot { flex: 1 1 120px; }
.result-slot-summary .professional-list-price { margin-left: auto; text-align: right; }
.result-slot-summary .professional-list-price > span, .result-slot-summary .result-next-slot > span { color: #52677a; font-size: 12px; font-weight: 400; text-transform: none; }
.result-slot-summary .professional-list-price strong { font-size: 22px; white-space: nowrap; }
.result-slot-summary .result-next-slot strong { font-size: 17px; }
.result-booking .result-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 0 12px; }
.result-alternatives { min-width: 0; color: var(--teal-700); }
.result-alternatives > summary { min-height: 44px; padding: 12px 2px; cursor: pointer; font-size: 14px; font-weight: 700; line-height: 20px; }
.result-alternatives[open] { grid-column: 1 / -1; grid-row: 2; }
.result-alternatives .result-slot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.result-alternatives .result-slot-list a { min-height: 104px; padding: 12px 8px; gap: 5px; }
.result-alternatives .result-slot-list strong { font-size: 22px; }
.result-alternatives .result-slot-list small { font-size: 13px; }
.result-alternatives .result-slot-list .slot-action-label { margin-top: 5px; }
.result-alternatives .result-full-agenda { margin-top: 8px; gap: 8px; }
@media (max-width: 900px) {
 .professional-list-item.professional-search-result { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 700px) {
 .availability-section .care-next { padding: 12px; }
 .availability-section .care-next .care-slot-professional { font-size: 16px; }
 .professional-search-result .result-professional { gap: 12px; }
 .professional-search-result .result-booking { gap: 12px; }
}

/* Stage 3: a reviewable appointment before patient details and payment. */
.profile-custom .booking-dialog { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
.profile-custom .booking-slot-summary { grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; }
.profile-custom .booking-slot-professional { grid-column: 1 / -1; }
.profile-custom .booking-slot-date { min-width: 0; padding: 0; border: 0; }
.profile-custom .booking-slot-hour { min-width: 68px; }
.booking-slot-total { min-width: 0; text-align: right; }
.booking-slot-total > span { margin-bottom: 4px; color: #52677a; font-size: 12px; }
.booking-slot-total > strong { color: var(--navy); font-size: 22px; white-space: nowrap; }
.booking-selected-treatment { padding: 12px 14px; border: 1px solid #d5e3ee; border-radius: 10px; color: var(--navy); background: #f7fafc; font-size: 15px; line-height: 1.45; }
.booking-selected-treatment input[hidden] { display: none; }
.booking-next-help { margin: 16px 0 0; color: #52677a; font-size: 13px; line-height: 1.5; }
.profile-custom .booking-actions .button { min-height: 50px; }
.profile-custom .booking-procedure:focus-within { outline: 3px solid var(--profile-primary); outline-offset: 2px; }
@media (max-width: 700px) {
 .profile-custom .booking-steps { margin: 20px 0; gap: 6px; }
 .profile-custom .booking-steps li { flex-direction: column; gap: 5px; font-size: 12px; }
 .profile-custom .booking-steps li span { display: block; }
 .profile-custom .booking-steps li::after { display: none; }
 .profile-custom .booking-slot-summary { gap: 12px 8px; padding: 14px 12px; }
 .booking-slot-total > strong { font-size: 20px; }
 .booking-slot-total > span { font-size: 11px; }
}
@media (max-width: 360px) {
 .profile-custom .booking-slot-summary { grid-template-columns: minmax(0, 1fr) auto; }
 .booking-slot-total { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #d5e3ee; padding-top: 10px; }
}


/* Consultation guidance, shared by discovery, profile and checkout. */
.consultation-guide, .consultation-faq { scroll-margin-top: 100px; }
.consultation-guide { background: #f3f8fd; border-block: 1px solid #e0eaf4; }
.consultation-guide .section-heading { margin-bottom: 28px; }
.consultation-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.consultation-steps li { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 24px 20px; background: #fff; border: 1px solid #dce7f1; border-radius: 16px; }
.consultation-step-number { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 12px; background: #eaf3fd; color: #114f92; font-size: 18px; font-weight: 750; }
.consultation-steps h3 { margin: 2px 0 10px; color: #123b63; font-size: 18px; line-height: 1.35; }
.consultation-steps p, .consultation-faq-intro p { margin: 0; color: #52677a; font-size: 15px; line-height: 1.65; }
.consultation-guide-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 28px; }
.consultation-guide-action > span { color: #52677a; font-size: 14px; }
.consultation-guide-action > span > i { margin-right: 4px; }
.consultation-guide .button, .consultation-faq .button { min-height: 50px; font-size: 15px; text-align: center; }
.consultation-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 20px 64px; align-items: start; }
.consultation-faq-intro h2 { margin: 0 0 14px; color: #123b63; font-size: clamp(27px, 3vw, 38px); line-height: 1.2; letter-spacing: -.025em; }
.consultation-faq-intro .consultation-support-link { margin-top: 20px; }
.consultation-questions { min-width: 0; }
.consultation-question { background: #fff; border-bottom: 1px solid #dce7f1; }
.consultation-question:first-child { border-top: 1px solid #dce7f1; }
.consultation-question > summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 4px; color: #123b63; font-size: 16px; font-weight: 650; line-height: 1.5; list-style: none; cursor: pointer; }
.consultation-question > summary::-webkit-details-marker { display: none; }
.consultation-question > summary > span { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; color: #114f92; background: #eef5fc; border-radius: 50%; font-size: 20px; font-weight: 400; }
.consultation-question[open] > summary > span { transform: rotate(45deg); }
.consultation-question > summary:hover { color: #114f92; background: #f5f9fd; }
.consultation-question[open] > summary { color: #114f92; }
.consultation-answer { padding: 0 4px 18px; }
.consultation-answer p, .booking-card .consultation-answer p { margin: 0; color: #52677a; font-size: 15px; line-height: 1.65; }
.consultation-answer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; color: #114f92; font-size: 14px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.consultation-answer a:hover { color: #0d4277; }
.consultation-support-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 8px; padding: 10px 14px; color: #114f92; background: #eff6ff; border: 1px solid #c9dced; border-radius: 9px; font-size: 14px; font-weight: 650; line-height: 1.5; text-align: center; }
.consultation-support-link > i { font-size: 18px; }
.consultation-support-link:hover { color: #0d4277; background: #e2effc; }
.consultation-faq-action { grid-column: 2; padding-top: 4px; }
.consultation-booking-help { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dce7f1; }
.consultation-booking-help h2, .booking-card .consultation-booking-help h2 { margin: 0 0 14px; color: #123b63; font-size: 18px; line-height: 1.4; }
.consultation-booking-help .consultation-question > summary { padding-block: 13px; min-height: 52px; font-size: 14px; }
.consultation-booking-help .consultation-answer p { font-size: 14px; }
.consultation-booking-help .consultation-support-link { margin-top: 16px; }
.consultation-guide a:focus-visible, .consultation-faq a:focus-visible, .consultation-question > summary:focus-visible, .consultation-booking-help a:focus-visible { outline: 3px solid #114f92; outline-offset: 3px; border-radius: 4px; }
.footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-inner > div:not(:first-child) { gap: 0; }
.footer-inner > div:not(:first-child) > strong { margin-bottom: 8px; }
.footer-inner > div:not(:first-child) > a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
.purchase-trust { background: #f5f9fd; border-color: #dce7f1; }
.purchase-trust-items { flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.purchase-trust-items > span { color: #405e75; font-size: 12px; white-space: normal; }
.purchase-trust-live { border-color: #dce7f1; font-size: 12px; }
@media (max-width: 1000px) {
    .consultation-steps { gap: 12px; }
    .consultation-steps li { flex-direction: column; gap: 12px; padding: 20px 16px; }
    .consultation-step-number { flex-basis: auto; width: 40px; }
    .consultation-faq { gap: 20px 32px; }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .consultation-guide, .consultation-faq { padding-block: 36px; scroll-margin-top: 84px; }
    .consultation-guide .section-heading { margin-bottom: 22px; }
    .consultation-steps { grid-template-columns: minmax(0, 1fr); }
    .consultation-steps li { flex-direction: row; padding: 18px 16px; }
    .consultation-step-number { flex: 0 0 36px; height: 36px; }
    .consultation-steps h3 { font-size: 17px; }
    .consultation-steps p { font-size: 14px; }
    .consultation-guide-action { flex-direction: column; align-items: stretch; text-align: center; }
    .consultation-faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .consultation-faq-action { grid-column: 1; }
    .consultation-faq-action > .button { width: 100%; }
    .consultation-question > summary { font-size: 15px; }
    .consultation-booking-help .consultation-support-link { width: 100%; }
}
@media (max-width: 440px) {
    .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}


/* Show the next step and the lowest price among bookable appointments. */
.specialties-directory .specialty-directory-card { gap: 12px; }
.specialty-directory-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid #dce7f1; }
.specialty-directory-price small { color: #52677a; font-size: 13px; }
.specialty-directory-price strong { margin-left: auto; color: #123b63; font-size: 22px; line-height: 1.3; white-space: nowrap; }
.specialties-directory .specialty-directory-card > b { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin: 0; padding: 11px 16px; color: #203747; background: #ffc105; border: 0; border-radius: 9px; font-size: 15px; }
.specialties-directory .specialty-directory-card:hover > b { background: #e7ad00; }
@media (max-width: 700px) {
    .results-hero.specialties-hero { padding: 76px 0 24px; }
    .specialties-hero > .container > .eyebrow { display: none; }
    .specialties-hero h1 { font-size: 27px; line-height: 1.18; }
    .specialties-hero > .container > p { margin-top: 10px; font-size: 14px; }
    .specialties-hero .specialty-directory-search { margin-top: 12px; }
    .specialty-directory-search label { padding-top: 2px; }
    .specialties-directory { padding-top: 16px; }
    .specialty-directory-toolbar { gap: 10px; margin-bottom: 16px; }
    .specialty-type-filter a, .specialty-type-filter button { padding: 8px; font-size: 13px; }
    .specialty-sort select { max-width: 220px; }
    .specialties-directory .specialty-directory-card { padding: 16px; }
    .specialty-directory-next { margin-top: 12px; padding: 10px 12px; }
    .specialty-directory-card .specialty-directory-professionals { margin-bottom: 0; }
}

/* Guidance for temporary gaps in appointment availability. */
.results-availability-notice{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:20px 0 28px;padding:24px;border:1px solid #cfdfed;border-radius:16px;background:#f3f8fd;color:#163e65}
.results-availability-notice h2{margin:0 0 8px;font-size:20px;line-height:1.3;color:#163e65}
.results-availability-notice p{max-width:660px;margin:0;color:#526b82;font-size:15px;line-height:1.6}
.results-availability-actions{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}
.results-availability-actions .button{min-height:48px;white-space:normal;text-align:center}
@media(max-width:900px){.results-availability-notice{align-items:flex-start;flex-direction:column;gap:16px}.results-availability-actions{width:100%;flex-shrink:1}}
@media(max-width:480px){.results-availability-notice{padding:20px}.results-availability-notice h2{font-size:18px}.results-availability-actions{flex-direction:column}.results-availability-actions .button{width:100%}}

/* Profile qualifications and transparent review browsing. */
.profile-custom .profile-summary > .profile-qualifications { grid-column:1/-1; }
.profile-qualification-list { display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:8px 0 0; }
.profile-qualification-list li { display:flex;align-items:center;flex-wrap:wrap;gap:8px;max-width:100%;padding:8px 11px;border:1px solid #d6e3ef;border-radius:10px;background:#f5f9fd; }
.profile-custom .profile-summary .profile-qualification-list strong { font-size:14px;font-weight:650;line-height:1.5; }
.profile-custom .profile-summary .profile-qualification-rqe { margin:0;padding:3px 7px;border-radius:6px;background:#e3eef9;color:#234f78;font-size:12px;text-transform:none;white-space:nowrap; }
.profile-qualification-more { margin-top:6px; }
.profile-qualification-more summary { min-height:44px;display:list-item;align-content:center;width:fit-content;color:var(--profile-primary);font-size:14px;font-weight:650;cursor:pointer; }
.profile-custom .profile-reviews-heading { margin-bottom:16px; }
.profile-review-overview { display:grid;grid-template-columns:145px minmax(0,1fr);gap:24px;padding:20px;border:1px solid #d7e4ef;border-radius:14px;background:#f4f8fc; }
.profile-review-average > div { display:flex;align-items:baseline;gap:5px; }
.profile-review-average > div strong { color:var(--navy);font-size:38px;line-height:1.1;letter-spacing:-1px; }
.profile-review-average > div > span { color:var(--muted);font-size:15px; }
.profile-review-average .rating-stars { margin-top:8px;font-size:18px; }
.profile-review-average p { margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5; }
.profile-review-grade { min-height:44px;display:grid;grid-template-columns:45px minmax(40px,1fr) minmax(28px,auto);align-items:center;gap:10px;border-radius:8px;padding:4px 7px;color:var(--navy);font-size:13px;text-decoration:none; }
.profile-review-grade:hover,.profile-review-grade.is-selected { background:#e4eef8; }
.profile-review-grade b { text-align:right;font-variant-numeric:tabular-nums; }
.profile-review-bar { display:block;height:8px;overflow:hidden;border-radius:10px;background:#dce5ed; }
.profile-review-bar > span { display:block;height:100%;border-radius:inherit;background:var(--profile-primary); }
.profile-review-policy { margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.6; }
.profile-review-method { margin:8px 0 20px;color:var(--muted);font-size:13px;line-height:1.6; }
.profile-review-method summary { min-height:44px;align-content:center;cursor:pointer;color:var(--profile-primary);font-weight:650;width:fit-content; }
.profile-review-method p { margin:8px 0; }
.profile-review-list-heading { display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:20px 0 14px; }
.profile-review-list-heading h3 { margin:0;color:var(--navy);font-size:17px;line-height:1.4; }
.profile-review-list-heading p { margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.5; }
.profile-review-list-heading > a { display:inline-flex;align-items:center;min-height:44px;flex-shrink:0;font-size:13px;font-weight:650;color:var(--profile-primary); }
.profile-review-card { display:flex;flex-direction:column; }
.profile-review-card-rating { display:flex;align-items:center;gap:10px; }
.profile-review-card-rating > span:last-child { color:var(--muted);font-size:13px; }
.profile-review-card footer { margin-top:auto; }
.profile-custom .profile-review-card blockquote { overflow-wrap:anywhere;font-size:15px; }
.profile-review-score-only,.profile-review-empty { color:var(--muted);font-size:14px;line-height:1.6; }
.profile-review-score-only { margin:16px 0 20px; }
.profile-review-card .review-unverified:before { display:none; }
.profile-review-pagination { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:20px; }
.profile-review-pagination > span { color:var(--muted);font-size:13px; }
.profile-review-pagination .button,.profile-review-all .button { min-height:48px;font-size:14px;white-space:normal;text-align:center; }
.profile-review-all { margin-top:20px; }
.profile-review-grade:focus-visible,.profile-qualification-more summary:focus-visible,.profile-review-method summary:focus-visible { outline:3px solid var(--profile-primary);outline-offset:3px; }
@media(max-width:1100px) and (min-width:701px){.profile-review-overview{grid-template-columns:1fr;gap:16px}.profile-review-list-heading{flex-direction:column;gap:4px}}
@media(max-width:480px){.profile-review-overview{grid-template-columns:1fr;gap:12px;padding:18px}.profile-review-average>div{justify-content:center}.profile-review-average{text-align:center}.profile-review-average .rating-stars{display:inline-block}.profile-review-list-heading{flex-direction:column;gap:4px}.profile-review-all .button{width:100%}.profile-review-pagination{justify-content:center}.profile-review-pagination>span{order:3;flex-basis:100%;text-align:center}}

/* Clear identity and reputation hierarchy in search results. */
.result-professional { grid-template-columns:88px minmax(0,1fr);gap:12px 18px; }
.professional-search-result .professional-list-photo { width:88px;height:88px; }
.professional-search-result .professional-list-identity h3 { font-size:22px;line-height:1.3; }
.professional-search-result .professional-credentials { display:grid;gap:10px;margin-top:8px; }
.professional-search-result .professional-credentials > span { display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:0;border:0;border-radius:0;background:transparent;white-space:normal; }
.professional-search-result .professional-credentials strong { font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere; }
.professional-search-result .professional-credentials small { display:block;font-size:12px;line-height:1.5;color:#60758a;overflow-wrap:anywhere; }
.result-professional-details { grid-column:2; }
.professional-search-result .professional-list-specialties { margin:0 0 12px; }
.professional-search-result .professional-list-specialties > span { font-size:11px;letter-spacing:.03em; }
.professional-search-result .professional-list-specialties p { font-size:14px; }
.result-rating-link { display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-height:44px;width:fit-content;color:inherit;border-radius:6px; }
.result-rating-link small { margin-left:3px;text-decoration:underline;text-underline-offset:3px; }
.professional-search-result .professional-rating { margin:0;justify-content:flex-start; }
.result-professional-meta { display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:8px; }
.professional-search-result .result-online-badge { margin:0;font-size:11px;font-weight:650;text-transform:none;padding:5px 8px; }
.professional-search-result .result-consultations { margin:0; }
@media(max-width:700px){.result-professional{grid-template-columns:72px minmax(0,1fr);gap:12px}.professional-search-result .professional-list-photo{width:72px;height:72px}.professional-search-result .professional-list-identity h3{font-size:20px}.result-professional-details{grid-column:1/-1}.professional-search-result .professional-credentials strong{font-size:13px}}

.availability-alternatives{margin:24px 0;padding:22px;background:#f1f7fd;border:1px solid #d2e2f2;border-radius:16px;min-width:0}.availability-alternatives h2{font-size:22px;line-height:1.3;color:#164b72;margin:0 0 10px}.availability-alternatives>p{font-size:14px;line-height:1.55;color:#52677b;margin:0 0 18px}.availability-alternatives-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:14px}.availability-alternative{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #d2e2f2;border-radius:12px;padding:16px;min-width:0}.availability-alternative-person{display:flex;align-items:flex-start;gap:12px}.availability-alternative-person img{width:56px;height:56px;border-radius:50%;object-fit:cover;flex-shrink:0}.availability-alternative-person>div{min-width:0}.availability-alternative-person a{font-size:17px;font-weight:700;color:#164b72;overflow-wrap:anywhere}.availability-alternative-person small{display:block;line-height:1.45;font-size:12px;color:#52677b;margin-top:4px}.availability-alternative-area{font-size:13px;margin:0;color:#52677b}.availability-alternative-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#52677b;margin-top:auto}.availability-alternative-summary>span:last-child{text-align:right;margin-left:auto}.availability-alternative-summary strong{color:#164b72;font-size:15px;line-height:1.6}.availability-alternative-cta{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;width:100%}.availability-alternative-cta span{font-size:14px}.availability-alternative-cta strong{font-size:23px}.availability-alternative-cta:focus-visible{outline:3px solid #eab308;outline-offset:3px}.availability-alternatives>small{display:block;font-size:12px;line-height:1.5;color:#52677b}.availability-alternatives-compact{padding:14px;margin-top:18px}.availability-alternatives-compact .availability-alternatives-grid{grid-template-columns:minmax(0,1fr)}.availability-alternatives-compact h2{font-size:19px}
@media(max-width:1000px){.availability-alternatives-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.availability-alternatives{padding:16px}.availability-alternatives-grid{grid-template-columns:minmax(0,1fr)}.availability-alternatives h2{font-size:20px}}

/* Atalhos de escolha de horario */
.quick-choice{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:0 0 20px;padding:18px;border:1px solid #d4e4f5;border-radius:16px;background:#f4f8fd;color:#194671}.quick-choice>strong{font-size:16px}.quick-choice-options{display:flex;flex-wrap:wrap;gap:8px}.quick-choice-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;box-sizing:border-box;border:1px solid #b7cfe9;border-radius:24px;background:#fff;color:#20588f;font-size:15px;font-weight:600;text-decoration:none}.quick-choice-link:hover{background:#e3eefb}.quick-choice-link.is-active{background:#1659a0;border-color:#1659a0;color:#fff}.quick-choice-link:focus-visible{outline:3px solid #e3ac00;outline-offset:3px}.quick-choice>small{flex-basis:100%;font-size:13px;line-height:1.5}.results-toolbar{flex-wrap:wrap}@media(max-width:600px){.quick-choice{padding:14px;gap:12px}.quick-choice-options{width:100%}.quick-choice-link{flex:1 1 auto;padding:10px 12px;font-size:14px}}

.availability-alternative-rating{display:flex;align-items:center;flex-wrap:wrap;gap:6px;align-self:flex-start;min-height:44px;max-width:100%;font-size:14px;line-height:1.4;color:#28557d;text-decoration:none}.availability-alternative-rating>span:first-child{color:#a66b00;font-size:20px}.availability-alternative-rating:hover{text-decoration:underline}.availability-alternative-rating:focus-visible{outline:3px solid #1659a0;outline-offset:3px;border-radius:4px}

/* Search cards: identity, reviews, biography, areas and attendance. */
.professional-search-result .professional-credentials>span{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 6px}.professional-search-result .professional-credentials small{font-size:13px}.professional-search-result .result-profile-quote p{-webkit-line-clamp:2}.professional-search-result .professional-list-specialties p{-webkit-line-clamp:2}.professional-search-result .professional-list-specialties p.is-expanded{display:block;-webkit-line-clamp:unset;overflow:visible}.result-areas-toggle{min-height:44px;padding:4px 0;border:0;background:transparent;color:#1659a0;font:inherit;font-size:13px;font-weight:600;text-decoration:underline;cursor:pointer}.result-areas-toggle[hidden]{display:none}.result-areas-toggle:focus-visible{outline:3px solid #1659a0;outline-offset:2px;border-radius:4px}.professional-list-identity .professional-rating:has(.result-rating-link){margin-top:4px}.professional-list-identity .professional-rating:empty{display:none}

@media(min-width:701px){.professional-search-result .result-professional{align-content:start;grid-template-rows:auto 1fr}.professional-search-result .professional-list-photo{grid-column:1;grid-row:1 / span 2;align-self:start}.professional-search-result .professional-list-identity{grid-column:2;grid-row:1}.professional-search-result .result-professional-details{grid-column:2;grid-row:2}}

.results-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto}.results-toolbar label{min-width:0}.results-toolbar select{width:100%;min-width:0}.results-toolbar .results-timezone{grid-column:1/-1}@media(max-width:900px){.results-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.results-toolbar .button{grid-column:1/-1}}

/* Secondary home offer: immediate care, alongside scheduled consultations. */
.immediate-care { padding-top: 8px; }
.immediate-care-banner { display: flex; align-items: center; gap: 16px; padding: 4px 16px; border: 1px solid #d5e4f2; border-radius: 10px; background: #f2f7fc; }
.immediate-care-copy { flex: 1; min-width: 0; margin: 0; color: #4b6278; font-size: 13px; line-height: 1.5; }
.immediate-care-copy strong { color: #163e65; font-weight: 700; }
.immediate-care-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-height: 44px; color: var(--ink); font-size: 13px; font-weight: 700; padding: 0 12px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); white-space: nowrap; text-decoration: none; }
.immediate-care-cta:hover { color: var(--ink); background: var(--accent-hover); border-color: var(--accent-hover); }
.immediate-care-cta:focus-visible { outline: 3px solid #1659a0; outline-offset: 3px; border-radius: 4px; }
@media (max-width: 600px) {
    .immediate-care-banner { gap: 10px; padding: 10px 12px; }
    .immediate-care-copy { font-size: 12px; }
    .immediate-care-copy #immediate-care-title { font-size: 13px; }

    .immediate-care-cta { font-size: 12px; gap: 4px; }
}

/* Compact search controls keep professional results close to the search. */
.section.results-section { padding-top: 24px; }
.results-section .results-heading { margin-bottom: 16px; }
.results-controls { min-width: 0; margin-bottom: 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #f5f9fc; }
.results-controls .quick-choice { gap: 6px 16px; margin: 0; padding: 0 0 12px; border: 0; border-radius: 0; background: transparent; }
.results-controls .quick-choice > strong { font-size: 14px; }
.results-controls .quick-choice-link { padding: 8px 14px; font-size: 14px; }
.results-controls .quick-choice > small { font-size: 12px; }
.results-controls .results-toolbar { gap: 10px; margin: 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.results-controls .results-timezone { padding: 0; }
@media (max-width: 700px) {
    .section.results-section { padding-top: 20px; }
    .results-controls { padding: 12px; margin-bottom: 16px; }
    .results-controls .results-toolbar { gap: 10px 8px; }
}
@media (max-width: 600px) {
    .results-controls .quick-choice { gap: 8px; }
    .results-controls .quick-choice-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 6px; }
    .results-controls .quick-choice-link { padding: 8px 6px; font-size: 13px; line-height: 1.35; text-align: center; }
}

/* Professional ratings in the home availability cards and alternative slots. */
.availability-section .care-professional-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 6px; color: var(--navy); line-height: 1.4; }
.availability-section .care-professional-rating .rating-stars { font-size: 13px; line-height: 1; }
.availability-section .care-professional-rating > strong { margin: 0; font-size: 13px; line-height: 1.4; }
.availability-section .care-professional-rating > small { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.availability-section .care-times .care-professional-rating { justify-content: center; }
.footer-operator { margin: 0; line-height: 1.8; }
.footer-operator a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-operator a:hover { color: #fff; }
.footer-operator a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.footer-operator img { display: inline-block; width: 18px; height: 18px; margin: 0 5px 0 2px; vertical-align: -4px; filter: brightness(0) invert(1); }
.footer-operator-cnpj { white-space: nowrap; }
.profile-custom .booking-card .schedule-return-policy { display: flex; align-items: flex-start; gap: 8px; margin: -6px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.profile-custom .booking-card .schedule-specialty-price .schedule-return-policy { margin: 0; font-weight: 400; }
.profile-custom .booking-card .schedule-return-policy-selector { display: none; }
.profile-custom .booking-card.has-care-selector .schedule-return-policy-selector { display: flex; }
.profile-custom .schedule-return-policy > i { flex: 0 0 auto; margin-top: 3px; color: var(--profile-primary); }
.profile-custom .schedule-return-policy > span { min-width: 0; overflow-wrap: anywhere; }
.booking-return-policy{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:var(--navy)}
.checkout-return-policy{padding:12px 14px;border-left:3px solid var(--profile-primary,#246d95);background:#f2f8fd;border-radius:6px;font-size:13px;line-height:1.5}
