/* Gonzalez Cleaning — customer app shell (Home/Services/Gallery/Contact +
   link to Book). Isolated from legacy marketing CSS and the booking engine's
   own CSS. Icons are inline SVG (no emoji, no icon font/CDN). */
:root {
  --gc-navy: #0b1f38;
  --gc-navy-dark: #06111e;
  --gc-blue: #1558b0;
  --gc-blue-light: #2272d4;
  --gc-green: #1f7042;
  --gc-green-mid: #28a05a;
  --gc-green-light: #3dc870;
  --gc-green-tint: #e8f7ed;
  --gc-text: #0d1e30;
  --gc-muted: #6b7f99;
  --gc-bg: #f5f8fc;
  --gc-surface: #ffffff;
  --gc-border: #e3e8f0;
  --gc-selected-bg: #eaf3ff;
  --gc-radius: 20px;
  --gc-ease: cubic-bezier(.22, .68, 0, 1.2);
}

* { box-sizing: border-box; }

body.gc-app {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--gc-bg);
  color: var(--gc-text);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.gc-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--gc-surface);
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

@media (min-width: 560px) {
  body.gc-app { display: flex; justify-content: center; padding: 32px 16px; }
  .gc-shell {
    max-width: 560px;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(6, 17, 30, .14), 0 2px 8px rgba(6, 17, 30, .06);
    overflow: hidden;
  }
}

.gc-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Header ---------- */
.gc-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  padding: calc(10px + env(safe-area-inset-top)) 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 0 rgba(11, 31, 56, .06);
  transition: box-shadow .2s ease;
}
.gc-header.is-scrolled { box-shadow: 0 4px 16px rgba(6, 17, 30, .1); }

.gc-brand img { height: 42px; width: auto; object-fit: contain; display: block; }

.gc-call-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gc-selected-bg); color: var(--gc-blue);
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s var(--gc-ease), background-color .18s ease;
}
.gc-call-btn svg { width: 18px; height: 18px; }
.gc-call-btn:active { transform: scale(.92); background: #dcecff; }

/* ---------- Sections ---------- */
.gc-section { display: none; padding: 20px 20px 8px; }
.gc-section.is-active { display: block; animation: gc-fade .28s var(--gc-ease); }
@keyframes gc-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
.gc-hero {
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: var(--gc-radius);
  padding: 30px 22px 24px;
  margin-bottom: 26px;
}
.gc-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 6vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.22;
}
.gc-hero h1 em { font-style: italic; color: var(--gc-green-light); }
.gc-hero p { font-size: .88rem; color: rgba(255,255,255,.85); margin: 0 0 18px; line-height: 1.5; max-width: 320px; }

.gc-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gc-hero-badges span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .72rem; font-weight: 600; padding: 6px 11px; border-radius: 100px;
}
.gc-hero-badges svg { width: 14px; height: 14px; }

.gc-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; border: none; border-radius: 16px;
  font-family: inherit; font-size: .93rem; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: transform .2s var(--gc-ease), box-shadow .2s ease;
}
.gc-btn-primary {
  color: #fff;
  justify-content: space-between;
  padding: 0 8px 0 18px;
  background: linear-gradient(135deg, var(--gc-green), var(--gc-green-mid));
  box-shadow: 0 6px 16px rgba(31, 112, 66, .28);
}
.gc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31, 112, 66, .34); }
.gc-btn-primary:active { transform: scale(.98); }

.gc-btn-content { display: flex; align-items: center; gap: 9px; }
.gc-btn-ico { width: 18px; height: 18px; flex-shrink: 0; }
.gc-btn-chevron {
  width: 32px; height: 32px; flex-shrink: 0; padding: 8px;
  background: rgba(255, 255, 255, .16); border-radius: 50%;
}

/* ---------- Section headings ---------- */
.gc-block { margin-bottom: 30px; }
.gc-block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.gc-section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.12rem; font-weight: 800; color: var(--gc-navy);
  margin: 0 0 4px;
}
.gc-block-head .gc-section-title { margin-bottom: 0; }
.gc-section-sub { font-size: .82rem; color: var(--gc-muted); margin: 0 0 14px; }
.gc-list-label { font-size: .78rem; font-weight: 700; color: var(--gc-navy); margin: 0 0 10px; }

