﻿:root {
  --trasmed-primary: #003399;
  --trasmed-primary-strong: #002976;
  --trasmed-primary-soft: #eef4ff;
  --trasmed-accent: #2d7be9;
  --trasmed-text: #1f2f46;
  --trasmed-muted: #4e6282;
  --trasmed-white: #ffffff;
  --trasmed-border: #d5e3fb;
  --trasmed-dark: #081f4f;
  --trasmed-shadow: 0 14px 34px rgba(0, 44, 124, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
  color: var(--trasmed-text);
  background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
  font-family: "Bahnschrift", "Segoe UI Semibold", "Trebuchet MS", sans-serif;
}

.section-anchor {
  scroll-margin-top: 126px;
}

.section-space {
  padding: 86px 0;
}

.section-soft {
  background: linear-gradient(180deg, #ffffff 0%, var(--trasmed-primary-soft) 100%);
}

/* Trasmed Header Fix */
#mainNavbar {
  z-index: 1050;
  background: transparent;
  border-bottom: none !important;
  box-shadow: none;
  transition: background-color 0.28s ease, box-shadow 0.28s ease;
}

#mainNavbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.62);
  border-bottom: none !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 35, 90, 0.04);
}

.navbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.38rem;
  padding-bottom: 0.38rem;
}

.navbar-brand {
  margin-right: 0;
  padding: 0;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  max-height: clamp(58px, 5vw, 66px);
  height: clamp(58px, 5vw, 66px);
}

.navbar-toggler {
  margin-left: auto;
  border-color: rgba(0, 51, 153, 0.35);
}

.navbar-collapse {
  flex-grow: 1;
}

.navbar-nav .nav-item {
  display: flex;
}

.navbar-nav .nav-link {
  color: var(--trasmed-text);
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--trasmed-primary);
}

.btn-results {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid #003ca6;
  background: #003ca6;
  font-weight: 700;
  padding: 0.43rem 0.82rem;
  border-radius: 999px;
  line-height: 1.1;
}

.btn-results:hover,
.btn-results:focus,
.btn-results:active {
  color: #ffffff;
  background: #002f86;
  border-color: #002f86;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0e9f55;
  border: 1px solid #0e9f55;
  color: #ffffff;
  font-weight: 700;
  padding: 0.43rem 0.86rem;
  border-radius: 999px;
  line-height: 1.1;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #0b8748;
  border-color: #0b8748;
  color: #ffffff;
}

.mobile-actions {
  display: none;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 172px 0 108px;
  background-image: url("../img/hero-bg.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.hero-shape {
  display: none;
}

.hero-section h1 {
  font-size: clamp(2.65rem, 2.9vw, 2.95rem);
  line-height: 1.14;
  color: var(--trasmed-primary-strong);
  margin-bottom: 0.7rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  font-weight: 700;
  color: #0c3ea6;
  margin-bottom: 0.85rem;
}

.hero-text {
  color: var(--trasmed-muted);
  font-size: 1.04rem;
  max-width: 650px;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 48px;
}

.btn-primary {
  background-color: var(--trasmed-primary);
  border-color: var(--trasmed-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--trasmed-primary-strong);
  border-color: var(--trasmed-primary-strong);
}

.btn-outline-primary {
  color: var(--trasmed-primary);
  border-color: var(--trasmed-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #ffffff;
  background-color: var(--trasmed-primary);
  border-color: var(--trasmed-primary);
}

.btn-outline-dark {
  color: var(--trasmed-dark);
  border-color: var(--trasmed-dark);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  color: #ffffff;
  background-color: var(--trasmed-dark);
  border-color: var(--trasmed-dark);
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 16 / 10;
  max-height: 380px;
  overflow: hidden;
  border-radius: 34px 70px 34px 70px;
  border: 4px solid rgba(120, 200, 220, 0.45);
  box-shadow: 0 24px 60px rgba(0, 60, 166, 0.12);
  transform: rotate(2deg);
  background: #f4f9ff;
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  width: 126px;
  height: 126px;
  left: -34px;
  bottom: 18px;
  background-image: radial-gradient(rgba(45, 123, 233, 0.2) 2px, transparent 2px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 2;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: rotate(-2deg) scale(1.04);
}

.hero-fachada-img {
  cursor: zoom-in;
}

.highlights-section {
  margin-top: -24px;
}

.highlight-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  border-radius: 16px;
  border: 1px solid var(--trasmed-border);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 52, 129, 0.08);
  padding: 1.35rem;
  overflow: hidden;
}

.highlight-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.15rem;
  color: var(--trasmed-primary-strong);
  margin-top: 0;
  margin-bottom: 0.2rem;
  max-width: 100%;
  text-align: left;
}

