/* Final layout authority for the three services. Shared spacing prevents stacked
   section margins, and every service uses the same hero at each breakpoint. */
body.page-hiperbarica .hbo-page {
  --hbo-section-space: clamp(64px, 6vw, 96px);
  --service-hero-height: 680px;
  --service-surface: #f4f7f6;
  --service-accent: var(--u-mid, #19585c);
  background: var(--service-surface);
}
body.page-hiperbarica .hbo-page .hero {
  height: auto; min-height: var(--service-hero-height);
}
body.page-hiperbarica .hbo-page .hero .hero-inner {
  display: flex; flex-direction: column; justify-content: center;
  min-height: var(--service-hero-height); height: auto;
  padding-block: 144px 72px;
}
body.page-hiperbarica .hbo-page .hero .hero-copy {
  width: min(100%, 760px); max-width: 100%; gap: 26px; margin: 0;
  align-self: flex-start; align-items: flex-start; text-align: left;
}
body.page-hiperbarica .hbo-page .hero .hero-copy h1 {
  font-size: var(--unit-hero-title-size, clamp(30px, 3.4vw, 52px)); line-height: 1.1;
  letter-spacing: -.035em;
}
body.page-hiperbarica .hbo-page .hero .hero-description { max-width: 56ch; font-size: 18px; line-height: 1.6; }
body.page-hiperbarica .hbo-page .hero .hero-description p { color: var(--u-hero-ink, rgb(255 255 255 / 87%)); }
body.page-hiperbarica .hbo-page .unit-hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/service-contours.svg') right center / cover no-repeat;
  opacity: .14; pointer-events: none;
}

/* Each transition has one spacing owner. The contact information belongs to
   the location section, with internal padding before the following CTA. */
body.page-hiperbarica .hbo-page .unit-journey { padding-block: 16px; }
body.page-hiperbarica .hbo-page .unit-journey + .hbo-overview { margin-top: 48px; }
body.page-hiperbarica .hbo-page .unit-gallery { margin-top: var(--hbo-section-space); padding-bottom: 0; }
body.page-hiperbarica .hbo-page .service-location {
  position: relative; isolation: isolate; margin-top: var(--hbo-section-space);
  padding-block: var(--hbo-section-space); background: #eaf0ef;
}
body.page-hiperbarica .hbo-page .service-location::before {
  content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(32 78 76 / 9%) .65px, transparent .85px), radial-gradient(ellipse at 100% 0%, rgb(255 255 255 / 85%), transparent 65%);
  background-size: 12px 12px, 100% 100%;
}
body.page-hiperbarica .service-location .hbo-units-wrap { margin: 0; padding: 0; }
body.page-hiperbarica .service-location .hbo-unit-decoration { display: none; }
body.page-hiperbarica .service-location .units { padding-block: 0; }
body.page-hiperbarica .service-location .unit-grid { margin-top: 36px; }
body.page-hiperbarica .service-location .units-other { margin-top: 24px; }
body.page-hiperbarica .service-location .unit-strip { margin-top: 40px; margin-bottom: 0; }
body.page-hiperbarica .service-location .strip-grid {
  padding: 32px; gap: 32px; border: 0; border-radius: 20px;
  background: rgb(255 255 255 / 74%); box-shadow: 0 1px 2px rgb(0 0 0 / 3%), 0 12px 32px -24px rgb(0 0 0 / 16%);
}
body.page-hiperbarica .service-location .strip-item { gap: 10px; }
body.page-hiperbarica .service-location .strip-item h3 { font-size: 18px; line-height: 1.4; }
body.page-hiperbarica .service-location .strip-item p { font-size: 15px; line-height: 1.6; }

