/* Front page based on Figma Beranda / Overlay (1440 × 2555). */
.home .wp-site-blocks { padding: 0; }
.home .wp-site-blocks > * { margin: 0; }
.upt-landing { --landing-green: #203e35; --landing-yellow: #e6d15a; color: #212121; font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.5; overflow: clip; }
.upt-landing * { box-sizing: border-box; }
.upt-landing a { color: inherit; }
.upt-landing-icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.upt-landing svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.upt-landing-inner { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
/* Extend the page gradient behind the transparent header. */
.upt-landing-top { position: relative; isolation: isolate; }
.upt-landing-top::before { content: ""; position: absolute; inset: -100px 0 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #b4dbbb 0%, #b9dec0 32%, #ecf4ed 70%, #fff 100%); }

/* Header */
.upt-landing-header { height: 100px; position: relative; z-index: 10; background: transparent; }
.upt-landing-header-row { height: 100%; display: flex; align-items: center; gap: 42px; }
.upt-landing-brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; min-width: 205px; height: 50px; }
.upt-landing-brand img { display: block; width: 205px; height: 50px; object-fit: contain; }
.upt-landing-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(21px, 2.7vw, 41px); margin-left: auto; white-space: nowrap; }
.upt-landing-nav a { font-size: 16px; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.upt-landing-nav a:hover, .upt-landing-nav a[aria-current="page"] { border-bottom-color: #111; }
.upt-landing-chevron { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 8px; }
.upt-landing-language { flex: none; margin-left: 18px; }
.upt-landing-menu-toggle { display: none; }

/* Hero */
.upt-landing-hero { min-height: 396px; border-radius: 20px; display: flex; align-items: center; overflow: hidden; isolation: isolate; position: relative; background: #a9cbc1 url('../images/landing-hero.webp') center 22% / 125% auto no-repeat; }
.upt-landing-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(204,235,219,.50), rgba(209,238,221,.40)); }
.upt-landing-hero-copy { padding: 35px 50px 38px; max-width: 760px; }
.upt-landing-hero h1 { color: var(--landing-green); font-size: 34px; line-height: 1.22; letter-spacing: -.035em; font-weight: 750; margin: 0 0 18px; }
.upt-landing-hero p { color: var(--landing-green); font-size: 20px; line-height: 1.5; font-weight: 500; margin: 0 0 29px; }
.upt-landing-hero-actions { display: flex; gap: 14px; }
.upt-landing-hero-actions a { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--landing-green); color: #fff; border-radius: 9px; padding: 4px 14px; text-decoration: none; font-size: 20px; white-space: nowrap; }
.upt-landing-hero-actions a:hover { background: #102b22; }
.upt-landing-hero-actions svg { width: 19px; height: 19px; stroke-width: 2.4; }

/* Services */
.upt-landing-services { padding-top: 61px; }
.upt-landing-services h2 { margin: 0 0 27px; color: var(--landing-green); font-size: 34px; line-height: 1.2; font-weight: 750; text-align: center; }
.upt-landing-service-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.upt-landing-service-grid::-webkit-scrollbar { display: none; }
.upt-landing-service { min-width: 0; min-height: 223px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-radius: 12px; padding: 20px; background: rgba(255,255,255,.52); text-decoration: none; scroll-snap-align: start; }
.upt-landing-service-icon { display: grid; place-items: center; width: 33px; height: 36px; background: #4c6a60; color: #e5c812; border-radius: 4px; margin-bottom: 16px; }
.upt-landing-service-icon svg { width: 23px; height: 23px; }
.upt-landing-service-logo { display: block; width: auto; max-width: 100%; height: 33px; margin-bottom: 16px; }
.upt-landing-service strong { display: block; color: #222; font-size: 23px; line-height: 1.25; font-weight: 750; margin-bottom: 11px; }
.upt-landing-service > span:last-child { font-size: 18px; line-height: 1.45; }
.upt-landing-slider-mark { display: block; appearance: none; width: 100px; height: 20px; border: 0; border-radius: 999px; background: #fff; margin: 20px auto 25px; cursor: pointer; }
.upt-landing-slider-mark::-webkit-slider-thumb { appearance: none; width: 50px; height: 20px; border: 0; border-radius: 999px; background: var(--landing-green); }
.upt-landing-slider-mark::-moz-range-thumb { width: 50px; height: 20px; border: 0; border-radius: 999px; background: var(--landing-green); }
.upt-landing-slider-mark:focus-visible, .upt-landing-service-grid:focus-visible { outline: 3px solid var(--landing-green); outline-offset: 3px; }

/* Staff */
.upt-landing-doctors { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 30px; min-height: 446px; }
.upt-landing-doctor-tabs { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.upt-landing-doctor-tabs button { display: flex; align-items: center; gap: 12px; width: 100%; height: 55px; border-radius: 8px; border: 2px solid var(--landing-green); padding: 8px 14px; color: var(--landing-green); background: transparent; font: 400 19px/1.3 "Plus Jakarta Sans", system-ui, sans-serif; cursor: pointer; text-align: left; white-space: nowrap; }
html[lang="en-US"] .upt-landing-doctor-tabs button { height: auto; min-height: 55px; font-size: 16px; line-height: 1.15; white-space: normal; }
.upt-landing-doctor-tabs button[aria-selected="true"], .upt-landing-doctor-tabs button:hover { background: var(--landing-green); color: #fff; }
.upt-landing-doctor-tabs svg { width: 21px; height: 21px; }
/* JS adds one green pill that slides behind the active tab; without JS the button fill above stays. */
.upt-landing-doctor-tabs.has-indicator { position: relative; }
.upt-landing-doctor-tabs.has-indicator button { position: relative; z-index: 1; }
.upt-landing-doctor-tabs.has-indicator button[aria-selected="true"]:not(:hover) { background: transparent; }
.upt-landing-tab-indicator { position: absolute; top: 0; left: 0; border-radius: 8px; background: var(--landing-green); pointer-events: none; }
.upt-landing-staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px 30px; }
.upt-landing-staff { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: start; gap: 28px; min-width: 0; }
.upt-landing-staff img { width: 180px; height: 181px; object-fit: cover; background: #fff; border-radius: 11px; }
.upt-landing-staff h3 { color: var(--landing-green); font-size: clamp(23px, 2.2vw, 34px); font-weight: 750; line-height: 1.22; white-space: nowrap; margin: 4px 0 14px; letter-spacing: -.03em; }
.upt-landing-schedule { display: grid; justify-items: center; width: max-content; min-width: 185px; margin: 0 0 0 25px; border-radius: 11px; overflow: hidden; color: #fff; font-size: 20px; text-align: center; }
.upt-landing-schedule b { background: var(--landing-green); padding: 10px 20px; width: 100%; font-weight: 750; white-space: nowrap; }
.upt-landing-schedule span { background: #b9c2be; padding: 20px 17px; width: 100%; white-space: nowrap; }
.upt-landing-staff-panel[hidden] { display: none; }
.upt-landing-staff-panel:not(#upt-staff-0) { align-self: start; }

/* History, contact, footer */
.upt-landing-about { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 45px; padding: 65px 20px 51px; border-bottom: 3px solid var(--landing-green); }
.upt-landing-about h2 { font-size: 38px; line-height: 1.25; letter-spacing: -.035em; font-weight: 600; margin: 0 0 34px; color: var(--landing-green); }
.upt-landing-about strong { display: block; color: #202020; font-size: clamp(100px, 13vw, 194px); line-height: .83; letter-spacing: -.06em; font-weight: 750; }
.upt-landing-about p { color: #545454; font-size: 31px; line-height: 1.55; font-weight: 400; margin: 0 0 0; }
.upt-landing-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; padding-top: 58px; padding-bottom: 60px; }
.upt-landing-contact h2 { color: #1f302b; margin: 0 0 21px; font-size: 38px; line-height: 1.2; font-weight: 650; letter-spacing: -.03em; }
.upt-landing-contact-copy > p { max-width: 640px; color: #555; font-size: 23px; line-height: 1.55; margin: 0 0 17px; }
.upt-landing-contact ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.upt-landing-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; line-height: 1.4; color: var(--landing-green); }
/* Pin drawn as a 20px green badge to match the WhatsApp/Instagram PNG icons. */
.upt-landing-contact li svg { flex: none; box-sizing: border-box; width: 20px; height: 20px; margin-top: -2px; padding: 3px; border-radius: 50%; background: var(--landing-green); fill: #fff; stroke: var(--landing-green); }
.upt-landing-contact li img { width: 20px; height: 20px; margin-top: -2px; flex: none; }
.upt-landing-contact li a { text-decoration: underline; }
.upt-landing-contact-actions { display: flex; gap: 20px; }
.upt-landing-contact-actions > a, .upt-landing-chat-action { display: inline-flex; align-items: center; gap: 18px; min-height: 45px; padding: 5px 13px; border-radius: 9px; background: var(--landing-yellow); color: var(--landing-green); font-size: 20px; text-decoration: none; white-space: nowrap; }
.upt-landing-contact-actions .upt-landing-chat-action { gap: 10px; min-height: 46px; padding: 8px 12px; border-radius: 8px; background: #e7d061; }
.upt-landing-chat-action img { display: block; width: 24px; height: 24px; flex: none; }
.upt-landing-contact-actions > a:hover, .upt-landing-chat-action:hover { background: #d4bc37; }
.upt-landing-map { align-self: start; height: 376px; overflow: hidden; border: 1px solid #ccc; border-radius: 11px; }
.upt-landing-map iframe { border: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.upt-landing-footer { border-top: 2px solid var(--landing-green); }
.upt-landing-footer-grid { display: grid; grid-template-columns: .85fr 1fr 1.3fr 1.25fr; gap: 32px; padding: 27px 0 58px; border-bottom: 2px solid var(--landing-green); }
.upt-landing-footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.upt-landing-footer h2 { color: var(--landing-green); font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 6px; }
.upt-landing-footer-grid a, .upt-landing-footer-grid p { color: var(--landing-green); font-size: 12px; line-height: 1.5; text-decoration: none; margin: 0; }
.upt-landing-footer-grid a:hover { text-decoration: underline; }
.upt-landing-footer-grid .upt-landing-footer-contact { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; text-decoration: underline; }
.upt-landing-footer-contact img { width: 24px; height: 20px; object-fit: contain; flex: none; }
.upt-landing-copyright { padding: 18px 0 12px; color: var(--landing-green); font-size: 12px; font-weight: 700; }

.upt-landing-hours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 60px; }
.upt-landing-hours-card { display: flex; align-items: center; gap: 16px; min-height: 172px; padding: 24px 16px; border-radius: 12px; background: #223d35; color: #fff; }
.upt-landing-hours-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 8px; background: rgba(255,255,255,.2); }
.upt-landing-hours-icon svg { width: 26px; height: 26px; fill: none; stroke: #e5c812; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.upt-landing-hours h2 { margin: 0 0 12px; color: #fff; font-size: 24px; line-height: 1.25; font-weight: 750; }
.upt-landing-hours p { margin: 0; font-size: 20px; line-height: 1.4; }
@media (max-width: 1190px) {
  .upt-landing-header-row { gap: 20px; }
  .upt-landing-nav { gap: 20px; }
  .upt-landing-nav a { font-size: 14px; }
  .upt-landing-language { margin-left: 0; }
  .upt-landing-staff { grid-template-columns: 145px minmax(0,1fr); gap: 18px; }
  .upt-landing-staff img { width: 145px; height: 145px; }
  .upt-landing-staff h3 { white-space: normal; }
  .upt-landing-schedule { margin-left: 0; font-size: 16px; min-width: 150px; }
}
@media (max-width: 900px) {
  .upt-landing-hero { background-size: cover; background-position: center 43%; }
  .upt-landing-top::before { top: -78px; }
  .upt-landing-inner { width: min(100% - 40px, 700px); }
  .upt-landing-header { height: 78px; }
  .upt-landing-menu-toggle { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 7px; background: var(--landing-green); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
  .upt-landing-menu-toggle span { width: 21px; height: 2px; background: currentColor; }
  .upt-landing-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; margin: 0; padding: 15px 20px 25px; background: #b4dbbb; box-shadow: 0 15px 20px rgba(32,62,53,.12); white-space: normal; }
  .upt-landing-nav.is-open { display: grid; gap: 6px; }
  .upt-landing-nav a { width: max-content; font-size: 17px; }
  .upt-landing-language { margin-left: 0; }
  .upt-landing-service-grid { grid-auto-columns: calc((100% - 20px) / 2); }
  .upt-landing-doctors { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; gap: 25px; }
  .upt-landing-doctor-tabs { flex-direction: row; overflow-x: auto; gap: 10px; }
  .upt-landing-doctor-tabs button { width: auto; flex: none; padding-inline: 13px; font-size: 16px; }
  .upt-landing-staff-grid { gap: 24px; }
  .upt-landing-staff { grid-template-columns: 110px 1fr; }
  .upt-landing-staff img { width: 110px; height: 125px; }
  .upt-landing-about p { font-size: 22px; }
  .upt-landing-contact { grid-template-columns: 1fr; }
  .upt-landing-map { order: -1; }
  .upt-landing-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .upt-landing-hours { grid-template-columns: 1fr; gap: 12px; }
  .upt-landing-hours-card { min-height: 0; }
  .upt-landing-hours h2 { font-size: 19px; margin-bottom: 6px; }
  .upt-landing-hours p { font-size: 16px; }
  .upt-landing-inner { width: calc(100% - 32px); }
  .upt-landing-brand { min-width: 0; transform: scale(.8); transform-origin: left center; margin-right: -42px; }
  .upt-landing-language { display: block; }
  .upt-landing-hero { min-height: 510px; align-items: flex-end; background-position: 54% center; }
  .upt-landing-hero::before { background: linear-gradient(0deg, rgba(213,239,220,.92), rgba(213,239,220,.64) 56%, rgba(213,239,220,.13)); }
  .upt-landing-hero-copy { padding: 28px 25px; }
  .upt-landing-hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .upt-landing-hero p { font-size: 16px; }
  .upt-landing-desktop-break { display: none; }
  .upt-landing-hero-actions { flex-wrap: wrap; gap: 8px; }
  .upt-landing-hero-actions a { font-size: 15px; }
  .upt-landing-services { padding-top: 48px; }
  .upt-landing-services h2 { font-size: 29px; }
  .upt-landing-service-grid { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  .upt-landing-service { min-height: 170px; padding: 15px; }
  .upt-landing-service-icon { margin-bottom: 12px; }
  .upt-landing-service strong { font-size: 18px; }
  .upt-landing-service > span:last-child { font-size: 13px; }
  .upt-landing-staff-grid { grid-template-columns: 1fr; }
  .upt-landing-staff { grid-template-columns: 130px 1fr; }
  .upt-landing-staff img { width: 130px; height: 140px; }
  .upt-landing-staff h3 { font-size: 24px; }
  .upt-landing-schedule { min-width: 140px; }
  .upt-landing-schedule span { padding: 12px; }
  .upt-landing-about { grid-template-columns: 1fr; gap: 24px; padding: 50px 0 35px; }
  .upt-landing-about h2 { font-size: 27px; margin-bottom: 15px; }
  .upt-landing-about strong { font-size: 105px; }
  .upt-landing-about p { font-size: 18px; line-height: 1.5; }
  .upt-landing-contact { gap: 30px; padding-block: 40px; }
  .upt-landing-contact h2 { font-size: 30px; }
  .upt-landing-contact-copy > p { font-size: 18px; }
  .upt-landing-contact-actions { gap: 10px; flex-wrap: wrap; }
  .upt-landing-contact-actions > a, .upt-landing-chat-action { font-size: 16px; }
  .upt-landing-map { height: 260px; }
  .upt-landing-footer-grid { gap: 30px 16px; }
  .upt-landing-footer h2 { font-size: 17px; }
}

/* Gentle entrance on both timed and manual staff-category changes. */
@media (prefers-reduced-motion: no-preference) {
  .upt-landing-staff-panel:not([hidden]) {
    animation: upt-staff-enter 420ms cubic-bezier(.2,.7,.2,1) both;
  }
  .upt-landing-doctor-tabs button {
    transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
  }
  .upt-landing-tab-indicator.is-ready { transition: transform 420ms cubic-bezier(.2,.7,.2,1), width 420ms cubic-bezier(.2,.7,.2,1), height 420ms cubic-bezier(.2,.7,.2,1); }
  @keyframes upt-staff-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Contact choices anchored to the Chat button. */
.upt-landing-chat-dropdown { position:relative; }
.upt-landing-chat-action { cursor:pointer; list-style:none; }
.upt-landing-chat-action::-webkit-details-marker { display:none; }
.upt-landing-chat-dropdown nav { position:absolute; top:calc(100% + 6px); right:0; z-index:65; min-width:164px; padding:4px 0; border:1px solid #e5e5e5; border-radius:4px; background:#fff; box-shadow:0 5px 16px #203e351a; }
.upt-landing-chat-dropdown nav a { display:flex; align-items:center; gap:10px; min-height:40px; padding:8px 12px; color:#222; font-size:13px; line-height:1.4; text-decoration:none; white-space:nowrap; }
.upt-landing-chat-dropdown nav a:hover { background:#f0f5f2; }
.upt-landing-chat-dropdown nav img { width:18px; height:18px; object-fit:contain; flex:none; }
@media(max-width:900px) { .upt-landing-chat-dropdown nav a { min-height:44px; } }
@media(prefers-reduced-motion:no-preference) {
 .upt-landing-chat-dropdown[open] nav { animation:upt-menu-in .18s ease-out; }
}
