/* ============================================================
   RECHARGE YOUR SKIN — Price List
   Palette derived from PSD homepage (00_RYS_home_V3)
   Fonts: Raleway (headings) + Open Sans (body)
   ============================================================ */

:root {
  --teal:       #43B8C2;
  --teal-mid:   #2B7A87;
  --teal-dark:  #1E5A6A;
  --teal-deep:  #152D35;
  --lime:       #8CC63F;
  --lime-light: rgba(140, 198, 63, 0.12);
  --bg-page:    #F4F9FA;
  --bg-alt:     #EAF3F5;
  --text:       #333333;
  --text-muted: #6E878C;
  --white:      #ffffff;
  --border:     rgba(67, 184, 194, 0.18);
  --footer-bg:  #3F6D79;
  --font-head:  'Raleway', sans-serif;
  --font-body:  'Open Sans', sans-serif;
  --max-w:      1100px;
  --radius:     6px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
sup { font-size: 0.65em; vertical-align: super; }

/* === CONTAINER === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-mid); }
.btn-light {
  background: var(--white);
  color: var(--teal-dark);
}
.btn-light:hover { background: var(--bg-alt); }

/* === HEADER === */
#top { scroll-margin-top: 0; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.site-logo { height: clamp(55px, 10vh, 95px); width: auto; }
.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-phone {
  font-family: var(--font-head);
  font-size: 0.875rem;
  color: var(--teal-dark);
  font-weight: 600;
  white-space: nowrap;
}
.header-phone:hover { color: var(--teal); }

/* === SECTION NAV === */
/* Desktop: nav sits inline between logo and CTA */
.section-nav {
  flex: 1;
  border: none;
  background: transparent;
  overflow: hidden;
}
.section-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.35rem;
  padding: 0.15rem 0.5rem;
}
.section-nav-link {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.section-nav-link:hover { background: var(--bg-alt); }

/* === HERO === */
.hero {
  position: relative;
  display: block;
  line-height: 0;
  font-size: 0;
  margin: 0;
  padding: 0;
}
.hero-wrap {
  position: relative;
  line-height: 0;
  width: 100%;
  overflow: hidden;
}
.hero-bg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  object-position: center center;
}
.hero-content {
  position: absolute;
  top: 18%;
  left: 53%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-sub {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: clamp(1.05rem, 2.1vw, 1.5rem);
  color: #fff;
  line-height: 1;
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
  letter-spacing: 0.06em;
}
.hero-headline {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: #fff;
  line-height: 1.05;
  margin: 0;
  text-shadow: 3px 4px 14px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.35);
  letter-spacing: 0.02em;
}
/* Tablet landscape (≤900px): shift group left to prevent overflow */
@media (max-width: 900px) {
  .hero-content { left: 45%; }
}

/* Tablet portrait (≤768px): scale text down, centre in dark teal area */
@media (max-width: 768px) {
  .hero-content { top: 20%; left: 52%; }
  .hero-sub  { font-size: 0.75rem; }
  .hero-headline { font-size: 1.65rem; letter-spacing: 0.01em; }
}

/* Mobile phones (≤600px): text scaled for narrow screens */
@media (max-width: 600px) {
  .hero-content { top: 20%; left: 57%; }
  .hero-sub  { font-size: 0.65rem; }
  .hero-headline { font-size: 1.25rem; letter-spacing: 0.01em; }
}

/* === PRICE LIST WRAPPER === */
.price-list {
  background: transparent;
  position: relative;
  z-index: 1;
  margin-top: -27vw;
}
.price-list > .container {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

/* Two-column layout: prices left, promos right */
.price-layout {
  display: grid;
  grid-template-columns: 1fr 272px;
  gap: 2.5rem;
  align-items: start;
}

/* Left column: all price sections */
.price-sections {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  min-width: 0;
}

/* Right column: sticky promo sidebar */
.promo-col {
  position: sticky;
  top: 170px; /* updated by JS to match actual header height */
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Promo cards */
.promo-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.10), 0 1px 6px rgba(0,0,0,0.06);
  padding: 1.4rem 1.5rem 1.5rem;
  border-top: 3px solid var(--teal);
}
.promo-tag {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}
.promo-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-dark);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.promo-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.promo-cta {
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Loading placeholder while JS fetches prices */
[data-prices]:empty {
  min-height: 3rem;
}
[data-prices]:empty::after {
  content: 'Loading…';
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
}

/* === CATEGORY === */
.category {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.10), 0 1px 6px rgba(0,0,0,0.06);
  overflow: hidden;
}
.category-title {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2.1rem 1.5rem 1.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 2px solid var(--teal);
}
.category-title i {
  font-size: 1rem;
  opacity: 0.85;
  flex-shrink: 0;
}
.from-label {
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}
.category-intro {
  padding: 1.25rem 1.5rem 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === TREATMENT GROUPS (Environ) === */
.treatment-group {
  border-top: 1px solid var(--border);
}
.treatment-group:first-of-type { border-top: none; }

.group-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(67, 184, 194, 0.06);
}
.group-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--teal-dark);
  margin-bottom: 0.2rem;
}
.group-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}
.group-price-badge {
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}
.group-price-badge .duration {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}
.group-price-badge .price {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal-dark);
  line-height: 1;
}

