/* Paradise Skin Clinic - matched to homepage screenshot */
:root {
  --black:  hsl(281.54, 19.4%, 13.14%);   /* dark plum text */
  --white:  #ffffff;
  --accent: #c9a283;                       /* warm tan from logo + footer links */
  --accent-soft: #d8b89d;
  --muted:  #6b6b6b;
  --line:   rgba(38,32,37,.12);
  --bg:     #ffffff;
  --text:   var(--black);

  --heading-font: "Playfair Display", "adonis-web", "Times New Roman", Georgia, serif;
  --body-font:    "Pontano Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --button-font:  "Inter", "adelle-sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max:       1400px;
  --header-h:  88px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Page fade-in / fade-out for soft transitions between pages */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
body {
  animation: pageFadeIn .55s ease both;
}
body.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease, color .2s ease; }
a:hover { opacity: .75; }

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
p  { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* ------------ Header ------------ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  color: var(--white);
}
.site-header.is-solid {
  position: sticky;
  background: var(--white);
  color: var(--black);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; height: var(--header-h);
  width: 100%; margin: 0; padding: 0 80px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 60px; width: auto; display: block; }
/* The wide logo is already in tan/cream colors, so no invert filter */

.primary-nav {
  display: flex; align-items: center; gap: 36px;
  font-family: var(--body-font);
  font-size: .95rem;
  margin-left: 48px;
  margin-right: auto;
}
.primary-nav a,
.primary-nav .has-submenu > button {
  background: none; border: 0; font: inherit; color: inherit;
  padding: 6px 0; cursor: pointer;
  position: relative;
}
.primary-nav a.active::after,
.primary-nav a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
}
.primary-nav .has-submenu { position: relative; }
.primary-nav .has-submenu::after {
  content: '';
  position: absolute;
  left: -22px;
  right: -22px;
  top: 100%;
  height: 16px;
  z-index: 1;
}
.primary-nav .submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); color: var(--black);
  min-width: 220px; padding: 10px 0; display: none;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  border: 1px solid var(--line);
  margin-top: 12px;
  z-index: 2;
}
.primary-nav .submenu a { display: block; padding: 10px 22px; white-space: nowrap; }
.primary-nav .submenu a::after { display: none; }
.primary-nav .has-submenu.is-open .submenu,
.primary-nav .has-submenu:hover .submenu,
.primary-nav .has-submenu:focus-within .submenu { display: block; }
.primary-nav .caret { font-size: .7em; margin-left: 4px; transition: transform .2s ease; display: inline-block; }
.primary-nav .has-submenu.is-open .caret,
.primary-nav .has-submenu:hover .caret { transform: rotate(180deg); }

.header-right { display: flex; align-items: center; gap: 16px; }

/* Filled circular social buttons in accent tan */
.social-link {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  border: 0;
}
.social-link:hover { background: var(--accent-soft); opacity: 1; }
.social-link svg { width: 22px; height: 22px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--body-font);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--white); opacity: 1; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-solid { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-solid:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

.menu-toggle {
  display: none; background: none; border: 0;
  font-size: 1.6rem; cursor: pointer; padding: 8px; color: inherit;
  z-index: 110; position: relative;
}
.menu-toggle.is-open {
  position: fixed;
  top: 20px;
  right: 22px;
  color: var(--black);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-open { display: none; }
.menu-toggle.is-open .icon-close { display: inline; }

/* ------------ Hero ------------ */
.hero {
  position: relative; width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;          /* text sits near the bottom */
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}
.hero img.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: saturate(.78) hue-rotate(-6deg) brightness(.96);
}
/* Per-page hero focal points */
/* Hide mobile-only menu extras on desktop */
.mobile-menu-logo,
.mobile-nav-bottom { display: none; }

body.page-teeth .hero img.hero-bg { object-position: 50% 25%; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.45) 100%);
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px 130px;          /* bottom padding lifts text off footer */
  text-align: left;
}
.hero h1, .hero h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.15;
  margin: 0 0 1.4rem;
  color: var(--white);
  max-width: 900px;
  letter-spacing: -.005em;
}
.hero h1 .underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}
.hero p {
  font-family: var(--body-font);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  max-width: 600px;
  color: rgba(255,255,255,.95);
  margin: 0;
}
.hero.hero-sm { min-height: 60vh; }
.hero.hero-sm .hero-content { padding-bottom: 80px; }

/* ------------ Sections ------------ */
.section { padding: 110px 0; }
.section-title { text-align: center; margin-bottom: 56px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; box-shadow: 0 28px 56px -22px rgba(38,32,37,.30), 0 12px 24px -14px rgba(38,32,37,.18); }
.split.reverse > :first-child { order: 2; }

.lead { font-size: 1.1rem; color: var(--text); }

/* Courses */
.course {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 64px; align-items: start;
  padding: 72px 0; border-top: 1px solid var(--line);
}
.course:first-of-type { border-top: 0; }
.course img { width: 100%; aspect-ratio: 5/3; object-fit: cover; border-radius: 18px; box-shadow: 0 28px 56px -22px rgba(38,32,37,.30), 0 12px 24px -14px rgba(38,32,37,.18); }
.course .meta {
  color: var(--accent); font-family: var(--button-font);
  letter-spacing: .14em; text-transform: uppercase;
  font-size: .8rem; margin-bottom: 8px;
}
.course ul { padding-left: 18px; }
.course li { margin-bottom: 12px; }

