/*
Theme Name: Premier Aesthetics of Idaho
Theme URI: https://premieraestheticsofidaho.com/
Author: Splibit
Description: Lightweight, Gutenberg-first theme for Premier Aesthetics of Idaho.
Version: 1.0.19
Text Domain: premier-aesthetics
*/

:root {
  --pa-black: #0a0a09;
  --pa-black-soft: #12110f;
  --pa-gold: #c9a35a;
  --pa-gold-bright: #d8b46b;
  --pa-ivory: #f0eeea;
  --pa-paper: #faf9f7;
  --pa-ink: #1c1b19;
  --pa-muted: #625f58;
  --pa-hairline: #ded8ce;
  --pa-serif: "Cormorant Garamond", Georgia, serif;
  --pa-sans: "Montserrat", Arial, sans-serif;
  --pa-shell: 1360px;
  --pa-radius: 2px;
  --pa-header-height: 104px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--pa-header-height) + 18px);
}

body {
  margin: 0;
  color: var(--pa-ink);
  background: var(--pa-paper);
  font-family: var(--pa-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.admin-bar .global-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 10000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 18px;
  color: var(--pa-black);
  background: var(--pa-gold);
  font-weight: 700;
}

.site-shell {
  width: min(100% - 64px, var(--pa-shell));
  margin-inline: auto;
}

.global-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  min-height: var(--pa-header-height);
  color: #fff;
  background: rgba(10, 10, 9, 0.97);
  border-bottom: 1px solid rgba(201, 163, 90, 0.2);
  backdrop-filter: blur(14px);
}

.header-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto auto;
  gap: 28px;
  min-height: var(--pa-header-height);
  align-items: center;
}

.brand-link {
  display: inline-flex;
  width: 178px;
  height: 92px;
  align-items: center;
  justify-content: flex-start;
}

.brand-link img {
  display: block;
  width: auto;
  max-width: 178px;
  max-height: 88px;
  object-fit: contain;
}

.primary-nav {
  min-width: 0;
}

.primary-nav ul {
  display: flex;
  gap: clamp(18px, 2.2vw, 36px);
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #f5f1e9;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  color: var(--pa-gold-bright);
}

.primary-nav .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.primary-nav .sub-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% - 2px);
  left: -22px;
  display: grid;
  visibility: hidden;
  width: 290px;
  gap: 0;
  padding: 14px 0;
  opacity: 0;
  background: #11100e;
  border: 1px solid rgba(201, 163, 90, 0.28);
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-nav .sub-menu a {
  display: flex;
  min-height: 44px;
  padding: 9px 22px;
  font-size: 10.5px;
  white-space: normal;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.header-phone {
  display: inline-flex;
  min-height: 44px;
  gap: 8px;
  align-items: center;
  color: #f6f2e9;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--pa-gold);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-gold {
  display: inline-flex;
  min-height: 48px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  color: #16130e;
  background: var(--pa-gold);
  border: 1px solid var(--pa-gold);
  border-radius: var(--pa-radius);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--pa-gold-bright);
  border-color: var(--pa-gold-bright);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(201, 163, 90, 0.64);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--pa-gold);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-main {
  min-height: 52vh;
}

/* Allow the existing facial page's content and long contact text to fit mobile. */
.page-id-10 .f-cols > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.standard-page {
  width: min(100% - 48px, 960px);
  padding: 72px 0 96px;
  margin-inline: auto;
}

.standard-page h1,
.standard-page h2,
.standard-page h3 {
  font-family: var(--pa-serif);
  font-weight: 500;
  line-height: 1.08;
}

.standard-page h1 {
  font-size: clamp(44px, 7vw, 72px);
}

.google-reviews {
  position: relative;
  overflow: hidden;
  padding: 82px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(201, 163, 90, 0.08), transparent 26%),
    linear-gradient(180deg, #0d0c0b 0%, #080807 100%);
  border-top: 1px solid rgba(201, 163, 90, 0.28);
}

