:root {
  --navy-900: #000829;
  --navy-800: #071133;
  --navy-700: #0c173d;
  --gold-300: #e6b151;
  --gold-200: #f0cc73;
  --white: #f9fafa;
  --gray-100: #e5e7ec;
  --gray-200: #cdd2db;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5d;
  --border: rgba(230, 177, 81, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(230, 177, 81, 0.12), transparent 28%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900) 20%);
  color: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 6.75rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
}

.section-light {
  color: var(--navy-900);
  background:
    radial-gradient(circle at top left, rgba(230, 177, 81, 0.16), transparent 24%),
    #f7f4ee;
  padding-top: 5.5rem;
  padding-bottom: 6rem;
}

.conditions-section {
  padding-top: 6.75rem;
  padding-bottom: 7rem;
}

.section-bordered {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 3.75rem;
}

.section-heading.centered,
.centered-action,
.centered-text {
  text-align: center;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h1,
.section-heading h2,
.hero h1,
.cta-box h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1.08;
}

.section-heading h2,
.cta-box h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  margin-bottom: 1.2rem;
}

.section-heading p,
.lead,
.info-list p,
.faq-list p,
.site-footer p {
  color: var(--gray-200);
  line-height: 1.7;
}

.section-light .section-heading p,
.section-light .light-card p,
.dark .kicker,
.dark-quote p {
  color: rgba(0, 8, 41, 0.72);
}

.section-light .section-heading p {
  color: rgba(0, 8, 41, 0.8);
}

.kicker {
  margin: 0 0 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-200);
  display: none;
}

.progress-bar {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 80;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-200));
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 70;
  pointer-events: none;
  transition: top 0.24s ease;
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.65rem 0.85rem 0.65rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(0, 8, 41, 0.48);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.site-header.is-scrolled {
  top: 0.65rem;
}

.site-header.is-scrolled .header-inner {
  background: rgba(0, 8, 41, 0.84);
  border-color: rgba(230, 177, 81, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

.brand img {
  width: 172px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: rgba(249, 250, 250, 0.82);
  font-size: 0.87rem;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.42rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--gold-200);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.menu-toggle {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.button-whatsapp:hover {
  background: var(--whatsapp-hover);
}

a.button[href*="wa.me"] {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
}

a.button[href*="wa.me"]:hover {
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
}

.button-secondary {
  border-color: var(--border);
  color: var(--gold-200);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover {
  background: rgba(230, 177, 81, 0.09);
}

body.modal-open {
  overflow: hidden;
}

.notice-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 8, 41, 0.56);
  backdrop-filter: blur(6px);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.notice-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.notice-modal-dialog {
  width: min(100%, 30rem);
  background:
    radial-gradient(circle at top right, rgba(230, 177, 81, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(12, 23, 61, 0.98), rgba(0, 8, 41, 0.98));
  border: 1px solid rgba(230, 177, 81, 0.24);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  position: relative;
}

.notice-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.notice-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.04);
}

.notice-modal-content h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.12;
}

.notice-modal-content > p {
  margin: 0 0 1rem;
  color: var(--gray-100);
  line-height: 1.55;
  font-size: 0.98rem;
}

.notice-modal-info {
  display: grid;
  gap: 0.75rem;
}

.notice-modal-info-item {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 177, 81, 0.14);
  font-size: 0.95rem;
}

.notice-modal-info-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-200);
  font-size: 0.95rem;
}

.notice-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.centered-action {
  margin-top: 2.5rem;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 8, 41, 0.98) 0%, rgba(0, 8, 41, 0.9) 34%, rgba(0, 8, 41, 0.52) 62%, rgba(0, 8, 41, 0.18) 100%),
    linear-gradient(180deg, transparent 70%, rgba(0, 8, 41, 0.95));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  margin-bottom: 1.65rem;
  max-width: 15ch;
}

.lead {
  max-width: 39rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.disclaimer {
  margin: 0 0 2.4rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(230, 177, 81, 0.4);
  color: rgba(229, 231, 236, 0.72);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.4rem;
}

.info-list h3,
.site-footer h3 {
  display: block;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.tag-list li {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gray-100);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.map-frame iframe {
  width: 100%;
  border: 0;
  border-radius: 1.45rem;
}

.video-sound-toggle {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 8, 41, 0.84);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  z-index: 2;
}

.video-sound-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-sound-toggle .icon-sound-on {
  display: none;
}

.video-sound-toggle.is-on .icon-sound-on {
  display: block;
}

.video-sound-toggle.is-on .icon-sound-off {
  display: none;
}

.about-section {
  background: #000829;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: center;
}

.about-video-card {
  width: 100%;
  padding: 0.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  position: relative;
}

.about-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.45rem;
}

