:root {
  --navy: #0c2c40;
  --blue: #14516b;
  --red: #c72e40;
  --red-dark: #a61e2e;
  --ink: #183443;
  --muted: #526774;
  --line: #dce4e9;
  --light: #f1f6f8;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    16px/1.65 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #ef9a48;
  outline-offset: 5px;
}
.wrap {
  width: calc(100% - 100px);
  max-width: 1180px;
  margin: auto;
}
.topline {
  background: var(--navy);
  color: white;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 9px 0;
}
.topline .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.topline a {
  letter-spacing: 0.2px;
  text-decoration: none;
}
.header {
  min-height: 106px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 15px;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.mark {
  font: 32px var(--serif);
  letter-spacing: -2px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}
.mark span {
  font: 20px Arial;
  vertical-align: top;
  color: var(--red);
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 1.1px;
  font-weight: 500;
  margin-top: 4px;
}
.header nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.header nav a {
  text-decoration: none;
}
.header nav a:hover {
  color: var(--red);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.red {
  background: var(--red);
  color: white;
}
.red:hover {
  background: var(--red-dark);
}
.compact {
  min-height: 46px;
  padding: 12px 20px;
  font-size: 14px;
}
.outline {
  border-color: #98aab3;
  color: var(--navy);
  background: white;
}
.outline:hover {
  background: var(--light);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.8px;
  color: var(--blue);
  font-weight: 700;
  margin: 0 0 20px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 65px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 60px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font: clamp(44px, 4.45vw, 63px)/1.07 var(--serif);
  letter-spacing: -2.5px;
  margin: 0 0 25px;
}
h1 em {
  color: var(--blue);
  font-weight: 400;
}
h2 {
  font: 40px/1.15 var(--serif);
  letter-spacing: -1.25px;
  margin-bottom: 22px;
}
h3 {
  font: 27px/1.2 var(--serif);
  letter-spacing: -0.5px;
}
.intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 510px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.intro strong {
  font-weight: 500;
  color: var(--ink);
}
.areas {
  font-size: 13px;
  letter-spacing: 0.2px;
  color: var(--blue);
  margin-bottom: 25px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.small {
  font-size: 12px;
  margin: 17px 0 0;
}
.muted {
  color: var(--muted);
}
.hero-portrait {
  position: relative;
  border-radius: 110px 7px 7px 7px;
  overflow: hidden;
  background: #e3e7e7;
  align-self: stretch;
  min-height: 570px;
  max-height: 670px;
}
.hero-portrait > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  position: absolute;
  inset: 0;
}
.portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 56px 28px 25px;
  background: linear-gradient(transparent, rgba(5, 27, 43, 0.93));
  color: #fff;
  font-size: 18px;
}
.portrait-caption small {
  display: block;
  font-size: 13px;
  color: #d5e4eb;
  margin-top: 3px;
}
.credentials {
  background: var(--light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.credentials > .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px 0;
}
.credentials .wrap > div {
  padding-left: 30px;
  border-left: 1px solid #cbd8df;
}
.credentials .wrap > div:first-child {
  padding-left: 0;
  border: 0;
}
.credentials strong {
  font: 24px var(--serif);
  display: block;
  margin-bottom: 6px;
}
.credentials span {
  font-size: 12px;
  color: var(--muted);
}
.emergency {
  margin-top: 40px;
  padding: 25px 28px;
  display: flex;
  gap: 23px;
  border: 1px solid #eecbd0;
  background: #fff7f7;
  border-radius: 6px;
}
.emergency-icon {
  display: flex;
  flex: 0 0 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 50%;
  font-weight: 700;
  margin-top: 5px;
}
.emergency .eyebrow {
  color: var(--red);
  font-size: 12px;
  margin-bottom: 7px;
}
.emergency h2 {
  font: 24px/1.3 var(--serif);
  letter-spacing: -0.35px;
  margin-bottom: 10px;
}
.emergency p:not(.eyebrow) {
  font-size: 14px;
  color: #6b4b52;
  margin-bottom: 12px;
  max-width: 1000px;
}
.emergency .text-link {
  color: var(--red-dark);
}
.text-link {
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 5px;
}
.section {
  padding-top: 85px;
  padding-bottom: 85px;
}
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 65px;
  align-items: end;
  margin-bottom: 38px;
}
.section-head h2 {
  margin: 0;
}
.section-head > p {
  color: var(--muted);
  margin: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-grid article {
  background: var(--light);
  border-top: 3px solid var(--blue);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-grid article:last-child {
  border-color: var(--red);
}
.service-index {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 32px;
}
.service-grid article:last-child .service-index {
  color: var(--red);
}
.service-grid h3 {
  margin-bottom: 19px;
}
.service-grid p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 25px;
}
.service-grid a {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #d0dce3;
  padding-top: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.service-grid a:hover {
  color: var(--red);
}
.doctor-section {
  background: var(--navy);
  color: #fff;
  padding: 75px 0;
}
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.photo-composition {
  position: relative;
  align-self: stretch;
  min-height: 380px;
  border-radius: 6px;
  overflow: hidden;
}
.photo-composition img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 50%;
}
.photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(3, 24, 37, 0.94));
  color: white;
  padding: 70px 28px 28px;
  font: 25px/1.3 var(--serif);
}
.doctor-copy .eyebrow {
  color: #9ecedc;
}
.doctor-copy h2 {
  font-size: 37px;
}
.doctor-copy p:not(.eyebrow) {
  color: #cadce4;
  font-size: 16px;
}
.license {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 22px 0;
  border-top: 1px solid #365365;
  border-bottom: 1px solid #365365;
  margin: 26px 0;
  font-size: 12px;
  color: #c0d3dd;
}
.license strong {
  display: block;
  font-size: 18px;
  color: white;
  font-weight: 400;
  margin-top: 4px;
}
.doctor-copy .text-link {
  color: #fff;
}
.process {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
}
.process ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.process li {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.process li:first-child {
  padding-top: 0;
}
.process li > span {
  font-size: 13px;
  color: var(--blue);
  padding-top: 6px;
}
.process h3 {
  font: 21px var(--serif);
  margin-bottom: 10px;
}
.process p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.location-section {
  background: var(--light);
  padding: 65px 0;
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.location-copy > p:not(.eyebrow) {
  color: var(--muted);
}
.schedule {
  margin-top: 34px;
}
.schedule h3 {
  font: 20px var(--serif);
}
.schedule > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #d2dfe5;
  padding: 11px 0;
  font-size: 14px;
}
.schedule strong {
  font-weight: 500;
}
.schedule > p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.location-photo {
  position: relative;
  min-height: 460px;
  border-radius: 6px;
  overflow: hidden;
}
.location-photo img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  height: 100%;
}
.location-photo > div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 25px 24px;
  background: linear-gradient(transparent, rgba(5, 27, 43, 0.94));
  color: #fff;
  font-size: 15px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 65px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 22px 33px 22px 0;
  font-size: 16px;
  font-weight: 600;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 20px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 400;
}
details[open] summary:after {
  content: "−";
}
details p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  padding: 0 24px 22px 0;
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.contact {
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 55px;
  padding: 48px;
  border-radius: 7px;
}
.contact .eyebrow {
  color: #a8d2df;
}
.contact h2 {
  font-size: 39px;
}
.contact p {
  font-size: 15px;
  color: #c7dce5;
  max-width: 440px;
  margin: 0;
}
.contact-options {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-decoration: none;
  padding: 17px 0;
  border-bottom: 1px solid #416072;
  font-size: 12px;
  letter-spacing: 1px;
}
.contact-item strong {
  display: block;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 3px;
}
.contact-item > span:last-child {
  font-size: 28px;
}
.contact-item:hover {
  color: #b6dce9;
}
.contact-item.urgent-item {
  color: #ffb7bd;
  border: 0;
}
footer {
  padding-top: 40px;
  padding-bottom: 120px;
  color: var(--muted);
  font-size: 12px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.footer-top > a:not(.brand) {
  font-size: 13px;
  text-underline-offset: 4px;
}
.footer-top .brand {
  color: var(--navy);
}
footer p {
  margin-bottom: 8px;
}
.privacy {
  max-width: 800px;
}
.privacy summary {
  font-size: 13px;
  font-weight: 400;
  padding-top: 12px;
  padding-bottom: 12px;
}
.privacy summary:after {
  top: 7px;
}
.privacy p {
  font-size: 13px;
}
.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 30;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: white;
  border: 2px solid white;
  box-shadow: 0 5px 20px #0b25312b;
  border-radius: 50px;
  padding: 12px 23px 12px 14px;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.2;
  min-width: 180px;
  transition:
    transform 0.15s,
    background 0.15s;
}
.float-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}
.float-btn small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  font-weight: 400;
}
.float-icon {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #ffffff20;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 23px;
}
.urgent-float {
  background: #ad172b;
}
.appointment-float {
  background: #d3394a;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  background: #fff;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 60px);
  }
  .header nav {
    display: none;
  }
  .hero {
    gap: 35px;
  }
  .hero-portrait {
    min-height: 600px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    font-size: 14px;
    padding: 14px 17px;
  }
  .doctor-grid,
  .location-grid,
  .faq,
  .process {
    gap: 40px;
  }
  .service-grid {
    gap: 14px;
  }
  .service-grid article {
    padding: 24px;
  }
  .contact {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .topline {
    font-size: 12px;
  }
  .topline .wrap {
    gap: 10px;
  }
  .header {
    min-height: 90px;
  }
  .brand {
    font-size: 14px;
    gap: 10px;
  }
  .brand small {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .mark {
    font-size: 28px;
    padding-right: 10px;
  }
  .header .button {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 18px;
    padding-bottom: 35px;
    gap: 25px;
  }
  .hero h1 {
    font-size: 46px;
    letter-spacing: -1.8px;
  }
  .hero h1 br:first-child {
    display: none;
  }
  .hero h1 em br {
    display: none;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.4px;
    margin-bottom: 17px;
  }
  .intro {
    font-size: 17px;
  }
  .areas {
    font-size: 12px;
  }
  .hero-portrait {
    min-height: 440px;
    max-height: none;
    border-top-left-radius: 75px;
  }
  .hero-portrait > img {
    object-position: 50% 34%;
  }
  .portrait-caption {
    padding-left: 22px;
    font-size: 16px;
  }
  .credentials > .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0;
    padding: 24px 0;
  }
  .credentials .wrap > div {
    padding-left: 20px;
  }
  .credentials .wrap > div:nth-child(3) {
    padding-left: 0;
    border: 0;
  }
  .credentials strong {
    font-size: 22px;
  }
  .credentials span {
    font-size: 12px;
  }
  .emergency {
    margin-top: 26px;
    padding: 22px 18px;
    gap: 13px;
  }
  .emergency-icon {
    flex-basis: 24px;
    height: 24px;
    font-size: 14px;
  }
  .emergency .eyebrow {
    font-size: 12px;
  }
  .emergency h2 {
    font-size: 23px;
  }
  .emergency p:not(.eyebrow) {
    font-size: 13px;
  }
  .section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  h2 {
    font-size: 34px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-grid article {
    padding: 26px;
  }
  .service-index {
    margin-bottom: 20px;
  }
  .service-grid h3 br {
    display: none;
  }
  .service-grid h3 {
    font-size: 27px;
  }
  .doctor-section {
    padding: 45px 0;
  }
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .photo-composition {
    min-height: 310px;
  }
  .doctor-copy h2 {
    font-size: 32px;
  }
  .process {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .process h2 {
    margin-bottom: 14px;
  }
  .location-section {
    padding: 45px 0;
  }
  .location-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .schedule > div {
    font-size: 13px;
  }
  .location-photo {
    min-height: 350px;
  }
  .location-photo img {
    object-position: 50% 55%;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .faq h2 br {
    display: none;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 27px;
    gap: 25px;
  }
  .contact h2 {
    font-size: 34px;
  }
  .contact-item strong {
    font-size: 23px;
  }
  .footer-top {
    gap: 25px;
  }
  footer {
    padding-bottom: 145px;
  }
  .floating-actions {
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    flex-direction: row;
    gap: 8px;
  }
  .float-btn {
    min-width: 0;
    flex: 1;
    padding: 11px 12px;
    gap: 8px;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 15px #0b25312b;
  }
  .float-btn small {
    font-size: 12px;
  }
  .float-icon {
    width: 26px;
    height: 26px;
    font-size: 20px;
  }
  .topline .wrap > span {
    max-width: 120px;
    font-size: 12px;
  }
  .topline a {
    font-size: 12px;
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .float-btn {
    transition: none;
  }
}

/* Laparoscopy focus and patient guides */
.lap-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding: 0 0 75px;
}
.lap-section > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}
.lap-points article {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.lap-points article:first-child {
  padding-top: 0;
}
.lap-points article > span {
  font-size: 13px;
  color: var(--blue);
  padding-top: 5px;
}
.lap-points h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.lap-points p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.guide-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  padding: 30px;
  background: var(--light);
}
.guide-card:hover {
  border-color: var(--blue);
}
.guide-card h3 {
  font-size: 30px;
  margin: 18px 0;
}
.guide-card p {
  color: var(--muted);
  font-size: 16px;
}
.guide-link {
  display: block;
  margin-top: 25px;
  font-size: 14px;
  font-weight: 600;
}
.article-hero {
  background: var(--light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0 48px;
}
.back-link {
  font-size: 14px;
  text-underline-offset: 4px;
  display: inline-block;
  margin-bottom: 30px;
}
.article-hero h1 {
  max-width: 900px;
  font-size: 57px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.article-deck {
  max-width: 780px;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.65;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 22px 0 0;
}
.article-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 760px);
  justify-content: space-between;
  gap: 65px;
  padding-top: 55px;
  padding-bottom: 45px;
}
.article-nav {
  align-self: start;
  position: sticky;
  top: 25px;
  font-size: 14px;
  border-top: 2px solid var(--blue);
  padding-top: 18px;
}
.article-nav p {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--blue);
}
.article-nav a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.article-nav a:hover {
  color: var(--red);
}
.article-body section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.article-body h2 {
  font-size: 35px;
  margin: 0 0 23px;
}
.article-body h3 {
  font-size: 25px;
  margin: 27px 0 16px;
}
.article-body p,
.article-body li {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
}
.article-body p {
  margin-bottom: 20px;
}
.article-body strong {
  color: var(--ink);
}
.chapter {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 16px;
}
.article-warning {
  background: #fff5f5;
  border-left: 4px solid var(--red);
  padding: 23px 27px;
  margin: 26px 0;
}
.article-warning h2,
.article-warning h3 {
  color: #8f1d2c;
  margin: 0 0 15px;
  font-size: 26px;
}
.article-warning p,
.article-warning li {
  color: #694a50;
  font-size: 16px;
}
.article-warning p:last-child {
  margin-bottom: 0;
}
.article-warning ul {
  padding-left: 20px;
}
.source {
  font-size: 13px;
  color: var(--blue);
  display: inline-block;
  margin: 0 13px 8px 0;
  text-underline-offset: 4px;
}
.article-cta {
  background: var(--light);
  padding: 28px;
  margin-bottom: 25px;
}
.article-cta h2 {
  font-size: 30px;
}
.article-cta p {
  font-size: 16px;
}
.article-body .editorial-note {
  font-size: 13px;
  color: var(--muted);
}
.hero-portrait > img {
  object-position: 50% 48%;
}
.photo-composition img {
  object-position: 50% 50%;
}
@media (max-width: 1050px) {
  .article-layout {
    grid-template-columns: 195px minmax(0, 1fr);
    gap: 40px;
  }
  .lap-section {
    gap: 40px;
  }
  .article-hero h1 {
    font-size: 49px;
  }
}
@media (max-width: 760px) {
  .lap-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 50px;
  }
  .lap-section h2 {
    font-size: 32px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .guide-card {
    padding: 25px;
  }
  .guide-card h3 {
    font-size: 27px;
  }
  .article-hero {
    padding: 25px 0 32px;
  }
  .article-hero h1 {
    font-size: 40px;
    letter-spacing: -1.5px;
    overflow-wrap: anywhere;
  }
  .article-deck {
    font-size: 18px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 28px;
  }
  .article-nav {
    position: static;
  }
  .article-nav a {
    font-size: 14px;
    padding: 9px 0;
  }
  .article-body h2 {
    font-size: 30px;
  }
  .article-body p,
  .article-body li {
    font-size: 16px;
  }
  .article-warning {
    padding: 20px;
  }
  .article-warning h2,
  .article-warning h3 {
    font-size: 25px;
  }
  .article-body section {
    padding-bottom: 24px;
    margin-bottom: 28px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-portrait > img {
    object-position: 50% 43%;
  }
}
/* Contact, consultation fees and authentic review collection */
.float-btn {
  border-radius: 999px;
}
.appointment-float {
  background: #128047;
}
.appointment-float:hover {
  background: #0d6638;
}
.urgent-float {
  border-radius: 999px;
}
.consult-prices {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 2px solid #c7d6de;
}
.consult-prices h3 {
  font-size: 25px;
  margin-bottom: 8px;
}
.price-kicker {
  font-size: 12px;
  letter-spacing: 1.1px;
  color: var(--blue);
  margin-bottom: 12px;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #d2dfe5;
  padding: 15px 0;
  font-size: 15px;
}
.price-row small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.price-row > span:last-child {
  white-space: nowrap;
}
.price-row del {
  color: var(--muted);
  font-size: 14px;
  margin-right: 8px;
}
.price-row strong {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
}
.consult-prices .price-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 15px;
}
.reviews-section {
  background: var(--light);
  padding: 50px 0;
  border-block: 1px solid var(--line);
}
.reviews-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}
.reviews-inner p {
  color: var(--muted);
}
.review-invitation {
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}
.review-invitation h3 {
  font-size: 27px;
}
.offer {
  padding: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  margin: 24px 0;
}
.article-body .offer h2,
.article-body .offer h3,
.article-body .offer strong {
  color: white;
}
.article-body .offer p {
  color: #d5e5eb;
}
.offer-price {
  display: flex;
  gap: 15px;
  align-items: baseline;
  flex-wrap: wrap;
}
.offer-price strong {
  font-size: 44px;
}
.offer-price del {
  font-size: 21px;
}
.offer-price span {
  font-size: 15px;
}
.offer .button {
  background: #fff;
  color: var(--navy);
}
@media (max-width: 760px) {
  .reviews-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .reviews-section {
    padding: 35px 0;
  }
  .price-row {
    font-size: 14px;
    gap: 9px;
  }
  .price-row strong {
    font-size: 21px;
  }
  .price-row del {
    font-size: 12px;
    margin-right: 4px;
  }
  .review-invitation {
    padding: 24px;
  }
  .location-photo {
    align-self: start;
    height: 380px;
  }
  .offer {
    padding: 22px;
  }
}

