/* =========================================================
   HARMONY NATIVE CORE CSS v1
   Version: 20260830-core-v1
   ========================================================= */

/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --primary: #5b6572;
  --dark: #3a4249;
  --bg: #ffffff;
  --surface: #f7f9fc;
  --border: #e6eaf0;
  --text: #5b6572;
  --muted: #5f6874;
  --hover: #4f5965;
  --success: #167a3e;
  --whatsapp: #1f9d55;
  --error: #c53030;
  --shadow: rgba(58, 66, 73, 0.12);
  --max: 1240px;
  --hmc-radius-sm: 8px;
  --hmc-radius-md: 14px;
  --hmc-radius-lg: 28px;
  --hmc-radius-xl: 34px;
  --hmc-ease: 0.18s ease;
}

/* =========================================================
   BASE
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
}

body.hmc-native-page,
body.hmc-page {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body.hmc-modal-lock {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
summary {
  font-family: inherit;
}

button,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid rgba(43, 108, 176, 0.35);
  outline-offset: 3px;
}

.hmc-skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 10000;
  transform: translateY(-160%);
  background: #ffffff;
  color: #263346;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(18, 29, 42, 0.18);
}

.hmc-skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid rgba(89, 101, 117, 0.42);
  outline-offset: 3px;
}

.hmc-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;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1,
h2,
h3,
h4 {
  color: var(--dark);
  font-weight: 850;
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.15rem);
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
  line-height: 1.75;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.hmc-section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hmc-section {
  padding: 108px 0;
}

.hmc-bg-soft {
  background: var(--surface);
}

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

.hmc-large-gap {
  margin-top: 52px;
}

.hmc-section-head {
  max-width: 880px;
  margin: 0 auto 60px;
  text-align: center;
}

.hmc-section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 12px auto 0;
  max-width: 700px;
}

.hmc-section-eyebrow,
.hmc-footer-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.22em;
  line-height: 1.45;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hmc-anchor-target {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* =========================================================
   ICONS
   ========================================================= */
.hmc-native-page .hmc-icon,
.hmc-page .hmc-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hmc-native-page .hmc-icon *,
.hmc-page .hmc-icon * {
  vector-effect: non-scaling-stroke;
}

.hmc-icon-dental,
.hmc-icon-shell {
  display: grid;
  place-items: center;
  color: var(--primary);
  flex: 0 0 auto;
}

.hmc-icon-dental .hmc-icon,
.hmc-icon-shell .hmc-icon {
  width: 26px;
  height: 26px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.hmc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  transition:
    transform var(--hmc-ease),
    box-shadow var(--hmc-ease),
    background var(--hmc-ease),
    border-color var(--hmc-ease);
}

.hmc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px var(--shadow);
}

.hmc-btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.hmc-btn-primary:hover {
  background: var(--hover);
}

.hmc-btn-secondary {
  background: #ffffff;
  color: var(--dark);
  border-color: #d7dde6;
}

.hmc-btn-secondary:hover {
  background: var(--surface);
  border-color: var(--primary);
}

.hmc-btn-nav {
  background: #ffffff;
  color: var(--dark);
  border-color: #ffffff;
}

.hmc-btn-lg {
  min-height: 58px;
  padding: 17px 32px;
  font-size: 16px;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.hmc-header {
  position: relative;
  top: auto;
  z-index: 60;
  background: rgba(91, 101, 114, 1);
  box-shadow: 0 8px 24px rgba(58, 66, 73, 0.12);
}

.hmc-nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hmc-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.hmc-logo img {
  width: 158px;
  height: 56px;
  object-fit: contain;
}

.hmc-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
  margin-left: auto;
}

.hmc-menu a {
  color: #ffffff;
  opacity: 0.92;
  transition: opacity var(--hmc-ease);
}

.hmc-menu a:hover {
  opacity: 1;
}

/* =========================================================
   CARDS
   ========================================================= */
.hmc-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 16px 42px rgba(58, 66, 73, 0.08);
  transition: transform var(--hmc-ease), box-shadow var(--hmc-ease);
}

.hmc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(58, 66, 73, 0.13);
}

.hmc-card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

/* =========================================================
   MODALS
   ========================================================= */
.hmc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hmc-modal.is-open {
  display: flex;
}

.hmc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 66, 73, 0.5);
  cursor: pointer;
}