.gc-view-all {
  border: none; background: none; padding: 0; margin: 0;
  font: inherit; font-size: .78rem; font-weight: 700; color: var(--gc-blue); cursor: pointer;
}
.gc-view-all:active { opacity: .6; }
.gc-view-all-center { display: block; text-align: center; text-decoration: none; }

/* ---------- Service cards (2-col, Home + Services top) ---------- */
.gc-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gc-service-card {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 30px 14px 14px;
  background: var(--gc-surface); border: 1.5px solid var(--gc-border);
  border-radius: 16px; text-align: left; cursor: pointer; text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s var(--gc-ease), box-shadow .18s ease;
}
.gc-service-card:hover { border-color: var(--gc-blue-light); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21,88,176,.12); }
.gc-service-card:active { transform: scale(.98); }
.gc-service-icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--gc-selected-bg); color: var(--gc-blue);
  display: flex; align-items: center; justify-content: center;
}
.gc-service-name { font-size: .85rem; font-weight: 700; color: var(--gc-navy); }
.gc-service-desc { font-size: .73rem; color: var(--gc-muted); line-height: 1.35; }
.gc-service-chevron { position: absolute; bottom: 12px; right: 10px; color: var(--gc-muted); width: 16px; height: 16px; }

/* ---------- Services sub-view rows ---------- */
.gc-subheader { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.gc-back-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gc-border); background: #fff;
  color: var(--gc-navy); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .15s var(--gc-ease);
}
.gc-back-btn svg { width: 16px; height: 16px; }
.gc-back-btn:active { transform: scale(.9); }

.gc-service-rows { display: flex; flex-direction: column; gap: 8px; }
.gc-service-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--gc-surface); border: 1.5px solid var(--gc-border); border-radius: 14px;
  text-decoration: none; color: inherit; transition: border-color .18s ease, transform .15s var(--gc-ease);
}
.gc-service-row:hover { border-color: var(--gc-blue-light); }
.gc-service-row:active { transform: scale(.98); }
.gc-service-row-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--gc-selected-bg); color: var(--gc-blue);
  display: flex; align-items: center; justify-content: center;
}
.gc-service-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gc-service-row-name { font-size: .84rem; font-weight: 700; color: var(--gc-navy); }
.gc-service-row-desc { font-size: .72rem; color: var(--gc-muted); }

/* ---------- How it works ---------- */
.gc-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.gc-step { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding: 10px 0; position: relative; }
.gc-step::before {
  content: ""; position: absolute; left: 15px; top: 42px; bottom: -10px; width: 2px;
  background: var(--gc-border);
}
.gc-step:last-child::before { display: none; }
.gc-step-num {
  grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gc-blue), var(--gc-green-mid));
  color: #fff; font-weight: 800; font-size: .72rem;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.gc-step-ico { display: none; }
.gc-step-title { margin: 0; font-size: .87rem; font-weight: 700; color: var(--gc-navy); }
.gc-step-sub { margin: 2px 0 0; font-size: .76rem; color: var(--gc-muted); line-height: 1.4; }

/* ---------- Why us mini-cards ---------- */
.gc-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gc-why-card {
  background: var(--gc-surface); border: 1.5px solid var(--gc-border); border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.gc-why-icon {
  width: 32px; height: 32px; border-radius: 9px; background: var(--gc-green-tint); color: var(--gc-green);
  display: flex; align-items: center; justify-content: center;
}
.gc-why-icon svg { width: 17px; height: 17px; }
.gc-why-title { margin: 0; font-size: .8rem; font-weight: 700; color: var(--gc-navy); }
.gc-why-desc { margin: 0; font-size: .72rem; color: var(--gc-muted); line-height: 1.35; }

/* ---------- Customer reviews ---------- */
.gc-review-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.gc-review-card {
  background: var(--gc-surface); border: 1.5px solid var(--gc-border); border-radius: 16px; padding: 16px;
}
.gc-review-stars { display: flex; gap: 2px; color: #f0b429; margin-bottom: 8px; }
.gc-review-stars svg { width: 14px; height: 14px; }
.gc-review-text { margin: 0 0 10px; font-size: .82rem; color: var(--gc-text); line-height: 1.55; font-style: italic; }
.gc-review-name { margin: 0; font-size: .8rem; font-weight: 700; color: var(--gc-navy); }
.gc-review-loc { font-weight: 500; color: var(--gc-muted); }

/* ---------- Service areas ---------- */
.gc-area-list { display: flex; flex-wrap: wrap; gap: 8px; }
.gc-area-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gc-selected-bg); color: var(--gc-blue);
  font-size: .76rem; font-weight: 600; padding: 7px 12px; border-radius: 100px;
}
.gc-area-chip svg { width: 13px; height: 13px; }