/* Editorial images follow the explanatory rhythm of the hyperbaric page. */
.service-narrative { display: grid; gap: 28px; margin-top: var(--hbo-section-space); }
.service-story {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(28px, 4vw, 56px); min-height: 420px; padding: 40px;
  background: #fff; border-radius: 24px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 3%), 0 18px 44px -36px rgb(0 0 0 / 18%);
}
.service-story-copy { min-width: 0; }
body.page-hiperbarica .service-story-copy .eyebrow { display: flex; align-items: center; gap: 14px; color: var(--service-accent); font-size: 11px; letter-spacing: .09em; line-height: 1.5; }
.service-story-copy .eyebrow span { font-size: 24px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.service-story-copy h2 { margin-top: 24px; font-size: clamp(28px, 2.5vw, 38px); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.service-story-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 17px; line-height: 1.65; }
.service-story-copy ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
.service-story-copy li { padding: 8px 12px; border-radius: 7px; background: #eef4f3; color: #355955; font-size: 12px; line-height: 1.4; }
.service-story-visual { min-width: 0; margin: 0; }
.service-story-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 16px; }
.service-story-visual figcaption { padding-top: 12px; color: var(--u-caption, #345057); text-align: right; font-size: 14px; line-height: 1.5; }

/* Quiet surfaces and bounded patterns, without oversized facade backdrops. */
body.page-hiperbarica .hbo-page .svc-surface--teal {
  width: 100%; border-radius: 0; padding-block: var(--hbo-section-space);
  background: linear-gradient(110deg, var(--u-soft, #e9f0ee), #f2f6f5);
}
body.page-hiperbarica .hbo-page .svc-surface--teal .svc-cards { margin-top: 0; }
body.page-hiperbarica .hbo-page .svc-band {
  position: relative; isolation: isolate; padding-block: var(--hbo-section-space);
}
body.page-hiperbarica .hbo-page .svc-band::before {
  content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: url('/assets/service-contours.svg') center / cover no-repeat; opacity: .09;
}
body.page-hiperbarica .hbo-page .svc-band > .hbo-section { margin-top: 0; }
body.page-hiperbarica .hbo-page .svc-band--blue { background: var(--u-soft, #e9f0f0); }
body.page-hiperbarica .hbo-page .svc-band--petroleo { background: var(--u-deep, #153e40); }
body.page-hiperbarica .hbo-page .svc-card { min-height: 0; padding: 32px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 3%), 0 18px 36px -30px rgb(0 0 0 / 18%); }
body.page-hiperbarica .hbo-page .hbo-indication-card { min-height: 0; padding: 32px; background: var(--u-deep, #153e40); border-color: transparent; box-shadow: none; }
body.page-hiperbarica .hbo-page .svc-card h3 { font-size: 22px; line-height: 1.25; }
body.page-hiperbarica .hbo-page .svc-card p { font-size: 16px; line-height: 1.65; }
body.page-hiperbarica .hbo-page .svc-feature { align-items: start; }
body.page-hiperbarica .hbo-page .svc-feature-photo { height: auto; min-height: 380px; aspect-ratio: 1; margin: 0; border-radius: 24px; box-shadow: none; }
body.page-hiperbarica .hbo-page .svc-feature-photo img { aspect-ratio: 1; height: 100%; min-height: inherit; }
body.page-hiperbarica .hbo-page .svc-feature-copy { padding-block: 12px; }
body.page-hiperbarica .hbo-page .hbo-mechanism { padding: 36px; border-radius: 24px; }
body.page-hiperbarica .hbo-page .hbo-illustration { object-fit: contain; }
body.page-hiperbarica .hbo-page #card-01 .hbo-illustration { object-fit: cover; object-position: center; aspect-ratio: 16 / 10; }
body.page-hiperbarica .hbo-page .hbo-steps-list { margin-top: 40px; }
body.page-hiperbarica .hbo-page .hbo-consult { margin-top: 0; padding-block: 64px; min-height: 0; }
body.page-hiperbarica .hbo-page .hbo-consult .consult-content { min-height: 0; gap: 64px; }
body.page-hiperbarica .hbo-page .faq-section { padding-block: var(--hbo-section-space); }
body.page-hiperbarica .hbo-page :is(.svc-card, .hbo-indication-card):hover { translate: none; }
body.page-hiperbarica .hbo-page :is(.svc-card, .hbo-indication-card, .strip-item):hover .glass-icon { transform: none; }

/* Medical content cards: a consistent badge, comfortable copy and quiet depth. */
body[data-unit] .hbo-page .hbo-indication-card { background: #fff; border-color: var(--u-edge); color: var(--ink); }
body[data-unit] .hbo-page .hbo-indication-card p { color: var(--muted); }
body[data-unit] .hbo-page .svc-card { border: 1px solid var(--u-edge); }
body[data-unit] .hbo-page .hbo-consult .consult-copy p { color: var(--ink); }
body[data-unit] .hbo-page .svc-resources { gap: 16px; }
body[data-unit] .hbo-page .svc-resource, body[data-unit] .hbo-page .svc-structure li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 18px;
  padding: 24px; border: 1px solid var(--u-edge); border-radius: 18px; background: rgb(255 255 255 / 88%);
}
body[data-unit] .hbo-page .svc-resource p { margin-top: 10px; }
body[data-unit] .hbo-page .svc-structure { gap: 16px; }
body[data-unit] .hbo-page .hbo-step-icon { width: 64px; height: 64px; border-radius: 18px; background: none; }
body[data-unit] .hbo-page .hbo-steps-list::before { display: none; }
body[data-unit] .hbo-page .hbo-steps-list { gap: 20px; }
body[data-unit] .hbo-page .hbo-steps-list li { padding: 28px; border: 1px solid var(--u-edge); border-radius: 20px; background: #fff; }
body[data-unit] .hbo-page .svc-band--petroleo .hbo-steps-list li { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 20%); }
body[data-unit] .hbo-page .svc-band--petroleo .hbo-steps-list h3 { color: #fff; }
@media (max-width: 900px) {
  body[data-unit] .hbo-page :is(.svc-card, .hbo-indication-card) { grid-template-columns: 64px minmax(0, 1fr); }
  body[data-unit] .hbo-page :is(.svc-card, .hbo-indication-card) > .medical-icon { grid-row: 1 / 3; width: 64px; height: 64px; }
  body[data-unit] .hbo-page :is(.svc-card, .hbo-indication-card) p { grid-column: 2; }
}
@media (max-width: 600px) {
  body[data-unit] .hbo-page :is(.svc-card, .hbo-indication-card, .hbo-steps-list li) { display: flex; flex-direction: column; padding: 24px; gap: 18px; }
  body[data-unit] .hbo-page :is(.svc-resource, .svc-structure li) { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
}

@media (max-width: 1100px) {
  body.page-hiperbarica .service-location .strip-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-story { gap: 28px; padding: 32px; }
}
@media (max-width: 900px) {
  body.page-hiperbarica .hbo-page { --service-hero-height: 650px; }
  body.page-hiperbarica .hbo-page .hero .hero-inner { padding-block: 132px 56px; }
  .service-story { grid-template-columns: 1fr; min-height: 0; gap: 32px; }
  .service-story-visual { width: 100%; max-width: 640px; justify-self: center; }
  body.page-hiperbarica .hbo-page .svc-feature-photo { min-height: 0; aspect-ratio: 4 / 3; max-height: none; }
  body.page-hiperbarica .hbo-page .svc-feature-photo img { aspect-ratio: 4 / 3; }
  body.page-hiperbarica .hbo-page .hbo-consult .consult-content { gap: 32px; }
}
@media (max-width: 600px) {
  body.page-hiperbarica .hbo-page { --service-hero-height: 620px; --hbo-section-space: 64px; }
  body.page-hiperbarica .hbo-page .hero .hero-inner { padding-block: 118px 48px; }
  body.page-hiperbarica .hbo-page .hero .hero-copy { gap: 24px; }
  body.page-hiperbarica .hbo-page .hero .hero-description { font-size: 16px; line-height: 1.6; }
  body.page-hiperbarica .hbo-page .unit-journey + .hbo-overview { margin-top: 40px; }
  body.page-hiperbarica .service-location .unit-strip { margin-top: 28px; }
  body.page-hiperbarica .service-location .strip-grid { padding: 24px; }
  body.page-hiperbarica .hbo-page .svc-card, body.page-hiperbarica .hbo-page .hbo-indication-card { padding: 24px; }
  .service-narrative { gap: 24px; }
  .service-story { padding: 24px 20px; border-radius: 20px; gap: 28px; }
  .service-story-copy h2 { font-size: 28px; margin-top: 20px; }
  .service-story-copy > p:not(.eyebrow) { font-size: 16px; }
  .service-story-copy li { font-size: 12px; }
  .service-story-visual img { border-radius: 12px; }
  body.page-hiperbarica .hbo-page .hbo-mechanism { padding: 24px 20px; }
  body.page-hiperbarica .hbo-page .hbo-consult { padding-block: 48px; }
}
@media (max-width: 359px) {
  body.page-hiperbarica .hbo-page { --service-hero-height: 700px; }
}