/* Inline video booking: full-width to keep the calendar usable on mobile. */
.booking-section {
  border-bottom: 1px solid var(--line);
}
.booking-section .section-head > div > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 12px;
}
.booking-section .booking-note {
  font-size: 14px;
}
.booking-frame {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.booking-fallback {
  margin: 18px 0 10px;
  font-size: 15px;
}
.booking-fallback a,
.booking-privacy a {
  text-underline-offset: 4px;
}
.booking-privacy {
  font-size: 13px;
  color: var(--muted);
  max-width: 850px;
}
.booking-section .section-head {
  align-items: start;
}
.booking-section .calendly-inline-widget {
  width: 100%;
}
@media (max-width: 355px) {
  .booking-section .booking-frame {
    width: calc(100% + 36px);
    margin-left: -18px;
    border-inline: 0;
    border-radius: 0;
  }
}

.booking-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.booking-calendar {
  scroll-margin-top: 100px;
  margin-bottom: 40px;
}
.booking-calendar h3 {
  font-size: 26px;
  margin: 0 0 8px;
}
.booking-description {
  color: var(--muted);
  margin: 0 0 20px;
}

/* Accessible booking selector: each calendar keeps its selection when switching. */
.booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-width: 560px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--light);
  margin-bottom: 28px;
}
.booking-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.booking-tab[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px #17394e24;
}
.booking-tab:hover {
  box-shadow: inset 0 0 0 2px var(--navy);
}
.booking-tab:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.booking-calendar[hidden] {
  display: none;
}
.booking-calendar[role="tabpanel"]:not([hidden]) {
  animation: booking-slide 0.28s ease-out;
}
@keyframes booking-slide {
  from {
    opacity: 0.4;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking-tab {
    transition: none;
  }
  .booking-calendar[role="tabpanel"]:not([hidden]) {
    animation: none;
  }
}

/* Latest responsive identity, carousel and section-label refinements. */
.agenda-eyebrow,
#preguntas .eyebrow,
#resenas .eyebrow {
  font-size: 15px;
}
.booking-section .booking-note {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-left: 4px solid var(--red);
  border-radius: 6px;
  color: var(--red-dark);
  background: #fff3f4;
  box-shadow: 0 6px 18px rgba(119, 27, 39, 0.1);
  font-weight: 700;
}
.image-carousel:hover .carousel-control,
.image-carousel:focus-within .carousel-control,
.carousel-control:focus-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.carousel-status {
  border: 1px solid #ffffffb3;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.carousel-status:hover,
.carousel-status:focus-visible {
  background: var(--red);
  transform: scale(1.04);
}
@media (max-width: 760px) {
  .booking-section .booking-note {
    width: 100%;
  }
}

/* DigestivaMed identity, preserving the clinic location in address content. */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.brand .digestiva-logo {
  display: block;
  width: 280px;
  max-width: 100%;
  height: 86px;
  object-fit: contain;
  object-position: left center;
}
.brand .brand-doctor {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
@media (max-width: 760px) {
  .brand .digestiva-logo {
    width: 210px;
    height: 66px;
  }
  .brand .brand-doctor {
    font-size: 12px;
  }
  .topline .wrap > span {
    white-space: nowrap;
  }
}

/* COFEPRIS folios remain readable with pause and reduced-motion support. */
.topline .wrap {
  align-items: center;
}
.topline .wrap > span,
.topline .wrap > a {
  flex-shrink: 0;
}
.regulatory-scroll {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.regulatory-window {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.regulatory-track {
  display: flex;
  width: max-content;
  animation: regulatory-ticker 36s linear infinite;
}
.regulatory-track > span {
  white-space: nowrap;
  padding-right: 64px;
  letter-spacing: 0.3px;
}
.regulatory-pause {
  font: inherit;
  letter-spacing: 0;
  color: white;
  border: 1px solid #ffffff80;
  background: transparent;
  border-radius: 16px;
  padding: 4px 9px;
  cursor: pointer;
}
.regulatory-pause:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}
.regulatory-scroll:hover .regulatory-track,
.regulatory-scroll:focus-within .regulatory-track,
.regulatory-scroll.is-paused .regulatory-track {
  animation-play-state: paused;
}
.legal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 380px;
}
.legal-links a {
  text-underline-offset: 4px;
}
@keyframes regulatory-ticker {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 1100px) {
  .topline .wrap {
    flex-wrap: wrap;
  }
  .regulatory-scroll {
    order: 3;
    flex-basis: 100%;
  }
  .topline .wrap > a {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .regulatory-track {
    animation: none;
    display: block;
    width: auto;
  }
  .regulatory-track > span {
    white-space: normal;
    padding: 0;
    display: block;
  }
  .regulatory-track > span[aria-hidden] {
    display: none;
  }
  .regulatory-pause {
    display: none;
  }
}

/* More prominent professional signature beneath the DigestivaMed logo. */
.topline a[data-contact="urgent_call"] {
  font-size: 14px;
  font-weight: 700;
}
.topline a[data-contact="urgent_call"] strong {
  font-weight: 700;
}
.brand .brand-doctor {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: var(--navy);
  margin-top: 3px;
}
.brand .brand-specialty {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: var(--blue);
  margin-top: 4px;
}
.header {
  padding-top: 16px;
  padding-bottom: 20px;
}
.header .brand {
  flex-shrink: 0;
}
.hero-portrait > img {
  object-position: 50% 50%;
}
@media (max-width: 1100px) {
  .header {
    gap: 18px;
  }
  .header nav {
    gap: 16px;
  }
  .brand .brand-doctor {
    font-size: 23px;
  }
  .brand .brand-specialty {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .brand .brand-doctor {
    font-size: 22px;
  }
  .brand .brand-specialty {
    font-size: 14px;
    max-width: 260px;
  }
  .topline a[data-contact="urgent_call"] {
    font-size: 13px;
  }
}

/* Physician name matches the hero headline scale; original portrait preserves facial detail. */
.header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 28px;
}
.header .brand {
  grid-column: 1/-1;
  min-width: 0;
  max-width: 100%;
  align-items: flex-start;
}
.brand .brand-doctor {
  font-weight: 700;
}
.header .brand-doctor {
  font-size: clamp(44px, 4.45vw, 63px);
  line-height: 1.07;
  letter-spacing: -2.5px;
  margin-top: 12px;
  overflow-wrap: break-word;
}
.header > .button {
  justify-self: end;
}
.hero-portrait > img {
  object-position: 38% 40%;
}
@media (max-width: 1100px) {
  .header .brand-doctor {
    font-size: 53px;
  }
  .header > .button {
    grid-column: 2;
  }
}
@media (max-width: 760px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .header .brand-doctor {
    font-size: 46px;
    letter-spacing: -1.8px;
  }
  .hero-portrait > img {
    object-position: 38% 34%;
  }
}

/* Compact physician identity and prominent main navigation. */
.header {
  row-gap: 2px;
  padding-top: 14px;
  padding-bottom: 18px;
}
.header .brand-doctor {
  margin-top: 2px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.header nav a {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: var(--navy);
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--light);
  transition:
    color 0.18s,
    border-color 0.18s,
    background 0.18s,
    transform 0.18s;
}
.header nav a:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}
.header > .button {
  align-self: center;
}
.hero-portrait > img {
  object-position: 50% 50%;
}
@media (max-width: 1100px) {
  .header {
    grid-template-columns: 1fr auto;
  }
  .header nav {
    display: flex;
    gap: 8px;
  }
  .header nav a {
    font-size: 16px;
    padding: 8px 13px;
  }
  .header > .button {
    grid-column: 2;
  }
}
@media (max-width: 760px) {
  .header {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .header .brand {
    grid-column: 1;
  }
  .header nav {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 6px;
  }
  .header nav a {
    text-align: center;
    font-size: 14px;
    line-height: 1.25;
    padding: 10px 7px;
  }
  .header > .button {
    display: inline-flex;
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
  }
  .hero-portrait > img {
    object-position: 50% 50%;
  }
}

/* September refinement: aligned identity, institutional marks, urgent actions and galleries. */
.header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 65px;
  row-gap: 10px;
  align-items: end;
  padding-top: 20px;
  padding-bottom: 22px;
}
.header .brand {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  align-items: flex-end;
}
.header-identity {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.header .header-identity .brand-doctor {
  font: 700 clamp(34px, 3.25vw, 48px) / 1.02 var(--serif);
  letter-spacing: -1.8px;
  color: var(--navy);
  margin: 0;
}
.header .header-identity .brand-specialty {
  font-size: 17.6px;
  line-height: 1.35;
  letter-spacing: 1.55px;
  font-weight: 700;
  color: var(--blue);
}
.header-actions {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.header-actions nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.header-actions .button {
  flex: 0 0 auto;
}
.credentials > .wrap {
  align-items: stretch;
  gap: 0;
}
.credentials .wrap > .credential-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
}
.credentials .wrap > .credential-item:first-child {
  padding-left: 0;
}
.credential-item img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
}
.credential-item span {
  display: block;
  line-height: 1.35;
}
.credential-item span strong {
  font-size: 21px;
  margin-bottom: 4px;
}
.emergency p .urgent-inline {
  color: var(--red-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}
.emergency-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.emergency-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #d69ba4;
  border-radius: 999px;
  color: var(--red-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition:
    transform 0.18s,
    background 0.18s;
}
.emergency-link:hover {
  transform: translateY(-2px);
  background: #fff0f1;
}
.eyebrow-feature {
  font-size: 15px;
}
.eyebrow-doctor {
  font-size: 15.6px;
}
.license {
  font-size: 15.6px;
}
.doctor-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid #8eb5c6;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background 0.18s,
    transform 0.18s;
}
.doctor-cta:hover {
  background: #ffffff17;
  transform: translateY(-2px);
}
.doctor-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}
.doctor-cta-group .doctor-cta {
  margin-top: 0;
  justify-content: center;
}
.image-carousel {
  position: relative;
  isolation: isolate;
}
.image-carousel .carousel-track {
  position: absolute;
  inset: 0;
  padding: 0;
  background: none;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}
.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.image-carousel .carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-composition .carousel-slide:nth-child(2) img,
.photo-composition .carousel-slide:nth-child(3) img {
  object-position: 50% 25%;
}
.carousel-slide figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 78px 66px 26px 26px;
  color: #fff;
  background: linear-gradient(transparent, rgba(3, 24, 37, 0.95));
  font: 22px/1.35 var(--serif);
}
.location-photo .carousel-slide figcaption {
  font:
    16px/1.45 Arial,
    Helvetica,
    sans-serif;
}
.carousel-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 58px;
  border: 1px solid #ffffff9c;
  color: #fff;
  background: #0c2c40c7;
  font: 34px/1 var(--serif);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%) scale(0.92);
  transition:
    opacity 0.2s,
    transform 0.2s,
    background 0.2s;
}
.carousel-prev {
  left: 10px;
  border-radius: 0 999px 999px 0;
}
.carousel-next {
  right: 10px;
  border-radius: 999px 0 0 999px;
}
.image-carousel:hover .carousel-control,
.image-carousel:focus-within .carousel-control {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.carousel-control:hover {
  background: var(--red);
}
.carousel-status {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: #0c2c40c7;
  font-size: 12px;
  letter-spacing: 0.7px;
}
.urgent-rooms {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 36px;
  padding-top: 60px;
  padding-bottom: 70px;
}
.urgent-room-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 8px;
}
.urgent-room-card h2 {
  font-size: 34px;
}
.urgent-room-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.float-btn {
  --aura: 199 46 64;
  animation: contact-aura 2.8s ease-in-out infinite;
  transition:
    transform 0.22s ease,
    background 0.18s,
    box-shadow 0.22s ease;
}
.appointment-float {
  --aura: 18 128 71;
  animation-delay: 1.4s;
}
.float-btn:hover,
.float-btn:focus-visible {
  transform: translateY(-3px) scale(1.07);
  box-shadow:
    0 0 0 9px rgb(var(--aura) / 0.2),
    0 10px 28px rgb(var(--aura) / 0.35);
}
@keyframes contact-aura {
  0%,
  58%,
  100% {
    box-shadow:
      0 5px 20px #0b25312b,
      0 0 0 0 rgb(var(--aura) / 0);
  }
  72% {
    box-shadow:
      0 7px 24px #0b25313b,
      0 0 0 11px rgb(var(--aura) / 0.18);
  }
  84% {
    box-shadow:
      0 5px 20px #0b25312b,
      0 0 0 18px rgb(var(--aura) / 0);
  }
}
@media (max-width: 1100px) {
  .header {
    column-gap: 38px;
  }
  .header .header-identity .brand-doctor {
    font-size: 38px;
  }
  .credentials > .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .credentials .wrap > .credential-item:nth-child(3) {
    border-left: 0;
  }
}
@media (max-width: 760px) {
  .header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .header .brand,
  .header-identity,
  .header-actions {
    grid-column: 1;
  }
  .header .brand {
    justify-self: end;
    align-items: flex-end;
    grid-row: 1;
  }
  .header-identity {
    justify-self: start;
    grid-row: 2;
  }
  .header .header-identity .brand-doctor {
    font-size: 34px;
    letter-spacing: -1.2px;
  }
  .header .header-identity .brand-specialty {
    font-size: 14px;
  }
  .header-actions {
    grid-row: 3;
    justify-content: flex-end;
    align-items: stretch;
  }
  .header-actions nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 3px;
  }
  .header-actions nav a {
    flex: 0 0 auto;
    font-size: 14px;
  }
  .header-actions .button {
    margin-left: auto;
    width: auto;
  }
  .credentials .wrap > .credential-item {
    padding: 16px 12px;
    gap: 10px;
  }
  .credential-item img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .credential-item span strong {
    font-size: 18px;
  }
  .emergency-actions {
    flex-direction: column;
  }
  .emergency-link {
    width: 100%;
  }
  .eyebrow-feature,
  .eyebrow-doctor {
    font-size: 15px;
  }
  .license {
    font-size: 15px;
    gap: 12px;
  }
  .carousel-control {
    opacity: 1;
    width: 42px;
    height: 52px;
    transform: translateY(-50%);
  }
  .carousel-slide figcaption {
    padding: 72px 56px 22px 22px;
    font-size: 19px;
  }
  .urgent-rooms {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 35px;
    padding-bottom: 45px;
  }
  .urgent-room-card {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide,
  .carousel-control,
  .float-btn {
    transition: none;
    animation: none;
  }
}