.highlight-card p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--trasmed-muted);
  max-width: 100%;
  text-align: left;
}

.highlight-card .card-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  background: rgba(0, 60, 166, 0.09);
  color: #003ca6;
  margin-bottom: 0;
}

.highlight-card .card-icon svg {
  width: 31px;
  height: 31px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-title {
  font-size: clamp(1.6rem, 2.1vw, 2.45rem);
  color: var(--trasmed-primary-strong);
  margin-bottom: 0.85rem;
}

.section-subtitle,
.section-text {
  color: var(--trasmed-muted);
  font-size: 1.04rem;
}

.trasmed-about-section {
  position: relative;
  background: #ffffff;
  padding-top: 98px;
  padding-bottom: 96px;
  overflow: hidden;
}

.trasmed-about-heading {
  position: relative;
  max-width: 820px;
  margin: 0 auto 2.85rem;
}

.trasmed-about-heading-title {
  position: static;
  margin: 0;
  color: var(--trasmed-primary-strong);
  font-size: clamp(1.55rem, 2.25vw, 2.45rem);
}

.trasmed-about-layout {
  position: relative;
}

.trasmed-about-dots {
  position: absolute;
  width: 124px;
  height: 124px;
  background-image: radial-gradient(rgba(45, 123, 233, 0.24) 2px, transparent 2px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 1;
}

.trasmed-about-dots-left {
  left: -44px;
  top: 46px;
}

.trasmed-about-dots-right {
  right: 6%;
  bottom: -36px;
}

.trasmed-about-content {
  position: relative;
  z-index: 2;
  padding-right: 1rem;
}

.trasmed-about-lead {
  color: var(--trasmed-primary-strong);
  font-size: clamp(1.4rem, 1.95vw, 2.02rem);
  line-height: 1.32;
  margin: 0 0 1rem;
}

.trasmed-about-content p {
  color: var(--trasmed-muted);
  font-size: 1.03rem;
  line-height: 1.72;
  margin-bottom: 1rem;
}

.trasmed-about-btn {
  margin-top: 1.35rem;
  font-weight: 700;
  padding: 0.56rem 1.2rem;
}

.trasmed-about-media {
  position: relative;
  max-width: 520px;
  margin-left: auto;
  z-index: 2;
}

.about-image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid rgba(120, 190, 255, 0.45);
  background: linear-gradient(150deg, #f6faff, #e9f2ff);
  box-shadow: 0 28px 70px rgba(0, 60, 166, 0.12);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.02);
}

.service-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--trasmed-border);
  box-shadow: 0 10px 22px rgba(12, 53, 133, 0.08);
  padding: 1.4rem;
}

.service-card h3 {
  color: var(--trasmed-primary-strong);
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  position: relative;
  margin-bottom: 0.52rem;
  padding-left: 1.05rem;
  color: var(--trasmed-text);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--trasmed-accent);
}

.popular-section {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.popular-banner {
  border-radius: 24px;
  padding: 2rem;
  background: linear-gradient(135deg, #0b3c9c 0%, #003399 85%);
  box-shadow: var(--trasmed-shadow);
}

.popular-banner h2,
.popular-banner .section-text,
.popular-banner .popular-subtitle {
  color: #ffffff;
}

.popular-banner h2 {
  margin-bottom: 0.65rem;
}

.popular-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.exam-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.exam-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.company-section {
  background: #ffffff;
}

.company-highlight {
  font-weight: 700;
  color: var(--trasmed-primary-strong);
}

.results-section {
  padding-top: 0;
}

.results-panel {
  border-radius: 22px;
  border: 1px solid var(--trasmed-border);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 43, 122, 0.09);
  padding: 2rem 1.2rem;
}

.results-panel h2 {
  color: var(--trasmed-primary-strong);
  margin-bottom: 0.65rem;
}

.results-panel p {
  color: var(--trasmed-muted);
  margin-bottom: 1.2rem;
}

.unit-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--trasmed-border);
  box-shadow: 0 10px 20px rgba(16, 53, 121, 0.08);
  padding: 1.4rem;
}

.unit-card-with-image {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.unit-card h3 {
  color: var(--trasmed-primary-strong);
  margin-bottom: 0.65rem;
}

.unit-card p {
  margin-bottom: 0.5rem;
  color: var(--trasmed-muted);
}

.unit-card-media {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #e6eefc;
}

.unit-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
}

