/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  color: var(--navy);
  background: #fff;
  font-family: 'Manrope', sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
}

button:active,
.button:active {
  transform: scale(0.98);
}

ol, ul, menu {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* ---------- Custom Properties ---------- */
:root {
  --navy: #2b2e33;
  --teal: #111316;
  --pale: #f3f4f5;
  --body: #6a6f76;
  --line: #e1e3e6;
}

/* ---------- Typography ---------- */
p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.85;
}

h1, h2 {
  letter-spacing: -2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}

h2 {
  margin-bottom: 25px;
  font-size: 42px;
  line-height: 1.3;
}

h1 em,
h2 em {
  color: var(--teal);
  font-style: normal;
}

h3 {
  letter-spacing: -0.4px;
  font-size: 18px;
  font-weight: 700;
}

/* ---------- Layout ---------- */
.section {
  max-width: 1180px;
  margin: auto;
  padding: 64px 28px;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  letter-spacing: 2px;
  color: var(--teal);
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
}

.eyebrow > span {
  background: var(--teal);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  display: inline-block;
}

/* ---------- Button ---------- */
.button {
  background: var(--teal);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  cursor: pointer;
}

.button:hover {
  background: #000;
}

.button-outline {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

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

.actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  display: flex;
}

/* ---------- Text Link ---------- */
.text-link {
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  transition: gap 0.2s;
}

.text-link:hover {
  gap: 22px;
}

/* ---------- Header ---------- */
.site-header {
  z-index: 20;
  background: #fffffff7;
  border-bottom: 1px solid #eceef0;
  position: sticky;
  top: 0;
}

.header-inner {
  align-items: center;
  gap: 26px;
  max-width: 1336px;
  margin: auto;
  padding: 22px 36px;
  display: flex;
}