.about-copy {
  max-width: 42rem;
}

.about-heading {
  margin-bottom: 1.75rem;
}

.about-heading .kicker {
  display: block;
  color: var(--gold-200);
}

.about-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.08;
}

.about-heading p:not(.kicker) {
  max-width: 38rem;
  margin: 0;
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.7;
}

.about-copy p {
  margin: 0;
  color: var(--gray-100);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.82;
}

.about-copy p + p {
  margin-top: 1.35rem;
}

.clinic-gallery-section {
  background:
    linear-gradient(180deg, rgba(0, 8, 41, 0.98), rgba(18, 28, 61, 0.98));
}

.clinic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.clinic-gallery-item {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(230, 177, 81, 0.18);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  contain: paint;
}

.clinic-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.clinic-gallery-item img.is-loaded {
  opacity: 1;
}

.treatments-section {
  background:
    radial-gradient(circle at top center, rgba(230, 177, 81, 0.1), transparent 30%),
    rgba(255, 255, 255, 0.03);
}

.treatments-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.treatment-card {
  position: relative;
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 2.4rem;
  overflow: hidden;
  border: 1px solid rgba(230, 177, 81, 0.26);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(230, 177, 81, 0.16), rgba(255, 255, 255, 0.045) 48%),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.treatment-card-implant {
  background:
    linear-gradient(90deg, rgba(0, 8, 41, 0.92), rgba(0, 8, 41, 0.72) 48%, rgba(0, 8, 41, 0.38)),
    url("./assets/implante_home.webp");
  background-size: cover;
  background-position: center;
}

.treatment-card-protocol {
  background:
    linear-gradient(90deg, rgba(0, 8, 41, 0.9), rgba(0, 8, 41, 0.68) 50%, rgba(0, 8, 41, 0.34)),
    url("./assets/protese_home.webp");
  background-size: cover;
  background-position: center;
}

.treatment-card::after {
  content: "";
  position: absolute;
  right: -4.5rem;
  bottom: -5rem;
  z-index: 0;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(230, 177, 81, 0.2);
  border-radius: 50%;
  background: rgba(230, 177, 81, 0.08);
}

.treatment-card > * {
  position: relative;
  z-index: 1;
}

.treatment-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 999px;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-200));
}

.treatment-icon svg,
.treatment-icon img {
  width: 1.55rem;
  height: 1.55rem;
}

.treatment-icon svg {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.treatment-card h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.12;
}

.treatment-card p {
  max-width: 30rem;
  margin: 0;
  color: var(--gray-200);
  line-height: 1.7;
}

.treatments-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.treatment-pill {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gray-100);
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}


.card-grid {
  display: grid;
  gap: 1.75rem;
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.faq-list details,
.timeline article,
.cta-box,
.dark-quote,
.highlight-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 2.25rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(230, 177, 81, 0.1);
  border: 1px solid rgba(230, 177, 81, 0.18);
  color: var(--gold-200);
}

.card-icon svg,
.footer-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3,
.timeline h3,
.highlight-box p,
.faq-list summary {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
}

.card h3,
.timeline h3 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
  font-weight: 800;
}

.card p,
.timeline p {
  margin: 0;
  color: var(--gray-200);
  line-height: 1.7;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -1.6rem;
  right: -1.6rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0 0 0 100%;
  background: rgba(230, 177, 81, 0.12);
}

.highlight-box,
.dark-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  margin-top: 2.4rem;
  padding: 2.25rem;
}

.highlight-box p,
.dark-quote p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding: 0;
  margin: 3rem 0 0;
  list-style: none;
}

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

.timeline article {
  position: relative;
  padding: 2.25rem 2rem 2.25rem 5rem;
}

.timeline span {
  position: absolute;
  left: 1.5rem;
  top: 1.7rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-200);
  border: 1px solid var(--gold-300);
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.testimonials-section {
  background:
    radial-gradient(circle at top center, rgba(230, 177, 81, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.02);
}

.cta-banner-section {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0;
  background: transparent;
}

.cta-banner-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0, 8, 41, 0.68), rgba(0, 8, 41, 0.62)),
    url("./assets/call1.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
  transform: translateY(-8%) scale(1.2);
  z-index: 0;
}

