/* =========================================================
   Yellow Rose Solutions — inner-page components
   Builds on styles.css tokens (:root vars are global).
   ========================================================= */

.eyebrow-gold { color: var(--gold-bright); }
.section-lede { margin-top: 1.1rem; color: var(--slate); font-size: 1.05rem; line-height: 1.65; }
.shell-narrow { width: min(100% - (var(--gutter) * 2), 860px); margin-inline: auto; }

/* ---------- Page hero (compact banner) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(62vh, 560px); }
.page-hero-media { position: absolute; inset: 0; z-index: -2; background: var(--navy-deep); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: scale(1.06); animation: heroDrift 20s ease-out forwards; }
.page-hero-scrim { position: absolute; inset: 0;
  background:
    linear-gradient(100deg, oklch(0.12 0.04 262 / 0.9) 0%, oklch(0.14 0.045 262 / 0.6) 48%, oklch(0.16 0.05 262 / 0.28) 100%),
    linear-gradient(to top, oklch(0.11 0.04 262 / 0.85), transparent 55%); }
.page-hero-inner { padding-top: 150px; padding-bottom: clamp(2.25rem, 4vw, 3.5rem); max-width: 52rem; }
.page-hero .eyebrow { margin-bottom: 0.6rem; }
.page-hero h1 { font-family: var(--f-display); color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.9rem); line-height: 1.05; letter-spacing: -0.01em; text-shadow: 0 2px 30px oklch(0.1 0.03 262 / 0.5); }
.page-hero-sub { margin-top: 1rem; color: oklch(0.93 0.012 85); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); line-height: 1.6; max-width: 40rem; text-wrap: pretty; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 0.82rem; }
.breadcrumbs .shell { padding-block: 0.85rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: var(--slate); }
.breadcrumbs a { color: var(--slate); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--gold-deep); }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 600; }
.crumb-sep { color: var(--line); }

/* ---------- Two-column content layout ---------- */
.content-sec { padding-block: clamp(3.25rem, 6vw, 5.5rem); background: var(--cream); }
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); color: var(--navy); line-height: 1.15; margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-sans); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-top: 1.6rem; }
.prose p, .prose li { color: var(--slate); line-height: 1.7; }
.prose strong { color: var(--ink); }
.prose ul { display: grid; gap: 0.7rem; margin-top: 0.4rem; }
.prose ul li { position: relative; padding-left: 1.7rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.7rem; height: 0.7rem; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.prose .lead { font-size: 1.15rem; color: var(--ink); line-height: 1.65; }

/* Sticky estimate card (sidebar) */
.aside-card { position: sticky; top: 100px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--mist); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-lift); overflow: hidden; }
.aside-card::before { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; background: radial-gradient(circle, oklch(0.72 0.115 78 / 0.28), transparent 70%); }
.aside-card h2 { font-family: var(--f-display); color: #fff; font-size: 1.5rem; line-height: 1.15; position: relative; }
.aside-card p { margin-top: 0.7rem; font-size: 0.95rem; color: oklch(0.9 0.015 85); position: relative; }
.aside-card .btn { margin-top: 1.25rem; width: 100%; justify-content: center; position: relative; }
.aside-phone { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--gold-bright); font-weight: 700; font-size: 1.15rem; position: relative; }
.aside-phone svg { width: 1.2rem; height: 1.2rem; }
.aside-list { margin-top: 1.4rem; display: grid; gap: 0.75rem; border-top: 1px solid var(--navy-line); padding-top: 1.3rem; position: relative; }
.aside-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.9rem; color: oklch(0.9 0.015 85); line-height: 1.4; }
.aside-list svg { width: 1.2rem; height: 1.2rem; color: var(--gold); margin-top: 0.05rem; }

/* ---------- Feature grid ---------- */
.feature-sec { background: var(--paper); padding-block: clamp(3.5rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.1rem, 2vw, 1.6rem); margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.feature-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.7rem; box-shadow: var(--shadow-card); transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: oklch(0.72 0.115 78 / 0.4); }
.feature-mark { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: linear-gradient(150deg, var(--gold-bright), var(--gold)); color: var(--navy-deep); margin-bottom: 1rem; box-shadow: 0 10px 20px -10px oklch(0.72 0.115 78 / 0.7); }
.feature-mark svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-family: var(--f-display); font-size: 1.28rem; color: var(--navy); margin-bottom: 0.5rem; }
.feature-card p { color: var(--slate); font-size: 0.96rem; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--cream); padding-block: clamp(3.25rem, 5vw, 5rem); }
.faq-list { margin-top: clamp(2rem, 3vw, 2.75rem); display: grid; gap: 0.9rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; font-family: var(--f-sans); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { width: 1.4rem; height: 1.4rem; flex-shrink: 0; fill: none; stroke: var(--gold-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease-out); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 1.4rem 1.35rem; }
.faq-a p { color: var(--slate); line-height: 1.7; max-width: 68ch; }

/* ---------- CTA actions (extends .cta from styles.css) ---------- */
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Service Areas ---------- */
.area-region { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.area-region:first-child { margin-top: 0; }
.area-region-head { max-width: 52rem; margin-bottom: 1.75rem; }
.area-region-head h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); color: var(--navy); }
.area-region-head p { margin-top: 0.65rem; color: var(--slate); line-height: 1.65; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.area-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out); }
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: oklch(0.72 0.115 78 / 0.45); }
.area-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.area-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.area-card:hover .area-card-media img { transform: scale(1.06); }
.area-card-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.15rem; }
.area-name { font-family: var(--f-display); font-size: 1.3rem; color: var(--navy); }
.area-county { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.area-go { margin-top: 0.7rem; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); }
.area-go .arrow { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease-out); }
.area-card:hover .area-go .arrow { transform: translateX(3px); }