/* Pricing */
.price-section { margin-top: 56px; }
.price-section:first-child { margin-top: 0; }
.price-section h3 { text-align: center; margin-bottom: 8px; }
.price-section .subtitle { text-align: center; color: var(--muted); margin-bottom: 32px; font-size: .95rem; }

.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px; margin-top: 28px;
}
.price-card { border: 1px solid var(--line); padding: 32px 28px; background: #fbf6f1; }
.price-card h4 {
  text-align: center; margin-bottom: 18px;
  font-family: var(--button-font); letter-spacing: .14em;
  text-transform: uppercase; font-size: .85rem;
  color: var(--accent); font-weight: 600;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  padding: 10px 6px; text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .98rem; line-height: 1.4;
}
.price-table th { font-weight: 700; font-family: var(--body-font); }
.price-table td.price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table tr:last-child td { border-bottom: 0; }

.note { text-align: center; color: var(--muted); margin-top: 18px; font-style: italic; }
.cta-row { text-align: center; margin-top: 64px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.contact-info p { margin-bottom: .25em; }
.contact-info .label {
  color: var(--accent); font-family: var(--body-font);
  font-size: .75rem; text-transform: uppercase;
  letter-spacing: .18em; margin-top: 1.6em; margin-bottom: .3em;
}

form.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label {
  display: block; font-family: var(--body-font);
  font-size: .75rem; color: var(--muted);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: .14em;
}
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); background: var(--white);
  font: inherit; color: var(--text); border-radius: 0;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }

/* ------------ Footer ------------ */
.site-footer {
  background: var(--white);
  color: var(--black);
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.site-footer .footer-inner {
  width: 100%;
  margin: 0;
  padding: 0 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: .92rem;
}
.site-footer .brand {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--black);
  font-weight: 400;
  letter-spacing: 0;
}
.site-footer nav {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 18px;
}
.site-footer nav a,
.site-footer .socials a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer nav .sep { color: var(--accent); opacity: .8; }
.site-footer .socials { display: inline-flex; gap: 18px; align-items: center; }
.site-footer .copy { color: var(--muted); font-size: .82rem; width: 100%; text-align: center; margin-top: 8px; }

/* ------------ Responsive ------------ */
@media (max-width: 960px) {
  .header-inner { padding: 0 24px; }
  .site-footer .footer-inner { padding: 0 24px; }
  .menu-toggle { display: inline-flex; }
  .header-right .desktop-only { display: none; }
  .primary-nav { display: none; margin: 0; }

  /* Full-screen mobile menu */
  .primary-nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--white);
    color: var(--black);
    min-height: 100vh;
    min-height: 100svh;
    padding: 26px 28px 30px;
    gap: 0;
    margin: 0;
    animation: mobileMenuFade .35s ease both;
    text-align: center;
    overflow-y: auto;
  }
  @keyframes mobileMenuFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
  }
  .primary-nav.is-open .mobile-menu-logo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 4px 0 24px;
    padding-right: 42px;
  }
  .primary-nav.is-open .mobile-menu-logo img {
    width: min(240px, 68vw);
    height: auto;
  }
  .primary-nav.is-open > a:not(.mobile-menu-logo),
  .primary-nav.is-open > .has-submenu > button {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    padding: 10px 0;
    color: var(--black);
    line-height: 1.2;
    background: transparent;
  }
  .primary-nav.is-open a::after { display: none; }
  .primary-nav.is-open .has-submenu { width: 100%; margin: 6px 0 4px; }
  .primary-nav.is-open .has-submenu::after { display: none; }
  .primary-nav.is-open .has-submenu > button { pointer-events: none; }
  .primary-nav.is-open .has-submenu .caret { transform: rotate(180deg); }
  .primary-nav.is-open .submenu {
    position: static; transform: none;
    border: 0; box-shadow: none;
    display: block;
    padding: 2px 0 10px;
    background: transparent;
    color: var(--black);
    margin: 0;
    min-width: 0;
  }
  .primary-nav.is-open .submenu a {
    font-family: var(--body-font);
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 7px 0;
    color: var(--muted);
  }

  /* Bottom block: socials + CTA */
  .mobile-nav-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
  }
  .mobile-nav-bottom .mobile-socials { display: flex; gap: 16px; }
  .mobile-nav-bottom .social-link {
    width: 48px;
    height: 48px;
  }
  .mobile-nav-bottom .btn {
    width: 100%;
    max-width: 360px;
    padding: 18px 28px;
    font-size: 1rem;
  }

  /* Hide bottom block when menu is closed (so it doesn't render on desktop layout above) */
  .mobile-nav-bottom { display: none; }
  .primary-nav.is-open .mobile-nav-bottom { display: flex; }

  .split, .contact-grid, .course { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }

  /* Mobile hero: full-screen so footer is hidden until scroll */
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero .hero-content { padding: 0 24px 80px; }
  .hero.hero-sm { min-height: 66vh; }
  .hero.hero-sm .hero-content { padding: 0 24px 56px; }
  .hero.hero-sm h1,
  .hero.hero-sm h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.12;
    max-width: 92vw;
  }

  .site-footer .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
