/* Derma C — sections: styles that belong to one section of the page,
   in page order. Shared pieces live in components.css. */

/* ==================== Header ==================== */

.site-header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(248,244,239,0.96); /* --cream at 96% */
  border-bottom:1px solid var(--line);
}
.site-header__inner{
  padding-top:18px;
  padding-bottom:18px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px 32px;
}
.site-header__cta{padding:0 22px}

.brand{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:var(--ink);
  line-height:1.1;
}
.brand__logo{display:block;align-self:flex-start;height:26px;width:auto}
.brand__tagline{
  margin-top:6px;
  font-size:9px;
  font-weight:600;
  letter-spacing:0.3em;
  text-transform:uppercase;
  color:var(--ink-muted);
}

.site-nav{
  display:flex;
  flex-wrap:wrap;
  gap:4px 28px;
  font-size:14px;
  font-weight:500;
}
.site-nav a{
  text-decoration:none;
  color:var(--ink);
  padding:10px 0;
  transition:color 0.2s ease;
}
.site-nav a:hover{color:var(--rose)}
/* The section currently on screen (set by main.js) */
.site-nav a.is-active{
  color:var(--rose);
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:8px;
}

/* ==================== Hero ==================== */

.hero{
  padding-top:88px;
  padding-bottom:72px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:56px;
}
.hero__content{
  flex:1 1 480px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.hero__title{
  margin:0;
  font-family:var(--font-display);
  font-weight:400;
  font-size:3.75rem;
  line-height:1.02;
  letter-spacing:-0.5px;
}
.hero__lede,
.hero__text{margin:0;max-width:520px;color:var(--ink-muted)}
.hero__lede{font-size:18px}
.hero__text{font-size:16px}
.hero__actions{padding-top:8px}

.hero__visual{flex:1 1 420px;min-width:0;position:relative}
.hero__media{
  height:600px;
  padding:24px;
  border-radius:280px 280px 16px 16px;
  text-align:center;
}
.hero__image{
  display:block;
  width:100%;
  padding:0;
  object-fit:cover;
  object-position:45% center;
  background:var(--sand-strong);
}
/* Floating stat badges over the hero photo */
.hero__stat{
  position:absolute;
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:20px 24px;
  background:var(--surface);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-soft);
}
.hero__stat--years{left:-24px;bottom:40px}
.hero__stat--rating{right:-24px;top:120px}
.hero__stat-number{
  font-family:var(--font-display);
  font-size:44px;
  font-weight:500;
  line-height:1;
  color:var(--rose);
}
.hero__stat-label{font-size:13px;color:var(--ink-muted)}

/* ==================== Highlights strip ==================== */

/* A floating card rather than a full-width band */
.highlights{
  width:calc(100% - 64px);
  max-width:1200px;
  margin:0 auto;
  background:var(--sand);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
}
.highlights__inner{
  padding-top:40px;
  padding-bottom:40px;
  display:flex;
  flex-wrap:wrap;
  gap:32px;
}
.highlight{
  flex:1 1 280px;
  min-width:0;
  display:flex;
  align-items:flex-start;
  gap:16px;
}
.highlight__title{margin:0 0 4px;font-size:16px;font-weight:700}
.highlight__text{margin:0;font-size:15px;color:var(--ink-muted)}

/* ==================== Featured treatments ==================== */

.featured .section-head{margin-bottom:40px}

.treatment-card{
  flex:1 1 250px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:16px;
  text-decoration:none;
  color:var(--ink);
}
.treatment-card__media{
  height:320px;
  padding:16px;
  border-radius:var(--radius-md);
  text-align:center;
}
.treatment-card__image{
  display:block;
  width:100%;
  padding:0;
  object-fit:cover;
  background:var(--sand-strong);
}
.treatment-card .kicker{margin-bottom:4px}
.treatment-card__title{
  margin:0;
  font-family:var(--font-display);
  font-size:28px;
  font-weight:500;
}

/* ==================== About: story ==================== */

.about__inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:64px;
}
/* Two photos: the team wide across the top, the treatment shot overlapping
   its lower right corner. */