/* Keep these responsive overrides after the component defaults. */
.header .digestiva-logo {
  width: clamp(305px, calc(40.25vw - 1px), 482px);
  height: clamp(123px, calc(12.36vw + 13px), 161px);
}
.photo-composition .portrait-slide img {
  object-position: 50% 28%;
}
.photo-composition .clinic-slide img {
  object-position: 50% 50%;
}
.carousel-control {
  opacity: 0;
}
@media (max-width: 760px) {
  .header .digestiva-logo {
    width: min(362px, 100%);
    height: 114px;
  }
  .carousel-control {
    opacity: 0;
  }
}

/* Emergency-room directory: aligned header, clear actions and scalable cards. */
.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.appointment-float .float-icon {
  font-size: 0;
  background: transparent;
}
.appointment-float .float-icon::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: url("/assets/contact-chat-phone.svg") center / contain no-repeat;
}
.article-header .brand {
  flex: 0 1 auto;
}
.article-header .digestiva-logo {
  width: clamp(240px, 31vw, 360px);
  height: auto;
}
.article-header > .button {
  flex: 0 0 auto;
}
.article-hero .urgent-eyebrow {
  font-size: 15px;
}
.admission-order {
  margin-top: 22px;
  border-radius: 9px;
}
.urgent-rooms {
  display: block;
}
.urgent-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.urgent-room-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
}
.urgent-room-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.urgent-room-card .urgent-room-actions {
  margin-top: auto;
  padding-top: 26px;
}
.upcoming-room {
  border-top-color: var(--blue);
  background: var(--light);
}
.urgent-rooms > .article-warning {
  margin-top: 36px;
}
.article-warning .admission-order {
  color: #fff;
}
@media (max-width: 520px) {
  .article-header {
    gap: 12px;
  }
  .article-header .digestiva-logo {
    width: min(48vw, 190px);
  }
  .article-header > .button {
    padding: 12px 14px;
    font-size: 14px;
  }
  .urgent-room-grid {
    grid-template-columns: 1fr;
  }
}

