/* ==========================================================================
   LiceAway Solutions — brand stylesheet
   Pink ombré identity: magenta-pink → warm coral, charcoal text
   ========================================================================== */

/* ---------- Tokens ---------- */
:root, [data-theme="light"] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;

  /* Brand color — pink ombré */
  --color-bg: #fffafc;
  --color-surface: #ffffff;
  --color-surface-2: #fff4f8;
  --color-surface-offset: #ffeef4;
  --color-border: #f6d6e2;
  --color-divider: #f7e2ea;

  --color-text: #241a1f;
  --color-text-muted: #6f5f66;
  --color-text-faint: #b9a8b0;
  --color-text-inverse: #ffffff;

  /* Primary = hot pink; secondary = coral (the ombré endpoints) */
  --color-pink: #f5316c;
  --color-pink-deep: #e2185b;
  --color-coral: #ff7a6b;
  --color-magenta: #ff2e93;

  --color-primary: #e2185b;
  --color-primary-hover: #c31450;
  --color-primary-active: #a01143;

  /* Signature ombré gradient (matches business card) */
  --ombre: linear-gradient(160deg, #ff2e8f 0%, #ff4d78 45%, #ff8168 100%);
  --ombre-soft: linear-gradient(160deg, #fff0f6 0%, #fff4f1 100%);

  --radius-sm: 0.5rem;  --radius-md: 0.75rem; --radius-lg: 1.25rem;
  --radius-xl: 1.75rem; --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(60,20,40,.06);
  --shadow-md: 0 8px 24px rgba(226,24,91,.10);
  --shadow-lg: 0 20px 50px rgba(226,24,91,.16);
  --shadow-pink: 0 12px 34px rgba(255,46,143,.30);

  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1200px;

  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', system-ui, sans-serif;
}

[data-theme="dark"] {
  --color-bg: #140e11;
  --color-surface: #1c141a;
  --color-surface-2: #23181f;
  --color-surface-offset: #281a22;
  --color-border: #3a2530;
  --color-divider: #2e1e27;
  --color-text: #f3e6ec;
  --color-text-muted: #b596a5;
  --color-text-faint: #7a5d6b;
  --color-text-inverse: #241a1f;
  --color-primary: #ff5c8a;
  --color-primary-hover: #ff7aa1;
  --color-primary-active: #ff98b7;
  --ombre-soft: linear-gradient(160deg, #26141d 0%, #2a1620 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.55);
  --shadow-pink: 0 12px 34px rgba(255,46,143,.35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: none; text-size-adjust: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  min-height: 100dvh; line-height: 1.6;
  font-family: var(--font-body); font-size: var(--text-base);
  color: var(--color-text); background: var(--color-bg);
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
h1,h2,h3,h4 { text-wrap: balance; line-height: 1.1; font-family: var(--font-display); font-weight: 600; }
p { text-wrap: pretty; }
ul { list-style: none; }

::selection { background: rgba(255,46,143,.22); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

a, button, input, textarea {
  transition: color var(--transition-interactive), background var(--transition-interactive),
    border-color var(--transition-interactive), box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
}
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.narrow { max-width: var(--content-narrow); }
section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.eyebrow {
  display: inline-block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.section-title { font-size: var(--text-2xl); letter-spacing: -0.02em; }
.section-lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; margin-top: var(--space-4); }
.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-weight: 700; font-size: var(--text-sm); padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full); white-space: nowrap;
}
.btn-primary { background: var(--ombre); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,46,143,.42); }
.btn-outline { border: 2px solid var(--color-border); color: var(--color-text); background: var(--color-surface); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--color-divider); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.brand { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-weight: 600; }
.brand .logo-mark { width: 40px; height: 40px; color: var(--color-primary); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 1.05rem; letter-spacing: .02em; }
.brand-text span { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--color-text-muted); font-family: var(--font-body); font-weight: 600; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-links a { font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); }
.nav-links a:hover { color: var(--color-primary); }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-full); color: var(--color-text-muted); }
.theme-toggle:hover { background: var(--color-surface-offset); color: var(--color-primary); }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4);
    position: absolute; top: 4.5rem; left: 0; right: 0;
    background: var(--color-surface); padding: var(--space-6); border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-md);
  }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; color: var(--color-text); }
  .nav-cta-desktop { display: none; }
}
.nav-cta-mobile { display: none; }
@media (max-width: 860px) { .nav-cta-mobile { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(var(--space-12), 6vw, var(--space-20)); padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
.hero h1 { font-size: var(--text-3xl); letter-spacing: -0.03em; }
.hero h1 .grad { background: var(--ombre); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tag { display: inline-flex; align-items:center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 700; color: var(--color-primary); background: var(--color-surface-offset); padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); margin-bottom: var(--space-5); }
.hero p.lede { font-size: var(--text-lg); color: var(--color-text-muted); margin-top: var(--space-5); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-6); margin-top: var(--space-8); }
.hero-trust li { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.hero-trust svg { width: 20px; height: 20px; color: var(--color-primary); flex: none; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hero-media::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 62%; height: 78%;
  background: var(--ombre); filter: blur(60px); opacity: .28; border-radius: 50%; z-index: -1;
}
.hero-badge {
  position: absolute; bottom: -24px; left: -20px; background: var(--color-surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-4) var(--space-5);
  display: flex; align-items: center; gap: var(--space-3);
}
.hero-badge .num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--color-primary); line-height: 1; }
.hero-badge .lbl { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 600; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { left: 8px; }
}

