:root {
  --gold: #c39e3a;
  --teal: #5a888b;
  --dark: #1f1f1f;
  --text: #070d19;
  --light: #f5f5f5;
  --heading: 'Cormorant', serif;
  --body: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); background: #fff; font-size: 16px; line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1500px; margin: 0 auto; padding: 0 30px; }
.section_padding { padding: 80px 0; }
.pt_0 { padding-top: 0; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 700; color: var(--dark); }
h1 { font-size: 64px; line-height: 1.12; }
h2 { font-size: 48px; line-height: 1.25; margin-bottom: 30px; }
h3 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 18px; line-height: 1.4; }
p, li { font-size: 16px; line-height: 1.75; }
p + p { margin-top: 16px; }
.sub_title { font-family: var(--heading); font-size: 24px; font-weight: 600; color: var(--teal); }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: 3px; border: 1px solid transparent; font-family: var(--body); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; text-align: center; cursor: pointer; transition: opacity .3s; }
.btn:hover { opacity: .85; }
.btn_gold { background: var(--gold); color: #fff; }
.btn_teal { background: var(--teal); color: #fff; }
.btn_outline { border-color: #ccc; color: #5c5c5c; text-transform: none; }
.btn_outline i { color: var(--gold); margin-right: 6px; }
.link_arrow { display: inline-block; margin-top: 20px; font-family: var(--heading); font-size: 20px; font-weight: 700; color: var(--teal); }

/* Header */
.top_bar { display: block; padding: 10px 30px; background: var(--dark); color: #fff; font-size: 13px; font-weight: 600; text-align: center; text-transform: uppercase; }
.header { position: sticky; top: 0; z-index: 10; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.header_inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.header_logo { width: 190px; flex-shrink: 0; }
.header_cta { display: flex; gap: 12px; white-space: nowrap; }
.header_nav ul { display: flex; gap: 24px; }
.header_nav a { font-size: 13px; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.header_nav a:hover { color: var(--gold); }
.menu_toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--dark); cursor: pointer; }
section[id] { scroll-margin-top: 90px; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 85vh; overflow: hidden; background: var(--dark); color: #fff; text-align: center; }
.hero_video { position: absolute; inset: 0; overflow: hidden; background: url(lp-images/hero-poster.jpg) center / cover; }
.hero_video::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.hero_video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 151.12vh); height: max(100%, 56.25vw); border: 0; transform: translate(-50%, -50%); pointer-events: none; }
.hero_content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 100px; padding-bottom: 100px; }
.hero_logo { width: 160px; margin-bottom: 20px; }
.hero h1 { color: #fff; max-width: 700px; }
.hero_tagline { margin: 20px 0 30px; font-size: 19px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* Reviews */
.reviews { background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .96)), url(lp-images/icon-main.webp) right center / contain no-repeat; }
.review_tabs { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-bottom: 30px; border-bottom: 1px solid #ddd; }
.review_tab { margin-bottom: -1px; padding: 0 0 12px; background: none; border: 0; border-bottom: 2px solid transparent; font-family: var(--heading); font-size: 20px; font-weight: 600; color: var(--dark); cursor: pointer; }
.review_tab.active, .review_tab:hover { border-color: var(--gold); color: var(--gold); }
.review_slider { padding: 6px 4px 50px; }
.review_card { display: flex; flex-direction: column; height: 430px; padding: 40px; background: var(--light); box-shadow: 0 0 3px 1px rgba(0, 0, 0, .07); }
.review_card h3 { margin-bottom: 4px; }
.review_stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; margin-bottom: 16px; }
.review_text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.review_read_more { align-self: flex-start; margin-top: 12px; background: none; border: 0; font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--teal); text-decoration: underline; cursor: pointer; }
.review_logo { width: 110px; margin-top: auto; padding-top: 16px; }
.review_open .review_text { display: block; flex: 1; min-height: 0; overflow-y: auto; padding-right: 8px; }
.review_text::-webkit-scrollbar { width: 4px; }
.review_text::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.swiper-pagination-bullet-active { background: var(--gold); }
.review_arrow { top: calc(50% - 25px); width: 44px; height: 44px; background: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); color: var(--gold); }
.review_arrow svg { width: 10px; }

