/* Santos & Son House Cleaning — mobile-first, system fonts */

:root {
  --color-bg: #f6f4f0;
  --color-bg-alt: #e8f2f1;
  --color-surface: #ffffff;
  --color-text: #1c2423;
  --color-text-muted: #4a5756;
  --color-accent: #1a4d4a;
  --color-accent-hover: #143d3b;
  --color-accent-soft: #c5e4e1;
  --color-star: #c9a227;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(28, 36, 35, 0.08);
  --focus-ring: 0 0 0 3px var(--color-accent-soft), 0 0 0 5px var(--color-accent);
  --wrap: min(1120px, 100% - 2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 77, 74, 0.12);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand:focus-visible {
  border-radius: var(--radius);
}

.brand__logo {
  width: 46px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand__name {
  font-weight: 700;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.05rem);
  line-height: 1.25;
  max-width: 14rem;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav a {
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-text-muted);
}

.nav a:hover {
  color: var(--color-accent);
}

.btn-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.btn-phone:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-phone__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.btn-phone__num {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

@media (min-width: 900px) {
  .brand__logo {
    width: 176px;
    height: auto;
  }

  .nav__list {
    gap: 0.5rem 1.25rem;
  }
}

/* Hero */
.hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(165deg, var(--color-bg-alt) 0%, var(--color-bg) 55%);
}

.hero__inner {
  max-width: 40rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 1.2rem + 2vw, 2.35rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-align: center;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  text-align: center;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--ghost:hover {
  background: rgba(26, 77, 74, 0.08);
  color: var(--color-accent-hover);
}

/* Sections */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.section__intro {
  margin: 0 0 1.75rem;
  color: var(--color-text-muted);
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  max-width: 42rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Why choose us */
.section--why {
  background: var(--color-bg);
  border-block: 1px solid rgba(26, 77, 74, 0.08);
}

.section--why h2 {
  text-align: center;
  max-width: 22rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .why-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.why-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(26, 77, 74, 0.1);
  box-shadow: 0 2px 16px rgba(28, 36, 35, 0.05);
}

.why-card__icon {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(28, 36, 35, 0.08);
}

.why-card__icon--quality {
  background: linear-gradient(145deg, #fff4d6, #ffe8bc);
}

.why-card__icon--guarantee {
  background: linear-gradient(145deg, #dff5f1, #c8ebe4);
}

.why-card__icon--fair {
  background: linear-gradient(145deg, #ebe4ff, #ddd4ff);
}

.why-card__svg {
  width: 4rem;
  height: 4rem;
}

.why-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.25;
}

.why-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Services */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-list__item {
  background: var(--color-surface);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 77, 74, 0.1);
  box-shadow: 0 2px 12px rgba(28, 36, 35, 0.04);
}

.section--alt .service-list__item {
  background: #fff;
}

.service-list__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.service-list__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Free quote CTA */
.quote-cta {
  background: linear-gradient(180deg, rgba(26, 77, 74, 0.08) 0%, var(--color-bg) 100%);
  border-block: 1px solid rgba(26, 77, 74, 0.12);
}

.quote-cta h2 {
  text-align: center;
}

.quote-cta__intro {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin-inline: auto;
}

.quote-cta__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 22rem;
  margin-inline: auto;
}

@media (min-width: 520px) {
  .quote-cta__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    gap: 1rem;
  }

  .quote-cta__list li {
    flex: 0 1 auto;
  }
}

.quote-cta__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-cta__phone:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* Gallery */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}

.gallery__link {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  aspect-ratio: 3 / 4;
}

.gallery__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow);
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__link:hover .gallery__img {
  transform: scale(1.03);
}

/* Areas */
.areas__text {
  margin: 0;
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Reviews */
.reviews {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--color-surface);
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 77, 74, 0.1);
  box-shadow: 0 2px 12px rgba(28, 36, 35, 0.04);
}

.review-card__name {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.review-card__stars {
  margin: 0 0 0.75rem;
}

.stars {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.stars__fill {
  color: var(--color-star);
}

.review-card__quote {
  margin: 0;
  padding: 0;
  border: none;
  font-style: normal;
}

.review-card__quote p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: #e8eceb;
  padding: 2rem 0;
}

.site-footer a {
  color: #c5e4e1;
  font-weight: 700;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__inner {
  text-align: center;
}

.site-footer__brand strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.site-footer__tag {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.site-footer__phone {
  margin: 0 0 1rem;
}

.site-footer__phone a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.site-footer__phone a:focus-visible {
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.65;
}

/* Header layout: stack nav on small screens */
@media (max-width: 719px) {
  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
    text-align: left;
  }

  .nav__list {
    justify-content: center;
  }

  .btn-phone {
    width: 100%;
    flex-direction: row;
    gap: 0.5rem;
  }

  .btn-phone__label {
    font-size: 0.75rem;
  }
}

@media (min-width: 720px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .nav {
    order: 0;
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .brand {
    order: -1;
  }

  .btn-phone {
    flex-shrink: 0;
  }
}