/* Treatment item list (Environ) */
.treatment-items { padding: 0.5rem 1.5rem 1rem; }
.treatment-items li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.treatment-items li:last-child { border-bottom: none; }
.t-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-dark);
}
.face-body {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.t-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Course offer callout */
.course-offer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  background: var(--lime-light);
  border-top: 1px solid rgba(140, 198, 63, 0.25);
  padding: 0.8rem 1.5rem;
}
.course-offer span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #5a7a20;
}

/* === PRICE ROWS (dotted leader) === */
.price-rows { padding: 0.75rem 1.5rem 1.25rem; }
.price-row {
  display: flex;
  align-items: baseline;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.price-row:last-child { border-bottom: none; }
.pr-name {
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
}
.waxing-sub-heading {
  padding: 0.85rem 0 0.35rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  letter-spacing: 0.03em;
  list-style: none;
}
.waxing-sub-heading:first-child { padding-top: 0.3rem; }

.pr-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
  margin-top: 0.1rem;
}
.pr-leader {
  flex: 1;
  border-bottom: 1.5px dotted rgba(0,0,0,0.18);
  margin: 0 0.5rem 0.22rem;
  min-width: 1.5rem;
}
.pr-price {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-dark);
  white-space: nowrap;
}

/* === LASER / IPL TABLE === */
.table-wrap {
  overflow-x: auto;
  margin: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}
.ipl-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.ipl-table thead tr {
  background: var(--teal-dark);
  color: var(--white);
}
.ipl-table th {
  padding: 0.75rem 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ipl-table th:not(:first-child) { text-align: center; }
.ipl-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.ipl-table td:not(:first-child) { text-align: center; }
.ipl-table tbody tr:not(.ipl-section-header):nth-child(even) { background: rgba(67,184,194,0.04); }
.ipl-table tbody tr:not(.ipl-section-header):hover { background: rgba(67,184,194,0.1); }
.ipl-section-header td {
  padding: 0.9rem 1rem 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  letter-spacing: 0.03em;
}
.ipl-section-header:first-child td { padding-top: 0.5rem; }
.ipl-table td.saving {
  font-weight: 700;
  color: #5a7a20;
}
.table-note {
  padding: 0.85rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  background: rgba(67,184,194,0.03);
}

/* === DERMALUX GRID === */
.dermalux-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.dermalux-sub {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--border);
}
.dermalux-sub:last-child { border-right: none; }
.dermalux-sub-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}
.dermalux-sub-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.dermalux-sub .price-rows { padding: 0; }

/* === CONTACT SECTION === */
.contact-section {
  position: relative;
  padding: 5rem 0;
  background: url('contact-bg.jpg') center / cover no-repeat;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(21, 45, 53, 0.72);
}
.contact-section .container {
  position: relative;
  z-index: 1;
}

/* Two-column layout: text left, card right */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contact-text { color: #fff; }
.contact-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 2rem 2.25rem 2.25rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.section-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.contact-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}
#contact-form { max-width: none; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
  font-family: var(--font-head);
  letter-spacing: 0.03em;
}
.req { color: var(--teal); }
.form-group input,
.form-group select {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #c8dde0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(67,184,194,0.15);
}
.form-group select { cursor: pointer; }
.form-group select option[value=""] { color: var(--text-muted); }
.form-group--full { grid-column: 1 / -1; }

