:root {
  --brown: #8e532b;
  --copper: #b57346;
  --cream: #fff3f0;
  --sand: #f8ece7;
  --muted: #646b70;
  --ink: #513c34;
}

body { color: var(--muted); }
.topbar { height: 48px; padding: 0 5%; border-bottom: 0; }
.logo { color: #5b3a2f; font-size: 23px; letter-spacing: -2px; }
.logo small { font-size: 6px; margin-top: 6px; letter-spacing: 2px; }
.nav { gap: 34px; font-size: 13px; color: #614b40; }
.nav .pill { padding: 5px 16px; border-color: #614b40; }
.btn { padding: 9px 20px; min-height: 38px; font-size: 11px; letter-spacing: .2px; border-color: var(--brown); }
.btn.primary { background: var(--brown); color: white; border-color: var(--brown); }
.btn.primary:hover { background: var(--copper); border-color: var(--copper); }
.btn.outline { color: var(--brown); border-color: var(--brown); }
.btn.glass { border-color: rgba(255,255,255,.65); }
.btn span:empty { display: none; }
.eyebrow { color: var(--copper); font-size: 12px; letter-spacing: 1.4px; font-weight: 500; }
.eyebrow:before { width: 35px; }
h2, h3 { color: var(--copper); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.45; }
h3 { font-size: 21px; }
p { line-height: 1.65; }
.section { padding: 105px 5%; }
.section-head h2 { max-width: 830px; }
.section-head p, .split p, .intro p, .service-card p, .step p, .skin-note p { color: var(--muted); }
.image-frame, .gallery figure { border-radius: 20px; }
.image-frame { min-height: 460px; }
.image-frame.portrait { height: 540px; }
.editorial-card { border-radius: 16px; }
.service-card { border-radius: 16px; overflow: hidden; }
.wide-feature { background: var(--brown); }
.wide-feature h2, .cta h2, .page-hero h1, .page-hero h2 { color: white; }
.cta { background: var(--brown); padding: 72px 5%; }
.cta .eyebrow { color: #f7dfd1; }
.footer { background: #6b412d; }
.page-hero { position: relative; min-height: 470px; overflow: hidden; }
.page-hero .inner { position: relative; z-index: 1; }
.page-hero .eyebrow { border-radius: 50px; background: rgba(255,255,255,.17); padding: 9px 16px; letter-spacing: .6px; }
.page-hero .eyebrow:before { width: 6px; height: 6px; border-radius: 50%; background: #e6c79a; }
.page-hero::before { content: ''; position: absolute; left: 5%; top: 13%; width: 290px; height: 290px; border-radius: 50%; background: radial-gradient(circle,transparent 0 63px,rgba(255,255,255,.16) 64px 65px,transparent 66px 103px,rgba(255,255,255,.13) 104px 105px,transparent 106px 142px,rgba(255,255,255,.12) 143px 144px,transparent 145px); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; right: 11%; bottom: 18%; width: 165px; height: 165px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; pointer-events: none; }
.page-hero.clinic { min-height: 700px; background-image: linear-gradient(90deg,rgba(137,82,45,.82),rgba(99,60,40,.47)),url('assets/clinic-entry-edited.png'); }
.page-hero.services { min-height: 650px; justify-content: flex-start; text-align: left; padding: 0 5%; background-image: linear-gradient(90deg,rgba(137,82,45,.83),rgba(91,58,43,.56)),url('assets/dr-ujile-editorial.png'); }
.page-hero.services .inner { width: min(690px,100%); }
.page-hero.services p { margin-left: 0; }
.page-hero.services::before { left: auto; right: 4%; }
.page-hero.guide { min-height: 580px; justify-content: flex-start; text-align: left; padding: 0 5%; background-image: linear-gradient(90deg,rgba(137,82,45,.9),rgba(91,58,43,.35)),url('assets/dr-ujile-eadv-edited.png'); }
.page-hero.guide .inner { width: min(700px,100%); }
.page-hero.guide p { margin-left: 0; }
.page-hero.guide::before { left: auto; right: 4%; }
.page-hero.appointment { min-height: 400px; background-image: linear-gradient(90deg,rgba(137,82,45,.82),rgba(91,58,43,.55)),url('assets/dr-ujile-award-edited.png'); background-position: center 16%; }
.page-hero.appointment h1 { font-weight: 500; }
.page-hero.appointment::before { left: auto; right: 4%; }
.page-hero h1 { font-size: clamp(48px, 5.8vw, 78px); }
.page-hero .eyebrow { color: white; }
.page-hero .eyebrow:before { background: white; }
.faq details[open] summary:after { content: '×'; }

/* Home page follows the reference's full image hero and broad editorial sections. */
.home-hero {
  min-height: 720px;
  background-image:
    linear-gradient(0deg, rgba(134, 82, 47, .42), transparent 42%),
    linear-gradient(90deg, rgba(70, 111, 116, .82), rgba(73, 111, 115, .52) 40%, transparent 72%),
    url('assets/dr-ujile-hero-new.png');
  background-position: center;
}
.home-hero .hero-inner { width: min(690px, 90%); padding: 64px 0; }
.home-hero h1 { font-size: clamp(58px, 6.25vw, 80px); line-height: 1.24; letter-spacing: -.015em; margin: 0 0 32px; }
.home-hero p { max-width: 570px; font-size: 16px; font-weight: 500; line-height: 1.65; }
.home-hero .hero-actions { margin-top: 28px; }
.home-hero .hero-scroll { left: 50%; transform: translateX(-50%); }

.home-about { background: white; }
.home-about .split { grid-template-columns: 1.05fr 1fr; gap: 7%; }
.home-about-copy h2 { max-width: 620px; margin: 38px 0 45px; }
.home-about-copy p { font-size: 16px; margin-bottom: 22px; max-width: 575px; }
.home-about-note { border-left: 4px solid #e7d4c6; padding: 4px 0 4px 24px; margin: 48px 0 26px; color: var(--muted); line-height: 1.65; }
.clinic-photo { position: relative; height: 435px; min-height: 0; border-radius: 24px; box-shadow: 0 16px 35px rgba(62, 37, 27, .13); }
.clinic-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.clinic-badge { position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; background: rgba(255,255,255,.96); border-radius: 16px; padding: 13px 21px; box-shadow: 0 8px 22px rgba(40,25,20,.12); }
.clinic-badge strong { color: var(--brown); font-size: 13px; font-weight: 600; }
.clinic-badge span { font-size: 12px; }

.home-team { display: grid; grid-template-columns: minmax(300px, 42%) minmax(320px, 42%); justify-content: space-between; align-items: center; gap: 7%; background: white; }
.team-intro h2 { margin: 45px 0; }
.team-intro p { max-width: 415px; font-size: 16px; }
.team-intro .btn { margin-top: 25px; }
.team-card { position: relative; height: 510px; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 30px rgba(55,35,27,.12); }
.team-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 23%; transition: transform .7s ease; }
.team-card:hover img { transform: scale(1.05); }
.team-card figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.95); display: flex; flex-direction: column; }
.team-card figcaption strong { color: var(--brown); font-size: 13px; font-weight: 600; }
.team-card figcaption span { color: var(--muted); font-size: 11px; }

.home-services { background: #fff3f0; }
.home-services-head { display: flex; justify-content: space-between; align-items: start; gap: 40px; }
.home-services-head h2 { max-width: 700px; margin: 32px 0 0; }
.home-services-head .btn { flex: none; }
.service-columns { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 34px; align-items: center; margin: 65px 0 40px; }
.service-list { display: flex; flex-direction: column; gap: 68px; }
.service-group { position: relative; padding-left: 44px; }
.service-number { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #f5dfd4; color: var(--copper); font-size: 17px; }
.service-group h3 { margin: 0 0 16px; font-size: 20px; line-height: 1.3; }
.service-group p { font-size: 15px; max-width: 270px; margin: 0 0 16px; }
.service-group a, .home-all-services { color: var(--brown); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid var(--brown); padding-bottom: 3px; }
.service-centre-image { position: relative; height: 480px; overflow: hidden; }
.service-centre-image img { width: 100%; height: 100%; object-fit: cover; }
.service-centre-image span { position: absolute; left: 20px; right: 20px; bottom: 22px; display: flex; align-items: center; gap: 10px; color: white; font-size: 14px; }
.service-centre-image i { flex: 1; height: 1px; background: rgba(255,255,255,.65); }
.home-all-services { display: table; margin: 5px auto 0; }

.home-questions { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; }
.questions-intro h2 { margin: 36px 0 15px; }
.questions-intro p { max-width: 300px; }
.home-questions .faq { width: 100%; }
.home-questions .faq summary { color: var(--brown); }

@media (max-width: 900px) {
  .nav { gap: 17px; font-size: 11px; }
  .home-team { grid-template-columns: 1fr 1fr; gap: 5%; }
  .service-columns { gap: 18px; }
  .service-group { padding-left: 35px; }
  .service-group h3 { font-size: 18px; }
}

@media (max-width: 700px) {
  .topbar { height: 52px; }
  .logo { font-size: 19px; }
  .nav { top: 52px; gap: 15px; font-size: 12px; }
  .menu { padding: 5px 9px; font-size: 11px; }
  .section { padding: 65px 6%; }
  h2 { font-size: 29px; line-height: 1.32; }
  .page-hero { min-height: 410px; }
  .page-hero.clinic { min-height: 560px; }
  .page-hero.services, .page-hero.guide { min-height: 540px; padding: 0 6%; }
  .page-hero.appointment { min-height: 360px; }
  .page-hero::before { width: 170px; height: 170px; opacity: .6; }
  .page-hero::after { width: 95px; height: 95px; }
  .page-hero h1 { font-size: 41px; }
  .btn { padding: 8px 14px; min-height: 36px; font-size: 10.5px; }
  .home-hero { min-height: 655px; align-items: end; background-image: linear-gradient(0deg,rgba(42,76,79,.96),rgba(42,76,79,.54) 49%,transparent 86%),url('assets/dr-ujile-hero-new.png'); background-position: 69% center; }
  .home-hero .hero-inner { margin-left: 6%; width: 88%; padding: 40px 0; }
  .home-hero h1 { font-size: clamp(36px, 9vw, 44px); line-height: 1.17; margin: 0 0 26px; }
  .home-hero p { font-size: 14px; max-width: 315px; }
  .home-hero .hero-actions { gap: 8px; }
  .home-about .split, .home-team, .home-questions { grid-template-columns: 1fr; }
  .home-about-copy h2 { margin: 24px 0; }
  .home-about-note { margin: 30px 0 20px; }
  .clinic-photo { height: 350px; margin-top: 35px; }
  .home-team { gap: 35px; }
  .team-intro h2 { margin: 25px 0; }
  .team-card { height: 480px; }
  .home-services-head { display: block; }
  .home-services-head h2 { margin: 20px 0 22px; }
  .service-columns { grid-template-columns: 1fr; margin-top: 40px; }
  .service-list { gap: 35px; }
  .service-centre-image { height: 360px; order: -1; margin-bottom: 18px; }
  .service-group p { max-width: none; }
  .home-questions { gap: 25px; }
}

/* Dermatology markers replace ornamental strokes, counters and generic symbols. */
.eyebrow:before, .page-hero .eyebrow:before {
  width: 20px; height: 20px; flex: none; border-radius: 0;
  background: url('assets/icon-cell.svg') center/contain no-repeat;
}
.page-hero .eyebrow:before, .cta .eyebrow:before { filter: brightness(0) invert(1); }
.home-about .eyebrow:before, .clinic .eyebrow:before { background-image: url('assets/icon-layers.svg'); }
.home-team .eyebrow:before, .guide .eyebrow:before { background-image: url('assets/icon-follicle.svg'); }
.home-services .eyebrow:before, .services .eyebrow:before { background-image: url('assets/icon-scope.svg'); }
.home-questions .eyebrow:before, .appointment .eyebrow:before { background-image: url('assets/icon-cell.svg'); }
.service-icon { display: block; width: 31px; height: 31px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.service-group .service-icon { position: absolute; left: 0; top: 0; }
.icon-layers { background-image: url('assets/icon-layers.svg'); }
.icon-follicle { background-image: url('assets/icon-follicle.svg'); }
.icon-cell { background-image: url('assets/icon-cell.svg'); }
.icon-scope { background-image: url('assets/icon-scope.svg'); }
.service-row .service-icon { align-self: center; }
.editorial-card > span { display: inline-flex; align-items: center; gap: 10px; }
.editorial-card > span:before { content: ''; width: 18px; height: 18px; background: url('assets/icon-cell.svg') center/contain no-repeat; }
.editorial-card:nth-child(2) > span:before { background-image: url('assets/icon-scope.svg'); }
.editorial-card:nth-child(3) > span:before { background-image: url('assets/icon-layers.svg'); }
.editorial-card:nth-child(4) > span:before { background-image: url('assets/icon-follicle.svg'); }
.skin-note:nth-child(1) .eyebrow:before { background-image: url('assets/icon-scope.svg'); }
.skin-note:nth-child(2) .eyebrow:before { background-image: url('assets/icon-layers.svg'); }
.skin-note:nth-child(3) .eyebrow:before { background-image: url('assets/icon-cell.svg'); }
.menu { align-items: center; gap: 6px; }
.menu-icon { display: inline-block; width: 18px; height: 18px; vertical-align: middle; background: url('assets/icon-layers.svg') center/contain no-repeat; }
.faq summary:after, .faq details[open] summary:after { content: ''; display: inline-block; width: 22px; height: 22px; flex: none; margin-left: 14px; background: url('assets/icon-cell.svg') center/contain no-repeat; }
.faq details[open] summary:after { background-image: url('assets/icon-scope.svg'); }
.label-line, .service-row, .service-row:last-child, .faq details, .footer-bottom, .skin-note, .step, .contact-list p, .proof { border: 0; }
.home-about-note, .quote { border: 0; }
.home-about-note { padding-left: 0; }
.quote { border-radius: 16px; }
.inline-link, .service-group a, .home-all-services { border: 0; text-decoration: none; }
.service-group a:hover, .home-all-services:hover, .inline-link:hover { color: var(--copper); }
.service-row { padding: 25px 18px; border-radius: 16px; background: #fff9f6; margin-bottom: 12px; }
.service-row:nth-child(even) { background: #fff3f0; }
.faq details { padding: 16px 18px; margin-bottom: 9px; background: #fff8f5; border-radius: 12px; }
.home-questions .faq details { background: #fff3f0; }
.contact-list p { padding: 12px 0; }
.footer-bottom { margin-top: 42px; }
.page-hero::after { display: none; }
@media (max-width: 700px) {
  .menu { display: inline-flex; }
  .eyebrow:before, .page-hero .eyebrow:before { width: 17px; height: 17px; }
  .service-icon { width: 27px; height: 27px; }
  .faq summary:after, .faq details[open] summary:after { width: 19px; height: 19px; }
  .home-hero .hero-inner { padding-bottom: 90px; }
}