.hmc-modal-panel {
  position: relative;
  width: min(820px, 100%);
  height: min(92vh, 820px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(58, 66, 73, 0.22);
}

.hmc-modal-header {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hmc-modal-header h3 {
  margin: 0;
  font-size: 16px;
}

.hmc-modal-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--dark);
  border-radius: 12px;
  cursor: pointer;
  font-size: 24px;
}

.hmc-modal-iframe {
  display: block;
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  height: calc(100% - 84px);
  margin: 20px 24px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  transition: opacity 0.22s ease;
}

.hmc-modal-iframe.is-loading {
  opacity: 0.08;
  pointer-events: none;
}

.hmc-form-loader {
  position: absolute;
  left: 0;
  right: 0;
  top: 62px;
  bottom: 0;
  z-index: 4;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
  background: #ffffff;
}

.hmc-form-loader span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  animation: hmcSpin 1.65s linear infinite;
}

.hmc-form-loader strong {
  color: var(--dark);
}

.hmc-form-message {
  position: relative;
  z-index: 5;
  height: calc(100% - 62px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
  background: #ffffff;
}

.hmc-form-message strong {
  font-size: 2rem;
  color: var(--dark);
}

.hmc-form-message span {
  color: var(--muted);
  font-size: 1.05rem;
}

.hmc-form-message-error strong {
  color: var(--error);
}

.hmc-form-message[hidden],
.hmc-form-loader[hidden],
.hmc-modal-iframe[hidden] {
  display: none !important;
}

@keyframes hmcSpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   CTA
   ========================================================= */
.hmc-final-cta-section {
  padding: 90px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.hmc-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 46px;
  box-shadow: 0 26px 70px rgba(58, 66, 73, 0.14);
}

.hmc-final-cta p {
  max-width: 720px;
  color: var(--muted);
  margin: 0;
}

.hmc-final-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* =========================================================
   FAQ
   ========================================================= */
.hmc-faq-list {
  display: grid;
  gap: 13px;
  max-width: 980px;
  margin: 0 auto;
}

.hmc-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 21px 26px;
  box-shadow: 0 12px 28px rgba(58, 66, 73, 0.06);
}

.hmc-faq-item summary {
  list-style: none;
  cursor: pointer;
  color: var(--dark);
  font-weight: 850;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.hmc-faq-item summary::-webkit-details-marker {
  display: none;
}

.hmc-faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
  flex: 0 0 auto;
}

.hmc-faq-item[open] summary::after {
  content: "–";
}

.hmc-faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
}

/* =========================================================
   DOCTORS
   ========================================================= */
.hmc-doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.hmc-doctor-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 40px;
  box-shadow: 0 24px 66px rgba(58, 66, 73, 0.11);
}

.hmc-doctor-card p {
  color: var(--muted);
}

/* =========================================================
   BEFORE / AFTER
   ========================================================= */
.hmc-ba-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
  background: var(--surface);
  --pos: 50%;
}

.hmc-ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hmc-ba-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}

.hmc-ba-slider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 2px;
  transform: translateX(-1px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(58, 66, 73, 0.1);
}

.hmc-ba-handle {
  position: absolute;
  left: var(--pos);
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(58, 66, 73, 0.2);
}

.hmc-ba-handle::before {
  content: "↔";
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--primary);
  font-weight: 950;
}

.hmc-ba-label {
  position: absolute;
  top: 18px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  font-size: 12px;
  font-weight: 950;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 10px 24px rgba(58, 66, 73, 0.1);
}

.hmc-ba-before {
  left: 18px;
}

.hmc-ba-after-label {
  right: 18px;
}

.hmc-ba-slider input {
  position: absolute;
  inset: auto 22px 20px 22px;
  z-index: 6;
  width: calc(100% - 44px);
  margin: auto;
  accent-color: var(--primary);
  cursor: pointer;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.hmc-testimonials-section {
  overflow: hidden;
}

.hmc-rating-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 820px;
  margin: 0 auto 46px;
}

.hmc-rating-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px 28px;
  box-shadow: 0 18px 48px rgba(58, 66, 73, 0.1);
}

.hmc-platform-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 950;
  line-height: 1;
}

.hmc-review-stars {
  display: flex;
  gap: 4px;
  color: #8a5a12;
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 9px;
}

.hmc-rating-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.hmc-rating-text strong {
  font-size: 2.3rem;
  line-height: 1;
  color: var(--dark);
}

.hmc-rating-text span {
  color: var(--muted);
  font-weight: 800;
}

.hmc-reviews-carousel {
  position: relative;
  overflow: hidden;
  margin-inline: calc((100vw - min(var(--max), calc(100vw - 40px))) / -2);
  padding: 10px 0 20px;
}