.cta-banner-card {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.cta-banner-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
}

.cta-banner-card p:not(.kicker) {
  max-width: 42rem;
  margin: 0 0 2rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--gray-100);
  line-height: 1.75;
}

.testimonials-carousel {
  position: relative;
  padding: 0 4rem;
}

.testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3rem) / 3);
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 0.2rem;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-height: 16.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-header strong {
  font-size: 1rem;
  line-height: 1.4;
}

.testimonial-avatar {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.18);
  color: #fff;
  font-weight: 800;
}

.testimonial-stars {
  margin-bottom: 1rem;
  color: var(--gold-300);
  letter-spacing: 0.1em;
  font-size: 1rem;
}

.testimonial-card p {
  margin: 0;
  color: var(--gray-100);
  line-height: 1.75;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(230, 177, 81, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-200);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.carousel-button.prev {
  left: 0;
}

.carousel-button.next {
  right: 0;
}

.carousel-button:hover {
  background: rgba(230, 177, 81, 0.12);
  border-color: rgba(230, 177, 81, 0.42);
}

.patient-gallery-section {
  background: #1B1F37;
}

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

.gallery-item {
  margin: 0;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.94;
}

.light-grid .card,
.light-card {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 8, 41, 0.08);
  box-shadow: 0 18px 50px rgba(7, 17, 51, 0.08);
}

.light-card h3 {
  color: var(--navy-900);
}

.section-light .card h3,
.section-light .card p {
  color: rgba(0, 8, 41, 0.88);
}

.section-light .card p {
  color: rgba(0, 8, 41, 0.82);
}

.light-grid .card h3,
.light-card h3 {
  color: rgba(0, 8, 41, 0.96);
}

.light-grid .card p,
.light-card p {
  color: rgba(0, 8, 41, 0.8);
}

.light-grid .card .card-icon,
.light-card .card-icon {
  background: rgba(230, 177, 81, 0.12);
  border-color: rgba(230, 177, 81, 0.28);
  color: rgba(170, 121, 28, 0.95);
}

.dark-quote {
  margin-top: 2.5rem;
  background: var(--navy-900);
  border-color: rgba(0, 8, 41, 0.16);
}

.dark-quote p {
  color: rgba(249, 250, 250, 0.78);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.info-list {
  display: grid;
  gap: 1.35rem;
  margin-bottom: 2.4rem;
}

.info-list article {
  padding: 1.7rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(230, 177, 81, 0.16);
  background: rgba(0, 0, 0, 0.14);
}

.location-card h3:not(:first-child) {
  margin-top: 1.8rem;
}

.map-frame {
  min-height: 36rem;
  padding: 0.8rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  min-height: 34.4rem;
  filter: none;
}

.faq-wrap {
  max-width: 56rem;
}

.faq-wrap,
.faq-wrap .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: grid;
  gap: 1.15rem;
}

.faq-list details {
  padding: 1.55rem 1.7rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.3rem;
  padding-right: 2rem;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 1rem 0 0;
}

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 8, 41, 0.4), rgba(0, 8, 41, 0.92)),
    radial-gradient(circle at center, rgba(230, 177, 81, 0.08), transparent 44%);
}

.final-cta-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0, 8, 41, 0.74), rgba(0, 8, 41, 0.78)),
    url("./assets/call-implante.webp");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  transform: translateY(-6%) scale(1.14);
  will-change: transform;
  z-index: 0;
}