.about__media{
  flex:1 1 400px;
  min-width:0;
  height:520px;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-template-rows:repeat(6,minmax(0,1fr));
}
.about__photo{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  background:var(--sand-strong);
}
.about__photo--main{
  grid-column:1 / 7;
  grid-row:1 / 5;
  border-radius:var(--radius-lg);
}
.about__photo--detail{
  grid-column:3 / 7;
  grid-row:4 / 7;
  object-position:15% center;
  border:6px solid var(--sand);
  border-radius:16px 16px 120px 16px;
  box-shadow:var(--shadow-soft);
}
.about__content{
  flex:1 1 480px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.about__promise{
  margin:8px 0 0;
  padding-top:20px;
  border-top:1px solid var(--line);
  font-family:var(--font-display);
  font-size:24px;
  font-style:italic;
  color:var(--rose);
}

/* ==================== About: approach ==================== */

.steps{display:flex;flex-wrap:wrap;gap:0}
.step{
  flex:1 1 260px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:32px 28px;
  border-top:1px solid var(--ink);
}
.step__number{
  font-family:var(--font-display);
  font-size:40px;
  line-height:1;
  color:var(--rose);
}
.step__title{margin:0;font-size:20px;font-weight:700}
.step__text{margin:0;font-size:15px;color:var(--ink-muted)}

/* ==================== Doctors (ink band) ==================== */

/* An inset panel, not an edge-to-edge band. The side margin steps down in
   mobile.css: 50px desktop, 30px tablet, 10px mobile. */
.doctors{margin:0 50px;border-radius:var(--radius-lg)}

.doctor-grid{display:flex;flex-wrap:wrap;gap:32px}
.doctor-card{
  flex:1 1 440px;
  min-width:0;
  display:flex;
  flex-wrap:wrap;
  gap:28px;
  padding:28px;
  background:var(--ink-raised);
  border-radius:20px;
}
.doctor-card__photo{
  flex:0 0 200px;
  height:260px;
  padding:16px;
  border-radius:120px 120px 12px 12px;
  background:#4A3D35; /* no token yet: photo backdrop on ink */
  text-align:center;
}
.doctor-card__image{
  display:block;
  width:200px;
  padding:0;
  object-fit:cover;
  object-position:center top;
}
.doctor-card__body{
  flex:1 1 200px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.doctor-card__name{
  margin:0;
  font-family:var(--font-display);
  font-size:32px;
  font-weight:500;
}
.doctor-card__credentials{margin:0;font-size:13px;color:var(--pink)}

/* ==================== Services ==================== */

/* Two columns: heading and intro on the left (sticky while the list scrolls),
   the accordion on the right. "What to Expect" sits below, outside the grid,
   so the sticky heading stops at the end of the list. */
.services__columns{
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  column-gap:64px;
  align-items:start;
}
.services .section-head{
  display:block;
  margin:0;
  position:sticky;
  top:120px;
}
.services .section-head__col + .section-head__col{margin-top:20px}

/* Accordion: one service open at a time (see main.js) */
.service-list{border-top:1px solid var(--line)}
.service-row{border-bottom:1px solid var(--line);scroll-margin-top:100px}
.service-row__title{
  margin:0;
  font-family:var(--font-display);
  font-size:26px;
  font-weight:500;
  line-height:1.2;
}
/* A <span> in the markup; main.js swaps in a real <button> */
.service-row__trigger{
  display:flex;
  align-items:center;
  gap:20px;
  width:100%;
  min-height:80px;
  padding:22px 0;
  text-align:left;
}
button.service-row__trigger{
  background:none;
  border:0;
  color:inherit;
  cursor:pointer;
}
button.service-row__trigger:hover .service-row__name{color:var(--rose)}
button.service-row__trigger::after{
  content:"+";
  flex:0 0 24px;
  font-family:var(--font-sans);
  font-size:26px;
  font-weight:400;
  text-align:center;
  color:var(--rose);
}
button.service-row__trigger[aria-expanded="true"]::after{content:"\2212"}
.service-row__number{flex:0 0 40px;font-weight:400;color:var(--rose)}
.service-row__name{flex:1 1 auto}

/* Panel content lines up under the service name (40px number + 20px gap) */
.service-row__subtitle{
  margin:0 0 12px 60px;
  font-size:14px;
  font-weight:600;
  color:var(--rose);
}
.service-row__body{margin-left:60px}
.service-row__body--stack{display:flex;flex-direction:column;gap:16px}
.service-row > .btn{margin:16px 0 28px 60px}

/* Collapsed rows. Only under .js, so every service shows without JavaScript.
   .is-closing keeps the panel rendered while main.js animates it shut. */
.js .service-row:not(.is-open):not(.is-closing) .service-row__subtitle,
.js .service-row:not(.is-open):not(.is-closing) > .service-row__body,
.js .service-row:not(.is-open):not(.is-closing) > .btn{display:none}

/* Named treatments inside a service row */
.option-grid{display:flex;flex-wrap:wrap;gap:12px}
.option-card{
  flex:1 1 200px;
  min-width:0;
  padding:16px 18px;
  background:var(--sand);
  border-radius:12px;
}
.option-card__title{margin:0;font-size:15px;font-weight:700}
.option-card__text{margin:4px 0 0;font-size:14px;color:var(--ink-muted)}

/* What to Expect panel */
.expect{
  margin-top:64px;
  padding:48px 40px;
  background:var(--sand);
  border-radius:var(--radius-lg);
}
.expect__title{
  margin:0 0 32px;
  font-family:var(--font-display);
  font-size:34px;
  font-weight:500;
}
.expect__steps{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}
.expect__step{flex:1 1 220px;min-width:0;display:flex;gap:14px}
.expect__badge{
  flex:0 0 36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--rose);
  color:var(--on-rose);
  font-size:14px;
  font-weight:700;
}
.expect__step-title{margin:0;font-weight:700}
.expect__step-text{margin:2px 0 0;font-size:15px;color:var(--ink-muted)}
.expect__note{
  margin:32px 0 0;
  font-size:13px;
  font-style:italic;
  color:var(--ink-muted);
}

/* ==================== Products ==================== */

.product-card{
  flex:1 1 260px;
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:var(--surface);
  border-radius:var(--radius-md);
}
.product-card__media{height:240px;background:var(--sand)}
.product-card__body{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:24px;
}
.product-card__title{
  margin:0;
  font-family:var(--font-display);
  font-size:26px;
  font-weight:500;
}
.product-card__text{margin:0;font-size:14px;color:var(--ink-muted)}
.product-card__meta{
  display:flex;
  justify-content:space-between;
  padding-top:8px;
  border-top:1px solid var(--sand);
  font-size:14px;
}
.product-card__price{font-weight:700}

/* "Need help choosing?" banner */
.help-banner{
  margin-top:40px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:32px 36px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:20px;
}
.help-banner__text{flex:1 1 360px;min-width:0}
.help-banner__title{
  margin:0;
  font-family:var(--font-display);
  font-size:30px;
  font-weight:500;
}
.help-banner__copy{margin:6px 0 0;color:var(--ink-muted)}
.help-banner .btn{padding:0 22px;font-size:14px}

/* ==================== Testimonials ==================== */

.testimonial{
  flex:1 1 300px;
  min-width:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:20px;
  padding:32px;
  background:var(--surface);
  border-radius:20px;
}
.testimonial__quote{
  margin:0;
  font-family:var(--font-display);
  font-size:22px;
  line-height:1.4;
}
.testimonial__source{font-size:14px;color:var(--ink-muted)}
.testimonial__source strong{color:var(--ink)}

/* Before/after row */
.proof-grid{max-width:960px;margin:48px auto 0}
.proof{
  flex:1 1 360px;
  min-width:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.proof__image{
  display:block;
  width:100%;
  height:auto;
  border-radius:20px;
  box-shadow:var(--shadow-soft);
}
.proof__caption{margin:0;font-size:14px;font-weight:600}
.proof__caption-note{font-weight:400;color:var(--ink-muted)}

/* ==================== Branches ==================== */

.branch-card{
  flex:1 1 340px;
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:var(--surface);
  border-radius:20px;
}
.branch-card__media{height:200px}
.branch-card__image{
  display:block;
  width:100%;
  object-fit:cover;
  object-position:30% 72%;
  background:var(--sand-strong);
}
.branch-card__image--mati{object-position:center 52%}
.branch-card__image--tagum{object-position:center 60%}
.branch-card__email{overflow-wrap:anywhere}
.branch-card__body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:28px;
}
.branch-card__title{
  margin:0;
  font-family:var(--font-display);
  font-size:30px;
  font-weight:500;
}
.branch-card__meta{display:flex;flex-wrap:wrap;gap:24px}
.branch-card__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}
.branch-card .btn{padding:0 18px}

