/*
Theme Name: Sisie Luxury
Theme URI: https://example.invalid/sisie-luxury
Author: Novamira
Description: Premium, accessible theme for Sisie Cleaning Services.
Version: 3.0.1
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: sisie
*/

:root {
  /* Brand - purple system (replaces the retired gold/espresso palette) */
  --purple: #5B3DF5;
  --purple-2: #6C4CFF;
  --purple-light: #8A74FF;
  --lavender: #D9D2FF;
  --lavender-soft: #F1EEFF;
  --purple-deep: #4D32D7;
  --navy: #0D1020;
  --navy-2: #171C2E;
  --off-white: #F7F6FB;
  --off-white-2: #EFEDF7;
  --sand: #EFEDF7;
  --success: #2E9D71;
  --ink: #171824;
  --espresso: var(--navy);
  --espresso-2: var(--navy-2);
  --ivory: var(--off-white);
  --ivory-2: var(--off-white-2);
  --olive: #606477;
  --olive-dark: var(--purple-deep);
  --taupe: var(--purple-light);
  --gold: var(--purple);
  /* Text-safe companion to --gold. The brand gold is 3.09:1 on white and 2.81:1
     on --ivory, so it fails WCAG AA for small text. Same hue, darkened to clear
     4.5:1 on both. --gold stays as-is for rules, icons and other decoration. */
  --gold-ink: var(--purple-deep);
  --white: #fff;
  --muted: #606477;
  --line: #E3E1ED;
  --shadow: 0 24px 70px rgba(13, 16, 32, .12);
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(76px, 10vw, 144px);
  --radius: 24px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--ivory); font: 400 17px/1.65 var(--sans); }
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
.prose a:not(.btn), .content-section p a:not(.btn), .faq-list p a:not(.btn) { color: var(--purple); }
.prose a:not(.btn):hover, .content-section p a:not(.btn):hover, .faq-list p a:not(.btn):hover { color: var(--purple-deep); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 99999; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; clip: auto; color: var(--white); background: var(--espresso); }
.container { width: min(calc(100% - (2 * var(--gutter))), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.eyebrow { margin: 0 0 18px; color: var(--olive-dark); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(52px, 7.8vw, 108px); letter-spacing: -.055em; }
h2 { font-size: clamp(42px, 5.4vw, 74px); letter-spacing: -.045em; }
h3 { font-size: clamp(25px, 2.2vw, 34px); letter-spacing: -.025em; }
p { margin: 0 0 1.2em; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(18px, 1.55vw, 22px); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--white); border-color: var(--purple); background: var(--purple); }
.btn--primary:hover { border-color: var(--purple-2); background: var(--purple-2); }
.btn--light { color: var(--ink); border-color: var(--white); background: var(--white); }
.btn--light:hover { color: var(--purple-deep); border-color: var(--lavender-soft); background: var(--lavender-soft); }
.btn--outline { color: var(--purple); border-color: var(--purple); background: transparent; }
.btn--outline:hover { color: var(--purple-deep); border-color: var(--purple-deep); background: var(--lavender-soft); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.trust-strip { color: var(--off-white); background: var(--navy); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.trust-strip__inner { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.trust-strip__dot { color: var(--lavender); }
.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid var(--line); background: rgba(247, 246, 251, .94); backdrop-filter: blur(18px); }
.header-inner { display: grid; min-height: 94px; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.brand { display: inline-grid; gap: 2px; color: var(--espresso); text-decoration: none; }
.brand__name { font: 400 clamp(22px, 2.4vw, 34px)/1 var(--serif); letter-spacing: -.035em; }
.brand__tag { font-size: 9px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.site-nav { justify-self: end; }
.site-nav ul { display: flex; margin: 0; padding: 0; align-items: center; gap: clamp(18px, 2.2vw, 34px); list-style: none; }
.site-nav a { font-size: 13px; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { min-height: 44px; padding: 10px 5px; font-size: 13px; font-weight: 800; text-decoration: none; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); color: var(--espresso); background: var(--white); cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(900px, calc(100vh - 134px)); color: var(--ivory); background: var(--espresso); }
.hero:after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(13, 16, 32, .95) 0%, rgba(13, 16, 32, .74) 48%, rgba(13, 16, 32, .20) 75%); }
.hero__media { position: absolute; z-index: -2; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.hero__inner { display: flex; min-height: inherit; padding-block: clamp(78px, 10vh, 130px); align-items: center; }
.hero__content { max-width: 780px; }
.hero .eyebrow { color: var(--lavender); }
.hero h1 { max-width: 760px; }
.hero h1 em { color: var(--lavender); font-weight: 400; }
.hero .lead { margin-top: 28px; color: rgba(255,255,255,.88); }
.hero .btn--outline { color: var(--white); border-color: rgba(255,255,255,.7); }
.hero .btn--outline:hover { color: var(--ink); border-color: var(--white); background: var(--white); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: rgba(255,255,255,.72); font-size: 13px; }
.hero__trust span:before { margin-right: 9px; color: var(--lavender); content: "✦"; }
.hero__call { display: inline-flex; min-height: 44px; margin-top: 24px; align-items: center; color: var(--ivory); font-weight: 800; }

.intro-grid, .split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(48px, 8vw, 112px); }
.editorial-image { position: relative; }
.editorial-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.editorial-image:after { position: absolute; right: -24px; bottom: -24px; width: 48%; height: 40%; border: 1px solid var(--purple-light); content: ""; pointer-events: none; }
.prose { max-width: 720px; }
.prose h2 { margin-bottom: 28px; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 38px); background: transparent; border: 0; }
.service-card { display: flex; min-width: 0; min-height: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 18px 48px rgba(13,16,32,.07); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.service-card:hover { transform: translateY(-7px); border-color: rgba(91,61,245,.34); box-shadow: 0 26px 65px rgba(13,16,32,.13); }
.service-card__media { display: block; overflow: hidden; background: var(--sand); }
.service-card__media img { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; transition: transform .65s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { display: flex; padding: clamp(26px, 3.2vw, 42px); flex: 1; flex-direction: column; align-items: flex-start; }
.service-card__number { display: block; margin-bottom: 24px; color: var(--gold-ink); font: 400 17px/1 var(--serif); }
.service-card h3 { margin-bottom: 15px; font-size: clamp(28px, 3vw, 39px); }
.service-card p { margin-bottom: 28px; color: var(--muted); }
.service-card__cta { min-height: 48px; margin-top: auto; padding-inline: 22px; }
.section--tight .service-grid { margin-top: 52px; }
.area-link-grid { display: grid; margin-top: 42px; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.area-link-grid .content-card { text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.area-link-grid .content-card:hover { transform: translateY(-4px); border-color: rgba(91,61,245,.34); box-shadow: 0 18px 44px rgba(13,16,32,.1); }
.area-page > section { margin-top: clamp(68px, 9vw, 118px); }
.area-hero-image { margin: 0 0 30px; overflow: hidden; border-radius: 22px; box-shadow: 0 24px 64px rgba(13,16,32,.13); }
.area-hero-image img { display: block; width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; }
.area-quick-links { position: sticky; z-index: 20; top: 98px; display: flex; overflow-x: auto; padding: 12px 14px; gap: 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(247,246,251,.94); backdrop-filter: blur(14px); }
.area-quick-links a { flex: 0 0 auto; padding: 9px 13px; border-radius: 999px; color: var(--espresso); background: var(--sand); font-size: 12px; font-weight: 800; text-decoration: none; }
.area-media-section { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(34px, 7vw, 86px); }
.area-media-section--reverse figure { order: 2; }
.area-media-section figure { overflow: hidden; border-radius: 18px; box-shadow: 0 20px 54px rgba(13,16,32,.1); }
.area-media-section img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.area-contact { padding: clamp(36px, 6vw, 72px); border-radius: 22px; color: var(--ivory); background: var(--espresso); }
.area-contact .eyebrow { color: var(--lavender); }
.area-contact p { color: rgba(255,255,255,.75); }
.area-contact a:not(.btn) { color: var(--ivory); }
/* Dark-panel button treatment. Without these the CTAs inherit the light-section
   colours and disappear: .btn--outline renders espresso text + espresso border on
   the espresso panel (1:1 contrast), and .btn--primary loses its surface entirely.
   Mirrors the existing .hero .btn--outline / .btn--light patterns. */
.area-contact .btn--outline { color: var(--white); border-color: rgba(255,255,255,.7); }
.area-contact .btn--outline:hover { color: var(--ink); border-color: var(--white); background: var(--white); }
.area-contact .btn--primary { color: var(--ink); border-color: var(--white); background: var(--white); }
.area-contact .btn--primary:hover { color: var(--purple-deep); border-color: var(--lavender-soft); background: var(--lavender-soft); }
.text-link { display: inline-flex; margin-top: 10px; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.text-link:after { content: "→"; transition: transform .2s ease; }
.text-link:hover:after { transform: translateX(5px); }

.dark-section { color: var(--ivory); background: var(--espresso); }
.dark-section .eyebrow { color: var(--lavender); }
.dark-section .btn--primary, .areas-cta .btn--primary { color: var(--ink); border-color: var(--white); background: var(--white); }
.dark-section .btn--primary:hover, .areas-cta .btn--primary:hover { color: var(--purple-deep); border-color: var(--lavender-soft); background: var(--lavender-soft); }
.dark-section .btn--outline, .areas-cta .btn--outline { color: var(--white); border-color: rgba(255,255,255,.7); }
.dark-section .btn--outline:hover, .areas-cta .btn--outline:hover { color: var(--ink); border-color: var(--white); background: var(--white); }
.dark-section .lead, .dark-section p { color: rgba(255,255,255,.72); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; background: rgba(255,255,255,.14); }
.step { padding: 34px; background: var(--espresso); }
.step__number { display: grid; width: 44px; height: 44px; margin-bottom: 44px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--lavender); font-family: var(--serif); }

.benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.benefit { padding: 36px; background: var(--ivory); }
.benefit h3 { margin-bottom: 12px; font-size: 26px; }
.benefit p { color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 14px; }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; background: var(--ivory-2); }
.gallery-grid figure:first-child { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .6s ease; }
.gallery-grid figure:first-child img { min-height: 574px; }
.gallery-grid figure:hover img { transform: scale(1.025); }

.faq-list { max-width: 900px; margin-top: 46px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 76px; padding: 22px 0; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font: 400 clamp(20px, 2vw, 27px)/1.25 var(--serif); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: "+"; color: var(--purple); }
.faq-list details[open] summary:after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 0 28px; color: var(--muted); }

.quote-band { color: var(--ink); background: var(--lavender); }
.quote-band__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 42px; }
.quote-band h2 { max-width: 850px; }

.page-hero { padding: clamp(86px, 11vw, 150px) 0 clamp(64px, 8vw, 108px); color: var(--ivory); background: var(--espresso); }
/* .page-hero is a dark panel, so the eyebrow needs the same light token .hero,
   .area-contact and .dark-section already use. Without it the default
   --olive-dark lands on --espresso at 1.87:1. */
.page-hero .eyebrow { color: var(--lavender); }
.page-hero h1 { max-width: 950px; font-size: clamp(52px, 7vw, 92px); }
.page-hero .lead { margin-top: 24px; color: rgba(255,255,255,.72); }
.service-feature-image { position: relative; margin: 0 0 clamp(48px, 7vw, 88px); overflow: hidden; background: var(--sand); }
.service-feature-image img { display: block; width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; transition: transform .8s var(--ease); }
.service-feature-image:hover img { transform: scale(1.018); }
.service-feature-image figcaption { position: absolute; right: 18px; bottom: 18px; max-width: 360px; padding: 12px 16px; color: var(--ivory); background: rgba(13,16,32,.84); backdrop-filter: blur(12px); font-size: 13px; }
.content-section { padding-block: clamp(64px, 9vw, 120px); }
.content-section h2 { margin-bottom: 24px; }
.content-section h3 { margin: 34px 0 14px; }
.content-section ul { padding-left: 20px; }
.content-section li { margin-bottom: 10px; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px; }
.content-card { padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.breadcrumb { padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.breadcrumb a { text-decoration: none; }

.quote-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-top: 44px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1/-1; }
.field label { font-size: 13px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #8B88A0; border-radius: 6px; color: var(--ink); background: var(--white); transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px rgba(91,61,245,.20); }
.field textarea { min-height: 140px; resize: vertical; }
.field--check { display: flex; grid-column: 1/-1; align-items: flex-start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; }
.form-notice { grid-column: 1/-1; padding: 16px; border-left: 4px solid var(--success); background: #EAF6F1; }
.form-notice--error { border-color: #9d3f32; background: #f8e9e6; }
.hp-field { position: absolute!important; left: -9999px!important; }

.site-footer { padding: 72px 0 110px; color: var(--off-white); background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 60px; }
.footer-title { margin-bottom: 18px; font: 400 38px/1 var(--serif); }
.footer-heading { margin: 0 0 18px; color: var(--lavender); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; margin: 0; padding: 0; gap: 10px; list-style: none; }
.footer-links a { color: rgba(255,255,255,.76); text-decoration: none; }
.footer-contact { color: rgba(255,255,255,.76); font-style: normal; }
.footer-service-area { display: block; margin-bottom: 12px; max-width: 34ch; }
.footer-contact a { display: block; margin-top: 8px; }
.footer-bottom { display: flex; margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); justify-content: space-between; gap: 24px; color: rgba(255,255,255,.5); font-size: 12px; }
.mobile-actions { display: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .header-phone { display: none; }
  .site-nav { position: fixed; top: 134px; right: 0; left: 0; display: none; padding: 26px var(--gutter) 36px; border-bottom: 1px solid var(--line); background: var(--ivory); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; }
  .site-nav a { display: flex; min-height: 44px; align-items: center; font-size: 17px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .header-actions .btn { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-link-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 767px) {
  body.admin-bar .site-header { top: 46px; }
  .trust-strip__inner { min-height: 36px; font-size: 10px; }
  .trust-strip__item:nth-child(n+3), .trust-strip__dot:nth-of-type(n+3) { display: none; }
  .header-inner { min-height: 78px; grid-template-columns: 1fr auto; }
  .brand__name { font-size: 24px; }
  .site-nav { top: 114px; }
  .hero { min-height: 760px; }
  .hero:after { background: linear-gradient(180deg, rgba(13,16,32,.86), rgba(13,16,32,.70)); }
  .hero__media img { object-position: 60% center; }
  .hero__inner { padding-block: 72px 96px; align-items: flex-end; }
  .hero h1 { font-size: clamp(52px, 15vw, 69px); }
  .hero .button-row .btn { width: 100%; }
  .hero__trust { gap: 7px 14px; }
  .intro-grid, .split, .content-grid, .quote-band__inner, .footer-grid { grid-template-columns: 1fr; }
  .area-link-grid, .area-media-section { grid-template-columns: 1fr; }
  .area-media-section--reverse figure { order: 0; }
  .area-quick-links { top: 82px; margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .area-hero-image img { aspect-ratio: 4 / 3; }
  .editorial-image { order: 2; }
  .service-grid, .steps, .benefit-list { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card__media img { aspect-ratio: 16 / 10; }
  .service-card__body { padding: 25px 22px 28px; }
  .service-feature-image img { aspect-ratio: 4 / 3; }
  .service-feature-image figcaption { position: static; max-width: none; color: var(--espresso); background: var(--sand); backdrop-filter: none; }
  .service-card__number { margin-bottom: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:first-child { grid-column: 1/-1; grid-row: auto; }
  .gallery-grid figure:first-child img { min-height: 420px; }
  .gallery-grid img { min-height: 210px; }
  .quote-form { grid-template-columns: 1fr; }
  .field--full, .field--check { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .mobile-actions { position: fixed; z-index: 1100; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 28px rgba(0,0,0,.16); }
  .mobile-actions a { display: flex; min-height: 56px; align-items: center; justify-content: center; color: var(--white); background: var(--olive-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
  .mobile-actions a:last-child { color: var(--white); background: var(--purple); }
}

@media (max-width: 374px) {
  .brand__tag { display: none; }
  .hero h1 { font-size: 49px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
  .reveal { opacity: 1; transform: none; }
}

/* Dark-panel inline links.
   .prose a:not(.btn) and .area-contact a:not(.btn) carry identical specificity
   (0,2,1), so source order decided the winner and prose links kept the purple
   link colour inside the navy panels - 3.09:1 against #0D1020. These sit last
   in the file AND carry a higher specificity than .content-section p a:not(.btn)\n   (0,2,2), which was the rule actually winning. They use the lavender
   token that the eyebrows on the same panels already use. */
.prose .area-contact a:not(.btn), .content-section .area-contact a:not(.btn), .area-contact p a:not(.btn),
.prose .dark-section a:not(.btn), .content-section .dark-section a:not(.btn), .dark-section p a:not(.btn),
.prose .areas-cta a:not(.btn), .content-section .areas-cta a:not(.btn), .areas-cta p a:not(.btn),
.page-hero p a:not(.btn), .hero p a:not(.btn) { color: var(--lavender); }
.prose .area-contact a:not(.btn):hover, .content-section .area-contact a:not(.btn):hover, .area-contact p a:not(.btn):hover,
.prose .dark-section a:not(.btn):hover, .content-section .dark-section a:not(.btn):hover, .dark-section p a:not(.btn):hover,
.prose .areas-cta a:not(.btn):hover, .content-section .areas-cta a:not(.btn):hover, .areas-cta p a:not(.btn):hover,
.page-hero p a:not(.btn):hover, .hero p a:not(.btn):hover { color: var(--white); }


/* =====================================================================
 * Reference design system
 * Implements the client's approved design reference: Playfair Display /
 * Poppins, rounded purple buttons with arrow affordances, purple line
 * icons, the four-column trust panel, and the icon-led footer.
 * Fonts are self-hosted so the site keeps its zero third-party requests.
 * ================================================================== */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/PlayfairDisplay-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/PlayfairDisplay-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/Poppins-400.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/Poppins-500.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/Poppins-600.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/Poppins-700.woff2") format("woff2"); }

/* Playfair runs small and tight next to Georgia; ease the tracking back. */
h1, h2, h3, .brand__name, .footer-title, .service-card__number { letter-spacing: -.02em; }
h1 { letter-spacing: -.03em; }
.lead { font-weight: 400; }

/* --- Buttons: rounded, arrow affordance, soft lift --------------------- */
.btn { border-radius: 10px; gap: 10px; }
.btn:hover { box-shadow: 0 10px 24px rgba(91, 61, 245, .22); }
.btn--light:hover, .area-contact .btn--primary:hover, .dark-section .btn--primary:hover, .areas-cta .btn--primary:hover { box-shadow: 0 10px 26px rgba(13, 16, 32, .28); }
.btn--primary:after, .btn--outline:after, .btn--light:after { content: "\2192"; transition: transform .2s ease; }
.btn:hover:after { transform: translateX(4px); }
.service-card__cta:after, .area-quick-links a:after { content: none; }

/* --- Section heading rule (matches the reference's short purple bar) --- */
.section-rule { display: block; width: 54px; height: 3px; margin: 22px 0 0; border-radius: 3px; background: var(--purple); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .section-rule { margin-inline: auto; }

/* --- Trust panel under the hero --------------------------------------- */
.trust-panel { position: relative; z-index: 3; margin-top: clamp(-64px, -4vw, -40px); }
.trust-panel__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; overflow: hidden; border-radius: 18px; background: var(--purple); box-shadow: 0 26px 60px rgba(13, 16, 32, .22); }
.trust-panel__item { display: flex; padding: 30px 26px; align-items: flex-start; gap: 16px; border-right: 1px solid rgba(255, 255, 255, .18); }
.trust-panel__item:last-child { border-right: 0; }
.trust-panel__icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; color: #fff; }
.trust-panel__icon svg { width: 22px; height: 22px; }
.trust-panel h3 { margin: 0 0 6px; color: #fff; font: 600 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.trust-panel p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 13.5px; line-height: 1.55; }

/* --- Purple line icons on the service cards --------------------------- */
.service-card__icon { display: grid; width: 54px; height: 54px; margin-bottom: 22px; place-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--purple); background: var(--lavender-soft); transition: background .3s var(--ease), border-color .3s var(--ease); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { border-color: var(--purple-light); background: var(--lavender); }

/* --- Cards: rounder, softer, subtle purple hover ---------------------- */
.service-card { border-radius: 18px; }
.content-card { border-radius: 16px; }
.content-card:hover { border-color: rgba(91, 61, 245, .3); box-shadow: 0 16px 40px rgba(13, 16, 32, .09); }
.benefit { border-radius: 0; }
.trust-card { box-shadow: 0 10px 26px rgba(13, 16, 32, .06); }

/* --- Hero: keep the photograph, warm the overlay toward the brand ----- */
.hero:after { background: linear-gradient(90deg, rgba(13, 16, 32, .96) 0%, rgba(16, 17, 46, .84) 40%, rgba(28, 24, 78, .30) 66%, rgba(28, 24, 78, .06) 100%); }
.hero__call { border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.hero__call:hover { border-color: var(--lavender); color: var(--lavender); }

/* --- Forms ------------------------------------------------------------ */
.field input, .field select, .field textarea { border-radius: 10px; }
.quote-form .btn { width: auto; }

/* --- Footer: icon-led contact block ----------------------------------- */
.footer-contact-list { display: grid; margin: 0; padding: 0; gap: 16px; list-style: none; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.55; }
.footer-contact-list svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; color: var(--lavender); }
/* Standalone links, so WCAG 2.2 SC 2.5.8 applies - Poppins at 14.5px gives a
   23px line box, one pixel short. */
.footer-contact-list a { display: inline-flex; min-height: 24px; align-items: center; color: rgba(255, 255, 255, .82); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.footer-contact-list a:hover { color: #fff; border-color: var(--lavender); }
.footer-hours span { display: block; }

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 1024px) {
  .trust-panel__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-panel__item:nth-child(2) { border-right: 0; }
  .trust-panel__item:nth-child(1), .trust-panel__item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 700px) {
  .trust-panel { margin-top: 0; }
  .trust-panel__inner { grid-template-columns: 1fr; border-radius: 14px; }
  .trust-panel__item { padding: 22px 20px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .trust-panel__item:last-child { border-bottom: 0; }
}

/* --- Service grid density -------------------------------------------
   The reference runs a compact multi-column icon grid. The photographs are
   real content and stay, but the grid moves to three across on desktop and
   the card headings come down a step so titles stop wrapping to three lines. */
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }
.service-card h3 { margin-bottom: 12px; font-size: clamp(23px, 1.7vw, 28px); }
.service-card p { margin-bottom: 22px; font-size: 15px; }
.service-card__body { padding: clamp(22px, 2vw, 30px); }
.service-card__icon { width: 48px; height: 48px; margin-bottom: 18px; }
.service-card__icon svg { width: 23px; height: 23px; }
.service-card__cta { min-height: 44px; padding-inline: 18px; font-size: 12px; }
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }

/* --- Footer balance --------------------------------------------------
   The service-area column carries 19 links while its neighbours carry 5-7,
   which left most of the footer empty. Running that one list in two columns
   halves its height and evens the band out. */
.footer-links--areas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.footer-grid { grid-template-columns: 1.25fr .7fr .9fr 1.15fr 1.1fr; gap: 44px; align-items: start; }
.footer-title { font-size: clamp(28px, 2.2vw, 34px); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
@media (max-width: 640px) { .footer-links--areas { grid-template-columns: 1fr; } }

/* Ten services in a three-column grid leaves the last card alone on its own
   row. Centre that orphan card rather than letting it hang left. */
@media (min-width: 1025px) { .service-grid > :last-child:nth-child(3n + 1) { grid-column: 2 / 3; } }

/* --- Mobile hero legibility, top bar and sticky actions --------------
   Mobile Hero legibility: the vertical overlay was light enough at the
   bottom that headline text crossed a bright wall area of the photograph.
   Darkened so the copy sits on a consistent field at every scroll position. */
@media (max-width: 900px) {
  .hero:after { background: linear-gradient(180deg, rgba(13,16,32,.90) 0%, rgba(13,16,32,.86) 55%, rgba(16,17,46,.88) 100%); }
  .hero .lead { color: rgba(255,255,255,.92); }
}
/* Top bar: on narrow screens only the service-area line is useful; the
   separators and secondary items wrapped into an untidy second row. */
@media (max-width: 760px) {
  .trust-strip__dot, .trust-strip__item + .trust-strip__item { display: none; }
  .trust-strip__inner { justify-content: center; padding-block: 9px; }
  .trust-strip { font-size: 11px; letter-spacing: .06em; }
}
/* Sticky mobile bar: give the two actions a deliberate hierarchy instead of
   two near-identical purples sitting side by side. */
@media (max-width: 767px) {
  .mobile-actions a { display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; letter-spacing: .04em; }
  .mobile-actions a:first-child { color: #fff; background: var(--navy-2); }
  .mobile-actions a:last-child { color: #fff; background: var(--purple); }
}

/* --- Section heading rule, applied without touching markup ------------
   The reference sets a short purple bar under each section heading. Every
   section already pairs an .eyebrow with an h2, so the adjacent-sibling
   selector places it everywhere at once. */
.eyebrow + h2:after { content: ""; display: block; width: 54px; height: 3px; margin-top: 24px; border-radius: 3px; background: var(--purple); }
.dark-section .eyebrow + h2:after, .area-contact .eyebrow + h2:after, .areas-cta .eyebrow + h2:after, .page-hero .eyebrow + h1:after { background: var(--lavender); }
.quote-band .eyebrow + h2:after { background: var(--purple); }


/* =====================================================================
 * DARK PURPLE IDENTITY
 * ---------------------------------------------------------------------
 * The site moves from a light, off-white base to a purple-dominant dark
 * theme. Approach: the light tokens (--white, --ivory, --off-white) are
 * left alone because they double as *text* colours on dark panels; only
 * the rules that used them as SURFACES are inverted. --ink also stays
 * dark, because it is the text colour on the few surfaces that remain
 * white by design (form fields, contrast buttons).
 * ================================================================== */

:root {
  --bg:            #12092A;   /* deepest - page base            */
  --bg-2:          #1B103E;   /* raised sections                */
  --bg-3:          #2C1768;   /* panels, accents                */
  --purple-rich:   #4B22D4;   /* saturated brand purple         */
  --purple-soft:   #9C7DFF;   /* readable purple on dark        */
  --glass:         rgba(255, 255, 255, .055);
  --glass-2:       rgba(255, 255, 255, .085);
  --glass-line:    rgba(255, 255, 255, .13);
  --text:          rgba(255, 255, 255, .93);
  --text-muted:    rgba(255, 255, 255, .68);
  --grad-panel:    linear-gradient(150deg, #2C1768 0%, #1B103E 58%, #180E38 100%);
  --grad-brand:    linear-gradient(135deg, #6C4CFF 0%, #5B3DF5 45%, #4B22D4 100%);
  --grad-page:     radial-gradient(1100px 700px at 12% -8%, rgba(91, 61, 245, .26) 0%, rgba(18, 9, 42, 0) 62%),
                   radial-gradient(900px 620px at 92% 6%, rgba(76, 34, 212, .20) 0%, rgba(18, 9, 42, 0) 60%);
  /* Muted body copy now sits on dark, and hairlines have to be light. */
  --muted: var(--text-muted);
  --line:  var(--glass-line);
  /* These two aliases were chosen for legibility on light surfaces
     (--purple-deep #4D32D7). Every surface is dark now, so they have to
     invert or anything still using them lands at ~2.2:1. */
  --gold-ink:   var(--purple-soft);
  --olive-dark: var(--purple-soft);
  --shadow: 0 28px 70px rgba(6, 3, 18, .55);
}

/* --- Page base -------------------------------------------------------- */
body { color: var(--text); background: var(--bg); background-image: var(--grad-page); background-attachment: fixed; background-repeat: no-repeat; }

/* Alternating section depth so the page reads as layered panels rather
   than one flat field. */
.section { position: relative; }
.section--tight { background: transparent; }
.content-section { background: transparent; }

/* --- Header: dark glass ---------------------------------------------- */
.site-header { border-bottom: 1px solid var(--glass-line); background: rgba(18, 9, 42, .72); backdrop-filter: blur(20px) saturate(140%); }
.brand { color: var(--text); }
.site-nav a { color: var(--text); }
.site-nav a:hover { color: var(--purple-soft); }
.header-phone { color: var(--text); }
.menu-toggle { border: 1px solid var(--glass-line); border-radius: 12px; color: var(--text); background: var(--glass); backdrop-filter: blur(10px); }
.trust-strip { color: rgba(255, 255, 255, .84); background: #0C0620; border-bottom: 1px solid rgba(255, 255, 255, .06); }

/* --- Hero: brand gradient over the photograph ------------------------ */
.hero { color: var(--text); background: var(--bg-2); }
.hero:after { background: linear-gradient(100deg, rgba(12, 6, 32, .97) 0%, rgba(27, 16, 62, .93) 32%, rgba(44, 23, 104, .82) 60%, rgba(75, 34, 212, .58) 100%); }
.hero .lead { color: rgba(255, 255, 255, .86); }
.page-hero { background: var(--grad-panel); }
.page-hero:after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 320px at 8% 0%, rgba(108, 76, 255, .30), transparent 70%); pointer-events: none; }
.page-hero { position: relative; isolation: isolate; }

/* --- Eyebrows and accents must lift off a dark field ------------------ */
.eyebrow { color: var(--purple-soft); }
.eyebrow + h2:after, .section-rule { background: var(--grad-brand); }
.trust-strip__dot { color: var(--purple-soft); }

/* --- Glass cards ------------------------------------------------------ */
.service-card,
.content-card,
.benefit,
.trust-card,
.area-card {
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 46px rgba(6, 3, 18, .40);
}
.service-card:hover,
.area-card:hover { border-color: rgba(156, 125, 255, .55); background: var(--glass-2); box-shadow: 0 30px 66px rgba(6, 3, 18, .55); }
.content-card:hover { border-color: rgba(156, 125, 255, .45); background: var(--glass-2); box-shadow: 0 22px 50px rgba(6, 3, 18, .45); }
.service-card__media, .service-feature-image, .gallery-grid figure, .area-map { background: var(--bg-3); }
.service-card__icon { border-color: rgba(156, 125, 255, .38); color: #fff; background: var(--grad-brand); }
.service-card:hover .service-card__icon { border-color: rgba(156, 125, 255, .7); background: var(--grad-brand); }
.trust-card__icon { color: #fff; background: var(--grad-brand); }
.benefit-list { border-color: var(--glass-line); background: var(--glass-line); }
.step { background: var(--bg-3); }
.steps { background: rgba(255, 255, 255, .10); }

/* --- Dark panels get depth instead of flat fill ----------------------- */
.dark-section, .area-contact, .areas-cta { background: var(--grad-panel); }
.dark-section, .area-contact, .areas-cta { border: 1px solid rgba(255, 255, 255, .07); }
.dark-section { border-inline: 0; }
.quote-band { color: #fff; background: var(--grad-brand); }
.quote-band .lead, .quote-band p { color: rgba(255, 255, 255, .88); }
.site-footer { background: linear-gradient(180deg, #150B33 0%, #0C0620 100%); border-top: 1px solid var(--glass-line); }

/* --- Buttons ---------------------------------------------------------- */
.btn--primary { background: var(--grad-brand); border-color: transparent; }
.btn--primary:hover { background: linear-gradient(135deg, #7C5EFF 0%, #6C4CFF 45%, #5B3DF5 100%); border-color: transparent; box-shadow: 0 14px 34px rgba(108, 76, 255, .45); }
.btn--outline { color: var(--purple-soft); border-color: rgba(156, 125, 255, .55); }
.btn--outline:hover { color: #fff; border-color: rgba(156, 125, 255, .9); background: rgba(156, 125, 255, .16); }
.service-card__cta { color: var(--purple-soft); border-color: rgba(156, 125, 255, .5); }
.service-card__cta:hover { color: #fff; background: rgba(156, 125, 255, .18); }

/* --- Links on the dark field ----------------------------------------- */
.prose a:not(.btn), .content-section p a:not(.btn), .faq-list p a:not(.btn) { color: var(--purple-soft); }
.prose a:not(.btn):hover, .content-section p a:not(.btn):hover, .faq-list p a:not(.btn):hover { color: #fff; }
.faq-list summary:after { color: var(--purple-soft); }
.faq-list, .faq-list details { border-color: var(--glass-line); }
.breadcrumb { border-color: var(--glass-line); color: var(--text-muted); }
.text-link { color: var(--purple-soft); }
.area-card__cta, .areas-featured__list a { color: var(--purple-soft); }
.areas-featured__list a:hover { color: #fff; border-color: rgba(156, 125, 255, .8); }
.area-quick-links { border-color: var(--glass-line); background: rgba(18, 9, 42, .82); backdrop-filter: blur(16px); }
/* .prose a:not(.btn) is (0,2,1) and was recolouring these pills, so match it. */
.area-quick-links a, .prose .area-quick-links a { color: rgba(255,255,255,.92); background: var(--glass-2); }
.area-quick-links a:hover, .prose .area-quick-links a:hover { color: #fff; background: rgba(156, 125, 255, .24); }

/* --- Forms: fields stay white on purpose (readability + familiarity) -- */
.field label { color: var(--text); }
.field input, .field select, .field textarea { color: #171824; background: #fff; border-color: rgba(255, 255, 255, .28); }
.field input::placeholder, .field textarea::placeholder { color: #6b6880; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple-soft); box-shadow: 0 0 0 3px rgba(156, 125, 255, .30); }
.field--check span { color: var(--text); }
.form-notice { color: #eafff4; border-left-color: #35C98D; background: rgba(46, 157, 113, .18); }
.form-notice--error { color: #ffe7e3; border-left-color: #ff7a68; background: rgba(255, 90, 70, .16); }

/* --- Media -------------------------------------------------------------
   Photographs were shot for a light layout; a small dim keeps them from
   glaring against the dark field without losing detail. */
.service-card__media img, .gallery-grid img, .area-card__media img, .area-media-section img, .editorial-image img, .area-hero-image img { filter: saturate(1.02) brightness(.94); }
.service-card:hover .service-card__media img, .gallery-grid figure:hover img { filter: saturate(1.06) brightness(1); }
.service-feature-image figcaption { background: rgba(18, 9, 42, .88); }

/* --- Mobile ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-nav { border-bottom: 1px solid var(--glass-line); background: rgba(18, 9, 42, .96); backdrop-filter: blur(20px); }
}
@media (max-width: 767px) {
  .mobile-actions a:first-child { color: #fff; background: #23134F; }
  .mobile-actions a:last-child { color: #fff; background: var(--grad-brand); }
  .service-feature-image figcaption { color: var(--text); background: var(--bg-3); }
}

/* --- Motion: premium, and switched off when asked -------------------- */
.service-card, .content-card, .area-card, .btn, .service-card__icon { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .service-card:hover, .area-card:hover, .btn:hover { transform: none; }
}

/* Replaces an inline light background that used to sit in the markup. */
.section--raised { background: linear-gradient(180deg, rgba(44,23,104,.55) 0%, rgba(27,16,62,.35) 100%); border-block: 1px solid rgba(255,255,255,.07); }
