/* ==========================================================================
   TJ Cleaning Service LLC — Marketing site styles
   Palette: fresh teal + deep ink + warm amber accent
   ========================================================================== */

:root {
  --brand:        #0d7d6f;
  --brand-dark:   #0a5c52;
  --brand-darker: #073f39;
  --brand-light:  #14b8a6;
  --mint:         #5eead4;
  --mint-bg:      #eefaf7;
  --mint-tint:    #f4fbf9;

  --accent:       #f4a825;
  --accent-dark:  #d98a0e;

  --ink:          #10242b;
  --body:         #3f5359;
  --muted:        #6b7d82;
  --line:         #e2ece9;

  --white:        #ffffff;
  --bg:           #ffffff;

  --shadow-sm: 0 2px 8px rgba(16, 36, 43, .06);
  --shadow-md: 0 12px 30px rgba(16, 36, 43, .10);
  --shadow-lg: 0 24px 60px rgba(16, 36, 43, .16);

  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1140px;
  --header-h:  74px;

  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 15.5px; line-height: 1;
  padding: 13px 22px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; fill: currentColor; }
.btn-lg { font-size: 17px; padding: 16px 28px; }

.btn-primary { background: var(--accent); color: #3a2500; box-shadow: 0 8px 20px rgba(244,168,37,.35); }
.btn-primary:hover { background: var(--accent-dark); color: #2a1b00; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(217,138,14,.42); }

.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }

.btn-phone {
  background: var(--brand); color: #fff; padding: 11px 18px; font-size: 15px;
}
.btn-phone:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--brand); }
.brand-mark { color: var(--brand); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.brand-sub { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a:not(.btn) { color: var(--ink); font-weight: 600; font-size: 15.5px; }
.site-nav > a:not(.btn):hover { color: var(--brand); }

.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(94,234,212,.35), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(20,184,166,.35), transparent 60%),
    linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 55%, var(--brand-darker) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.10) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 65%, rgba(255,255,255,.08) 0 10px, transparent 11px),
    radial-gradient(circle at 88% 25%, rgba(255,255,255,.07) 0 5px, transparent 6px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.06) 0 8px, transparent 9px);
  background-size: 320px 320px;
  opacity: .8;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center;
  padding: 84px 22px 92px;
}

.eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mint); margin-bottom: 16px;
}
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); color: #fff; margin-bottom: 18px; }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.92); max-width: 40ch; margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-badges li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.95); }
.hero-badges .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(244,168,37,.25); }

/* Hero decorative card */
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.sparkle-scene { position: relative; height: 190px; display: grid; place-items: center; }
.hero-glyph { width: 130px; height: 130px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); animation: floaty 5s ease-in-out infinite; }
.ripple {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.28);
  box-shadow: 0 0 0 22px rgba(255,255,255,.06);
}
.spark { position: absolute; border-radius: 50%; background: #fff; opacity: .9; }
.spark.s1 { width: 12px; height: 12px; top: 22px; left: 34px; animation: twinkle 2.6s ease-in-out infinite; }
.spark.s2 { width: 8px; height: 8px; top: 130px; right: 40px; animation: twinkle 3.1s ease-in-out infinite .4s; }
.spark.s3 { width: 6px; height: 6px; top: 60px; right: 30px; animation: twinkle 2.2s ease-in-out infinite .8s; }
.hero-card-note { margin-top: 14px; color: rgba(255,255,255,.9); font-size: 15px; }
.hero-card-note strong { color: #fff; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes twinkle { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.4); opacity: .35; } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--ink); color: #fff; }
.trustbar-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 26px 22px; text-align: center; }
.trust-item { display: flex; flex-direction: column; gap: 3px; }
.trust-num { font-size: 1.5rem; font-weight: 800; color: var(--mint); letter-spacing: -.02em; }
.trust-label { font-size: 13.5px; color: rgba(255,255,255,.8); font-weight: 500; }

@media (min-width: 941px) {
  .trust-item { position: relative; }
  .trust-item:not(:first-child)::before {
    content: ""; position: absolute; left: -9px; top: 50%; transform: translateY(-50%);
    width: 1px; height: 40px; background: rgba(255,255,255,.14);
  }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--mint-tint); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow-dark { color: var(--brand); }
.eyebrow-light { color: var(--mint); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.06rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .22s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--mint); }
.card-ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-bg); margin-bottom: 18px;
}
.card-ic svg { width: 28px; height: 28px; fill: var(--brand); }
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--body); font-size: 15.5px; }