/* ---------- 24/7 bar ---------- */
.callbar { background: var(--ombre); color: #fff; }
.callbar .wrap { display: flex; align-items: center; justify-content: center; gap: var(--space-4) var(--space-8); flex-wrap: wrap; padding-block: var(--space-6); text-align: center; }
.callbar strong { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.callbar .phone { display: inline-flex; align-items: center; gap: var(--space-2); background: rgba(255,255,255,.18); padding: var(--space-3) var(--space-5); border-radius: var(--radius-full); font-weight: 700; font-size: var(--text-lg); }
.callbar .phone:hover { background: rgba(255,255,255,.3); }

/* ---------- Steps / Services / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-pink); }
.card .icon { width: 52px; height: 52px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-surface-offset); color: var(--color-primary); margin-bottom: var(--space-5); }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.card p { color: var(--color-text-muted); font-size: var(--text-base); }

.step-num {
  width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--ombre); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; display: grid; place-items: center;
  margin-bottom: var(--space-5); box-shadow: var(--shadow-pink);
}
.process-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.process-gallery figure {
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.process-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.process-gallery figcaption {
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
}
@media (max-width: 860px) {
  .process-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Why (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.check-list { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.check-list svg { width: 24px; height: 24px; color: var(--color-primary); flex: none; margin-top: 2px; }
.check-list b { font-weight: 700; }
.check-list span { color: var(--color-text-muted); }

/* ---------- Pricing ---------- */
.pricing { background: var(--ombre-soft); }
.price-card { text-align: center; position: relative; }
.price-card.featured { border: 2px solid var(--color-pink); box-shadow: var(--shadow-md); }
.price-tag { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 600; color: var(--color-primary); line-height: 1; }
.price-tag small { font-size: var(--text-base); color: var(--color-text-muted); font-family: var(--font-body); font-weight: 600; }
.price-note { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-3); }
.badge-top { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--ombre); color:#fff; font-size: var(--text-xs); font-weight: 700; padding: var(--space-1) var(--space-4); border-radius: var(--radius-full); letter-spacing: .04em; }

/* ---------- Service area ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.area-chips li { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: var(--space-3) var(--space-5); font-weight: 600; font-size: var(--text-sm); }
.local-seo-copy {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.local-seo-copy h3 { font-size: var(--text-xl); margin-bottom: var(--space-5); }
.local-seo-copy p { color: var(--color-text-muted); max-width: none; margin-top: var(--space-4); }
.local-seo-copy strong { color: var(--color-text); }
.local-seo-copy a { color: var(--color-primary); font-weight: 700; }
.local-seo-copy a:hover { color: var(--color-primary-hover); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); margin-bottom: var(--space-4);
}
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--color-primary); transition: transform var(--transition-interactive); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--color-text-muted); margin-top: var(--space-4); }

/* ---------- CTA / Contact ---------- */
.cta { background: var(--ombre); color: #fff; text-align: center; }
.cta h2 { font-size: var(--text-2xl); color: #fff; }
.cta p { color: rgba(255,255,255,.9); font-size: var(--text-lg); margin-top: var(--space-4); max-width: 52ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-top: var(--space-8); }
.btn-white { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-lg); }
.btn-white:hover { transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color:#fff; }

/* ---------- Footer ---------- */
.footer { background: var(--color-surface-2); border-top: 1px solid var(--color-divider); }
.footer .wrap { padding-block: var(--space-16); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-10); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); } }
.footer h4 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-4); }
.footer a { color: var(--color-text-muted); font-size: var(--text-sm); display: inline-flex; align-items:center; gap: var(--space-2); }
.footer a:hover { color: var(--color-primary); }
.footer ul { display: grid; gap: var(--space-3); }
.footer .desc { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-4); max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--color-divider); margin-top: var(--space-10); padding-top: var(--space-6); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-xs); color: var(--color-text-faint); }

/* ---------- Floating call button (mobile) ---------- */
.fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 60;
  display: none; align-items: center; gap: var(--space-2);
  background: var(--ombre); color: #fff; font-weight: 700; font-size: var(--text-sm);
  padding: var(--space-4) var(--space-5); border-radius: var(--radius-full); box-shadow: var(--shadow-pink);
}
.fab svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .fab { display: inline-flex; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