/* Crisp vector action icon; contact-section arrows remain unchanged. */
.elegant-arrow {
  display: inline-block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-left: 7px;
  background-color: currentColor;
  -webkit-mask: url("/assets/action-arrow-up-right.svg") center / contain
    no-repeat;
  mask: url("/assets/action-arrow-up-right.svg") center / contain no-repeat;
  vertical-align: -3px;
  transition: transform 0.18s ease;
}
a:hover .elegant-arrow,
a:focus-visible .elegant-arrow {
  transform: translate(2px, -2px);
}
.review-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.review-links .text-link {
  display: inline-flex;
  align-items: center;
}
#guias > .section-head > div > .eyebrow {
  font-size: 15px;
}
#guias > .section-head > p {
  font-size: 18px;
}
.image-carousel:hover .carousel-control,
.image-carousel:focus-within .carousel-control {
  opacity: 0;
}
.image-carousel .carousel-control:hover,
.image-carousel .carousel-control:focus-visible {
  opacity: 1;
}

.chat-float{background:#173f59}.chat-float:hover{background:#0d2c40}.chat-float .float-icon svg{width:25px;height:25px}.chat-float small{display:block;font-size:.8rem;margin-top:3px}
/* Touch screens have no hover: keep carousel navigation discoverable. */
@media (hover: none) {
  .image-carousel .carousel-control { opacity: .85; }
}