/* ==================== Contact ==================== */

.contact{display:flex;flex-wrap:wrap;gap:64px}
.contact__info{
  flex:1 1 380px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.contact-list{
  display:flex;
  flex-direction:column;
  gap:0;
  border-top:1px solid var(--line);
}
.contact-list__item{padding:18px 0;border-bottom:1px solid var(--line)}
.contact-list__value{margin:4px 0 0;font-size:18px;font-weight:600}
.contact-list__email{color:var(--ink);overflow-wrap:anywhere;transition:color .2s}
.contact-list__email:hover{color:var(--rose)}
.social-links{display:flex;gap:20px;margin-top:6px}
.social-links a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-weight:600;
}

/* Inquiry form */
.inquiry-form{
  flex:1 1 520px;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:40px;
  background:var(--surface);
  border-radius:var(--radius-lg);
}
.inquiry-form__title{
  margin:0 0 4px;
  font-family:var(--font-display);
  font-size:32px;
  font-weight:500;
}
.form-row{display:flex;flex-wrap:wrap;gap:18px}
.field{display:flex;flex-direction:column;gap:6px}
.form-row .field{flex:1 1 220px;min-width:0}
.field__label{font-size:13px;font-weight:600}
.field__optional{font-weight:400;color:var(--ink-muted)}
.field__control{
  min-height:48px;
  padding:0 14px;
  background:var(--cream);
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:10px;
}
select.field__control{padding:0 12px}
textarea.field__control{min-height:auto;padding:12px 14px;resize:vertical}
.consent{display:flex;align-items:flex-start;gap:12px}
.consent__checkbox{
  width:20px;
  height:20px;
  margin:2px 0 0;
  accent-color:var(--rose);
}
.consent__label{font-size:13px;color:var(--ink-muted)}
.inquiry-form__submit{
  min-height:52px;
  border:0;
  border-radius:var(--radius-pill);
  background:var(--rose);
  color:var(--on-rose);
  font-size:16px;
  font-weight:600;
  cursor:pointer;
}
.inquiry-form__submit:disabled{opacity:.7;cursor:progress}
.inquiry-form__note{
  margin:0;
  font-size:13px;
  color:var(--ink-muted);
  text-align:center;
}
/* Honeypot field for spam bots: kept out of sight and out of the tab order */
.inquiry-form__trap{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.inquiry-form{position:relative}
.inquiry-form__status{
  margin:0;
  padding:14px 16px;
  border-radius:10px;
  font-size:14px;
  background:var(--blush);
  color:var(--ink);
}
.inquiry-form__status--error{background:var(--sand);border-left:3px solid var(--rose)}
/* After a successful send the fields are replaced by the thank-you message */
.inquiry-form.is-sent{align-self:flex-start}
.inquiry-form.is-sent > :not(.inquiry-form__title):not(.inquiry-form__status){display:none}

/* ==================== Footer ==================== */

.site-footer__inner{
  padding-top:72px;
  padding-bottom:32px;
  display:flex;
  flex-direction:column;
  gap:40px;
}
.site-footer__top{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
}
.site-footer__brand{display:flex;flex-direction:column;gap:8px}
.site-footer__logo{display:block;align-self:flex-start;height:36px;width:auto;margin-bottom:4px}
.site-footer__brand-tag{
  font-size:10px;
  font-weight:600;
  letter-spacing:0.3em;
  text-transform:uppercase;
  color:var(--on-ink-muted);
}
.site-footer__tagline{
  margin:12px 0 0;
  font-family:var(--font-display);
  font-size:22px;
  font-style:italic;
}
.site-footer__since{margin:0;font-size:13px;color:var(--pink)}
.site-footer__nav{display:flex;flex-wrap:wrap;gap:4px 24px;font-size:14px}
.site-footer__nav a{
  color:var(--cream);
  text-decoration:none;
  padding:10px 0;
  transition:color 0.2s ease;
}
/* On ink the accent is the logo pink, not rose */
.site-footer__nav a:hover{color:var(--pink)}
.site-footer__bottom{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:16px;
  padding-top:24px;
  border-top:1px solid #4A3D35; /* no token yet: hairline on ink */
  font-size:13px;
  color:var(--on-ink-muted);
}
.site-footer__legal{display:flex;gap:20px}
.site-footer__legal a{color:var(--on-ink-muted);transition:color 0.2s ease}
.site-footer__legal a:hover{color:var(--pink)}

/* ---------- Privacy Policy page (privacy.html) ---------- */
.legal{max-width:760px;color:var(--ink-muted);line-height:1.75}
.legal p{margin:0 0 16px}
.legal__title{margin:12px 0 8px;color:var(--ink)}
.legal__updated{font-size:0.875rem;margin-bottom:40px}
.legal__heading{
  margin:40px 0 12px;
  font-family:var(--font-display);
  font-weight:500;
  font-size:1.5rem;
  line-height:1.25;
  color:var(--ink);
}
.legal__list{margin:0 0 16px;padding-left:20px}
.legal__list li{margin-bottom:6px}
.legal a:not(.btn){color:var(--rose);text-decoration:underline;text-underline-offset:3px}
.legal a:not(.btn):hover{color:var(--rose-deep)}
.legal__email{overflow-wrap:anywhere}
.legal__back{margin-top:48px}
.site-footer__legal a[aria-current="page"]{color:var(--on-ink)}
