/* Lucy Rose Salon & Spa — draft styles. Mobile-first. */
:root {
  --rose: #c95b78;
  --rose-deep: #8e2f4a;
  --rose-darker: #6b1f36;
  --blush: #f6d5dc;
  --blush-soft: #fbeaee;
  --cream: #fdf7f1;
  --ink: #3a2a2f;
  --muted: #6e5a60;
  --leaf: #5f8a5a;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(142, 47, 74, .12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--rose-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--rose); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--serif); color: var(--rose-darker); line-height: 1.15; margin: 0 0 .5rem; }
h2 { font-size: clamp(2rem, 7vw, 2.75rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--rose-deep); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--rose); margin-bottom: .35rem; }
.section { padding: 64px 0; }
.section-intro { color: var(--muted); max-width: 60ch; }

/* Buttons: min 48px tap targets */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose-deep); color: #fff; }
.btn-primary:hover { background: var(--rose-darker); }
.btn-outline { background: rgba(255,255,255,.7); color: var(--rose-deep); border-color: var(--rose-deep); }
.btn-outline:hover { background: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 247, 241, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(142,47,74,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rose-darker); }
.brand-mark { width: 40px; height: 40px; }
.brand-text { font: 700 1.45rem/1 var(--serif); }
.brand-text small { display: block; font: 700 .68rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rose); }
.main-nav { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; text-align: center;
  /* PLACEHOLDER: gradient stands in for a real hero photo of the salon. */
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.8) 0, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(201,91,120,.25) 0, transparent 45%),
    linear-gradient(160deg, var(--blush-soft) 0%, var(--blush) 55%, #efbac7 100%);
}
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-rose { position: absolute; opacity: .22; }
.hero-rose-1 { width: 170px; top: -30px; right: -50px; transform: rotate(18deg); }
.hero-rose-2 { width: 120px; bottom: -20px; left: -36px; transform: rotate(-20deg); }
.hero-rose-3 { display: none; }
.hero-content { position: relative; }
.hero h1 { font-size: clamp(3rem, 14vw, 5rem); margin-bottom: .75rem; }
.hero h1 span { display: block; font-size: .5em; font-weight: 600; color: var(--rose-deep); letter-spacing: .04em; }
.tagline { font-size: 1.15rem; color: var(--ink); max-width: 34ch; margin: 0 auto 1.75rem; }
.hero-note { margin: 1.25rem 0 0; font-weight: 700; color: var(--rose-deep); font-size: .95rem; }

/* Services */
.services { background: var(--cream); }
.service-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: var(--shadow); border-top: 4px solid var(--blush); display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; }
.service-card h3 { margin: 4px 0 .25rem; }
.service-card p { grid-column: 2; color: var(--muted); margin: 0; font-size: 1rem; }
.service-icon { width: 48px; height: 48px; grid-row: span 2; }

/* Hours */
.hours { background: linear-gradient(180deg, var(--blush-soft), var(--cream)); }
.hours-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 20px 16px; margin-top: 20px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 14px 4px; border-bottom: 1px solid var(--blush); text-align: left; }
.hours-table td { text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.closed { color: var(--rose-deep); font-weight: 700; }
.hours-table tr.is-today { background: var(--blush-soft); }
.today { margin: 10px 0 0; text-align: center; font-weight: 700; color: var(--rose-deep); }
.today:empty { display: none; }

/* Location */
.location-grid { display: grid; gap: 20px; margin-top: 20px; }
.address-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.address-card address { font-style: normal; margin-bottom: 18px; font-size: 1.1rem; }
.address-card em { color: var(--rose-deep); }
.address-card .btn { width: 100%; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--blush); aspect-ratio: 4 / 3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Booking */
.booking { background: linear-gradient(180deg, var(--cream), var(--blush-soft)); }
.booking-form, .form-success { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 20px; margin-top: 20px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 0 16px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
.req { color: var(--rose); }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; /* >=16px prevents iOS zoom */
  color: var(--ink); background: var(--cream); border: 1.5px solid #e2c3cb; border-radius: 12px;
}
textarea { min-height: 96px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b3261e; background: #fff5f5; }
.hint { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.error { font-size: .92rem; color: #b3261e; font-weight: 700; margin: 6px 0 0; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footnote { text-align: center; font-size: .92rem; color: var(--muted); margin: 12px 0 0; }
.form-success { text-align: center; border-top: 4px solid var(--rose); }
.form-success h3 { margin-top: 0; }
.preview-badge { display: inline-block; background: var(--blush); color: var(--rose-darker); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }

/* Footer */
.site-footer { background: var(--rose-darker); color: var(--blush); padding: 48px 0 24px; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; }
.footer-grid { display: grid; gap: 24px; }
.footer-brand { font: 700 1.8rem/1.1 var(--serif); color: #fff; margin-bottom: .5rem; }
.footer-brand span { display: block; font-size: .6em; color: var(--blush); }
.footer-title { font: 700 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--blush); opacity: .8; margin-bottom: .6rem; }
.site-footer p a { display: inline-block; padding: 6px 0; font-weight: 700; }
.fb-link { display: inline-flex !important; align-items: center; gap: 8px; }
.fb-link svg { width: 26px; height: 26px; }
.copyright { margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(246,213,220,.2); font-size: .9rem; opacity: .8; }

/* Sticky mobile action bar */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--white); box-shadow: 0 -4px 18px rgba(107,31,54,.15); }
.sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.sticky-call { color: var(--rose-deep); }
.sticky-book { background: var(--rose-deep); color: #fff !important; }
.ico { width: 22px; height: 22px; }

/* Tablet */
@media (min-width: 600px) {
  .btn-row { flex-direction: row; justify-content: center; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .booking-form, .form-success { padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Desktop */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .main-nav { display: flex; align-items: center; gap: 28px; }
  .main-nav a { text-decoration: none; font-weight: 700; color: var(--ink); padding: 12px 0; }
  .main-nav a:hover { color: var(--rose-deep); }
  .main-nav .nav-cta { background: var(--rose-deep); color: #fff; padding: 12px 24px; border-radius: 999px; }
  .main-nav .nav-cta:hover { background: var(--rose-darker); color: #fff; }
  .hero { padding: 110px 0 120px; }
  .hero-rose { opacity: .28; }
  .hero-rose-1 { width: 300px; top: -40px; right: 4%; }
  .hero-rose-2 { width: 220px; bottom: -30px; left: 3%; }
  .hero-rose-3 { display: block; width: 110px; top: 50%; left: 16%; transform: rotate(-35deg); opacity: .16; }
  .tagline { font-size: 1.3rem; }
  .section { padding: 96px 0; }
  /* 7 services: flex so the last row centers instead of leaving a gap */
  .service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .service-grid .service-card { flex: 0 1 calc(25% - 15px); }
  .service-card { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; }
  .service-card p { grid-column: auto; }
  .service-icon { grid-row: auto; margin: 0 auto 10px; width: 56px; height: 56px; }
  .location-grid { grid-template-columns: 1fr 1.6fr; align-items: stretch; }
  .address-card { display: flex; flex-direction: column; justify-content: center; }
  .map-wrap { aspect-ratio: auto; min-height: 380px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
