/* Dazzling Faces — main stylesheet
   Design matched to the previous YOOtheme/UIkit theme:
   fonts Heebo (headings) + IBM Plex Sans (body), primary #008776 */

:root {
  --primary: #008776;
  --primary-dark: #005449;
  --accent-pink: #e53f5f;
  --accent-green: #34b277;
  --accent-yellow: #f5d161;
  --text: #666;
  --heading: #000;
  --muted-bg: #f8f8f8;
  --border: #e8e8e8;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 20px 0;
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  color: var(--heading);
}
* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 { margin-top: 40px; }
h1 { font-size: 2.23rem; line-height: 1.2; }
h2 { font-size: 1.7rem; line-height: 1.3; }
h3 { font-size: 1.625rem; line-height: 1.4; }
h4 { font-size: 1.375rem; line-height: 1.4; }
h5 { font-size: 1rem; }
h6 { font-size: .875rem; }
@media (min-width: 960px) {
  h2 { font-size: 2rem; }
}
p { margin: 0 0 20px 0; }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); text-decoration: none; cursor: pointer; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; border: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
ul, ol { padding-left: 30px; margin: 0 0 20px 0; }

.eyebrow {
  font-family: 'Heebo', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

/* ---------- layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.container-small { max-width: 900px; }
.container-xsmall { max-width: 750px; }
@media (min-width: 640px) {
  .container { padding-left: 30px; padding-right: 30px; }
}
.section { padding: 40px 0; }
@media (min-width: 960px) { .section { padding: 70px 0; } }
.section-muted { background: var(--muted-bg); }
.section-primary { background: var(--primary); color: #fff; }
.section-primary h1, .section-primary h2, .section-primary h3, .section-primary h4 { color: #fff; }
.text-center { text-align: center; }

.grid { display: grid; gap: 30px; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- buttons ---------- */
.button {
  display: inline-block;
  padding: 0 30px;
  font-size: 16px;
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 42px;
  text-align: center;
  border-radius: 0;
  transition: .1s ease-in-out;
  transition-property: color, background-color, border-color;
}
.button-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
}
.button-primary:hover { background: var(--primary-dark); color: #fff; }
.button-default {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.button-default:hover { color: var(--primary-dark); border-color: var(--primary-dark); }
.button-whatsapp { background: #25d366; color: #fff; border: 1px solid transparent; }
.button-whatsapp:hover { background: #1eb855; color: #fff; }

/* announcement bar (price increase — removed at cutover) */
.announce-bar {
  background: var(--primary-dark);
  color: #fff;
  font-size: .875rem;
  text-align: center;
  padding: 8px 0;
}
.announce-bar a { color: var(--accent-yellow); font-weight: 600; }
.announce-bar a:hover { color: #fff; }

/* dual pricing (until cutover) */
th.price-new, td.price-new { color: var(--primary); font-weight: 600; }
.package .price-upcoming {
  font-size: .875rem;
  color: var(--text);
  margin: -12px 0 15px;
}
.package .price-upcoming strong { color: var(--primary); }

/* ---------- header ---------- */
.site-header { background: #fff; }
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}
.navbar .logo img { display: block; width: 300px; max-width: 60vw; height: auto; }
.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 8px;
}
.nav-menu a {
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 0 15px;
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
  color: var(--text);
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--heading); }
.nav-toggle {
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--text);
  display: inline-flex;
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (min-width: 960px) {
  .nav-menu { display: flex; }
  .nav-toggle { display: none; }
}
/* mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 10px 0; }
.mobile-menu a {
  display: block;
  padding: 12px 20px;
  font-family: 'Heebo', sans-serif;
  color: var(--text);
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--heading); }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  max-height: 840px;
  overflow: hidden;
  text-align: center;
}
.hero > img, .hero > svg.ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .28);
  z-index: 1;
  pointer-events: none;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 40px 15px;
  max-width: 600px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.hero-overlay .eyebrow { color: #fff; margin-bottom: 0; }
.hero-overlay h1, .hero-overlay h2 {
  color: #fff;
  font-size: 2.6rem;
  line-height: 1.2;
  margin: 10px 0 0 0;
}
@media (min-width: 960px) {
  .hero-overlay h1, .hero-overlay h2 { font-size: 3.25rem; }
}
.hero-overlay .button { margin-top: 25px; }
.hero-overlay h1.eyebrow {
  font-size: .875rem;
  line-height: 1.75;
  margin: 0;
  font-weight: 600;
}

/* hero slideshow (multiple slides, fade) */
.hero.slideshow::before { content: none; }
.hero.slideshow .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .28);
  z-index: 1;
  pointer-events: none;
}
.hero.slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  z-index: 0;
}
.hero.slideshow .slide.active { opacity: 1; }
.hero.slideshow .slide img, .hero.slideshow .slide svg.ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero.slideshow .slide .hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

