/* ============================================================
   Shine Cleaning Service - styles.css
   Vanilla CSS. Mobile-first. No frameworks, no build step.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy: #0A1A3C;
  --royal: #1E6FE6;
  --sky: #4FA8FF;
  --white: #FFFFFF;
  --mist: #F5F8FC;
  --line: #E3E9F2;
  --ink: #1F2A3D;
  --muted: #5B6B82;

  --royal-dark: #1659bd;
  --whatsapp: #25D366;
  --whatsapp-dark: #1da851;

  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(10, 26, 60, 0.06);
  --shadow: 0 8px 24px rgba(10, 26, 60, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 26, 60, 0.14);

  --header-h: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

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

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.section { padding: 64px 0; }
.section-mist { background: var(--mist); }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 4.2vw, 2.7rem); }
.section-intro { color: var(--muted); font-size: 1.08rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--royal);
  margin-bottom: 10px;
}
.eyebrow .sparkle { width: 16px; height: 16px; fill: var(--sky); }

/* ---------- Sparkle motif ---------- */
.sparkle { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--royal);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(30, 111, 230, 0.28);
}
.btn-primary:hover {
  background: var(--royal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(30, 111, 230, 0.34);
}

.btn-outline {
  background: transparent;
  color: var(--royal);
  border-color: var(--royal);
}
.btn-outline:hover {
  background: var(--royal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 50px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-desktop > a:not(.btn) {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 2px;
  position: relative;
}
.nav-desktop > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--royal);
  transition: width 0.2s ease;
}
.nav-desktop > a:not(.btn):hover { color: var(--royal); }
.nav-desktop > a:not(.btn):hover::after { width: 100%; }
.btn-call { font-size: 0.95rem; padding: 11px 18px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile { display: none; }
.nav-mobile:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav-mobile a:not(.btn) {
  color: var(--ink);
  font-weight: 500;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile .btn { margin-top: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background-image: url("images/pic_after_1.jpg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  isolation: isolate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Darker only behind the text (bottom-left), airier and more transparent
     over the rest so the bright kitchen shows through. White text stays AA. */
  background:
    linear-gradient(105deg, rgba(10, 26, 60, 0.82) 0%, rgba(10, 26, 60, 0.52) 40%, rgba(10, 26, 60, 0.2) 66%, rgba(10, 26, 60, 0.04) 100%),
    linear-gradient(to top, rgba(10, 26, 60, 0.48) 0%, rgba(10, 26, 60, 0) 48%);
}
.hero-content {
  padding-top: 72px;
  padding-bottom: 84px;
  max-width: 760px;
}
.kicker-light { color: var(--sky); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.kicker .sparkle { fill: var(--sky); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.32);
}
.hero-sub {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 28px;
  text-shadow: 0 1px 12px rgba(10, 26, 60, 0.55);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-trust {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(10, 26, 60, 0.6);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--navy);
  color: var(--white);
  padding: 18px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 36px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.98rem;
}
.trust-item .icon {
  width: 22px; height: 22px;
  fill: var(--sky);
  flex: none;
}

/* ============================================================
   SERVICES
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 168, 255, 0.16), rgba(30, 111, 230, 0.14));
  margin-bottom: 16px;
}
.card-icon svg {
  width: 28px; height: 28px;
  fill: var(--royal);
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }

/* ============================================================
   OUR WORK / GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  /* Let a shorter card hug its own image instead of stretching to its row-mate. */
  align-items: start;
}
.gallery-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
}
.about-body p { font-size: 1.08rem; color: var(--ink); }
.about-body .mission { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.about-body .mission-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--royal);
  margin-bottom: 6px;
}
.about-body .mission-text { font-size: 1.08rem; color: var(--ink); margin: 0; }

.pull-quote {
  margin: 0;
  background: var(--mist);
  border-left: 5px solid var(--royal);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.pull-quote blockquote {
  margin: 0 0 16px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.48rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.pull-quote figcaption { display: flex; flex-direction: column; }
.quote-name { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.quote-role { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   REVIEWS
   ============================================================ */
.stars, .stars-inline { display: inline-flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; fill: var(--royal); }
.stars-inline {
  vertical-align: middle;
  margin-left: 6px;
}
.stars-inline svg { width: 18px; height: 18px; fill: var(--royal); }

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review-card > p { color: var(--ink); }
.review-card .stars { margin-bottom: 12px; }
.reviewer {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 700;
  color: var(--navy);
}
.reviews-credit {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 28px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #112b63 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner { position: relative; max-width: 760px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.85rem, 4.2vw, 2.7rem); }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; margin-bottom: 28px; }
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.cta-sparkle { position: absolute; fill: var(--sky); opacity: 0.5; }
.cta-sparkle-1 { width: 40px; height: 40px; top: 8px; left: 8%; }
.cta-sparkle-2 { width: 26px; height: 26px; bottom: 14px; right: 12%; opacity: 0.4; }

/* ============================================================
   CONTACT + FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact-list { list-style: none; margin: 0 0 22px; padding: 0; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 168, 255, 0.16), rgba(30, 111, 230, 0.14));
  flex: none;
}
.contact-icon svg { width: 22px; height: 22px; fill: var(--royal); }
.contact-label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.contact-label a {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}
.contact-label a:hover { color: var(--royal); }
.contact-area { color: var(--ink); font-weight: 500; }
.contact-note { color: var(--muted); font-size: 0.95rem; }

/* Form */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.req { color: var(--royal); }
.optional { color: var(--muted); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(30, 111, 230, 0.16);
}
.field input.invalid,
.field textarea.invalid {
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14);
}
.field textarea { resize: vertical; }

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.form-status.success {
  background: rgba(37, 211, 102, 0.12);
  color: #137a3e;
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.form-status.error {
  background: rgba(214, 69, 69, 0.1);
  color: #b22d2d;
  border: 1px solid rgba(214, 69, 69, 0.35);
}
.form-status a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 52px;
  padding-bottom: 40px;
}
.wordmark {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-tagline { color: var(--sky); font-weight: 600; margin: 0; }
.footer-signoff { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; line-height: 1.5; margin: 0; }
.footer-tagline + .footer-signoff { margin-top: 12px; }
.footer-col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  padding: 5px 0;
  font-size: 0.97rem;
}
.footer-col a:hover { color: var(--sky); }
.footer-areas { color: rgba(255, 255, 255, 0.82); margin: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { margin: 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }
.footer-credit a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover { color: var(--sky); }
@media (max-width: 640px) {
  .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================================
   MOBILE STICKY ACTION BAR
   ============================================================ */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--white);
  box-shadow: 0 -2px 14px rgba(10, 26, 60, 0.14);
  padding: 8px;
  gap: 8px;
}
.mobile-bar-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.mobile-bar-btn .icon { width: 20px; height: 20px; fill: currentColor; }
.mobile-bar-call { background: var(--royal); }
.mobile-bar-call:hover { color: var(--white); }
.mobile-bar-whatsapp { background: var(--whatsapp); }
.mobile-bar-whatsapp:hover { color: var(--white); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .section { padding: 84px 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .hero-content { padding-top: 110px; padding-bottom: 120px; }
}

/* Mobile-only behaviors */
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-logo { height: 40px; }
  .mobile-bar { display: flex; }
  /* Keep the sticky bar from covering footer content */
  body { padding-bottom: 76px; }
  .reveal { transition-duration: 0.5s; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