.unit-card-media img[src$="unidade-paraiso-fachada.jpeg"] {
  object-position: center top;
}

.unit-card-content {
  padding: 1.3rem;
}

.unit-card-cta-btn {
  margin-top: 0.4rem;
  width: 100%;
  align-self: flex-start;
}

.unidade-gallery-modal .modal-content {
  border: 1px solid var(--trasmed-border);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(16, 53, 121, 0.12);
  max-height: 88vh;
  overflow: hidden;
}

.unidade-gallery-modal .modal-dialog {
  max-width: min(1140px, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.unidade-gallery-modal .modal-body {
  padding: 0 1.15rem 1.15rem;
  max-height: calc(88vh - 56px);
  overflow-y: hidden;
}

.unidade-gallery-modal .modal-header {
  justify-content: flex-end;
  padding-right: 1.15rem;
}

.unit-modal-subtitle {
  margin: 0.3rem 0 0;
  color: var(--trasmed-muted);
  font-size: 0.9rem;
}

.unit-gallery-layout {
  display: block;
}

.unit-gallery-media {
  min-width: 0;
  margin-top: 0;
  padding-top: 0;
}

.unit-gallery-info {
  margin-top: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.unit-gallery-summary {
  margin: 0;
  padding: 0.58rem 0.72rem;
  border-radius: 12px;
  border: 1px solid rgba(13, 53, 121, 0.13);
  background: rgba(13, 53, 121, 0.04);
  box-shadow: 0 1px 8px rgba(13, 53, 121, 0.08);
  display: grid;
  gap: 0.15rem;
}

.unit-gallery-info .modal-title,
.unit-gallery-info p:last-of-type {
  margin-bottom: 0;
}

.unit-gallery-info .modal-title {
  color: var(--trasmed-primary-strong);
  margin-bottom: 0;
}

.unit-gallery-info p {
  margin-bottom: 0;
  color: var(--trasmed-muted);
}

.unit-gallery-info p:last-child,
.unit-gallery-info .unit-gallery-map + p {
  margin-bottom: 0;
}

.unit-gallery-map {
  margin-top: 0;
  border-radius: 16px;
  border: 1px solid rgba(13, 71, 161, 0.12);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
}

.unit-gallery-map iframe {
  width: 100%;
  height: 225px;
  border: 0;
  display: block;
}

.unidade-gallery-modal .btn-close {
  position: relative;
  z-index: 2;
}

.unit-gallery-thumbs {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 132px;
  gap: 0.6rem;
  align-items: start;
  align-content: start;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 355px;
  padding-right: 0.35rem;
  padding-bottom: 0;
  scrollbar-width: auto;
  scroll-snap-type: none;
}

.unit-gallery-thumb {
  border: 1px solid transparent;
  margin: 0;
  width: 100%;
  min-width: 0;
  height: 132px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  background: #e6eefc;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.unit-gallery-thumb img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.unit-gallery-thumb.active {
  border-color: rgba(14, 159, 85, 0.8);
  box-shadow: 0 8px 18px rgba(14, 159, 85, 0.15);
}

.unit-gallery-thumb:hover,
.unit-gallery-thumb:focus-visible {
  border-color: rgba(13, 53, 121, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(13, 53, 121, 0.12);
}

.unit-gallery-thumbs-title {
  margin: 0 0 0.5rem;
  color: var(--trasmed-primary-strong);
  font-size: 0.96rem;
  font-weight: 600;
}

.unit-gallery-empty-state {
  margin-top: 0.35rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: 10px;
  border: 1px dashed rgba(13, 53, 121, 0.24);
  background: rgba(13, 53, 121, 0.04);
  color: var(--trasmed-muted);
  min-height: 132px;
  display: grid;
  gap: 0.35rem;
}

.unit-gallery-empty-title {
  margin: 0;
  color: var(--trasmed-primary-strong);
  font-weight: 700;
  font-size: 0.96rem;
}

.unit-gallery-empty-state p {
  margin-bottom: 0;
  margin-top: 0;
}

.photo-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.photo-lightbox-overlay.is-open {
  display: flex;
}

.photo-lightbox-content {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-image {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.photo-lightbox-close,
.photo-lightbox-prev,
.photo-lightbox-next {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.photo-lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 1.2rem;
}

.photo-lightbox-prev,
.photo-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
}

.photo-lightbox-prev {
  left: 0.8rem;
}

.photo-lightbox-next {
  right: 0.8rem;
}

.photo-lightbox-close:hover,
.photo-lightbox-close:focus-visible,
.photo-lightbox-prev:hover,
.photo-lightbox-prev:focus-visible,
.photo-lightbox-next:hover,
.photo-lightbox-next:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.02);
}

.photo-lightbox-prev:focus-visible,
.photo-lightbox-prev:hover,
.photo-lightbox-next:focus-visible,
.photo-lightbox-next:hover {
  transform: translateY(-50%) scale(1.02);
}

.trasmed-contact {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.trasmed-contact-header .section-subtitle {
  margin-bottom: 0.4rem;
}

.trasmed-contact-hours {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 51, 153, 0.1);
  color: var(--trasmed-primary-strong);
  font-weight: 700;
  font-size: 0.95rem;
}

.trasmed-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trasmed-contact-card {
  border-radius: 18px;
  border: 1px solid var(--trasmed-border);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(12, 52, 131, 0.09);
  padding: 1.3rem;
  height: 100%;
}

.trasmed-contact-card h3 {
  color: var(--trasmed-primary-strong);
  font-size: 1.14rem;
  margin: 0 0 0.5rem;
}

.trasmed-contact-card p {
  color: var(--trasmed-muted);
  margin-bottom: 0.9rem;
}

.trasmed-contact-icon {
  display: flex;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  color: var(--trasmed-primary);
  background: rgba(0, 51, 153, 0.1);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.trasmed-contact-icon svg {
  width: 32px;
  height: 32px;
}

.trasmed-contact-phone-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.trasmed-contact-card-primary .trasmed-contact-phone-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trasmed-contact-phone-link {
  display: block;
  text-decoration: none;
  color: var(--trasmed-primary);
  font-weight: 700;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(0, 51, 153, 0.06);
  border: 1px solid rgba(0, 51, 153, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.trasmed-contact-card-primary .trasmed-contact-phone-link {
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.trasmed-contact .trasmed-contact-phone-link,
.trasmed-contact .trasmed-contact-whats-secondary,
.trasmed-contact .trasmed-contact-btn-main,
.trasmed-contact .trasmed-contact-btn-company {
  border-radius: 14px !important;
}

.trasmed-contact-phone-link:hover,
.trasmed-contact-phone-link:focus {
  background: rgba(0, 51, 153, 0.12);
  border-color: rgba(0, 51, 153, 0.22);
  transform: translateY(-1px);
}

.trasmed-contact-card-whatsapp {
  display: flex;
  flex-direction: column;
  border-color: rgba(14, 159, 85, 0.35);
  background: linear-gradient(170deg, #ffffff 0%, #f1fff8 100%);
  box-shadow: 0 14px 28px rgba(14, 159, 85, 0.16);
}

.trasmed-contact-icon-whatsapp {
  color: #0e9f55;
  background: rgba(14, 159, 85, 0.15);
}

.trasmed-contact-card-company .trasmed-contact-icon {
  color: #1478a0;
  background: rgba(20, 120, 160, 0.1);
}

.trasmed-contact-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
}

.trasmed-contact-whats-support {
  margin: 0;
  text-align: center;
  color: #2e6b4f;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  background: rgba(14, 159, 85, 0.1);
}

.trasmed-contact-btn-main {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.trasmed-contact-whats-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #0e9f55;
  font-weight: 700;
  border-radius: 10px;
  min-height: 48px;
  padding: 0.6rem 0.7rem;
  background: rgba(14, 159, 85, 0.1);
}

.trasmed-contact-whats-secondary:hover,
.trasmed-contact-whats-secondary:focus {
  background: rgba(14, 159, 85, 0.2);
  color: #0b8748;
}

.trasmed-contact-note {
  margin-top: -0.25rem;
  font-weight: 700;
  color: var(--trasmed-primary-strong);
}

.trasmed-contact-btn-company {
  width: 100%;
}

@media (max-width: 1199.98px) {
  .trasmed-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trasmed-contact-card-whatsapp {
    grid-column: 1 / -1;
  }
}

.site-footer {
  background: #062a73;
  color: #dde7ff;
  padding: 56px 0 24px;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.footer-text {
  margin: 0 0 0.5rem;
  color: #dde7ff;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.38rem;
  color: #dde7ff;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.footer-link:hover,
.footer-link:focus {
  text-decoration: underline;
}

.footer-units li {
  margin-bottom: 0.7rem;
}

.footer-bottom {
  margin-top: 1.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(221, 231, 255, 0.32);
}

.footer-bottom p {
  margin: 0;
  color: #d7e5ff;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 0.75rem 0 1rem;
    gap: clamp(0.85rem, 1.2vw, 1.35rem);
  }

  .nav-menu .nav-link {
    font-size: 0.92rem;
    line-height: 1.1;
    white-space: nowrap;
    padding: 0.3rem 0;
    border-radius: 0;
    border-bottom: 2px solid transparent;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:focus,
  .nav-menu .nav-link.active {
    background: transparent;
    border-bottom-color: var(--trasmed-primary);
  }

  .header-cta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
  }
}

@media (min-width: 1200px) {
  .nav-menu .nav-link {
    font-size: 0.95rem;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .brand-logo {
    width: auto;
    max-height: 60px;
    height: 60px;
  }

  .nav-menu {
    gap: 0.9rem;
    margin-right: 0.55rem;
  }

  .nav-menu .nav-link {
    font-size: 0.86rem;
  }

  .header-cta .btn {
    font-size: 0.83rem;
    padding: 0.45rem 0.72rem;
  }
}

@media (max-width: 991.98px) {
  .section-anchor {
    scroll-margin-top: 104px;
  }

  .navbar-shell {
    position: relative;
    min-width: 0;
    gap: 0.55rem;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
  }

  .navbar-brand {
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 54px;
    height: auto;
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    z-index: 1060;
    background: #ffffff;
    border: 1px solid rgba(0, 51, 153, 0.16);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(9, 45, 118, 0.18);
    padding: 0.75rem;
  }

  .nav-menu {
    gap: 0.15rem;
    align-items: stretch;
  }

  .nav-menu .nav-link {
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    line-height: 1.2;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:focus,
  .nav-menu .nav-link.active {
    background: rgba(0, 51, 153, 0.1);
  }

  .header-cta {
    display: none !important;
  }

  .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.55rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(0, 51, 153, 0.12);
  }

  .mobile-extra-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--trasmed-primary-strong);
    border: 1px solid rgba(0, 51, 153, 0.35);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    font-weight: 700;
  }

  .mobile-extra-link:hover,
  .mobile-extra-link:focus {
    background: rgba(0, 51, 153, 0.08);
  }

  .hero-section {
    padding: 152px 0 92px;
  }

  .hero-section h1 {
    font-size: clamp(2.15rem, 5vw, 2.45rem);
    line-height: 1.16;
  }

  .section-space {
    padding: 72px 0;
  }

  .hero-image-frame {
    max-width: 520px;
    aspect-ratio: 16 / 10;
    max-height: 340px;
    border-radius: 30px 58px 30px 58px;
    transform: rotate(1.5deg);
  }

  .hero-image-frame::before {
    width: 112px;
    height: 112px;
    left: -22px;
    bottom: 14px;
  }

  .hero-image-frame img {
    object-position: center center;
    transform: rotate(-1.5deg) scale(1.05);
  }

  .trasmed-about-section {
    padding-top: 86px;
    padding-bottom: 84px;
  }

  .trasmed-about-heading {
    margin-bottom: 2.6rem;
  }

  .trasmed-about-dots-left {
    left: -12px;
    top: 30px;
  }

  .trasmed-about-dots-right {
    right: -14px;
    bottom: -20px;
  }

  .trasmed-about-content {
    padding-right: 0;
  }

  .trasmed-about-media {
    max-width: 470px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 142px 0 84px;
  }

  .hero-section .container,
  .hero-section .row,
  .hero-section .row > * {
    min-width: 0;
  }

  .hero-section h1 {
    font-size: clamp(1.9rem, 8vw, 2.12rem);
    line-height: 1.18;
  }

  .hero-subtitle,
  .hero-text,
  .trasmed-about-lead,
  .section-title,
  .section-subtitle,
  .section-text {
    overflow-wrap: anywhere;
  }

  .hero-image-frame {
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    max-height: none;
    border-radius: 28px;
    border-width: 3px;
    transform: none;
  }

  .hero-image-frame::before {
    width: 88px;
    height: 88px;
    left: -10px;
    bottom: 10px;
    opacity: 0.7;
  }

  .hero-image-frame img {
    object-position: center center;
    transform: scale(1.03);
  }

  .hero-actions {
    margin-bottom: 32px;
  }

  .hero-actions .btn,
  .trasmed-about-btn,
  .mobile-extra-link,
  .mobile-actions .btn-whatsapp {
    width: 100%;
    max-width: 100%;
  }

  .section-anchor {
    scroll-margin-top: 96px;
  }

  .trasmed-contact-grid {
    grid-template-columns: 1fr;
  }

  .trasmed-contact-card-whatsapp {
    grid-column: auto;
  }

  .trasmed-contact-btn-main,
  .trasmed-contact-btn-company {
    width: 100%;
  }

  .trasmed-contact-card-primary .trasmed-contact-phone-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trasmed-about-section {
    padding-top: 78px;
    padding-bottom: 76px;
  }

  .trasmed-about-heading {
    margin-bottom: 2.1rem;
  }

  .trasmed-about-content {
    padding-right: 0;
  }

  .trasmed-about-lead {
    font-size: 1.45rem;
  }

  .trasmed-about-content p {
    font-size: 1rem;
    line-height: 1.66;
  }

  .trasmed-about-btn {
    width: 100%;
  }

  .trasmed-about-media {
    max-width: 395px;
    margin: 0 auto;
  }

  .about-image-frame {
    border-width: 3px;
  }

  .about-image-frame img {
    transform: scale(1.01);
  }

  .trasmed-about-dots-right {
    display: none;
  }

  .trasmed-about-dots-left {
    width: 92px;
    height: 92px;
    left: -2px;
    top: -12px;
  }

  .popular-banner,
  .results-panel,
  .service-card,
  .unit-card,
  .contact-box {
    padding: 1.2rem;
  }

  .highlight-card {
    display: block;
    padding: 1.2rem;
  }

  .highlight-card .card-icon {
    grid-column: auto;
    grid-row: auto;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 18px;
  }

  .highlight-card .card-icon svg {
    width: 28px;
    height: 28px;
  }
}

@media (min-width: 992px) {
  .unit-gallery-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.48fr);
    gap: 1.25rem;
    align-items: flex-start;
    grid-auto-rows: minmax(0, auto);
  }

  .unidade-gallery-modal .modal-body {
    max-height: calc(88vh - 58px);
    padding-top: 0;
  }

  .unit-gallery-media {
    display: grid;
    gap: 0.65rem;
    align-self: flex-start;
    justify-self: stretch;
    margin-top: 0;
    padding-top: 0;
    min-height: 0;
    grid-column: 1 / 2;
  }

  .unit-gallery-info {
    min-height: 0;
    grid-column: 2 / 3;
    margin-top: 0;
  }

  .unit-gallery-thumbs,
  .unit-gallery-summary,
  .unit-gallery-info {
    max-width: 100%;
  }

  .unit-gallery-map iframe {
    height: 220px;
    width: 100%;
  }

  .unit-gallery-thumbs {
    margin-top: 0.35rem;
    max-height: 355px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.35rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 132px;
  }
}

@media (max-width: 767.98px) {
  .unit-gallery-layout {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .unit-gallery-info {
    order: 2;
    margin-top: 0;
    margin-bottom: 0.65rem;
    gap: 0.9rem;
  }

  .unit-gallery-media {
    order: 1;
    margin-bottom: 0;
  }

  .unidade-gallery-modal .modal-dialog {
    margin-left: 0.55rem;
    margin-right: 0.55rem;
  }

  .unidade-gallery-modal .modal-content {
    max-height: min(93vh, 760px);
  }

  .unidade-gallery-modal .modal-body {
    padding: 0 1rem 1rem;
    overflow-y: auto;
  }

  .unidade-gallery-modal .unit-gallery-thumbs {
    margin-top: 0;
    margin-bottom: 0;
  }

  .unit-gallery-empty-state {
    margin-top: 0;
  }

  .unit-gallery-summary {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.8rem 0.9rem;
  }

  .unit-gallery-map {
    margin-top: 0.15rem;
  }

  .unit-card-with-image {
    padding: 0;
  }

  .unit-card-content {
    padding: 1rem;
  }

  .unit-card-media {
    height: 200px;
  }

  .unit-gallery-map iframe {
    height: 220px;
  }
}

@media (max-width: 575.98px) {
  .unidade-gallery-modal .modal-header {
    justify-content: flex-end;
    align-items: center;
  }

  .unidade-gallery-modal .modal-body {
    padding-bottom: 0.85rem;
  }

  .trasmed-contact-card-primary .trasmed-contact-phone-list {
    grid-template-columns: 1fr;
  }
}
