/* =========================================================
   SHINE PARTNERS CLEANING — SITE STYLES
   Edit the CSS variables below to change colors/fonts sitewide.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root{
  /* ---- Color tokens (change these to re-theme the whole site) ---- */
  /* Matched to the Shine Partners logo: black house mark + cornflower-blue sparkle */
  --bg:            #FAFAFA;   /* page background, near-white to match logo */
  --surface:       #FFFFFF;   /* card / panel background */
  --surface-tint:  #EDF2FD;   /* soft blue-tinted section background */
  --ink:           #15181C;   /* primary text, near-black to match logo mark */
  --ink-muted:     #5B6169;   /* secondary text */
  --primary:       #15181C;   /* near-black — brand color, from the logo linework */
  --primary-dark:  #0B0D10;
  --accent:        #5B8DEF;   /* logo's cornflower blue — the "shine" */
  --accent-soft:   #DEE8FC;
  --star-color:    #F0A93A;   /* review stars stay conventional amber */
  --line:          #E3E6EA;   /* hairline borders */
  --white:         #FFFFFF;

  /* ---- Type tokens ---- */
  --font-display: 'Fraunces', serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-card: 0 1px 2px rgba(27,43,39,0.06), 0 12px 28px -12px rgba(27,43,39,0.18);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; }

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

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  display:inline-flex;
  align-items:center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 16px; height: 1px;
  background: var(--accent);
  display:inline-block;
}

/* ---- visible keyboard focus (accessibility) ---- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   BUTTONS — "shine sweep" signature hover
   ========================================================= */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn::after{
  content:"";
  position:absolute;
  top:0; left:-130%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s ease;
  z-index: 1;
  pointer-events: none;
}
.btn:hover::after{ left: 140%; }
.btn span{ position: relative; z-index: 2; }
.btn:hover{ transform: translateY(-2px); }

.btn-primary{ background: var(--primary); color: var(--white); }
.btn-primary:hover{ box-shadow: 0 10px 24px -8px rgba(31,74,61,0.55); }