/* Honeypot — invisible to real users, visible to bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.form-actions .btn { min-width: 148px; padding: 0.75rem 2rem; font-size: 0.95rem; }
.form-status {
  font-size: 0.88rem;
  font-weight: 600;
}
.form-status.success { color: #3a7a10; }
.form-status.error   { color: #c0392b; }

/* === PARTNERS === */
.partners-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-logo {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.25s;
}
.partner-logo:hover { filter: grayscale(0) opacity(1); }

/* === FOOTER === */
.site-footer {
  background-color: #3F6D79;
  color: #fff;
}
.footer-main {
  display: flex;
  align-items: flex-start;
}
.footer-swirl {
  margin-left: auto;
  flex-shrink: 0;
  height: auto;
  width: auto;
  opacity: 0.9;
  padding-top: 2.5rem;
}
.footer-cols {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2.5rem 0 2rem;
}
.footer-col { flex: 0 0 auto; }
.footer-col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: #fff;
  white-space: nowrap;
}
.footer-links { padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.2rem; }
.footer-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.68rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-si {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  font-size: 9px;
  flex-shrink: 0;
  color: #3F6D79;
  background: rgba(255,255,255,0.85);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding: 0.85rem 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.82);
}
.footer-bottom a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}
.footer-bottom a:hover { color: #fff; }

@media (max-width: 600px) {
  .footer-cols { flex-wrap: wrap; gap: 1.5rem; }
  .footer-col { flex: 1 1 40%; }
  .footer-swirl { height: 115px; width: auto; align-self: flex-end; margin-right: 0; margin-bottom: 1.25rem; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .dermalux-grid {
    grid-template-columns: 1fr;
  }
  .dermalux-sub {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .dermalux-sub:last-child { border-bottom: none; }
}

@media (max-width: 900px) {
  /* Price layout: single column, promos become horizontal scroll strip */
  .price-layout {
    grid-template-columns: 1fr;
  }

  /* Section nav: drop to its own full-width row below logo/CTA */
  .header-inner { flex-wrap: wrap; column-gap: 1rem; row-gap: 0; }
  .section-nav {
    order: 3;
    flex: 0 0 100%;
    background: var(--white);
    border-top: 1px solid var(--border);
    overflow: visible;
  }
  .section-nav-list {
    justify-content: flex-start;
    padding: 0.25rem 0;
    gap: 0.15rem 0.2rem;
  }
  .section-nav-link { padding: 0.2rem 0.45rem; font-size: 0.7rem; }

  /* Promo cards: stack vertically below price sections, consistent gaps */
  .price-layout { gap: 1.25rem; }
  .promo-col {
    position: static;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .price-list { margin-top: -30px; }

  /* Contact section: stack on portrait tablets and mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-text { text-align: center; }
  .contact-section { padding: 3.5rem 0; }

  /* Header */
  .header-phone { display: none; }
  .site-logo { height: 65px; }

  /* Treatment group header stacks */
  .group-intro {
    flex-direction: column;
    gap: 0.5rem;
  }
  .group-price-badge { text-align: left; }

  /* Form rows stack */
  .form-row { grid-template-columns: 1fr; }
  #contact-form { max-width: 100%; }
}

@media (max-width: 600px) {
  .price-list { margin-top: -60px; }
}

@media (max-width: 480px) {
  .price-list { margin-top: -50px; }
  .category-title { font-size: 0.95rem; padding: 0.85rem 1rem 0.8rem; }
  .group-intro, .treatment-items, .price-rows, .category-intro { padding-left: 1rem; padding-right: 1rem; }
  .course-offer { padding-left: 1rem; padding-right: 1rem; }

  .btn { padding: 0.6rem 1.2rem; }

  .partner-logos { gap: 1.75rem; }
  .partner-logo { height: 30px; }

  /* Tighter contact card on narrow screens */
  .contact-card { padding: 1.5rem 1.25rem; }
}

/* Short landscape: promo cards move below price list, side by side */
@media (orientation: landscape) and (max-height: 768px) and (min-width: 901px) {
  .price-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .promo-col { position: static; flex-direction: row; gap: 1.25rem; }
  .promo-card { flex: 1; }
}

/* IPL table: always scrollable */
.table-wrap { padding: 0 1.5rem; }
@media (max-width: 480px) {
  .table-wrap { padding: 0 1rem; }
  .ipl-table { font-size: 0.72rem; }
  .ipl-table th { padding: 0.5rem 0.35rem; letter-spacing: 0; }
  .ipl-table td { padding: 0.4rem 0.35rem; }
  .ipl-section-header td { padding: 0.7rem 0.35rem 0.3rem; }
}