.services-cta {
  margin-top: 44px; text-align: center;
  background: var(--mint-bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.services-cta p { font-size: 1.1rem; font-weight: 600; color: var(--ink); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; }
.feature { display: flex; gap: 16px; }
.feature-ic {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: var(--brand); box-shadow: var(--shadow-sm);
}
.feature-ic svg { width: 24px; height: 24px; fill: #fff; }
.feature h3 { font-size: 1.14rem; margin-bottom: 5px; }
.feature p { font-size: 15px; color: var(--body); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; }
.about-visual { display: flex; }
.about-panel {
  position: relative; width: 100%; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--brand-light), var(--brand-dark));
  color: #fff; text-align: center; padding: 46px 30px; box-shadow: var(--shadow-md);
  min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.about-badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--accent); color: #3a2500; font-weight: 800; font-size: 12.5px;
  letter-spacing: .04em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px;
}
.about-glyph svg { width: 120px; height: 120px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.22)); }
.about-panel p { font-weight: 600; font-size: 15.5px; color: rgba(255,255,255,.95); }

.about-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 12px 0 16px; }
.about-copy p { margin-bottom: 15px; }
.about-copy .btn { margin-top: 10px; }

/* ---------- Contact ---------- */
.section-dark { position: relative; background: linear-gradient(150deg, var(--brand-dark), var(--brand-darker)); color: #fff; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 90% 0%, rgba(94,234,212,.22), transparent 60%);
}
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.contact-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.contact-lede { color: rgba(255,255,255,.9); margin-bottom: 26px; max-width: 44ch; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 22px 22px;
}
.info-card h3 { color: #fff; font-size: 1.06rem; display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.info-card h3 .ic { width: 20px; height: 20px; fill: var(--mint); flex: 0 0 auto; }
.info-card p { color: rgba(255,255,255,.9); font-size: 15px; }
.info-card a { color: #fff; font-weight: 700; }
.info-card a:hover { color: var(--mint); }
.info-hours { grid-column: 1 / -1; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 8px 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours th { font-weight: 600; color: rgba(255,255,255,.92); }
.hours td { color: #fff; font-weight: 700; text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }
.hours .closed th, .hours .closed td { color: rgba(255,255,255,.55); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 46px 0 30px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { color: var(--brand-light); }
.footer-name { color: #fff; font-weight: 800; font-size: 1.05rem; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,.7); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: rgba(255,255,255,.82); font-weight: 600; font-size: 15px; }
.footer-nav a:hover { color: var(--mint); }
.footer-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; font-size: 13.5px; color: rgba(255,255,255,.6); }

/* ---------- Floating call button (mobile) ---------- */
.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: none; align-items: center; gap: 9px;
  background: var(--accent); color: #3a2500; font-weight: 800;
  padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 26px rgba(0,0,0,.28);
}
.call-fab .ic { width: 20px; height: 20px; fill: currentColor; }
.call-fab:hover { color: #2a1b00; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; padding-bottom: 66px; }
  .hero-card { max-width: 400px; margin-inline: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-visual { order: 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
    border: 1px solid var(--line); background: #fff;
  }
  .nav-burger span { display: block; height: 2.5px; width: 22px; margin: 0 auto; background: var(--ink); border-radius: 3px; transition: .25s; }

  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-toggle:checked ~ .site-nav { max-height: 420px; }
  .site-nav > a { padding: 15px 22px; border-top: 1px solid var(--line); }
  .site-nav > a:not(.btn) { width: 100%; }
  .site-nav .btn-phone { margin: 14px 22px 18px; justify-content: center; }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .call-fab { display: inline-flex; }
  .site-footer { padding-bottom: 96px; } /* clearance for floating call button */
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .brand-sub { display: none; }
  .footer-legal { flex-direction: column; }

  /* Tame the decorative hero panel so it doesn't dominate the fold */
  .hero-card { padding: 26px 22px 24px; }
  .sparkle-scene { height: 150px; }
  .hero-glyph { width: 106px; height: 106px; }
  .ripple { width: 124px; height: 124px; }
}

/* Prevent the long phone CTA from clipping on very narrow screens */
@media (max-width: 400px) {
  .btn-lg { font-size: 15.5px; padding: 15px 18px; }
  .container { padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