/* Chips / internal link row */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); font-size: 0.85rem; font-weight: 600; line-height: 1; white-space: nowrap; transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s; }
.chip:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.about-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid var(--line); }
.about-figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(2rem, 3vw, 3rem); }
.value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-card); }
.value-card .feature-mark { margin-bottom: 0.9rem; }
.value-card h3 { font-family: var(--f-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.4rem; }
.value-card p { color: var(--slate); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Reviews ---------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.5rem; margin-top: 1.6rem; }
.rating-stars { display: inline-flex; gap: 0.15rem; color: var(--gold); }
.rating-stars svg { width: 1.6rem; height: 1.6rem; }
.rating-score { font-family: var(--f-display); font-size: 1.6rem; color: var(--navy); }
.rating-meta { color: var(--slate); font-weight: 600; }
.review-grid { columns: 3 300px; column-gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.review-card { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.6rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.55rem 1.6rem; box-shadow: var(--shadow-card); }
.review-card .rating-stars svg { width: 1.15rem; height: 1.15rem; }
.review-body { margin-top: 0.85rem; color: var(--ink); line-height: 1.65; font-size: 0.98rem; }
.review-meta { margin-top: 1.1rem; display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.review-avatar { width: 2.6rem; height: 2.6rem; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(150deg, var(--gold-bright), var(--gold)); color: var(--navy-deep); font-family: var(--f-display); font-size: 1.1rem; flex-shrink: 0; }
.review-name { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.review-loc { font-size: 0.82rem; color: var(--slate); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: 0.85rem; color: var(--navy); letter-spacing: 0.02em; }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea { font-family: var(--f-sans); font-size: 1rem; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: 0.75rem 0.9rem; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px oklch(0.72 0.115 78 / 0.18); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--slate); text-align: center; }
.contact-aside { display: grid; gap: 1rem; }
.contact-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-card); display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.contact-tile .tile-ico { width: 3rem; height: 3rem; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(150deg, var(--gold-bright), var(--gold)); color: var(--navy-deep); flex-shrink: 0; }
.contact-tile .tile-ico svg { width: 1.5rem; height: 1.5rem; }
.contact-tile h3 { font-family: var(--f-sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.3rem; }
.contact-tile a, .contact-tile p { font-size: 1.1rem; color: var(--navy); font-weight: 600; line-height: 1.4; }
.contact-tile a:hover { color: var(--gold-deep); }
.contact-tile p.tile-sub { font-size: 0.92rem; font-weight: 400; color: var(--slate); }

/* ---------- Coming soon ---------- */
.coming-soon { position: relative; isolation: isolate; overflow: hidden; min-height: 70vh; display: grid; place-items: center; text-align: center; }
.coming-soon .cta-media { position: absolute; inset: 0; z-index: -2; }
.coming-soon .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.coming-soon .cs-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, oklch(0.13 0.04 262 / 0.92), oklch(0.16 0.05 262 / 0.82)); }
.cs-inner { padding: clamp(4rem, 9vw, 7rem) var(--gutter); max-width: 46rem; }
.cs-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid oklch(0.72 0.115 78 / 0.4); color: var(--gold-bright); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cs-badge svg { width: 1.1rem; height: 1.1rem; }
.coming-soon h1 { font-family: var(--f-display); color: #fff; font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4rem); line-height: 1.05; margin-top: 1.25rem; }
.coming-soon p { margin-top: 1.15rem; color: oklch(0.92 0.012 85); font-size: 1.15rem; line-height: 1.6; }
.coming-soon .cs-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.25rem; }

/* ---------- Local content block (area pages) ---------- */
.local-sec { background: var(--paper); padding-block: clamp(3.25rem, 5vw, 5rem); border-top: 1px solid var(--line); }
.local-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.1rem, 2vw, 1.6rem); margin-top: clamp(2rem, 3vw, 2.75rem); }
.local-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-card); }
.local-card h3 { font-family: var(--f-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.local-card h3 svg { width: 1.4rem; height: 1.4rem; color: var(--gold-deep); }
.local-card p { color: var(--slate); font-size: 0.96rem; line-height: 1.6; }

/* ---------- Footer service-areas band ---------- */
.footer-areas { padding-block: 1.5rem; border-bottom: 1px solid var(--navy-line); }
.footer-areas h2 { font-family: var(--f-sans); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.footer-areas ul { display: flex; flex-wrap: wrap; gap: 0.5rem 0.35rem; }
.footer-areas li { display: inline-flex; align-items: center; }
.footer-areas li + li::before { content: "·"; color: var(--navy-line); margin-right: 0.6rem; }
.footer-areas a { font-size: 0.9rem; color: oklch(0.82 0.015 85); transition: color 0.2s; }
.footer-areas a:hover { color: var(--gold-bright); }
.footer-areas li:first-child a { color: var(--gold-bright); font-weight: 600; }

/* ---------- Reveal for new components ---------- */
.js .feature-card.reveal, .js .area-card.reveal, .js .faq-item.reveal, .js .value-card.reveal { transition-delay: var(--d, 0ms); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .about-split { grid-template-columns: 1fr; }
  .about-figure { order: -1; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .review-grid { columns: 1; }
  .page-hero-inner { padding-top: 120px; }
  .page-hero-actions .btn, .cs-actions .btn { flex: 1 1 auto; justify-content: center; }
}