/* Office tour */
.tour img { width: 100%; }
.tour .swiper-button-prev, .tour .swiper-button-next { color: #fff; }

/* Layout */
.split { display: flex; align-items: center; gap: 50px; }
.split > * { flex: 1 1 0; min-width: 0; }
.flex_row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.col_2 > * { flex: 0 0 calc((100% - 30px) / 2); }
.col_3 > * { flex: 0 0 calc((100% - 60px) / 3); }
.col_4 > * { flex: 0 0 calc((100% - 90px) / 4); }

/* Team */
.team_quote { font-family: var(--heading); font-size: 24px; font-style: italic; line-height: 1.5; padding-bottom: 30px; border-bottom: 1px solid #ddd; }
.team_quote::before { content: '\201C'; display: block; font-size: 60px; line-height: .8; }
.affiliations { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 30px 0 40px; }
.affiliations img { width: 80px; }
.doctor_links { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 30px; }
.doctor_links li { flex: 0 0 calc((100% - 30px) / 2); }
.doctor_links button { background: none; border: 0; font-family: var(--heading); font-size: 20px; font-weight: 700; color: var(--teal); cursor: pointer; }
.doctor_links button:hover { color: var(--gold); }

/* Doctor popup */
body:has(.doctor_popup[open]) { overflow: hidden; }
.doctor_popup { width: calc(100% - 40px); max-width: 1100px; max-height: calc(100% - 40px); margin: auto; padding: 50px; border: 0; color: var(--text); overflow-y: auto; }
.doctor_popup::backdrop { background: rgba(0, 0, 0, .7); }
.doctor_popup .split { display: block; }
.doctor_popup .split > img { float: left; width: calc(50% - 25px); margin: 0 50px 20px 0; }
.doctor_popup h2 { font-size: 36px; margin-bottom: 20px; }
.doctor_popup h3 { margin: 24px 0 10px; color: var(--teal); }
.popup_close { position: sticky; top: -30px; float: right; margin: -30px -20px 0 0; background: none; border: 0; font-size: 36px; line-height: 1; color: var(--dark); cursor: pointer; }
.popup_list { margin-top: 10px; padding-left: 20px; list-style: disc; overflow: hidden; }
.fun_fact { display: flex; gap: 16px; margin-top: 16px; }
.fun_fact img { width: 40px; flex-shrink: 0; }
.fun_fact p { margin: 0; }
.doctor_popup .affiliations { clear: both; margin: 40px 0 10px; padding-top: 30px; border-top: 1px solid #ddd; }
.doctor_popup .affiliations img { width: 120px; }

/* Services */
.services { background: var(--light); }
.service_card { display: flex; overflow: hidden; background: #fff; text-align: center; box-shadow: 0 0 3px 1px rgba(0, 0, 0, .07); }
.service_slide { position: relative; flex: 1; display: flex; flex-direction: column; padding: 40px 30px; transition: transform .5s ease; }
.service_front { flex: 1; transition: opacity .5s ease; }
.service_toggle { margin-top: 20px; background: none; border: 0; font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--teal); cursor: pointer; }
.service_toggle i { margin-left: 6px; font-size: 13px; }
.service_back { position: absolute; top: 100%; left: 30px; right: 30px; max-height: var(--shift); overflow-y: auto; }
.service_open { transform: translateY(calc(-1 * var(--shift))); }
.service_open .service_front { opacity: 0; }
.service_card img { width: 72px; margin: 0 auto 20px; padding: 16px; background: #5c5c5c; border-radius: 50%; }

/* Location */
.location { background: linear-gradient(rgba(235, 235, 235, .7), rgba(235, 235, 235, .7)), url(lp-images/icon-white.webp) left center / contain no-repeat; }
.map { width: 100%; min-height: 600px; border: 0; }
.hours { margin-top: 20px; }
.hours li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #d5d5d5; }
.hours span { font-weight: 600; }
.note { font-size: 14px; margin: 10px 0 16px; }

/* Insurance */
.insurance { background: var(--dark); color: #fff; text-align: center; }
.insurance p { max-width: 760px; margin: 0 auto 30px; }
.insurance h2 { color: #fff; }
.insurance_form { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 760px; margin: 40px auto 0; text-align: left; }
.form_field { position: relative; flex: 0 0 100%; }
.form_half { flex-basis: calc((100% - 30px) / 2); }
.insurance_form input { width: 100%; padding: 16px 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); border-radius: 3px; color: #fff; font-family: var(--body); font-size: 16px; outline: none; transition: border-color .3s, background .3s; }
.insurance_form input::placeholder { color: rgba(255, 255, 255, .6); }
.insurance_form input:focus { border-color: var(--gold); background: rgba(255, 255, 255, .1); }
.form_error { display: none; position: absolute; top: 100%; left: 0; padding-top: 4px; font-size: 12px; line-height: 1.4; color: #ff8a80; }
.insurance_form .btn { margin-top: 6px; padding-left: 50px; padding-right: 50px; }

/* Features */
.features > div { padding-top: 24px; border-top: 1px solid #ddd; }

/* Safety */
.safety { display: flex; border: 14px solid var(--dark); }
.safety > * { flex: 1 1 0; }
.safety_content { padding: 50px 40px; background: var(--light); }
.safety_content .btn { margin-top: 30px; }
.safety_list { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 50px 40px; }
.safety_list li { font-family: var(--heading); font-size: 22px; font-weight: 700; }
.safety_list i { margin-right: 12px; font-size: 16px; }

/* CTA */
.cta { text-align: center; background: linear-gradient(rgba(249, 249, 249, .95), rgba(249, 249, 249, .95)), url(lp-images/icon-dark.webp) center / contain no-repeat; }

/* Footer */
.footer { padding: 60px 0 30px; border-top: 1px solid #eee; }
.footer_row > * { flex: 1 1 0; }
.footer_row > :first-child { flex-grow: 1.2; }
.footer h3 { font-size: 20px; padding-bottom: 10px; border-bottom: 1px solid #ddd; margin-bottom: 20px; }
.footer h4 { margin-top: 14px; }
.footer p, .footer li { font-size: 14px; }
.footer_links li { padding: 4px 0; text-transform: uppercase; }
.footer a:hover { color: var(--gold); }
.social { display: flex; gap: 16px; margin-top: 6px; }
.footer_nav { display: flex; flex-wrap: wrap; gap: 0 30px; }
.footer_nav li { flex: 0 0 calc((100% - 30px) / 2); }
.footer_bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; text-align: center; }
.footer_bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; text-align: left; }
.footer_legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer_legal li { text-transform: uppercase; }
.footer_simple { padding: 30px 0; border-top: 1px solid #eee; }
.footer_simple_inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; }
.footer_logo { width: 190px; }
.footer_simple p { font-size: 14px; color: #777; }
.mobile_cta { display: none; }

/* Responsive */
@media (max-width: 1599px) {
  .container { max-width: 1360px; }
  .header_cta .btn_outline { display: none; }
}

@media (max-width: 1199px) {
  .container { max-width: 991px; }
  .header_cta { margin-left: auto; }
  .header_cta .btn_outline { display: inline-block; }
  .menu_toggle { display: block; }
  .header_nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 30px 20px; background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
  .menu_open .header_nav { display: block; }
  .header_nav ul { flex-direction: column; gap: 0; }
  .header_nav a { display: block; padding: 12px 0; border-bottom: 1px solid #eee; }
  h1 { font-size: 54px; }
  h2 { font-size: 40px; }
  .col_4 > * { flex-basis: calc((100% - 30px) / 2); }
}

@media (max-width: 991px) {
  .section_padding { padding: 60px 0; }
  h1 { font-size: 46px; }
  h2 { font-size: 36px; margin-bottom: 24px; }
  .split { flex-direction: column; align-items: stretch; gap: 40px; }
  .safety { flex-direction: column; }
  .col_3 > * { flex-basis: calc((100% - 30px) / 2); }
  .map { min-height: 350px; }
}

@media (max-width: 767px) {
  .container { max-width: 100%; }
  body { padding-bottom: 52px; }
  .section_padding { padding: 50px 0; }
  h1 { font-size: 38px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
  .col_3 > *, .footer_row > * { flex: 0 0 100%; }
  .hero { display: block; min-height: 0; }
  .hero_video { position: relative; padding-top: 56.25%; }
  .hero_video::after { display: none; }
  .hero_video iframe { width: 100%; height: 100%; }
  .hero_content { padding-top: 50px; padding-bottom: 50px; }
  .hero_tagline { font-size: 16px; }
  .review_card { height: 410px; padding: 30px; }
  .doctor_popup { padding: 40px 20px; }
  .doctor_popup .split > img { float: none; width: 100%; margin: 0 0 30px; }
  .doctor_popup h2 { font-size: 28px; }
  .popup_close { margin: -30px -10px 0 0; }
  .doctor_links li { flex-basis: 100%; }
  .safety_content, .safety_list { padding: 40px 24px; }
  .header_cta .btn_gold { display: none; }
  .form_half { flex-basis: 100%; }
  .footer_bar { flex-direction: column; text-align: center; }
  .footer_legal { justify-content: center; }
  .mobile_cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; border-radius: 0; }
}

@media (max-width: 575px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .btn { width: 100%; max-width: 100%; }
  .top_bar { font-size: 11px; }
  .header_cta { display: none; }
  .footer_simple_inner { flex-direction: column; text-align: center; }
  .header_logo { width: 170px; }
  .col_2 > *, .col_4 > * { flex-basis: 100%; }
}
