/* A shared visual rhythm for the final, portable static site. */
:root {
  --studio-radius: 20px;
  --studio-blue: #087fb5;
  --studio-ink: #173e58;
  --studio-copy: #47677d;
}

body { color: var(--studio-ink); }
.container { max-width: 1200px; }
.section { padding: 88px 0; }
.section-heading { margin-bottom: 36px; }
.hero-content, .hero-visual, .about-story, .about-details,
.infusion-copy, .contact-grid > div, .awards-copy { min-width: 0; }
h2 { font-size: clamp(37px, 3.7vw, 49px); line-height: 1.14; letter-spacing: -1.65px; }
h2 em { color: #3486ad; }
.eyebrow { color: #4d788f; letter-spacing: 1.7px; }
.header { background: #ffffffed; border-bottom-color: #dcebf3; }
.header-inner { gap: 22px; }
.navigation { gap: clamp(11px, 1.6vw, 22px); font-size: 13px; }
.brand-mark { box-shadow: 0 4px 12px #d6314512; }

/* The full requested checklist stays on the opening screen. */
.hero {
  background:
    radial-gradient(ellipse at 88% 22%, #dceffa 0, transparent 54%),
    linear-gradient(120deg, #fbfdff 0%, #edf8ff 100%);
}
.hero-grid { gap: 54px; padding-top: 58px; padding-bottom: 48px; align-items: center; }
.hero h1 { font-size: clamp(64px, 6.1vw, 80px); font-weight: 800; letter-spacing: -3.2px; line-height: 1.02; margin-top: 23px; margin-bottom: 23px; }
.hero h1 > span { font-size: .81em; line-height: 1.14; }
.hero h1 em { color: #287fa8; font-weight: 800; }
.hero-lead { max-width: 530px; font-size: 17px; line-height: 1.7; color: #416279; }
.hero-list-label {
  margin: 25px 0 0;
  padding: 18px 20px 12px;
  border-radius: 18px 18px 0 0;
  background: #ffffffd6;
  color: #6a8799;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 1.35px;
  font-weight: 750;
}
.hero-checklist {
  margin: 0 0 24px;
  padding: 0 20px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 13px;
  border-radius: 0 0 18px 18px;
  background: #ffffffd6;
}
.hero-checklist li { min-width: 0; gap: 8px; font-size: 14px; line-height: 1.5; }
.hero-checklist strong { font-weight: 750; }
.hero-checklist .icon { width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.7; color: #1486b6; }
.hero-person { margin-top: 22px; margin-bottom: 14px; }
.hero-person .person-line { height: 38px; background: #7cbcd8; border-radius: 2px; width: 3px; }
.hero-note { color: #56778a; }
.hero-service-links { gap: 7px; margin-top: 18px; flex-wrap: wrap; }
.hero-service-links a { border: 0; background: #dfedf6; color: #3d6d87; border-radius: 7px; padding: 8px 10px; font-size: 11px; }
.hero-service-links a:hover { background: #d2e7f3; }
.hero-image-wrap { height: 680px; border-radius: 150px 20px 20px 20px; box-shadow: 0 20px 55px #184f6b10; }
.hero-visual:before { border-color: #b5d9eb; box-shadow: 0 0 0 25px #ffffff38; }
.experience-badge { width: 140px; height: 148px; right: -18px; top: 30px; border-radius: 18px; background: #fff; transform: rotate(4deg); box-shadow: 0 12px 32px #174c6b12; }
.experience-badge strong { color: #0b7fad; font-size: 51px; font-weight: 800; }
.experience-badge > span { color: #577b90; font-size: 10px; }
.care-label { border-radius: 16px; box-shadow: 0 12px 34px #174c6b13; left: -24px; }
.care-label-icon { background: #eaf6fc; color: #1683ad; }
.trust-strip { padding-top: 23px; padding-bottom: 23px; border-top-color: #cddfeb; }
.trust-strip > div { color: #53768b; font-size: 12px; }
.trust-strip .icon { color: #1786b4; stroke-width: 2; }

/* The prepared supplies have their own clear, generous composition. */
.supplies-section { padding: 42px 0; background: #fff; }
.supplies-section .medicines-note {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 350px;
  margin: 0;
  padding: 0;
  gap: 0;
  background: #edf7fd;
  border: 0;
  border-radius: var(--studio-radius);
  overflow: hidden;
}
.supplies-section .medicines-copy { padding: 35px 36px; align-items: flex-start; gap: 15px; min-width: 0; }
.supplies-section .medicines-copy > div { align-self: center; min-width: 0; }
.supplies-section .medicines-mark { width: 34px; height: 34px; min-width: 34px; border-radius: 10px; background: #fff; margin-top: 2px; }
.supplies-section .medicines-mark .icon { width: 20px; height: 20px; }
.supplies-section .medicines-copy .eyebrow { margin: 0 0 13px; color: #57839c; font-size: 9px; line-height: 1.5; letter-spacing: 1.4px; }
.supplies-section .medicines-copy h2 { font-size: 37px; line-height: 1.13; letter-spacing: -1.2px; font-weight: 750; }
.supplies-section .medicines-copy h2 em { display: block; color: #2483ae; }
.supplies-section .medicines-copy .supplies-intro { margin-top: 17px; color: #496f85; font-size: 15px; line-height: 1.75; max-width: 440px; }
.supplies-detail { display: flex; align-items: flex-start; gap: 9px; margin-top: 20px; color: #235c79; font-size: 12px; line-height: 1.6; font-weight: 650; }
.supplies-detail .icon { width: 17px; height: 17px; margin-top: 1px; stroke-width: 2.6; }
.supplies-section .medicines-visual { min-height: 350px; height: auto; background: #e4f2f9; }
.supplies-section .medicines-visual img { object-fit: cover; object-position: 50% 50%; }
.supplies-section .medicines-visual figcaption { left: auto; right: 13px; bottom: 12px; font-size: 8px; border-radius: 5px; padding: 4px 7px; color: #466d83; background: #ffffffd9; }

/* Services stay complete, with a calmer and more compact card rhythm. */
.services { padding-top: 55px; }
.procedure-grid { gap: 18px; }
.procedure-card { padding: 25px; border-radius: 18px; background: #fbfdff; border-color: #dae8f0; }
.procedure-card:hover { border-color: #b8d5e5; box-shadow: 0 12px 30px #174f6c0b; }
.procedure-card-top { margin-bottom: 16px; }
.procedure-icon { width: 43px; height: 43px; border-radius: 12px; background: #eaf5fc; }
.procedure-icon .service-icon { width: 27px; height: 27px; stroke: #2187b0; }
.procedure-number { color: #9db7c7; font-size: 11px; }
.procedure-card h3 { font-size: 21px; line-height: 1.34; letter-spacing: -.5px; }
.procedure-card > p { font-size: 15px; line-height: 1.7; color: #54758a; }
.procedure-tag { border-radius: 5px; font-size: 10px; line-height: 1.5; }
.procedure-contact { font-size: 13px; min-height: 44px; }
.service-filter { border-radius: 9px; }
.service-help { padding: 27px 30px; border: 0; border-radius: 18px; background: #ebf6fc; }
.service-help strong { letter-spacing: -.5px; }
.service-help .button { border-radius: 9px; }
.service-note { align-items: flex-start; color: #6a8596; font-size: 12px; }
.service-note > .icon { margin-top: 2px; }

/* Genuine portrait and a readable education timeline. The image crop is inherited. */
.about { background: #edf6fc; }
.about-grid { grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: 74px; align-items: center; }
.about h2 { margin-bottom: 27px; }
.about-name { border-bottom-color: #cfdfeb; padding-bottom: 21px; margin-bottom: 21px; }
.about-name h3 { color: #1f4c67; font-size: 27px; }
.about-story > p:not(.eyebrow) { color: #4f7186; font-size: 15px; line-height: 1.85; }
.education-list { position: relative; display: block; margin: 29px 0 0 5px; border-left: 2px solid #bfd9e9; padding-left: 24px; }
.education-item { position: relative; padding: 0 0 25px; border: 0; border-radius: 0; background: none; }
.education-item:last-child { padding-bottom: 0; }
.education-item:before { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 3px solid #4599c0; left: -30px; top: 5px; }
.education-item small { color: #377e9f; font-size: 10px; letter-spacing: 1px; font-weight: 750; line-height: 1.7; display: block; }
.education-item h3 { font-size: 17px; line-height: 1.5; margin-top: 5px; max-width: 440px; }
.education-item p { color: #688396; font-size: 13px; margin-top: 5px; line-height: 1.7; }
.about-details { padding: 30px; background: #ffffffde; border: 1px solid #e5eff5; border-radius: 20px; box-shadow: 0 16px 45px #1b597008; }
.specialist-portrait { padding: 0; flex-direction: column; align-items: center; gap: 21px; background: none; border-radius: 0; text-align: center; }
.portrait-window { width: 220px; min-width: 220px; aspect-ratio: 1; border-radius: 110px 110px 18px 18px; box-shadow: 0 10px 25px #264f6210; }
.specialist-portrait figcaption strong { font-size: 25px; font-weight: 750; letter-spacing: -.55px; }
.specialist-portrait figcaption span { font-size: 13px; margin-top: 6px; color: #648398; }
.credentials { margin-top: 25px; }
.credentials > div { gap: 13px; padding: 17px 0; border-bottom-color: #e1ecf3; }
.credentials > div > span { color: #99b3c2; font-size: 10px; }
.credentials p { font-size: 12px; color: #6c8798; }
.credentials strong { font-size: 15px; color: #345e77; font-weight: 700; }
.credentials .icon { color: #2688af; }

/* Supporting sections use the same corners, contrast and spacing. */
.infusion-section { background: #104c6d; padding: 65px 0; }
.infusion-layout { gap: 65px; }
.infusion-photo { height: 500px; border-radius: 20px 105px 20px 20px; }
.infusion-copy h2 { font-size: clamp(37px, 3.7vw, 49px); }
.infusion-copy h2 em { color: #aadbef; }
.infusion-intro { color: #c0dce9; line-height: 1.8; }
.infusion-checklist p { color: #bad4e2; line-height: 1.75; }
.infusion-photo-caption { border-radius: 9px; }
.documents-section { background: #fff; }
.media-layout { gap: 60px; }
.media-track { border-radius: 20px; border-color: #dbe9f2; }
.media-slide-image { background: #edf5fb; padding: 22px; }
.media-slide-caption { padding: 24px 26px; }
.media-slide-caption h3 { font-size: 20px; }
.awards-copy h3 { font-size: 36px; line-height: 1.2; letter-spacing: -1px; }
.awards-copy h3 em { color: #3385aa; }
.awards-copy li { line-height: 1.75; color: #4a7087; }
.documents-note { color: #7892a3; }
.process { background: #f5faff; }
.steps { gap: 32px; margin-top: 58px; margin-bottom: 34px; }
.steps li { border-top-color: #cbdfea; }
.step-number { width: 44px; height: 44px; font-size: 12px; font-weight: 700; border-color: #cbdfea; background: #f5faff; }
.steps h3 { font-size: 18px; }
.steps p { font-size: 14px; color: #658297; }
.price-note { border-radius: 18px; background: #e6f2fb; padding: 26px 30px; }
.price-note p { color: #5b7b90; line-height: 1.7; }
.faq-section { background: #fff; padding-top: 80px; }
.faq-grid { gap: 80px; }
summary { color: #315a74; font-size: 16px; line-height: 1.5; padding: 22px 0; }
details p { color: #5e7e92; font-size: 14px; }
.contact-section { background: linear-gradient(115deg, #087cad, #126b98); padding: 72px 0; }
.contact-section .eyebrow { color: #c7e6f4; }
.contact-section h2 { font-size: clamp(37px, 3.7vw, 49px); }
.contact-section h2 em { color: #d0eaf7; }
.contact-lead { color: #e3f2fa; font-size: 16px; line-height: 1.8; }
.contact-details, .contact-actions > p { color: #d3e9f4; }
.contact-grid { gap: 70px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.contact-phone { font-size: clamp(28px, 3vw, 38px); letter-spacing: -1px; }
.footer { background: #f7fbfe; }
.footer-bottom > p { color: #6e8b9d; }
.floating-contact > span { font-size: 10px; letter-spacing: .1px; padding: 3px 7px; border-radius: 6px; box-shadow: 0 3px 10px #173b5308; bottom: calc(100% + 6px); }
.floating-contact { box-shadow: 0 7px 23px #173b5330; }
.document-dialog { border-radius: 18px; }

@media (max-width: 1150px) {
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: 65px; letter-spacing: -2.6px; }
  .hero-lead { font-size: 16px; }
  .hero-checklist { column-gap: 15px; padding-left: 17px; padding-right: 17px; }
  .hero-list-label { padding-left: 17px; padding-right: 17px; }
  .hero-checklist li { font-size: 13px; }
  .hero-image-wrap { height: 660px; }
  .supplies-section .medicines-copy { padding: 30px; gap: 0; }
  .supplies-section .medicines-mark { display: none; }
  .supplies-section .medicines-copy h2 { font-size: 35px; }
  .about-grid { gap: 50px; }
  .about-details { padding: 25px; }
  .infusion-layout { gap: 44px; }
  .media-layout { gap: 40px; }
  .contact-grid { gap: 45px; }
}

@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .hero-grid { gap: 30px; padding-top: 38px; padding-bottom: 35px; }
  .hero h1 { font-size: 54px; letter-spacing: -2px; }
  .hero-lead { font-size: 15px; }
  .hero-list-label { padding: 16px 16px 11px; font-size: 8px; }
  .hero-checklist { grid-template-columns: 1fr; padding: 0 16px 18px; row-gap: 10px; }
  .hero-checklist li { font-size: 14px; }
  .hero-image-wrap { height: 700px; border-top-left-radius: 110px; }
  .hero-person strong { font-size: 15px; }
  .hero-service-links a { font-size: 10px; }
  .experience-badge { width: 112px; height: 122px; right: -10px; }
  .experience-badge strong { font-size: 42px; }
  .experience-badge > span { font-size: 8px; }
  .care-label { left: -13px; gap: 9px; padding: 14px; }
  .care-label strong { font-size: 12px; }
  .care-label div > span { font-size: 10px; }
  .trust-strip > div { font-size: 11px; }
  .supplies-section { padding: 32px 0; }
  .supplies-section .medicines-copy { padding: 28px; }
  .supplies-section .medicines-copy h2 { font-size: 32px; }
  .supplies-section .medicines-copy .supplies-intro { font-size: 15px; line-height: 1.7; }
  .supplies-detail { font-size: 11px; margin-top: 17px; }
  .procedure-card { padding: 23px; }
  .procedure-card h3 { font-size: 21px; }
  .about-grid { gap: 36px; }
  .about h2 { font-size: 38px; }
  .about-details { padding: 24px 20px; }
  .portrait-window { width: 200px; min-width: 200px; }
  .specialist-portrait figcaption strong { font-size: 22px; }
  .education-item h3 { font-size: 16px; }
  .infusion-layout { gap: 32px; }
  .infusion-photo { height: 490px; border-top-right-radius: 80px; }
  .infusion-copy h2 { font-size: 38px; }
  .infusion-intro { font-size: 14px; }
  .infusion-checklist p { font-size: 13px; }
  .media-layout { gap: 30px; }
  .awards-copy h3 { font-size: 31px; }
  .faq-grid { gap: 45px; }
  .contact-grid { gap: 36px; }
  .contact-section h2 { font-size: 38px; }
  .contact-phone { font-size: 30px; }
}

@media (min-width: 681px) and (max-width: 780px) {
  .hero h1 { font-size: 48px; letter-spacing: -1.8px; }
  .hero-list-label { letter-spacing: .7px; }
  .supplies-section .medicines-copy { padding: 27px 23px; }
  .supplies-section .medicines-copy h2 { font-size: 30px; }
}

@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .section-heading { margin-bottom: 25px; }
  .header { background: #ffffffed; }
  .hero-grid { gap: 28px; padding-top: 28px; padding-bottom: 30px; }
  .hero h1 { font-size: 58px; line-height: 1.04; letter-spacing: -2.2px; margin-top: 19px; margin-bottom: 20px; }
  .hero h1 > span { font-size: .79em; line-height: 1.16; }
  .hero-lead { font-size: 16px; line-height: 1.72; }
  .hero-list-label { margin-top: 23px; padding: 16px 16px 12px; font-size: 8px; letter-spacing: 1px; }
  .hero-checklist { padding: 0 16px 18px; margin-bottom: 21px; gap: 11px; }
  .hero-checklist li { font-size: 15px; line-height: 1.5; gap: 9px; }
  .hero-checklist .icon { width: 19px; height: 19px; margin-top: 2px; }
  .hero-person strong { font-size: 16px; }
  .hero-person span:not(.person-line) { font-size: 12px; }
  .hero-note { font-size: 11px; }
  .hero-service-links { gap: 6px; margin-top: 16px; }
  .hero-service-links a { font-size: 10px; min-height: 39px; padding: 8px 9px; }
  .hero-image-wrap { height: 390px; border-radius: 100px 18px 18px 18px; }
  .experience-badge { top: 18px; width: 113px; height: 120px; border-radius: 15px; }
  .care-label { left: 12px; border-radius: 13px; }
  .trust-strip { gap: 11px; padding-top: 20px; padding-bottom: 20px; }
  .trust-strip > div { font-size: 12px; }
  .supplies-section { padding: 26px 0 20px; }
  .supplies-section .medicines-note { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 18px; }
  .supplies-section .medicines-visual { grid-row: 1; min-height: 0; height: 220px; }
  .supplies-section .medicines-visual img { object-position: 50% 52%; }
  .supplies-section .medicines-copy { padding: 26px 23px; }
  .supplies-section .medicines-copy .eyebrow { margin-bottom: 12px; font-size: 8px; }
  .supplies-section .medicines-copy h2 { font-size: 32px; line-height: 1.13; letter-spacing: -.9px; }
  .supplies-section .medicines-copy .supplies-intro { font-size: 15px; line-height: 1.75; margin-top: 16px; }
  .supplies-detail { margin-top: 19px; font-size: 12px; }
  .supplies-section .medicines-visual figcaption { font-size: 8px; bottom: 10px; right: 10px; }
  .services { padding-top: 38px; }
  h2 { font-size: 37px; letter-spacing: -1.2px; }
  .procedure-grid { gap: 12px; }
  .procedure-card { padding: 20px; border-radius: 16px; }
  .procedure-card-top { margin-bottom: 11px; }
  .procedure-icon { width: 36px; height: 36px; border-radius: 10px; }
  .procedure-icon .service-icon { width: 24px; height: 24px; }
  .procedure-number { font-size: 10px; }
  .procedure-card h3 { font-size: 22px; line-height: 1.3; margin-bottom: 9px; }
  .procedure-card > p { font-size: 15px; line-height: 1.65; margin-bottom: 13px; }
  .procedure-tag { font-size: 10px; padding: 3px 7px; margin-bottom: 12px; }
  .procedure-contact { font-size: 13px; min-height: 43px; padding-top: 12px; }
  .service-filter { font-size: 12px; padding: 11px 12px; border-radius: 8px; }
  .service-help { padding: 23px; border-radius: 16px; }
  .service-help strong { font-size: 21px; line-height: 1.35; display: block; }
  .service-help p { font-size: 14px; }
  .service-note { font-size: 12px; line-height: 1.7; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about h2 { font-size: 37px; margin-bottom: 25px; }
  .about-name h3 { font-size: 27px; }
  .about-story > p:not(.eyebrow) { font-size: 15px; line-height: 1.85; }
  .education-list { margin-top: 27px; padding-left: 23px; }
  .education-item { padding-bottom: 25px; }
  .education-item:before { left: -29px; }
  .education-item h3 { font-size: 17px; }
  .education-item p { font-size: 14px; }
  .about-details { padding: 26px 23px 20px; border-radius: 18px; }
  .specialist-portrait { flex-direction: column; align-items: center; gap: 18px; padding: 0; }
  .portrait-window { width: 220px; min-width: 220px; aspect-ratio: 1; border-radius: 110px 110px 16px 16px; }
  .specialist-portrait figcaption strong { font-size: 24px; }
  .specialist-portrait figcaption span { font-size: 13px; }
  .credentials { margin-top: 23px; }
  .credentials strong { font-size: 15px; }
  .credentials p { font-size: 12px; }
  .infusion-section { padding: 38px 0; }
  .infusion-layout { gap: 30px; }
  .infusion-photo { height: 310px; border-radius: 18px 75px 18px 18px; }
  .infusion-copy h2 { font-size: 38px; }
  .infusion-intro { font-size: 15px; line-height: 1.8; }
  .infusion-checklist { margin-top: 20px; margin-bottom: 22px; }
  .infusion-checklist li { padding: 17px 0; }
  .infusion-checklist strong { font-size: 16px; }
  .infusion-checklist p { font-size: 14px; }
  .media-layout { gap: 31px; }
  .media-track { border-radius: 18px; }
  .media-slide-image { height: 350px; padding: 16px; }
  .media-slide-caption { padding: 21px; }
  .media-slide-caption h3 { font-size: 20px; }
  .awards-copy h3 { font-size: 32px; }
  .awards-copy li { font-size: 15px; }
  .steps { gap: 0; margin-top: 38px; margin-bottom: 10px; }
  .steps li { padding-bottom: 27px; }
  .steps h3 { font-size: 18px; }
  .steps p { font-size: 14px; }
  .price-note { padding: 23px 20px; border-radius: 16px; }
  .price-note strong { font-size: 16px; }
  .price-note p { font-size: 13px; }
  .faq-section { padding-top: 55px; }
  .faq-grid { gap: 28px; }
  summary { font-size: 16px; padding: 21px 0; }
  details p { font-size: 14px; line-height: 1.8; }
  .contact-section { padding: 52px 0 58px; }
  .contact-grid { gap: 30px; grid-template-columns: minmax(0, 1fr); }
  .contact-section h2 { font-size: 38px; }
  .contact-lead { font-size: 16px; }
  .contact-phone { font-size: clamp(26px, 8vw, 37px); letter-spacing: -.8px; margin-bottom: 0; }
  .contact-actions > p { margin-bottom: 8px; }
  .contact-details { font-size: 12px; line-height: 1.7; }
  .floating-contact { width: 60px; height: 60px; }
  .floating-contact > span { font-size: 9px; padding: 3px 6px; letter-spacing: 0; }
  .floating-contact > .icon { width: 28px; height: 28px; }
  .floating-whatsapp { left: 18px; }
  .floating-phone { right: 18px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 46px; letter-spacing: -1.8px; }
  .hero h1 > span { font-size: .82em; }
  .hero-lead { font-size: 15px; }
  .hero-list-label { padding-left: 14px; padding-right: 14px; letter-spacing: .65px; font-size: 7px; }
  .hero-checklist { padding-left: 14px; padding-right: 14px; }
  .hero-checklist li { font-size: 14px; }
  .hero-service-links a { padding: 8px; font-size: 9px; }
  .hero-image-wrap { height: 360px; }
  .supplies-section .medicines-copy { padding: 25px 20px; }
  .supplies-section .medicines-copy h2 { font-size: 30px; }
  .procedure-card { padding: 19px; }
  .procedure-card h3 { font-size: 21px; }
  .service-filter { font-size: 11px; padding: 10px; }
  .about-details { padding: 24px 19px 18px; }
  .portrait-window { width: 205px; min-width: 205px; }
  .specialist-portrait figcaption strong { font-size: 22px; }
  .credentials > div { gap: 10px; }
  .credentials strong { font-size: 14px; }
  .media-slide-image { height: 310px; }
  .contact-section h2 { font-size: 35px; }
  .floating-whatsapp { left: 15px; }
  .floating-phone { right: 15px; }
  .floating-contact { width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .procedure-card, .hero-service-links a, .floating-contact { transition: none; }
}

/* Mobile contacts occupy their own row; the page scrolls above them. */
@media (max-width: 900px) {
  html { height: 100%; overflow: hidden; }
  body {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    padding: 0;
  }
  .page-content {
    grid-row: 1;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    overflow-x: clip;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
  }
  .floating-contacts {
    grid-row: 2;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 16px;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: #fff;
    border-top: 1px solid #dce9f1;
    box-shadow: 0 -5px 20px #173b5309;
    isolation: isolate;
  }
  .floating-contact {
    position: relative;
    inset: auto;
    margin: 0;
    width: 50px;
    height: 50px;
    border-width: 2px;
    box-shadow: 0 3px 9px #173b531a;
  }
  .floating-whatsapp { justify-self: start; }
  .floating-phone { justify-self: end; }
  .floating-contact > .icon { width: 25px; height: 25px; }
  .floating-contact > span {
    top: 50%;
    bottom: auto;
    left: calc(100% + 10px);
    right: auto;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #214f6a;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: 0;
  }
  .floating-phone > span { left: auto; right: calc(100% + 10px); }
  .floating-contact:hover { transform: none; }
  .footer { padding-bottom: 28px; }
  body:has(.document-dialog[open]) .page-content { overflow: hidden; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .page-content { scroll-behavior: auto; }
}