/* package card include/exclude lists */
.package li.yes::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  margin-right: 8px;
}
.package li.no { color: var(--accent-pink); }
.package li.no::before {
  content: "✕";
  font-weight: 700;
  margin-right: 8px;
}

/* ---------- cards ---------- */
.card {
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .06);
  transition: box-shadow .1s ease-in-out;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: 0 14px 25px rgba(0, 0, 0, .16); }
.card-media img, .card-media svg.ph { display: block; width: 100%; height: auto; }
.card-body { padding: 30px; flex: 1; }
.card-body h3 { font-size: 1.375rem; }
.card-body :last-child { margin-bottom: 0; }

/* ---------- tables (rates) ---------- */
.table-wrap { overflow-x: auto; }
table.rates {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
table.rates th {
  padding: 16px 12px;
  text-align: left;
  vertical-align: bottom;
  font-size: 14px;
  font-weight: 500;
  color: var(--heading);
  text-transform: uppercase;
}
table.rates td { padding: 16px 12px; vertical-align: top; }
table.rates tbody tr { border-top: 1px solid var(--border); }
table.rates .price { color: var(--text); }
table.rates .right, table.rates th.right { text-align: right; }

/* package cards (rates page) */
.package { text-align: center; }
.package .price {
  font-family: 'Heebo', sans-serif;
  font-size: 2.5rem;
  line-height: 1.1;
  color: #999;
  margin: 10px 0 20px;
}
.package ul { list-style: none; padding: 0; margin: 0 0 20px; }
.package li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.package li:last-child { border-bottom: 0; }

/* ---------- heading divider ---------- */
.heading-divider {
  padding-bottom: calc(5px + .1em);
  border-bottom: calc(.2px + .05em) solid var(--border);
}

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 15px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery a { display: block; }
.gallery img, .gallery svg.ph { display: block; width: 100%; height: auto; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1010;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox svg.ph { max-width: 95vw; max-height: 95vh; width: auto; height: auto; }
.lightbox .close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.faq summary {
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  color: var(--heading);
  padding: 5px 0;
}

/* ---------- forms ---------- */
.form label {
  display: block;
  font-family: 'Heebo', sans-serif;
  font-size: .875rem;
  color: var(--heading);
  margin-bottom: 5px;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0 10px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: .2s ease-in-out;
  transition-property: color, background-color, border-color;
}
.form textarea { height: auto; padding: 10px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form .field { margin-bottom: 20px; }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: .875rem; }
.form-status { padding: 15px 20px; margin-bottom: 20px; }
.form-status.ok { background: #edfbf6; color: #1e7d5f; border: 1px solid #32d296; }
.form-status.err { background: #fef4f6; color: #b02c46; border: 1px solid #f0506e; }

/* ---------- recommended suppliers (third-party companies, NOT us) ---------- */
.supplier-lede {
  max-width: 640px;
  margin: -10px auto 30px;
}
.supplier-note {
  display: inline-block;
  background: #333;
  color: #fff;
  border-radius: 999px;
  padding: 5px 15px;
  margin: 0 0 15px 0;
  font-family: 'Heebo', sans-serif;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: rgba(255, 255, 255, .8); }
.site-footer .footer-logo img { width: 300px; max-width: 70vw; height: auto; }
.footer-links { margin: 20px 0; }
.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .3);
  margin: 25px auto;
  max-width: 300px;
}
.icon-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .1s ease-in-out;
}
.icon-button:hover { background: #fff; color: var(--primary); }
.icon-button svg { width: 18px; height: 18px; fill: currentColor; }
.footer-copy { font-size: .875rem; opacity: .85; margin-top: 20px; }

/* blog post images */
.post-img { max-width: 400px; margin: 0 auto 30px; }
.post-img img, .post-img svg.ph { display: block; width: 100%; height: auto; }

/* testimonials */
.testimonials { display: grid; gap: 30px; }
@media (min-width: 960px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonials blockquote {
  margin: 0;
  padding: 25px 30px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .06);
  font-style: normal;
}
.testimonials blockquote p { margin-bottom: 12px; }
.testimonials cite {
  font-style: normal;
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  color: var(--heading);
  font-size: .875rem;
}
.testimonials .stars { color: var(--accent-yellow); letter-spacing: 2px; }

/* proof strip */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  padding: 18px 15px;
  background: var(--muted-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
  text-align: center;
}
.proof-strip a { color: var(--text); }
.proof-strip a:hover { color: var(--primary); }
.proof-strip strong { color: var(--heading); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-overlay .btn-row { justify-content: center; margin-top: 25px; }
.hero-overlay .btn-row .button { margin-top: 0; }

/* tag-browser gallery (face painting designs) */
.tag-tiles {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .tag-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .tag-tiles { grid-template-columns: repeat(4, 1fr); } }
.tag-tile {
  display: block;
  color: var(--heading);
}
.tag-tile:hover { color: var(--primary); }
/* caption sits ABOVE the photo, not over it */
.tag-tile-label {
  display: block;
  padding: 0 2px 8px;
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}
.tag-tile-label small {
  display: block;
  font-weight: 400;
  font-size: .8125rem;
  color: var(--text);
}
/* wrapper keeps the hover zoom clipped to the rounded corners */
.tag-tile-media {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .06);
}
.tag-tile img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .2s ease;
}
.tag-tile:hover img { transform: scale(1.04); }
/* gallery photos share the tiles' rounded corners */
.gallery a, .gallery a img {
  border-radius: 8px;
}
.gallery a { overflow: hidden; display: block; }

/* ---------- theme browser: category list beside the photos ----------
   Desktop: 4 columns total = 1 category list + 3 photo columns.
   Mobile:  list is hidden; you move between categories with the < > buttons
            or by swiping the grid left/right. */
.tag-browse { display: grid; gap: 25px; }
@media (min-width: 960px) {
  .tag-browse { grid-template-columns: 1fr 3fr; gap: 30px; align-items: start; }
  .tag-main .gallery { grid-template-columns: repeat(3, 1fr); }
}
.tag-list { display: none; }
@media (min-width: 960px) {
  .tag-list {
    display: block;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-right: 6px;
  }
}
.tag-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 6px;
  font-family: 'Heebo', sans-serif;
  font-size: .9375rem;
  line-height: 1.35;
  color: var(--text);
}
.tag-link span { font-size: .8125rem; color: #9a9a9a; }
.tag-link:hover { background: var(--muted-bg); color: var(--heading); }
.tag-link.active { background: var(--primary); color: #fff; font-weight: 600; }
.tag-link.active span { color: rgba(255, 255, 255, .85); }
.tag-link-all { color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.tag-link-all:hover { background: var(--muted-bg); color: var(--primary-dark); }

/* heading row — the only category switcher on mobile */
.tag-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tag-head h3 { flex: 1; margin: 0; text-align: center; font-size: 1.25rem; }
.tag-nav-btn {
  flex: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
}
.tag-nav-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.tag-back-mobile { display: inline-block; margin-bottom: 12px; font-size: .9375rem; }
.tag-swipe-hint { font-size: .8125rem; color: #9a9a9a; text-align: center; margin-top: 15px; }
@media (min-width: 960px) {
  .tag-head h3 { text-align: left; font-size: 1.5rem; }
  .tag-nav-btn, .tag-back-mobile, .tag-swipe-hint { display: none; }
}

/* pill navigation inside a theme view */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}
.pill {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: 'Heebo', sans-serif;
  font-size: .875rem;
  line-height: 1.5;
  transition: .1s ease-in-out;
}
.pill:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.pill.active { background: var(--primary); color: #fff; }
.pill-all { border-color: var(--text); color: var(--text); }
.pill-all:hover { background: var(--text); border-color: var(--text); color: #fff; }

/* blog post hero + photo grid */
.post-hero { margin: 0 0 30px; }
.post-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ---------- misc ---------- */
.breadcrumbs { font-size: .875rem; margin-bottom: 20px; }
.post-meta { font-size: .875rem; color: #999; margin-bottom: 20px; }
.section img.rounded, .rounded { border-radius: 8px; }
.center-media { display: flex; justify-content: center; }
svg.ph { background: #eee; }