/* ---------- Gallery ---------- */
.gc-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gc-gallery-grid.gc-gallery-preview { grid-template-columns: repeat(3, 1fr); }
.gc-gallery-item { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--gc-border); }
.gc-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gc-gallery-item:active img { transform: scale(1.04); }

/* ---------- Contact ---------- */
.gc-contact-hero {
  background: linear-gradient(135deg, var(--gc-navy), var(--gc-blue));
  border-radius: var(--gc-radius); padding: 20px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.gc-contact-hero-title { margin: 0 0 4px; color: #fff; font-weight: 800; font-size: 1.02rem; }
.gc-contact-hero-sub { margin: 0; color: rgba(255,255,255,.8); font-size: .76rem; max-width: 220px; line-height: 1.4; }
.gc-contact-hero-btn {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gc-green-mid); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: transform .15s var(--gc-ease);
}
.gc-contact-hero-btn svg { width: 20px; height: 20px; }
.gc-contact-hero-btn:active { transform: scale(.92); }

.gc-contact-list { display: flex; flex-direction: column; gap: 10px; }
.gc-contact-row {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--gc-surface); border: 1.5px solid var(--gc-border); border-radius: 14px;
  text-decoration: none; color: inherit; transition: border-color .18s ease, transform .15s var(--gc-ease);
}
.gc-contact-row:active { transform: scale(.98); }
.gc-contact-icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--gc-selected-bg);
  color: var(--gc-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.gc-contact-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gc-contact-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gc-muted); }
.gc-contact-value { font-size: .87rem; font-weight: 700; color: var(--gc-navy); }

/* ---------- Bottom nav ---------- */
.gc-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 480px; margin: 0 auto;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gc-border);
  box-shadow: 0 -4px 18px rgba(6, 17, 30, .06);
  display: flex;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  z-index: 20;
}
@media (min-width: 560px) { .gc-nav { max-width: 560px; } }

.gc-nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 6px 4px; min-height: 52px; border: none; background: none; cursor: pointer;
  font-family: inherit; color: var(--gc-muted); text-decoration: none;
  transition: color .18s ease, transform .15s var(--gc-ease);
}
.gc-nav-btn:active { transform: scale(.92); }
.gc-nav-ico { width: 21px; height: 21px; }
.gc-nav-label { font-size: .64rem; font-weight: 700; }
.gc-nav-btn.is-active { color: var(--gc-blue); }

/* Book tab: subtle emphasized capsule, not a floating button */
.gc-nav-book { justify-content: center; }
.gc-nav-book-pill {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 5px 16px; border-radius: 100px; background: var(--gc-green-tint); color: var(--gc-green);
  transition: transform .15s var(--gc-ease);
}
.gc-nav-book:active .gc-nav-book-pill { transform: scale(.94); }

/* ---------- Tablet / desktop: the mobile layout above is untouched; these
   only widen the shared app container and let sections use the extra
   horizontal room. No full-width website, no scaled-up mobile UI. ---------- */
@media (min-width: 768px) {
  .gc-shell { max-width: 900px; }
  .gc-nav { max-width: 900px; }

  .gc-hero { padding: 34px 42px; }
  .gc-hero p { max-width: 440px; }

  .gc-review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .gc-gallery-grid:not(.gc-gallery-preview) { grid-template-columns: repeat(3, 1fr); }
  .gc-contact-list { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .gc-shell { max-width: 1050px; }
  .gc-nav { max-width: 1050px; }

  .gc-hero { padding: 40px 50px; }

  .gc-service-grid { grid-template-columns: repeat(4, 1fr); }
  .gc-why-grid { grid-template-columns: repeat(4, 1fr); }
  .gc-gallery-grid:not(.gc-gallery-preview) { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