.google-reviews__header {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.google-reviews__header .eyebrow {
  margin: 0 0 12px;
  color: var(--pa-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.google-reviews__header h2 {
  margin: 0;
  font-family: var(--pa-serif);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
}

.google-reviews__summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  color: #bdb7ad;
  font-size: 12px;
}

.google-reviews__summary strong {
  color: #fff;
  font-family: var(--pa-serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.google-reviews__summary-stars {
  color: var(--pa-gold);
  letter-spacing: 3px;
}

.google-reviews__carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 16px;
  align-items: center;
}

.google-reviews__viewport {
  min-width: 0;
  overflow: hidden;
}

.google-reviews__track {
  display: flex;
  gap: 22px;
  align-items: stretch;
  will-change: transform;
}

.google-review-card {
  display: flex;
  min-height: 326px;
  flex: 0 0 calc((100% - 44px) / 3);
  flex-direction: column;
  padding: 28px 28px 24px;
  background: linear-gradient(145deg, rgba(24, 23, 20, 0.98), rgba(15, 14, 13, 0.98));
  border: 1px solid rgba(201, 163, 90, 0.25);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.17);
}

.google-review-card__topline {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.google-review-card__stars {
  color: var(--pa-gold);
  font-size: 14px;
  letter-spacing: 3px;
}

.google-review-card time {
  color: #857f75;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.google-review-card__copy {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #e4dfd6;
  font-family: var(--pa-serif);
  font-size: 19px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.google-review-card.is-expanded .google-review-card__copy {
  display: block;
  overflow: visible;
}

.google-review-card__toggle {
  width: fit-content;
  padding: 5px 0;
  margin: 10px 0 0;
  color: var(--pa-gold);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(201, 163, 90, 0.5);
  font-family: var(--pa-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
}

.google-review-card__toggle[hidden] {
  display: none;
}

.google-review-card__footer {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-top: 22px;
  margin-top: auto;
}

.google-review-card__avatar {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #15130f;
  background: var(--pa-gold);
  border-radius: 50%;
  font-family: var(--pa-serif);
  font-size: 15px;
  font-weight: 700;
}

.google-review-card cite {
  overflow: hidden;
  color: #f2eee7;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.google-review-card__source {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #8e887e;
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.google-review-card__source img {
  width: 15px;
  height: 15px;
}

.google-reviews__arrow {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--pa-gold);
  background: rgba(201, 163, 90, 0.04);
  border: 1px solid rgba(201, 163, 90, 0.68);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.google-reviews__arrow:hover,
.google-reviews__arrow:focus-visible {
  color: #0a0a09;
  background: var(--pa-gold);
  transform: scale(1.04);
}

.google-reviews__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.google-reviews__link {
  display: flex;
  width: fit-content;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 34px auto 0;
  color: #e9e4db;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.google-reviews__link:hover {
  color: var(--pa-gold);
}

.google-reviews__link img {
  width: 18px;
  height: 18px;
}

.google-reviews__link span {
  color: var(--pa-gold);
  font-size: 17px;
}

.reviews-footer-divider {
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: center;
  background: #f2eee8;
  border-top: 1px solid #ded7cd;
  border-bottom: 1px solid #ded7cd;
}

.reviews-footer-divider span {
  position: relative;
  display: block;
  width: 96px;
  height: 1px;
  background: rgba(176, 141, 76, 0.55);
}

.reviews-footer-divider span::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: #f2eee8;
  border: 1px solid var(--pa-gold);
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.footer-invitation {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(circle at 84% 20%, rgba(201, 163, 90, 0.13), transparent 26%),
    var(--pa-black);
  text-align: center;
}

.footer-invitation .eyebrow {
  margin: 0 0 12px;
  color: var(--pa-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-invitation h2 {
  margin: 0 0 14px;
  font-family: var(--pa-serif);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 500;
  line-height: 1;
}

.footer-invitation p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: #d9d4ca;
}

.footer-invitation .invitation-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-invitation .phone-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.global-footer {
  padding: 54px 0 26px;
  color: #d8d2c7;
  background: #080807;
  border-top: 1px solid rgba(201, 163, 90, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) 0.8fr 1fr;
  gap: 72px;
  align-items: start;
}

.footer-brand img {
  width: 210px;
  max-height: 122px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
  color: #aba59a;
  font-size: 13px;
}

.footer-title {
  margin: 0 0 18px;
  color: var(--pa-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a,
.footer-contact a {
  color: #d8d2c7;
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--pa-gold-bright);
}

.footer-address {
  color: #d8d2c7;
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--pa-gold);
  background: rgba(201, 163, 90, 0.04);
  border: 1px solid rgba(201, 163, 90, 0.78);
  border-radius: 50%;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #0a0a09;
  background: var(--pa-gold);
  border-color: var(--pa-gold);
  transform: translateY(-2px);
}

.social-links svg {
  width: 19px;
  height: 19px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.social-links path,
.social-links .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  margin-top: 42px;
  color: #777268;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.footer-bottom a {
  color: #aaa397;
  text-decoration: none;
}

@media (max-width: 1180px) {
  :root {
    --pa-header-height: 88px;
  }

  .site-shell {
    width: min(100% - 40px, var(--pa-shell));
  }

  .header-layout {
    grid-template-columns: 150px minmax(0, 1fr) auto auto;
    gap: 18px;
  }

  .brand-link {
    width: 146px;
    height: 80px;
  }

  .brand-link img {
    max-width: 146px;
    max-height: 76px;
  }

  .primary-nav ul {
    gap: 17px;
  }

  .primary-nav a {
    font-size: 10px;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 900px) {
  body.admin-bar .global-header {
    top: 46px;
  }

  .global-header {
    position: sticky;
  }

  .header-layout {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .brand-link {
    width: 136px;
  }

  .brand-link img {
    max-width: 136px;
  }

  .header-cta {
    justify-self: end;
    padding-inline: 15px;
    font-size: 9px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    max-height: calc(100vh - var(--pa-header-height));
    overflow-y: auto;
    background: rgba(10, 10, 9, 0.99);
    border-top: 1px solid rgba(201, 163, 90, 0.22);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    width: min(100% - 40px, 680px);
    gap: 0;
    padding: 14px 0 24px;
    margin-inline: auto;
  }

  .primary-nav a {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
  }

  .primary-nav .sub-menu {
    position: static;
    display: grid;
    visibility: visible;
    width: 100%;
    padding: 0 0 6px 18px;
    opacity: 1;
    background: transparent;
    border: 0;
    transform: none;
  }

  .primary-nav .sub-menu a {
    min-height: 46px;
    padding: 8px 0;
    color: #c5bfb4;
  }

  body.menu-is-open {
    overflow: hidden;
  }

  .google-reviews {
    padding: 68px 0 62px;
  }

  .google-review-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .footer-contact-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  :root {
    --pa-header-height: 78px;
  }

  .site-shell {
    width: min(100% - 28px, var(--pa-shell));
  }

  .header-layout {
    grid-template-columns: 112px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .brand-link {
    width: 112px;
    height: 70px;
  }

  .brand-link img {
    max-width: 112px;
    max-height: 66px;
  }

  .header-cta {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 8px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .google-reviews {
    padding: 54px 0 48px;
  }

  .google-reviews__header {
    margin-bottom: 30px;
  }

  .google-reviews__header h2 {
    font-size: 39px;
  }

  .google-reviews__summary {
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.5;
  }

  .google-reviews__carousel {
    grid-template-areas:
      "viewport viewport"
      "previous next";
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }

  .google-reviews__viewport {
    grid-area: viewport;
  }

  .google-reviews__arrow--previous {
    grid-area: previous;
    justify-self: end;
  }

  .google-reviews__arrow--next {
    grid-area: next;
    justify-self: start;
  }

  .google-review-card {
    min-height: 350px;
    flex-basis: 100%;
    padding: 25px 23px 22px;
  }

  .google-review-card__copy {
    font-size: 18px;
    -webkit-line-clamp: 8;
  }

  .google-reviews__link {
    max-width: 280px;
    margin-top: 28px;
    line-height: 1.6;
    text-align: center;
  }

  .reviews-footer-divider {
    height: 54px;
  }

  .footer-invitation {
    padding: 58px 0;
  }

  .footer-invitation h2 {
    font-size: 44px;
  }

  .footer-invitation .invitation-actions {
    display: grid;
    justify-items: stretch;
  }

  .footer-invitation .phone-link {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-contact-column {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