.hmc-reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  min-width: max-content;
  animation: hmcReviewsScroll 42s linear infinite;
  will-change: transform;
}

.hmc-reviews-carousel:hover .hmc-reviews-track {
  animation-play-state: running;
}

.hmc-review-card {
  flex: 0 0 390px;
  max-width: 390px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 18px 46px rgba(58, 66, 73, 0.09);
}

.hmc-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.hmc-reviewer-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.hmc-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--primary), var(--hover));
  color: #ffffff;
  font-weight: 950;
  flex: 0 0 54px;
}

.hmc-reviewer-info h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--dark);
}

.hmc-reviewer-info p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0;
}

.hmc-review-source-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 950;
}

.hmc-review-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 22px;
}

.hmc-review-footer,
.hmc-verified-icon {
  color: var(--success);
}

.hmc-review-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.hmc-verified-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31, 157, 85, 0.11);
  font-weight: 950;
}

@keyframes hmcReviewsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.hmc-footer {
  background: var(--primary);
  color: #ffffff;
  padding: 90px 0 30px;
}

.hmc-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 44px;
}

.hmc-footer-insurance,
.hmc-footer-contact,
.hmc-footer-accreditation {
  border-radius: 34px;
  padding: 38px;
  min-height: 380px;
}

.hmc-footer-insurance,
.hmc-footer-contact {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hmc-footer-icon {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  margin-bottom: 22px;
}

.hmc-footer h3,
.hmc-footer h4 {
  text-align: left;
}

.hmc-footer h4,
.hmc-footer-title {
  color: #ffffff;
  font-size: 1.42rem;
  line-height: 1.12;
  margin: 0 0 10px;
}

.hmc-footer p,
.hmc-footer a,
.hmc-footer strong {
  color: #ffffff;
}

.hmc-footer p {
  opacity: 0.9;
}

.hmc-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 18px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--dark) !important;
  font-weight: 950;
  font-size: 0.92rem;
}

.hmc-footer-contact ul {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.hmc-footer-contact li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.92);
}

.hmc-footer-contact .hmc-icon {
  width: 19px;
  height: 19px;
  margin-top: 3px;
}

.hmc-footer-accreditation {
  background: #ffffff;
  color: var(--dark);
  text-align: center;
  box-shadow: 0 26px 74px rgba(58, 66, 73, 0.17);
}

.hmc-footer-accreditation .hmc-footer-eyebrow {
  color: var(--primary);
}

.hmc-footer-accreditation h4,
.hmc-footer-accreditation .hmc-footer-title {
  color: var(--dark);
  font-size: 1.3rem;
}

.hmc-footer-accreditation p {
  color: var(--muted);
  opacity: 1;
}

.hmc-jci-seal {
  width: 156px;
  height: 156px;
  object-fit: contain;
  margin: 0 auto 24px;
}

.hmc-cert-logos {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hmc-cert-logos img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.hmc-pay-logos {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.hmc-pay-logos img {
  width: 86px;
  height: 34px;
  object-fit: contain;
}

.hmc-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

/* =========================================================
   MOBILE ACTIONS
   ========================================================= */
.hmc-fixed-action {
  position: fixed;
  right: 24px;
  z-index: 70;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff !important;
  box-shadow: 0 22px 52px rgba(58, 66, 73, 0.2);
  cursor: pointer;
  transition:
    transform var(--hmc-ease),
    box-shadow var(--hmc-ease),
    background var(--hmc-ease),
    opacity 0.2s ease;
}

.hmc-fixed-action:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 26px 60px rgba(58, 66, 73, 0.26);
}

.hmc-fixed-book {
  bottom: 176px;
  background: var(--primary);
}

.hmc-fixed-call {
  bottom: 100px;
  background: #3a4249;
}

#hmc-fixed-whatsapp.hmc-fixed-action {
  right: 24px;
  bottom: 24px;
  background: var(--whatsapp);
  box-shadow: 0 22px 52px rgba(31, 157, 85, 0.34);
}

#hmc-fixed-whatsapp.hmc-fixed-action:hover {
  box-shadow: 0 26px 60px rgba(31, 157, 85, 0.4);
}

.hmc-fixed-action .hmc-icon {
  width: 30px;
  height: 30px;
}

#hmc-fixed-whatsapp .hmc-icon {
  width: 34px;
  height: 34px;
}

/* =========================================================
   CONSENT
   ========================================================= */
