/* Márquez Traumatólogo — identidad clínica, fondo blanco y acentos de marca. */
:root {
  --ink: #102f4b;
  --ink-deep: #102f4b;
  --blue: #102f4b;
  --blue-dark: #102f4b;
  --teal: #007f88;
  --accent: #007f88;
  --amber: #007f88;
  --muted: #526572;
  --line: #e0e8ec;
  --wash: #fff;
}
html { scroll-padding-top: 124px; background: #fff; }
body { background: #fff; }
::selection { background: #d6f0f0; color: var(--ink); }
.container { width: min(1160px, calc(100% - 96px)); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.site-header { background: #fff; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; backdrop-filter: none; }
.header-inner { min-height: 106px; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; width: 228px; max-width: 100%; }
.brand img { width: 100%; height: 96px; object-fit: contain; }
.header-inner nav { gap: 32px; }
.header-inner nav a { color: var(--muted); font-weight: 500; padding-block: 16px; }
.header-inner nav a:hover { color: var(--teal); }
.button { border-radius: 6px; padding: 16px 22px; min-height: 54px; font-weight: 600; gap: 18px; box-shadow: none; transition: background .15s; }
.button:hover { transform: none; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #1c4967; }
.button-small { min-height: 46px; padding: 12px 18px; font-size: 14px; }
.button-light { color: #fff; background: var(--teal); }
.button-light:hover { background: #006770; }
.text-link { color: var(--teal); text-decoration-color: #a4cace; min-height: 44px; align-items: center; }
.text-link:hover { color: #00636b; text-decoration-color: currentColor; }
.hero-band { background: #fff; }
.hero { padding-block: 64px 72px; grid-template-columns: 1.08fr 1fr; gap: 70px; }
.hero-copy { min-width: 0; }
.eyebrow { color: var(--teal); font-size: 11px; letter-spacing: 1.8px; font-weight: 650; }
.hero .eyebrow { background: none; padding: 0; margin-bottom: 24px; font-size: 11px; letter-spacing: 1.6px; }
.hero h1 { font-family: var(--font); color: var(--ink); font-size: clamp(48px, 4.7vw, 66px); font-weight: 550; line-height: 1.08; letter-spacing: -2.6px; }
.hero h1 em { font-style: normal; color: var(--teal); font-weight: inherit; }
.hero-description { max-width: 410px; font-size: 17px; line-height: 1.8; margin-top: 24px; }
.hero-actions { gap: 21px; margin-top: 28px; }
.hero-actions .text-link { font-size: 14px; }
.hero-location { color: var(--muted); font-size: 13px; margin-top: 23px; }
.hero-location svg { color: var(--teal); }
.portrait { min-height: 490px; margin: 0; border: 0; border-radius: 8px; box-shadow: none; background: #f3f5f6; }
.portrait img { min-height: 490px; object-position: center 40%; }
.portrait figcaption { left: 22px; right: 22px; bottom: 22px; max-width: 270px; background: #fff; border-left: 2px solid var(--teal); padding: 15px 18px; border-radius: 0; box-shadow: none; backdrop-filter: none; }
.portrait figcaption span { color: var(--ink); font-size: 15px; }
.portrait figcaption small { font-size: 12px; }
h2, .benefits-heading h3 { font-family: var(--font); color: var(--ink); font-size: clamp(30px, 3vw, 39px); font-weight: 500; line-height: 1.24; letter-spacing: -1.1px; }
.doctor-section { background: #fff; border-block: 1px solid var(--line); padding-block: 64px; }
.doctor-grid { grid-template-columns: 1fr 1.15fr; gap: 70px; }
.doctor-section h2 { color: var(--ink); }
.doctor-section .eyebrow { color: var(--teal); }
.doctor-bio > p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.doctor-bio .text-link { color: var(--teal); font-size: 14px; text-decoration-color: #a4cace; }
.robotics-section { background: #fff; padding-block: 72px; border-color: var(--line); }
.robotics-copy { grid-template-columns: 1fr 1.15fr; gap: 70px; }
.robotics-copy h2 { font-size: clamp(30px, 3vw, 39px); line-height: 1.24; }
.robotics-explanation .robotics-assessment { border-left: 2px solid var(--teal); color: var(--muted); }
.robotics-training > h3 { font-size: 18px; }
.certification-grid { gap: 24px; }
.certification-card { padding: 28px; border: 1px solid var(--line); border-radius: 7px; box-shadow: none; background: #fff; }
.certification-card h4 { color: var(--ink); font-size: 37px; font-weight: 600; }
.certification-mako h4 { color: var(--teal); }
.robot-photo { background: #fff; border-radius: 0; height: 260px; padding: 12px; }
.certification-place { border-color: var(--line); }
.certification-mako .text-link { color: var(--teal); }
.robotics-benefits { border-color: var(--line); }
.benefits-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 30px; }
.benefit-card { background: #fff; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 26px 0 30px; }
.benefit-card h4 { margin-top: 0; font-size: 20px; font-weight: 550; }
.evidence-label { padding: 0; margin-bottom: 15px; font-size: 12px; line-height: 1.5; background: none; border-radius: 0; color: var(--teal); }
.evidence-initial, .evidence-variable { color: #526572; }
.evidence-unproven { color: #6c6270; }
.evidence-perspective { background: #fff; border-left: 2px solid var(--teal); border-radius: 0; padding: 8px 0 8px 26px; gap: 38px; }
.evidence-perspective h4 { font-family: var(--font); font-size: 26px; color: var(--ink); font-weight: 500; margin: 0; letter-spacing: -.6px; }
.evidence-perspective p:not(.eyebrow) { color: var(--muted); }
.evidence-perspective .eyebrow { color: var(--teal); }
.robotics-references { border-top: 1px solid var(--line); padding-top: 30px; }
.robotics-references > h4 { margin: 0; font-size: 19px; }
.review-method { max-width: 900px; font-size: 14px; }
.references-list { column-gap: 48px; }
.references-list li:target { background: #eef7f7; outline-color: #eef7f7; }
.specialty-section { padding-block: 72px; }
.specialty-grid { column-gap: 58px; row-gap: 0; }
.specialty { padding: 27px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #fff; gap: 18px; }
.topic-number { color: var(--teal); font-family: var(--font); font-size: 12px; font-weight: 600; padding-top: 5px; }
.specialty h3 { color: var(--ink); font-size: 20px; font-weight: 550; }
.consult-section { background: #fff; border-block: 1px solid var(--line); padding-block: 68px; }
.locations { gap: 24px; }
.location { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 28px 25px; box-shadow: none; }
.location-region { color: var(--teal); font-size: 10px; letter-spacing: 1.7px; }
.location h3 { color: var(--ink); font-size: 22px; }
.location .text-link { font-size: 14px; }
.booking-row { margin-top: 28px; }
.booking-row p a { color: var(--ink); min-height: 36px; }
.contact-section { padding-block: 64px; }
.contact-panel { background: #fff; border: 0; padding: 0; border-radius: 0; box-shadow: none; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.contact-panel .eyebrow { color: var(--teal); }
.contact-panel h2 { color: var(--ink); font-size: 32px; }
.contact-panel p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.contact-actions { gap: 16px; }
.contact-email { color: var(--muted); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer { border-top: 1px solid var(--line); padding-block: 32px 36px; }
.footer-brand { width: 228px; }
.footer-brand img { height: 114px; }
.site-footer p { color: var(--muted); font-size: 12px; line-height: 1.85; }
.footer-details > a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width:1600px) { .hero { padding-block: 72px; } .portrait, .portrait img { min-height: 520px; } }
@media (max-width:1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 24px; }
  .header-inner nav { gap: 22px; }
  .hero { gap: 36px; }
  .hero h1 { font-size: 55px; }
  .hero-actions { gap: 12px; }
  .portrait, .portrait img { min-height: 500px; }
  .doctor-grid, .robotics-copy { gap: 44px; }
  .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .location { padding: 24px 20px; }
  .contact-panel { gap: 30px; }
  .contact-email { font-size: 13px; }
}
@media (max-width:800px) {
  html { scroll-padding-top: 145px; }
  .container { width: calc(100% - 40px); }
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 124px; padding-top: 8px; gap: 0 16px; }
  .brand { width: 184px; }
  .brand img { height: 76px; }
  .header-booking { grid-row: 1; grid-column: 2; min-height: 44px; padding: 12px 17px; font-size: 13px; gap: 14px; }
  .header-inner nav { grid-row: 2; grid-column: 1/-1; padding: 0; gap: 0; justify-content: space-between; }
  .header-inner nav a { padding: 13px 8px; font-size: 13px; min-height: 44px; }
  .hero { padding-block: 44px 50px; gap: 30px; }
  .hero h1 { font-size: 46px; letter-spacing: -1.8px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.1px; }
  .hero-description { font-size: 16px; }
  .hero-actions .button { padding: 15px 17px; min-height: 52px; font-size: 14px; }
  .portrait, .portrait img { min-height: 450px; }
  .portrait { border-radius: 7px; }
  .portrait figcaption { left: 16px; right: 16px; bottom: 18px; padding: 13px 14px; }
  .portrait figcaption span { font-size: 14px; }
  .doctor-section, .robotics-section, .consult-section { padding-block: 48px; }
  .doctor-grid, .robotics-copy { grid-template-columns: 1fr; gap: 25px; }
  .doctor-grid h2, .robotics-copy h2 { font-size: 32px; }
  .certification-card { padding: 23px; }
  .robot-photo { height: 225px; }
  .specialty-section { padding-block: 50px; }
  .specialty-grid { column-gap: 32px; }
  .locations { gap: 16px; }
  .location { padding: 24px; }
  .location h3 { font-size: 21px; }
  .contact-section { padding-block: 48px; }
  .contact-panel { grid-template-columns: 1fr; gap: 25px; }
  .contact-actions { justify-self: start; }
  .footer-brand { width: 145px; }
}
@media (max-width:680px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.25px; margin-bottom: 19px; }
  .hero h1 { font-size: clamp(41px,10.4vw,60px); line-height: 1.1; letter-spacing: -1.7px; }
  .hero-description { max-width: 450px; margin-top: 20px; line-height: 1.75; }
  .hero-actions { gap: 12px 22px; margin-top: 23px; }
  .hero-actions .button { font-size: 14px; }
  .hero-location { margin-top: 17px; font-size: 13px; }
  .portrait { min-height: 0; aspect-ratio: 1.12 / 1; width: 100%; }
  .portrait img { min-height: 0; object-position: center 35%; }
  .portrait figcaption { max-width: 250px; }
  .portrait figcaption span { font-size: 15px; }
  .section-intro { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
  .section-intro > p { max-width: 100%; font-size: 16px; }
  .specialty-grid, .benefits-grid { grid-template-columns: 1fr; }
  .specialty { gap: 18px; padding-block: 24px; }
  .specialty h3 { font-size: 20px; }
  .evidence-perspective { padding: 4px 0 4px 20px; }
  .contact-panel h2 { font-size: 29px; }
  .contact-panel h2 br { display: none; }
  .contact-email { font-size: 13px; }
  .site-footer { flex-direction: column; gap: 20px; }
  .footer-details { text-align: left; align-self: flex-start; }
}
@media (max-width:580px) {
  .certification-grid { grid-template-columns: 1fr; }
  .certification-card { padding: 25px; }
  .robot-photo { height: 250px; }
  .booking-row { gap: 18px; }
  .location p { font-size: 15px; }
  .contact-panel { padding: 0; }
}
@media (max-width:390px) {
  .container { width: calc(100% - 32px); }
  .brand { width: 176px; }
  .header-inner nav a { font-size: 12px; padding-inline: 5px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-actions .button { width: 100%; }
  .doctor-grid h2, .robotics-copy h2, h2 { font-size: 29px; }
  .location { grid-template-columns: 1fr; }
  .location p { grid-column: 1; grid-row: 3; margin-top: 11px; }
  .contact-email { font-size: 12px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

/* El logo completo conserva su proporción en encabezados estrechos. */
@media (min-width:801px) and (max-width:1000px) {
  html { scroll-padding-top: 145px; }
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 124px; padding-top: 8px; gap: 0 16px; }
  .header-inner .brand { width: 200px; }
  .header-inner .brand img { height: 76px; }
  .header-booking { grid-row: 1; grid-column: 2; }
  .header-inner nav { grid-row: 2; grid-column: 1/-1; justify-content: space-between; gap: 0; }
  .header-inner nav a { padding-block: 12px; min-height: 44px; }
}
@media (max-width:360px) {
  .header-inner { gap: 0 10px; }
  .header-inner .brand { width: 150px; }
  .header-booking { padding-inline: 10px; font-size: 12px; gap: 10px; }
}
@media (max-width:800px) {
  .footer-brand { width: 220px; }
  .footer-brand img { height: 100px; }
}
