/* ===================================================================
   SaniClean Solutions — Cleaning, Restoration & Maintenance
   Theme: Black + Yellow | Rebuilt from the original Google Site
   =================================================================== */

:root {
  --yellow:      #F0C926;
  --yellow-dark: #D9A81B;
  --ink:         #1E1B18;
  --dark:        #221F1C;
  --dark-2:      #2B2724;
  --gray:        #5F5A55;
  --line:        #E8E4DF;
  --white:       #FFFFFF;
  --radius:      6px;
  --maxw:        1180px;
  --font-head:   'Oswald', 'Arial Narrow', sans-serif;
  --font-body:   'Open Sans', 'Segoe UI', system-ui, Arial, sans-serif;
  --shadow:      0 6px 22px rgba(30, 27, 24, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; }
.section--dark { background: var(--dark); color: #EDEAE6; }
.section--yellow { background: var(--yellow); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; letter-spacing: .01em; line-height: 1.2; }
.section-title { font-size: 2.833rem; text-align: center; margin-bottom: 14px; }
.section--dark .section-title { color: var(--yellow); }
.section-sub { text-align: center; max-width: 1130px; margin: 0 auto 38px; color: var(--gray); }
.section--dark .section-sub { color: #CFC9C2; }
.accent { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-weight: 400; font-size: 1rem; padding: 14px 17px; border-radius: 0;
  border: none; cursor: pointer; transition: background .15s, transform .15s;
  font-family: var(--font-body);
}
.btn:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--yellow); border: 1.5px solid var(--yellow); padding: 12.5px 15px; }
.btn--outline:hover { background: var(--yellow); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .08em; font-weight: 600; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.nav-links a { color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--yellow-dark); }
.nav-links a.active { font-weight: 700; }
.has-drop { position: relative; }
.has-drop > a::after { content: ' ▾'; font-size: .7em; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -14px; background: #fff; min-width: 210px;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-drop:hover .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 18px; }
.dropdown a:hover { background: #FBF6E9; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--dark);
  background-size: cover; background-position: center;
  display: flex; align-items: center; min-height: 368px;
}
.hero--tall { min-height: calc(100vh - 62px); }
.hero--tall .btn { display: block; width: max-content; margin: 0 0 12px; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,17,14,.42) 0%, rgba(20,17,14,.16) 55%, rgba(20,17,14,0) 100%);
}
.hero .container { position: relative; padding-top: 48px; padding-bottom: 48px; width: 100%; }
.hero h1, .hero .tagline, .hero p.lead { text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.hero h1 { font-size: 2.833rem; margin-bottom: 12px; }
.hero .tagline { font-family: var(--font-head); font-size: 1.17rem; margin-bottom: 10px; }
.hero p.lead { max-width: 760px; color: #E6E2DD; font-size: .98rem; margin-bottom: 22px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  color: #fff; font-size: 2rem; line-height: 1; opacity: .85; text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.hero-scroll:hover { opacity: 1; }
.hero .btn { margin-right: 12px; margin-top: 6px; }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card { text-align: center; }
.card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 18px; }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: .93rem; margin-bottom: 12px; }
.card .btn { margin-top: 6px; }
.checks { margin-top: 10px; }
.checks li { font-size: .92rem; color: var(--gray); padding: 3px 0; }
.checks li::before { content: '✓  '; color: var(--yellow-dark); font-weight: 700; }
.section--dark .card p, .section--dark .checks li { color: #CFC9C2; }
.section--dark .card h3 { color: #fff; }

/* Card image shapes matching the original site */
.img-portrait { aspect-ratio: 2/3 !important; }
.img-square { aspect-ratio: 1/1 !important; }
.img-band-sq { aspect-ratio: 460/428 !important; }

/* ---------- Media band (image + text) ---------- */
.media-band { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.media-band img { width: 100%; max-width: 460px; aspect-ratio: 460/369; object-fit: cover; }
.media-band h2 { font-size: 2.833rem; margin-bottom: 14px; }
.section--band { padding: 24px 0; }
.media-band p { color: var(--gray); font-size: .96rem; margin-bottom: 12px; }
.section--dark .media-band h2 { color: var(--yellow); }
.section--dark .media-band p { color: #D9D4CE; }
.section--yellow .media-band h2 { color: var(--ink); }
.section--yellow .media-band p { color: #3A342E; }
.media-band .flip { order: -1; }
.feature-list li { margin-bottom: 12px; font-size: .94rem; color: var(--gray); }
.feature-list li b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.feature-list li b::before { content: '✓  '; color: var(--yellow-dark); }
.section--dark .feature-list li { color: #CFC9C2; }
.section--dark .feature-list li b { color: #fff; }
.section--yellow .feature-list li { color: #3A342E; }
.section--yellow .feature-list li b { color: var(--ink); }

/* ---------- Why choose us / icon columns ---------- */
.icon-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.icon-cols img { height: 72px; width: auto; margin: 0 auto 14px; }
.icon-cols h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.icon-cols p { font-size: .88rem; color: #CFC9C2; }

/* ---------- Areas we serve ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 30px; max-width: 760px; margin: 0 auto; text-align: center; }
.areas li { font-size: .95rem; }
.areas li::before { content: '✓ '; color: var(--yellow-dark); font-weight: 700; }
.section--dark .areas li::before { color: var(--yellow); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.gallery-grid img { width: 100%; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 56px 0; }
.cta h2 { font-size: 1.5rem; margin-bottom: 12px; }
.cta p { color: var(--gray); max-width: 720px; margin: 0 auto 22px; }
.cta .btn { margin: 4px 8px; }

/* ---------- Contact page ---------- */
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.contact-info img { height: 64px; width: auto; margin: 0 auto 12px; }
.contact-info h3 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.contact-info a, .contact-info span { color: #E5E0DA; font-size: .95rem; }
.contact-info a:hover { color: var(--yellow); }

.form-card {
  max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-top: 6px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px;
}
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--gray); font-size: .92rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .req { color: #D23B3B; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px;
  font-family: inherit; font-size: .95rem; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow-dark); box-shadow: 0 0 0 3px rgba(242,194,48,.18); }
.field textarea { min-height: 110px; resize: vertical; }
.chk { display: flex; gap: 8px; align-items: center; font-size: .93rem; margin: 5px 0; }
.form-note { font-size: .87rem; color: var(--gray); margin-top: 12px; }
#form-status { margin-top: 14px; font-size: .92rem; font-weight: 600; display: none; }
#form-status.ok { color: #1F7A43; display: block; }
#form-status.err { color: #D23B3B; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #D8D3CD; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 36px; padding: 46px 0 26px; align-items: start; }
.footer-logo { background: #fff; border-radius: var(--radius); padding: 10px 16px; max-width: 230px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.footer-grid a { display: block; padding: 3px 0; color: #D8D3CD; }
.footer-grid a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid #3A3531; text-align: center; padding: 16px 0; font-size: .82rem; color: #A79F97; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .icon-cols, .contact-info { grid-template-columns: 1fr 1fr; }
  .media-band { grid-template-columns: 1fr; }
  .media-band .flip { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2.083rem; }
  .section-title { font-size: 2.083rem; }
  .media-band h2 { font-size: 2.083rem; }
  .grid-3, .grid-2, .icon-cols, .gallery-grid, .contact-info, .areas, .footer-grid { grid-template-columns: 1fr; }
  .hero .container { padding-top: 60px; padding-bottom: 60px; }
  .section { padding: 46px 0; }
  /* Mobile nav */
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 62px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0 12px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a { display: block; padding: 11px 22px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: none; box-shadow: none; padding: 0 0 0 14px; display: none; }
  .has-drop.open .dropdown { display: block; }
}