.brand {
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

.brand-logo {
  object-fit: cover;
  width: 214px;
  height: 72px;
  display: block;
}

.main-nav {
  gap: 24px;
  margin: auto;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.main-nav a:hover {
  color: var(--teal);
}

.header-phone {
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
}

.header-phone svg {
  color: var(--teal);
}

.header-cta {
  padding: 13px 17px;
  font-size: 10px;
}

.menu-toggle {
  color: var(--navy);
  background: transparent;
  border: 0;
  display: none;
}

.icon-close {
  display: none;
}

.menu-toggle.is-open .icon-menu {
  display: none;
}

.menu-toggle.is-open .icon-close {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(#f3f4f5 0%, #fff 72%);
  padding: 64px 28px 32px;
}

.hero-split {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 74px;
  max-width: 1180px;
  margin: auto;
  display: grid;
}

.hero-portrait {
  position: relative;
}

.hero-portrait img {
  border-radius: 14px;
  width: 100%;
  display: block;
}


.hero-copy {
  max-width: 580px;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero-copy h1 {
  letter-spacing: -2.4px;
  margin-bottom: 24px;
  font-size: 50px;
  line-height: 1.16;
}

.hero-copy .lead {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.hero-copy p {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.85;
}

.hero-copy .actions {
  justify-content: flex-start;
  margin-top: 28px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  grid-template-rows: 280px 280px;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.gallery-grid figure {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-grid img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.35s;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.gallery-grid figcaption,
.lightbox-caption {
  letter-spacing: 0.3px;
  color: var(--navy);
  background: #fffffff0;
  border-radius: 4px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 700;
}

.gallery-grid figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
}

.gallery-lightbox {
  --lightbox-image-inset-top: 64px;
  --lightbox-image-inset-inline: 80px;
  --lightbox-image-radius: 18px;
  --lightbox-control-size: 46px;
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 100vw;
  height: max-content;
  max-height: 100dvh;
  margin: auto;
  padding: var(--lightbox-image-inset-top) var(--lightbox-image-inset-inline) 24px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  overflow: visible;
}

.gallery-lightbox::backdrop {
  background: #111316c9;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox-figure {
  position: relative;
  width: fit-content;
  max-width: calc(100vw - var(--lightbox-image-inset-inline) - var(--lightbox-image-inset-inline));
  max-height: calc(100dvh - var(--lightbox-image-inset-top) - 24px);
  touch-action: pan-y;
}

.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - var(--lightbox-image-inset-top) - 24px);
  min-height: 0;
  object-fit: contain;
  border-radius: var(--lightbox-image-radius);
  box-shadow: 0 24px 80px #0006;
}

.lightbox-caption {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  z-index: 1;
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--lightbox-control-size);
  height: var(--lightbox-control-size);
  border: 2px solid #ffffff45;
  border-radius: 50%;
  background: #ffffff1c;
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: #ffffff38;
}

.lightbox-close {
  top: var(--lightbox-image-inset-top);
  right: var(--lightbox-image-inset-inline);
  transform: translate(50%, -50%);
  background: #3a3d42;
  border-color: #5a5e63;
}

.lightbox-close:hover {
  background: #4a4d52;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-previous {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

/* ---------- Services ---------- */
.services-section {
  background: var(--pale);
}

.section-heading {
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  margin-bottom: 34px;
  display: flex;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 0;
  font-size: 13px;
}

.desktop-break {
  display: inline;
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  display: grid;
}

.service-card {
  background: #fff;
  border: 1px solid #e3e5e8;
  border-radius: 12px;
  flex-direction: column;
  padding: 30px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
}

.service-card:hover {
  border-color: #b0b4ba;
  transform: translateY(-4px);
}

.service-top {
  color: var(--teal);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  display: flex;
}

.service-top > span {
  color: #c8ccd0;
  letter-spacing: -1px;
  font-size: 26px;
  font-weight: 500;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.4;
}

.service-items {
  flex-direction: column;
  gap: 9px;
  display: flex;
}

.service-items li {
  color: var(--body);
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
  display: flex;
}

.service-items li::before {
  content: "";
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-top: 7px;
}

.medical-note {
  text-align: center;
  margin: 27px 0 0;
  font-size: 10px;
  color: var(--body);
}

/* ---------- FAQ ---------- */
.faq-section {
  background: #f6f7f8;
}

.faq-layout {
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  display: grid;
}

.faq-layout > div > p {
  font-size: 13px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding: 23px 0;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  display: flex;
}

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

.faq-list summary::marker {
  display: none;
  content: "";
}

.faq-list summary svg {
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details p {
  padding-bottom: 13px;
  padding-right: 25px;
  font-size: 12px;
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--navy);
  color: #fff;
}

.contact-heading {
  text-align: center;
}

.contact-heading .eyebrow {
  color: #a8acb0;
  justify-content: center;
}

.contact-heading h2 {
  font-size: 45px;
}

.contact-heading h2 em {
  color: #b8bdc0;
}

.contact-heading p {
  color: #aeb3b8;
}

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

.button-white:hover {
  background: #e8eaec;
}

.contact-whatsapp {
  background: #3a3d42;
  border: 1px solid #5a5e63;
}

.contact-whatsapp:hover {
  background: #4a4d52;
}

.contact-info {
  border-top: 1px solid #45494f;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 36px;
  margin-top: 65px;
  padding-top: 38px;
  display: grid;
}

.contact-info > * {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

.info-title {
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  display: flex;
}

.info-title svg {
  color: #a8acb0;
}

.info-title h3 {
  font-size: 14px;
}

.contact-info p {
  color: #aeb3b8;
  max-width: 260px;
  font-size: 12px;
}

.contact-info dl {
  color: #aeb3b8;
  font-size: 11px;
}

.contact-info dl > div {
  justify-content: space-between;
  padding: 8px 0;
  display: flex;
}

.contact-info dd {
  color: #fff;
}

.clinic-map {
  display: block;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border: 0;
  border-radius: 9px;
}

.instagram-card {
  display: block;
  max-width: 300px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  transition: transform 0.2s, box-shadow 0.2s;
}

.instagram-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #0002;
}

.instagram-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.instagram-avatar-ring {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from -45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}

.instagram-avatar {
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.instagram-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.instagram-identity strong {
  font-size: 11px;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.instagram-identity span {
  color: var(--body);
  font-size: 10px;
  line-height: 1.5;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.instagram-follow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin-top: 10px;
  padding: 0 10px;
  border-radius: 6px;
  background: #0095f6;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: 1180px;
  margin: auto;
  padding: 24px 28px 30px;
  color: var(--body);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  line-height: 1.8;
  display: flex;
}

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp {
  background: var(--teal);
  color: #fff;
  z-index: 15;
  border: 3px solid #fff;
  border-radius: 50%;
  place-items: center;
  width: 52px;
  height: 52px;
  display: grid;
  position: fixed;
  bottom: 25px;
  right: 24px;
  box-shadow: 0 3px 15px #11131618;
  transition: transform 0.2s;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}

/* ---------- Mobile Contact Bar ---------- */
.mobile-contact {
  display: none;
}

/* ===================================================
   Responsive
   =================================================== */

@media (min-width: 1600px) {
  .hero-split {
    gap: 90px;
  }
}

@media (max-width: 1150px) {
  .header-phone {
    display: none;
  }
  .header-inner {
    gap: 20px;
    padding: 20px 28px;
  }
  .main-nav {
    gap: 20px;
  }
  .hero-split {
    gap: 50px;
  }
  .section {
    padding: 75px 28px;
  }
  .faq-layout {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .header-inner {
    justify-content: space-between;
    padding: 14px 20px;
  }
  .brand-logo {
    width: 155px;
    height: 52px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    place-items: center;
    width: 38px;
    height: 44px;
    display: grid;
  }
  .main-nav {
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 15px 25px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }
  .main-nav.is-open {
    flex-direction: column;
    gap: 0;
    display: flex;
  }
  .main-nav a {
    padding: 14px 0;
    font-size: 13px;
  }
  .hero {
    padding: 32px 18px 16px;
  }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy h1 {
    letter-spacing: -1.5px;
    font-size: 34px;
    line-height: 1.25;
  }
  .eyebrow {
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-size: 8px;
  }
  .hero-copy .lead {
    font-size: 13px;
  }
  .hero-copy p {
    font-size: 12px;
    line-height: 1.85;
  }
  .hero-copy .actions {
    flex-direction: column;
    max-width: 340px;
  }
  .section {
    padding: 48px 22px;
  }
  h2 {
    letter-spacing: -1.3px;
    font-size: 30px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 22px;
  }
  .gallery-grid {
    grid-template-rows: 200px 200px;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gallery-grid figcaption,
  .lightbox-caption {
    padding: 5px 8px;
    font-size: 10px;
  }
  .gallery-lightbox {
    --lightbox-image-inset-top: 60px;
    --lightbox-image-inset-inline: 48px;
    --lightbox-image-radius: 12px;
    --lightbox-control-size: 40px;
  }
  .lightbox-previous {
    left: 4px;
  }
  .lightbox-next {
    right: 4px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    border-radius: 9px;
    padding: 24px 20px;
  }
  .service-top {
    margin-bottom: 18px;
  }
  .service-top > span {
    font-size: 22px;
  }
  .service-card h3 {
    font-size: 15px;
    line-height: 1.4;
  }
  .service-items li {
    font-size: 11px;
  }
  .medical-note {
    text-align: left;
    line-height: 1.7;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-list summary {
    font-size: 12px;
  }
  .contact-heading h2 {
    font-size: 30px;
  }
  .contact-heading p {
    font-size: 13px;
  }
  .contact-heading .actions {
    flex-direction: column;
    max-width: 320px;
    margin: auto;
  }
  .contact-info {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 45px;
  }
  .contact-info p {
    max-width: 100%;
  }
  .floating-whatsapp {
    margin-bottom: 50px;
  }
  .site-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 24px 22px 90px;
  }
  .mobile-contact {
    z-index: 25;
    border-top: 1px solid var(--line);
    padding: 9px 13px calc(9px + env(safe-area-inset-bottom));
    background: #fff;
    gap: 9px;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .mobile-contact a {
    background: var(--pale);
    min-height: 44px;
    color: var(--navy);
    border-radius: 6px;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
  }
  .mobile-contact a:last-child {
    background: var(--teal);
    color: #fff;
  }
  .desktop-break {
    display: none;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}