.cta-box {
  position: relative;
  z-index: 1;
  padding: 3.4rem;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.cta-box p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--gray-200);
  line-height: 1.75;
}

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--navy-700);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-grid > * {
  flex: 1;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-icon {
  flex: 0 0 auto;
  width: 1.2rem;
  text-align: center;
  color: var(--gold-200);
  line-height: 1.4;
}


.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

.footer-bottom p,
.site-footer a {
  color: rgba(229, 231, 236, 0.72);
}

@media (max-width: 1080px) {
  .location-grid,
  .three-cols,
  .four-cols,
  .treatments-list,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-track {
    grid-auto-columns: calc((100% - 1.5rem) / 2);
  }

}

@media (max-width: 820px) {
  .site-header {
    top: 0.75rem;
  }

  .site-header.is-scrolled {
    top: 0.5rem;
  }

  .header-inner {
    position: relative;
    min-height: 4rem;
    padding: 0.55rem 0.65rem 0.55rem 0.9rem;
    border-radius: 28px;
  }

  .brand img {
    width: 150px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.25rem;
    padding: 0.65rem;
    border: 1px solid rgba(230, 177, 81, 0.18);
    border-radius: 24px;
    background: rgba(0, 8, 41, 0.94);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: center;
    min-height: 3rem;
    border-radius: 16px;
    font-size: 0.95rem;
  }

  .site-nav a::after {
    display: none;
  }

  .notice-modal {
    padding: 1rem;
    align-items: center;
    justify-content: center;
  }

  .notice-modal-dialog {
    width: 100%;
    max-width: 26rem;
    padding: 1.5rem;
    border-radius: 24px;
    margin: 0 auto;
    left: auto;
    transform: none;
  }

  .notice-modal-content h2 {
    padding-right: 2.5rem;
    text-align: center;
  }

  .notice-modal-content > p,
  .notice-modal-info,
  .notice-modal-info-item {
    text-align: center;
  }

  .notice-modal-actions .button {
    width: 100%;
  }

  .section {
    padding: 4.85rem 0;
  }

  .section-light {
    padding-top: 4.2rem;
    padding-bottom: 4.8rem;
  }

  .conditions-section {
    padding-top: 5rem;
    padding-bottom: 5.2rem;
  }

  .cta-banner-section {
    padding: 5rem 0;
  }

  .cta-banner-media {
    background-attachment: scroll;
    background-position: calc(50% - 200px) center;
  }

  .final-cta-media {
    background-attachment: scroll;
    background-position: calc(50% - 200px) top;
  }

  .cta-banner-card {
    padding: 2rem;
  }

  .hero-grid,
  .location-grid,
  .three-cols,
  .four-cols,
  .treatments-feature-grid,
  .treatments-list,
  .timeline,
  .about-grid,
  .footer-grid,
  .footer-bottom,
  .highlight-box,
  .dark-quote {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  #estrutura .section-heading,
  #estrutura .card,
  #estrutura .card p,
  #estrutura .card h3 {
    text-align: center;
  }

  #estrutura .section-heading {
    margin-left: auto;
    margin-right: auto;
  }

  #estrutura .card-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .conditions-section .light-card,
  .conditions-section .light-card h3,
  .conditions-section .light-card p {
    text-align: center;
  }

  .conditions-section .light-card .card-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials-carousel {
    display: block;
    padding: 0;
  }

  .testimonials-track {
    grid-auto-columns: 100%;
  }

  .carousel-button {
    display: none;
  }

  .patient-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clinic-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 7.25rem;
  }

  .hero-grid {
    gap: 0.75rem;
    justify-items: start;
  }

  .hero-copy {
    width: min(100%, 17.5rem);
  }

  .hero-media img {
    object-position: calc(50% - 80px) top;
  }

  .hero-copy h1 {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .hero-copy .lead {
    margin-bottom: 0.9rem;
  }

  .hero-copy .hero-actions {
    margin-top: 0;
  }

  .hero h1 {
    max-width: 100%;
    text-align: left;
  }

  .hero-copy .lead,
  .hero-copy .hero-actions {
    text-align: left;
  }

  .hero-copy .lead {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-copy .hero-actions {
    justify-content: flex-start;
  }

  .hero-copy .button {
    width: 100%;
  }

  .about-grid {
    gap: 2.25rem;
  }

  .about-video-card {
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
  }

  .about-copy,
  .about-copy p {
    text-align: center;
  }

  .treatment-card,
  .treatment-card p,
  .treatment-card h3 {
    text-align: left;
  }

  .treatment-card {
    min-height: 22rem;
  }

  .treatment-icon {
    margin-left: 0;
    margin-right: 0;
  }

  .faq-list summary {
    font-size: 1.28rem;
  }

  .cta-box,
  .card,
  .timeline article {
    padding: 1.75rem;
  }


  .site-footer,
  .site-footer h3,
  .site-footer p,
  .site-footer a,
  .footer-bottom {
    text-align: center;
  }

  .footer-brand {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-item {
    justify-content: center;
  }

  .footer-bottom {
    align-items: center;
  }

  .timeline article {
    padding-left: 4.75rem;
  }
}
