/* Surface-specific layout: hero, treatments explorer, about, contact, booking. */

/* ---------- Home hero ---------- */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__kicker {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--pink-600);
  margin-top: 6px;
}

.hero__lede {
  margin-top: var(--space-5);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.hero__accreditation {
  margin-top: var(--space-7);
}

.hero__media {
  position: relative;
}

.hero__image {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin-left: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-3);
  object-fit: cover;
}

/* "Love your feet" card overlapping the hero photo. */
.hero__badge {
  position: absolute;
  left: -16px;
  bottom: 28px;
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 16px 20px;
  box-shadow: var(--shadow-2);
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero__footprints {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.hero__footprints img {
  width: auto;
  height: 34px;
}

.hero__footprints img:last-child {
  height: 36px;
  margin-bottom: 8px;
}

.hero__badge-title {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--navy-900);
  line-height: 1;
}

.hero__badge-sub {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 620px) {
  .hero__badge {
    left: 0;
    bottom: 12px;
    padding: 12px 16px;
  }
}

/* ---------- Split panel (consultation, what to expect) ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-6);
  align-items: center;
}

.split--top {
  align-items: start;
  gap: var(--space-7);
}

/* ---------- Treatments explorer ---------- */

.filter-bar {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: 28px;
}

.chip {
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  background: var(--white);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 14px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.chip:hover {
  border-color: var(--navy-900);
}

.chip[aria-pressed="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.explorer {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: var(--space-5);
  align-items: start;
  margin-top: var(--space-6);
}

.explorer__list {
  display: grid;
  gap: 6px;
}

.explorer__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-m);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  width: 100%;
  transition: background var(--dur-fast) var(--ease-out);
}

.explorer__item:hover {
  background: var(--ink-50);
}

.explorer__item[aria-selected="true"] {
  background: var(--pink-50);
}

.explorer__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy-50);
  color: var(--navy-900);
  flex: none;
  transition: background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.explorer__item[aria-selected="true"] .explorer__icon {
  background: var(--pink-400);
  color: var(--navy-950);
}

.explorer__name {
  flex: 1;
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
}

.explorer__chevron {
  color: var(--ink-300);
  flex: none;
}

.explorer__item[aria-selected="true"] .explorer__chevron {
  color: var(--pink-600);
}

.explorer__panel {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
}

/* Without JS every panel is shown, so they need to stack with space between.
   treatments.js hides all but the active one and the gap becomes moot. */
.explorer__panels {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
}

.explorer__item {
  text-decoration: none;
}

.explorer__body {
  display: grid;
  gap: 14px;
  margin-top: var(--space-5);
  font-size: 17px;
  max-width: 640px;
}

.explorer__actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .explorer {
    grid-template-columns: 1fr;
  }
}

/* No-JS fallback: every treatment is rendered as a plain article. */
.no-js-treatments {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

/* ---------- About ---------- */

.creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.cred {
  background: var(--pink-50);
  border-radius: var(--radius-l);
  padding: 22px;
}

.cred__key {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 34px;
  line-height: 1;
  color: var(--navy-900);
}

.cred__title {
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin-top: 10px;
}

.cred__sub {
  font-size: 13px;
  color: var(--text-muted);
}

.quote-panel {
  position: relative;
  overflow: hidden;
}

.quote-panel > img {
  width: auto;
  height: 64px;
}

.quote-panel blockquote {
  margin: var(--space-5) 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  font-weight: var(--fw-medium);
  max-width: 860px;
  text-wrap: pretty;
}

.fact-list {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}

.fact {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

.fact__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink-100);
  color: var(--pink-600);
  display: grid;
  place-items: center;
  flex: none;
}

.fact__value {
  display: block;
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
}

.fact__label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Service / price cards ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--space-4);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
}

.service-card__price {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 36px;
  color: var(--navy-900);
  line-height: 1;
}

.service-card__title {
  font-size: 22px;
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  line-height: 1.2;
}

.service-card__desc {
  font-size: 15px;
  color: var(--text-muted);
  flex: 1;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--space-5);
  align-items: start;
}

.contact-card__name {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(26px, 7vw, 32px);
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
}

.contact-card__clinic {
  color: var(--pink-400);
  font-size: clamp(17px, 5vw, 20px);
  margin-top: 6px;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

/* Flex items default to min-width:auto and refuse to shrink below their
   content — which pushed the address past the screen edge at 320px. */
.contact-row > span:last-child {
  min-width: 0;
}

.contact-row__value {
  overflow-wrap: anywhere;
}

.contact-row__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--pink-400);
  flex: none;
  transition: background var(--dur-fast) var(--ease-out);
}

.contact-row:hover .contact-row__icon {
  background: rgba(255, 255, 255, 0.2);
}

.contact-row__label {
  display: block;
  font-size: 13px;
  opacity: 0.7;
}

.contact-row__value {
  font-weight: var(--fw-semibold);
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

/* ---------- Booking ---------- */

.booking-main {
  max-width: 960px;
}

.booking-steps {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-6);
  counter-reset: step;
}

.booking-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.booking-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 20px;
  display: grid;
  place-items: center;
}

.booking-step__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
}

/* This note carries the legal 24-hour rule before nail surgery, so the body
   text uses --text-body (10.9:1 on amber-50). amber-600 on amber-50 is only
   4.25:1 and is kept for the icon, which is decorative. */
.booking-note {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius-m);
  background: var(--status-warning-bg);
  color: var(--text-body);
  font-size: 15px;
  margin-top: var(--space-4);
}

.booking-note > svg {
  color: var(--amber-600);
  flex: none;
  margin-top: 2px;
}

.booking-note strong {
  color: var(--text-strong);
}

@media (max-width: 560px) {
  .creds {
    grid-template-columns: 1fr;
  }
}