.btn-accent{ background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover{ box-shadow: 0 10px 24px -8px rgba(217,164,65,0.55); }

.btn-ghost{ background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover{ background: var(--primary); color: var(--white); }

.btn-block{ width: 100%; }
.btn:disabled{ opacity: 0.6; cursor: not-allowed; transform:none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(251,250,246,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 24px;
}
.logo-mark{
  display:flex; align-items:center; gap:12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
}
.logo-mark img{ height: 40px; width:auto; }
.logo-shine{
  position: relative;
  overflow:hidden;
  display:inline-block;
}
.logo-shine::after{
  content:"";
  position:absolute; top:0; left:-160%;
  width:70%; height:100%;
  background: linear-gradient(115deg, transparent, rgba(91,141,239,0.55), transparent);
  transform: skewX(-18deg);
  animation: shineOnce 2.4s ease 0.4s 1;
}
@keyframes shineOnce{
  0%{ left:-160%; }
  35%{ left: 160%; }
  100%{ left: 160%; }
}

.main-nav{ display:flex; align-items:center; gap: 28px; }
.main-nav a:not(.btn){
  font-size: 15px; font-weight: 500; color: var(--ink);
  position: relative; padding: 4px 0;
}
.main-nav a:not(.btn)::after{
  content:""; position:absolute; left:0; bottom:-2px;
  width:0; height:2px; background: var(--accent);
  transition: width 0.25s ease;
}
.main-nav a:not(.btn):hover::after{ width:100%; }
.main-nav a.is-active::after{ width:100%; }
.nav-ctas{ display:flex; align-items:center; gap:12px; }
.nav-ctas .btn{ padding: 11px 20px; font-size: 14px; }

.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  width: 40px; height: 40px;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav-toggle span{ width:22px; height:2px; background: var(--primary); border-radius: 2px; }

@media (max-width: 880px){
  .main-nav{
    position:fixed; inset: 68px 0 0 0;
    background: var(--bg);
    flex-direction:column;
    align-items:flex-start;
    padding: 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y:auto;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .nav-ctas{ flex-direction:column; width:100%; }
  .nav-ctas .btn{ width:100%; }
  .nav-toggle{ display:flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  padding: 84px 0 90px;
  position: relative;
  overflow:hidden;
  background: linear-gradient(180deg, var(--surface-tint) 0%, var(--bg) 78%);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items:center;
}
.hero h1{
  font-size: clamp(36px, 5vw, 58px);
  color: var(--primary-dark);
}
.hero h1 em{
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero-sub{
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-ctas .btn{ padding: 16px 30px; font-size: 16px; }

.hero-art{
  position: relative;
  aspect-ratio: 1/1;
  max-width: 420px;
  margin: 0 auto;
}
.hero-art svg{ width:100%; height:100%; }

@media (max-width: 880px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; max-width: 280px; }
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust-strip .container{
  display:flex; flex-wrap:wrap; gap: 32px;
  justify-content: space-between;
  padding-top: 28px; padding-bottom: 28px;
}
.trust-item{ display:flex; align-items:center; gap:12px; }
.trust-item .num{
  font-family: var(--font-mono);
  font-size: 22px; font-weight:700; color: var(--primary);
}
.trust-item .label{ font-size: 13px; color: var(--ink-muted); max-width: 16ch; }

/* =========================================================
   SECTION HELPERS
   ========================================================= */
.section{ padding: 88px 0; }
.section-tint{ background: var(--surface-tint); }
.section-head{ max-width: 620px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(28px, 3.6vw, 40px); color: var(--primary-dark); }
.section-head p{ color: var(--ink-muted); font-size: 17px; margin:0; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* =========================================================
   SERVICE TEASER CARDS (home page)
   ========================================================= */
.service-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-grid-3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px){ .service-grid-3{ grid-template-columns: 1fr 1fr; } }
.service-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display:flex; flex-direction:column;
  transition: transform 0.25s ease;
}
.service-card:hover{ transform: translateY(-4px); }
.service-card .tag{
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing:0.08em; text-transform:uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.service-card h3{ font-size: 24px; margin-bottom: 8px; }
.service-card p{ color: var(--ink-muted); flex-grow:1; }
.service-card .btn{ align-self:flex-start; margin-top: 12px; }

@media (max-width: 720px){ .service-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display:flex; flex-direction:column;
}
.review-stars{ color: var(--star-color); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.review-quote{ font-family: var(--font-display); font-size: 17px; font-style: italic; color: var(--ink); flex-grow:1; }
.review-meta{
  display:flex; align-items:center; justify-content:space-between;
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-muted);
}
.review-meta .name{ font-weight:600; color: var(--ink); }
.review-source{
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--font-mono); font-size: 11px; text-transform:uppercase; letter-spacing:0.06em;
}
.reviews-cta{ text-align:center; margin-top: 40px; }

@media (max-width: 920px){ .reviews-grid{ grid-template-columns: 1fr; } }

.placeholder-flag{
  display:inline-block;
  background: var(--accent-soft);
  color: #2A4A8F;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* =========================================================
   CHECKLISTS (services page)
   ========================================================= */
.clean-block{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}
.clean-block-head{
  display:flex; align-items:baseline; justify-content:space-between; gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px; margin-bottom: 30px;
  flex-wrap:wrap;
}
.clean-block-head h2{ font-size: 32px; margin:0; color: var(--primary-dark); }
.clean-block-head .tagline{ color: var(--ink-muted); font-size: 15px; }

.room-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px;
}
.room{ }
.room h4{
  font-family: var(--font-mono);
  font-size: 13px; text-transform:uppercase; letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 16px;
  display:flex; align-items:center; gap:8px;
}
.room h4::before{
  content:""; width:8px; height:8px; border-radius:50%;
  background: var(--accent); display:inline-block;
}
.checklist li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 15px;
  color: var(--ink);
}
.checklist li::before{
  content:"";
  position:absolute; left:0; top:3px;
  width:16px; height:16px;
  border-radius:50%;
  background: var(--surface-tint);
  border: 1.5px solid var(--primary);
}
.checklist li::after{
  content:"";
  position:absolute; left:5px; top:6px;
  width:7px; height:4px;
  border-left: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  transform: rotate(-45deg);
}

@media (max-width: 880px){ .room-grid{ grid-template-columns: 1fr; gap: 26px; } }

.deep-clean-note{
  border: 1.5px dashed var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  font-size: 15px;
  color: #2A4A8F;
}
.deep-clean-note strong{ display:block; margin-bottom: 6px; color: #16294D; }

/* =========================================================
   FORMS (quote + book pages)
   ========================================================= */
.form-shell{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items:start;
}
.form-side h1{ font-size: clamp(32px,4vw,44px); color: var(--primary-dark); }
.form-side p{ color: var(--ink-muted); font-size: 16.5px; }
.form-side .info-list{ margin-top: 28px; }
.form-side .info-list li{
  display:flex; gap:12px; align-items:flex-start;
  margin-bottom: 16px; font-size: 15px; color: var(--ink);
}
.form-side .info-list li .dot{
  margin-top:6px; width:8px; height:8px; border-radius:50%; background: var(--accent); flex:none;
}

.card-form{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.field{ margin-bottom: 20px; }
.field label{
  display:block; font-size: 13px; font-weight:600; color: var(--ink);
  margin-bottom: 7px;
}
.field .req{ color: var(--accent); }
.field input, .field select, .field textarea{
  width:100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--primary);
  outline: none;
}
.field textarea{ resize: vertical; min-height: 100px; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error{ font-size: 12.5px; color: #B3441E; margin-top: 6px; display:none; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color:#B3441E; }
.field.has-error .field-error{ display:block; }

.pill-group{ display:flex; flex-wrap:wrap; gap:10px; }
.pill-option input{ position:absolute; opacity:0; pointer-events:none; }
.pill-option{ position:relative; }
.pill-option span{
  display:inline-flex; align-items:center; padding: 10px 16px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 14px; cursor:pointer; transition: all 0.2s ease;
  background: var(--bg);
}
.pill-option input:checked + span{
  background: var(--primary); color: var(--white); border-color: var(--primary);
}
.pill-option input:focus-visible + span{ outline: 2.5px solid var(--accent); outline-offset: 2px; }

.form-success{
  display:none;
  text-align:center;
  padding: 50px 20px;
}
.form-success .check-badge{
  width: 64px; height:64px; border-radius:50%;
  background: var(--primary); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 20px; font-size: 28px;
}
.form-success h3{ font-size:24px; margin-bottom:10px; }
.form-success p{ color: var(--ink-muted); }

@media (max-width: 880px){
  .form-shell{ grid-template-columns: 1fr; }
  .field-row{ grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--primary-dark);
  color: #DCE6E1;
  padding: 64px 0 32px;
  margin-top: 40px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand{ font-family: var(--font-display); font-size:22px; color:var(--white); margin-bottom: 12px; }
.footer-col h5{
  font-family: var(--font-mono); font-size: 12px; letter-spacing:0.08em; text-transform:uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.footer-col a, .footer-col p{ display:block; font-size:14.5px; color:#C4D2CC; margin-bottom:10px; }
.footer-col a:hover{ color: var(--white); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 26px; font-size: 13px; color: #93A69E; flex-wrap:wrap; gap:12px;
}

@media (max-width: 760px){
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   MISC
   ========================================================= */
.page-hero{
  padding: 56px 0 40px;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line);
}
.page-hero h1{ font-size: clamp(32px,4.4vw,48px); color: var(--primary-dark); }
.page-hero p{ color: var(--ink-muted); font-size: 17px; max-width: 60ch; margin:0; }

.cta-band{
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 56px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 30px; flex-wrap:wrap;
  color: var(--white);
}
.cta-band h3{ color: var(--white); font-size: 28px; margin-bottom: 6px; }
.cta-band p{ color: #C9DAD2; margin:0; }
.cta-band-actions{ display:flex; gap:14px; flex-wrap:wrap; }
