/* HILO Beauty Studio - reset, typography, layout primitives, buttons, glass */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  /* Figma: linear-gradient(0deg, grey-98, grey-98), white */
  background: var(--grey-98);
  color: var(--rose-7);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input {
  font: inherit;
  color: inherit;
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--rose-47);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px; left: 50%;
  translate: -50% -200%;
  z-index: 200;
  padding: 12px 22px;
  background: var(--rose-7);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: translate var(--dur) var(--ease);
}
.skip-link:focus-visible { translate: -50% 0; }

/* ---------------------------------------------------------------- layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

/* Figma: every section is padding 70px top / 40px bottom, 14px inline */
.section {
  padding: var(--section-pt) var(--gutter) var(--section-pb);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* clears the fixed nav when jumped to via anchor */
  scroll-margin-top: 96px;
}

/* ------------------------------------------------------------ typography */

.eyebrow {
  color: var(--rose-47);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
}

/* Pill treatment for a section label: same brand pink and letterspacing, but
   it reads as a tag rather than a stray line of text above the heading.
   align-self matters - these sit in flex columns, where a block child would
   otherwise stretch the pill to the full width of the container. */
.eyebrow--chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 30px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--white-70);
  box-shadow: inset 0 0 0 1px var(--rose-7-8), var(--sh-ghost);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  color: var(--rose-7);
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: var(--rose-7);
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: var(--lh-h3);
  color: var(--rose-7);
}

.h4 {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.18;
  color: var(--rose-7);
}

.lede {
  color: var(--grey-32);
  font-size: var(--fs-body);
  line-height: 1.6;      /* 25.6 / 16 */
}

.stars {
  color: var(--rose-47);
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

/* Hard line breaks that reproduce the Figma headline ragging at desktop.
   Below the two-column breakpoint they get out of the way and `text-wrap:
   balance` takes over, so nothing is orphaned on a phone. */
@media (max-width: 940px) {
  .br-lg { display: none; }
}

/* ---------------------------------------------------------------- glass
   One primitive for every frosted surface in the design. Each instance sets
   the four custom properties to the exact Figma values. */

.glass {
  background: var(--g-bg, var(--white-62));
  border-radius: var(--g-radius, var(--r-26));
  box-shadow:
    inset 0 0 0 1px var(--g-border, var(--white-85)),
    var(--g-shadow, var(--sh-card));
  -webkit-backdrop-filter: blur(var(--g-blur, 9px));
  backdrop-filter: blur(var(--g-blur, 9px));
}

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* sizes (padding values are the Figma box, height comes from the design) */
.btn--hero  { min-height: 51px; padding: 15px 30px; font-size: var(--fs-body); }
.btn--lg    { min-height: 48px; padding: 14px 26px; font-size: var(--fs-body-sm); }
.btn--md    { min-height: 44px; padding: 12px 22px; font-size: var(--fs-sm); }
.btn--sm    { min-height: 36px; padding: 9px 18px;  font-size: var(--fs-xxs); }
.btn--nav   { padding: 11px 22px; font-size: var(--fs-xs); }
.btn--promo { padding: 17px 32px; font-size: var(--fs-body); font-weight: 700; }

/* variants - every one shifts colour on hover, not only elevation.
   Hover resolves to black (--rose-7), never to a pink: magenta is the brand's
   REST colour, so darkening it on hover read as a dim rather than a response.
   The glow goes neutral with it - a pink shadow under a black button reads as
   a leftover. */
.btn--primary {
  background: var(--rose-47);
  color: var(--white);
  box-shadow: var(--sh-cta);
}
.btn--primary:hover {
  background: var(--rose-7);
  box-shadow: 0 14px 32px rgba(23, 13, 18, 0.38);
}

.btn--primary-sm { background: var(--rose-47); color: var(--white); box-shadow: var(--sh-cta-sm); }
.btn--primary-sm:hover {
  background: var(--rose-7);
  box-shadow: 0 9px 22px rgba(23, 13, 18, 0.36);
}

.btn--primary-flat { background: var(--rose-47); color: var(--white); }
.btn--primary-flat:hover { background: var(--rose-7); }

/* translucent light button sitting on a photo (hero) */
.btn--glass {
  background: var(--white-62);
  color: var(--rose-7);
  box-shadow: inset 0 0 0 1px var(--rose-7-14);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
/* Label stays black; the hover is carried by the glass going more opaque. */
.btn--glass:hover { background: var(--white-95); color: var(--rose-7); }

/* translucent light button on the page background */
.btn--ghost {
  background: var(--white-70);
  color: var(--rose-7);
  box-shadow: inset 0 0 0 1px var(--rose-7-13), var(--sh-ghost);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: var(--white); color: var(--rose-7); }

/* same as ghost but without the drop shadow (map card) */
.btn--ghost-flat {
  background: var(--white-70);
  color: var(--rose-7);
  box-shadow: inset 0 0 0 1px var(--rose-7-13);
}
.btn--ghost-flat:hover { background: var(--white); color: var(--rose-7); }

.btn--dark {
  background: var(--rose-7);
  color: var(--white);
}
/* This one is already black at rest, so the hover cannot also be black. It
   lifts to the neutral near-black instead of the old wine tint, which keeps the
   state visible without putting magenta back into a hover. */
.btn--dark:hover { background: var(--rose-20); }

.btn--rappi {
  background: var(--rappi);
  color: var(--white);
  box-shadow: var(--sh-rappi);
}
.btn--rappi:hover {
  background: var(--rappi-hover);
  box-shadow: 0 12px 26px rgba(255, 68, 31, 0.36);
}

.btn--rappi-flat {
  background: var(--rappi);
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--rose-7-14);
}
.btn--rappi-flat:hover { background: var(--rappi-hover); }

.btn--white {
  background: var(--white);
  color: var(--rose-7);
}
/* on the dark promo panel, the tint shift carries the hover; the label holds black */
.btn--white:hover { background: var(--grey-98); color: var(--rose-7); }

/* static glass chip (not a link) */
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--white-62);
  box-shadow: inset 0 0 0 1px var(--white-85);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  color: var(--rose-20);
  font-size: var(--fs-xxs);
  font-weight: 500;
  line-height: 1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
