/* Alyssa Paints Windows: soft pastel placeholder theme */

:root {
  --cream: #fff8f3;
  --paper: #ffffff;
  --ink: #2f2a3d;
  --ink-soft: #5d5770;
  --line: #ece4f3;

  --blush: #fbe0e7;
  --blush-deep: #f4a6bd;
  --mint: #d8f2e8;
  --mint-deep: #3e9c7c;
  --lavender: #ebe4fa;
  --lavender-deep: #8f7ccf;
  --butter: #fff2c9;
  --sky: #dcecfb;

  --accent: #b2466c;        /* button rose: 5.9:1 on white */
  --accent-hover: #963a5b;
  --focus: #8f7ccf;
  --error: #b42343;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(47 42 61 / .04), 0 12px 32px -12px rgb(143 124 207 / .28);

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;

  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font: 800 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 20px -10px rgb(178 70 108 / .7);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.2em; height: 1.2em; }
.btn-small { padding: .55em 1.1em; font-size: .92rem; }
.btn-ghost { background: rgb(255 255 255 / .7); color: var(--accent); box-shadow: none; }
.btn-ghost:hover { background: #fff; color: var(--accent-hover); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 248 243 / .82);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgb(236 228 243 / .7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; white-space: nowrap; }
.brand-text em { font-style: italic; color: var(--lavender-deep); }
.header-nav { display: flex; align-items: center; gap: 6px; }
.icon-link {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: var(--ink-soft); transition: background-color .15s, color .15s;
}
.icon-link:hover { background: var(--lavender); color: var(--lavender-deep); }
.icon-link svg { width: 21px; height: 21px; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(40rem 26rem at 8% 0%, var(--blush) 0%, transparent 60%),
    radial-gradient(34rem 24rem at 100% 20%, var(--lavender) 0%, transparent 62%),
    radial-gradient(24rem 9rem at 55% 78%, var(--mint) 0%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 1.1em; padding: .35em .9em; border-radius: 999px;
  background: rgb(255 255 255 / .75); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lavender-deep);
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 700; margin-bottom: .45em; isolation: isolate; }
.squiggle { position: relative; white-space: nowrap; color: var(--accent); font-style: italic; }
.squiggle::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c18-7 30 3 48-2s30-6 44-1 18 3 24-1' fill='none' stroke='%23f4a6bd' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

.hero-art { position: relative; isolation: isolate; justify-self: center; width: min(100%, 380px); }
.hero-art::before {
  content: ''; position: absolute; inset: 8% -6% -4% -6%; border-radius: 50%;
  background: radial-gradient(circle, var(--butter) 0%, transparent 70%); z-index: -1;
}
.window-svg { width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgb(143 124 207 / .28)); }
.window-svg .paint { animation: shimmer 6s ease-in-out infinite alternate; transform-origin: center; }
@keyframes shimmer { from { opacity: .9; } to { opacity: 1; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

.cards { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px 26px 22px; border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / .9); box-shadow: var(--shadow);
}
.card h3 { font-size: 1.32rem; margin-top: .8em; }
.card p { color: var(--ink-soft); margin: 0; }
.service-area { margin: 1.6rem 0 0; text-align: center; color: var(--ink-soft); }
.service-area strong { color: var(--ink); }
.card-icon { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: rgb(255 255 255 / .8); }
.card-lavender { background: var(--lavender); } .card-lavender .card-icon { color: var(--lavender-deep); }
.card-mint { background: var(--mint); } .card-mint .card-icon { color: var(--mint-deep); }
.card-blush { background: var(--blush); } .card-blush .card-icon { color: var(--accent); }

/* Quote */
.quote { background: linear-gradient(180deg, var(--cream) 0%, #fdf1f5 50%, var(--cream) 100%); }
.quote-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.quote-intro { position: sticky; top: 100px; }
.quote-intro p { color: var(--ink-soft); }
.quote-chat-note { font-weight: 700; }

.form-card {
  background: var(--paper); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: clamp(22px, 4vw, 40px);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 800; font-size: .96rem; margin-bottom: 6px; padding: 0; }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 2px solid var(--line); background: #fdfbff; color: var(--ink);
  font: 600 1rem/1.4 var(--font-body);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
textarea { resize: vertical; min-height: 130px; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%238f7ccf' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
input::placeholder, textarea::placeholder { color: #a39cb3; font-weight: 600; }
input:hover, select:hover, textarea:hover { border-color: #ddd1ee; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--lavender-deep); background: #fff;
  box-shadow: 0 0 0 4px rgb(143 124 207 / .18);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); background-color: #fff7f8; }
input[aria-invalid="true"]:focus, select[aria-invalid="true"]:focus, textarea[aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 4px rgb(180 35 67 / .14); }

.hint { font-size: .86rem; color: var(--ink-soft); margin: 6px 2px 0; }
.counter { text-align: right; }
.error { color: var(--error); font-size: .9rem; font-weight: 700; margin: 6px 2px 0; }
.error:empty { display: none; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.turnstile { margin: 4px 0 16px; min-height: 0; }
.turnstile:not(:empty) { min-height: 65px; }

.form-status {
  margin: 0 0 16px; padding: 12px 16px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .95rem;
}
.form-status.is-error { background: #fdeef1; color: var(--error); border: 1px solid #f6cbd5; }
.form-status.is-info { background: var(--lavender); color: #4d3f8a; }

.privacy { text-align: center; font-size: .85rem; color: var(--ink-soft); margin: 12px 0 0; }
.noscript { background: var(--butter); padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 700; }

.success { text-align: center; padding: 20px 6px; }
.success:focus { outline: none; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 14px; }
.success h3 { font-size: 1.8rem; }
.success p { color: var(--ink-soft); }

/* Chat */
.chat { background: radial-gradient(36rem 14rem at 50% 50%, var(--lavender) 0%, transparent 70%); }
.chat-inner { text-align: center; }
.chat-inner > p { color: var(--ink-soft); }
.chat-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 1.6rem; }
.chat-btn {
  display: flex; align-items: center; gap: 14px; min-width: 270px; text-align: left;
  padding: 16px 22px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  border: 2px solid transparent; box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
}
.chat-btn:hover { transform: translateY(-2px); color: var(--ink); }
.chat-btn svg { width: 34px; height: 34px; flex: none; }
.chat-btn span { display: flex; flex-direction: column; line-height: 1.3; }
.chat-btn small { color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.chat-ig { background: linear-gradient(135deg, var(--blush), var(--butter)); }
.chat-ig svg { color: var(--accent); }
.chat-ig:hover { border-color: var(--blush-deep); }
.chat-fb { background: linear-gradient(135deg, var(--sky), var(--lavender)); }
.chat-fb svg { color: #4f6fc9; }
.chat-fb:hover { border-color: #a9bff0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: .92rem; color: var(--ink-soft); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { width: min(72%, 300px); order: -1; }
  .cards { grid-template-columns: 1fr; }
  .quote-inner { grid-template-columns: 1fr; }
  .quote-intro { position: static; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.02rem; }
  .brand-mark { width: 30px; height: 30px; }
  .header-nav .icon-link { display: none; }
  .hero-actions .btn { width: 100%; }
  .chat-btn { min-width: 0; width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* 404 */
.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.not-found .lede { margin: 0 auto; }
.not-found .hero-actions { justify-content: center; }