.hmc-consent {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(214, 226, 232, 0.95);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 70px rgba(18, 29, 42, 0.18);
  backdrop-filter: blur(12px);
  color: #263346;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 36px));
  transition:
    opacity var(--hmc-transition-fast),
    transform var(--hmc-transition-fast);
  will-change: opacity, transform;
}

.hmc-consent[hidden] {
  display: none !important;
}

html.hmc-consent-choice-needed .hmc-consent {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

html.hmc-consent-choice-set .hmc-consent {
  display: none !important;
}

.hmc-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.hmc-consent-copy {
  min-width: 0;
}

.hmc-consent strong {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.2;
}

.hmc-consent p {
  max-width: 680px;
  margin: 0;
  color: #607085;
  font-size: 13px;
  line-height: 1.45;
}

.hmc-consent-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.hmc-consent button {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 850;
  font-size: 13px;
  cursor: pointer;
}

.hmc-consent-reject,
#hmcConsentReject {
  background: #eef3f6;
  color: #263346;
}

.hmc-consent-accept,
#hmcConsentAccept {
  background: #263346;
  color: #ffffff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .hmc-final-cta {
    grid-template-columns: 1fr;
  }

  .hmc-footer-grid,
  .hmc-doctor-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hmc-footer-accreditation {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hmc-menu a {
    display: none;
  }

  .hmc-section {
    padding: 76px 0;
  }

  .hmc-final-actions {
    flex-wrap: wrap;
  }

  .hmc-footer-grid,
  .hmc-doctor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hmc-fixed-action {
    display: grid;
    right: 12px;
    width: 48px;
    height: 48px;
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    box-shadow: 0 14px 34px rgba(38, 51, 67, 0.22);
  }

  .hmc-fixed-actions-visible .hmc-fixed-action {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hmc-fixed-book {
    bottom: 126px;
  }

  .hmc-fixed-call {
    bottom: 70px;
  }

  #hmc-fixed-whatsapp.hmc-fixed-action {
    right: 12px;
    bottom: 14px;
  }

  .hmc-fixed-action .hmc-icon {
    width: 23px;
    height: 23px;
  }

  #hmc-fixed-whatsapp .hmc-icon {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 700px) {
  .hmc-section-inner,
  .hmc-nav-wrap {
    width: min(100% - 30px, var(--max));
  }

  .hmc-nav-wrap {
    min-height: 70px;
  }

  .hmc-logo img {
    width: 136px;
    height: 48px;
  }

  .hmc-menu .hmc-btn {
    min-height: 44px;
    padding: 11px 15px;
    font-size: 13px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hmc-final-actions {
    display: grid;
    width: 100%;
  }

  .hmc-final-actions .hmc-btn {
    width: 100%;
  }

  .hmc-card,
  .hmc-final-cta,
  .hmc-footer-insurance,
  .hmc-footer-contact,
  .hmc-footer-accreditation,
  .hmc-doctor-card {
    padding: 26px;
    border-radius: 24px;
  }

  .hmc-ba-slider {
    aspect-ratio: 1.18 / 1;
  }

  .hmc-modal {
    padding: 12px;
  }

  .hmc-modal-panel {
    width: 100%;
    height: 90vh;
  }

  .hmc-modal-iframe {
    width: calc(100% - 30px);
    height: calc(100% - 82px);
    margin: 15px;
  }

  .hmc-rating-cards {
    grid-template-columns: 1fr;
  }

  .hmc-review-card {
    flex-basis: 84vw;
    max-width: 84vw;
  }

  .hmc-reviews-carousel {
    margin-inline: -15px;
  }

  .hmc-footer {
    padding-bottom: 94px;
  }
}

@media (max-width: 420px) {
  .hmc-fixed-action {
    right: 8px;
    width: 42px;
    height: 42px;
  }

  .hmc-fixed-book {
    bottom: 112px;
  }

  .hmc-fixed-call {
    bottom: 64px;
  }

  #hmc-fixed-whatsapp.hmc-fixed-action {
    right: 8px;
    bottom: 16px;
  }

  .hmc-fixed-action .hmc-icon {
    width: 21px;
    height: 21px;
  }

  #hmc-fixed-whatsapp .hmc-icon {
    width: 24px;
    height: 24px;
  }

  .hmc-consent {
    display: grid;
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 14px;
    padding: 14px;
  }

  .hmc-consent-inner {
    display: grid;
    gap: 14px;
  }

  .hmc-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hmc-consent button {
    width: 100%;
  }
}

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

  .hmc-reviews-track {
    animation: none !important;
  }

  .hmc-consent {
    transition: none;
  }
}
