/* ============================================================
   M Young Property Maintenance — styles.css
   Brand: orange + dark grey + white
   Type: Sora (headings) + Inter (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --c-primary: #FF6B1A;          /* main orange */
  --c-primary-dark: #E85A0E;     /* hover */
  --c-primary-light: #FFE7D6;    /* tint background */
  --c-dark: #1F2937;             /* text */
  --c-mid: #4B5563;              /* secondary text */
  --c-line: #E5E7EB;             /* dividers */
  --c-bg: #FFFFFF;
  --c-bg-alt: #F9FAFB;

  --c-whatsapp: #25D366;
  --c-whatsapp-dark: #1FB957;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.05);
  --shadow-md: 0 6px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);

  --container: 1180px;
  --pad: 24px;

  --font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-dark);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 80px 0; }
.section--alt { background: var(--c-bg-alt); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section__lede { color: var(--c-mid); font-size: 1.1rem; margin-top: 8px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; color: var(--c-dark); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin: 0 0 12px;
}
.eyebrow--light { color: #FFD9C0; }

/* ---------- Topbar ---------- */
.topbar { background: var(--c-dark); color: #fff; font-size: 0.85rem; }
.topbar__inner { display: flex; justify-content: center; gap: 14px; align-items: center; padding: 8px 16px; flex-wrap: wrap; }
.topbar a, .topbar span { color: #fff; }
.topbar__link { white-space: nowrap; }
.topbar__sep { color: #6B7280; }

/* ---------- Header ---------- */
.header { background: var(--c-bg); border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 48px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--c-dark); }
.brand__sub { font-size: 0.78rem; color: var(--c-mid); letter-spacing: 0.06em; text-transform: uppercase; }

.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--c-dark); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--c-primary); text-decoration: none; }
.nav__cta { background: var(--c-primary); color: #fff !important; padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.nav__cta:hover { background: var(--c-primary-dark); color: #fff !important; }

.hamburger { display: none; background: transparent; border: 0; padding: 8px; width: 40px; height: 40px; flex-direction: column; justify-content: space-between; }
.hamburger span { display: block; height: 3px; background: var(--c-dark); border-radius: 2px; }

.mobile-nav { display: none; flex-direction: column; padding: 8px var(--pad) 20px; border-top: 1px solid var(--c-line); background: #fff; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--c-line); color: var(--c-dark); font-weight: 500; }
.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; text-decoration: none; transition: transform .12s ease, background .15s ease, color .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn--whatsapp { background: var(--c-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--c-whatsapp-dark); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.22); border-color: #fff; color: #fff; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31,41,55,.78) 0%, rgba(31,41,55,.55) 100%),
    url('photos/hero-house.jpg') center/cover no-repeat;
}
.hero__copy { position: relative; z-index: 1; max-width: 620px; }
.hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 span { color: #FFD9C0; }
.lede { color: rgba(255,255,255,.92); max-width: 560px; margin-bottom: 32px; }
.trust { color: rgba(255,255,255,.92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.95rem; }
.trust li { font-weight: 500; }

.hero__visual { display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.hero__card {
  background: rgba(255,255,255,.97);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  min-height: 220px;
}
.hero__quote-rotator { position: relative; }
.hero__quote-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}
.hero__quote-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.stars--hero {
  color: #FFB400;
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.hero__quote { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.45; margin-bottom: 14px; color: var(--c-dark); }
.hero__quote-by { color: var(--c-mid); font-size: 0.85rem; margin: 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 28px 22px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service__icon { font-size: 2.2rem; margin-bottom: 14px; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--c-mid); margin: 0; font-size: 0.96rem; }

.services__cta { text-align: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.services__cta p { color: var(--c-mid); margin-bottom: 14px; font-size: 1.05rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--c-bg-alt); cursor: zoom-in; grid-column: span 1; grid-row: span 1; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery__item:hover img { transform: scale(1.05); }

/* ---------- Why us ---------- */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
}
.why-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-primary-light);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.why-card h3 { margin-bottom: 10px; }
.why-card p { color: var(--c-mid); margin: 0; font-size: 0.95rem; }

/* ---------- Process steps ---------- */
.process { background: var(--c-bg-alt); }
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.step { text-align: center; padding: 0 12px; }
.step__num {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255,107,26,.35);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--c-mid); margin: 0; font-size: 0.95rem; }
.step__arrow {
  font-size: 2rem;
  color: var(--c-primary);
  font-weight: 700;
  align-self: center;
  margin-top: -32px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.94);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__cap {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1rem;
  margin: 0;
  text-align: center;
  background: rgba(0,0,0,.5);
  padding: 8px 16px;
  border-radius: 999px;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close {
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
}
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: center; }
.about p { color: var(--c-mid); font-size: 1.05rem; }
.about__stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__stats li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px 18px; text-align: center; }
.about__stats strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--c-primary); margin-bottom: 4px; }
.about__stats span { color: var(--c-mid); font-size: 0.88rem; }

/* ---------- Area ---------- */
.area-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 900px; margin: 0 auto; }
.area-grid li { background: var(--c-bg); border: 1px solid var(--c-line); padding: 14px 12px; border-radius: var(--r-sm); text-align: center; font-weight: 500; font-size: 0.95rem; transition: border-color .15s ease, color .15s ease; }
.area-grid li:hover { border-color: var(--c-primary); color: var(--c-primary); }
.area__note { text-align: center; color: var(--c-mid); margin-top: 24px; }

/* ---------- Reviews slider ---------- */
.reviews {
  position: relative;
}
.reviews__slider {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews__slider::-webkit-scrollbar { display: none; }
.reviews__track {
  display: flex;
  gap: 24px;
}
.review--slide {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 24px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease;
}
.review--slide:hover { box-shadow: var(--shadow-md); }
.review--slide blockquote { font-size: 0.95rem; line-height: 1.5; color: var(--c-dark); margin: 12px 0; font-weight: 500; }
.review--slide figcaption { color: var(--c-mid); font-size: 0.85rem; }
.stars { color: #FFB400; font-size: 1rem; letter-spacing: 2px; }

.reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.reviews__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-dark);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.reviews__btn:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.reviews__dots { display: flex; gap: 6px; }
.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-line);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .15s ease, width .15s ease;
}
.reviews__dot.is-active { background: var(--c-primary); width: 24px; border-radius: 4px; }

.reviews__summary {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  color: var(--c-mid);
}
.reviews__summary a { font-weight: 600; }

.review--cta {
  background: var(--c-primary-light);
  border: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 36px;
  margin: 32px auto 0;
  max-width: 720px;
}
.review--cta p { color: var(--c-mid); margin-bottom: 18px; }

/* ---------- Contact ---------- */
.contact { background: var(--c-dark); color: #fff; }
.contact h2 { color: #fff; }
.contact a { color: #fff; }
.contact__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 24px 0; font-size: 1.1rem; }
.contact__list li { margin-bottom: 10px; }
.contact__list a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact__list a:hover { border-bottom-color: var(--c-primary); text-decoration: none; }
.contact__hours { color: #B7C0CC; font-size: 0.95rem; }

.contact__form { background: #fff; color: var(--c-dark); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.contact__form h3 { margin-bottom: 18px; }
.contact__form label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--c-mid); margin-bottom: 16px; }
.contact__form input, .contact__form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--r-sm); font: inherit; margin-top: 6px; background: #fff; }
.contact__form input:focus, .contact__form textarea:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(255,107,26,.15); }
.contact__check { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--c-mid); }
.contact__check input { width: auto; margin: 0; }
.contact__note { color: var(--c-mid); font-size: 0.8rem; margin: 12px 0 0; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #0F172A; color: #B7C0CC; padding: 60px 0 24px; font-size: 0.92rem; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand { color: #fff; margin-bottom: 8px; font-size: 1rem; }
.footer a { color: #B7C0CC; }
.footer a:hover { color: var(--c-primary); text-decoration: none; }
.footer__bar { display: flex; justify-content: space-between; padding-top: 20px; font-size: 0.82rem; color: #6B7280; }

/* ---------- Floating scroll-to-top button ---------- */
.fab--scroll {
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--c-primary);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  border: 0;
  box-shadow: var(--shadow-lg);
  z-index: 40;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.fab--scroll:hover { background: var(--c-primary-dark); transform: translateY(-2px); }
.fab--scroll[hidden] { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .hero__visual { order: -1; }
  .hero__card { max-width: 100%; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .review--slide { flex: 0 0 calc((100% - 24px) / 2); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; gap: 8px; }
  .step__arrow { transform: rotate(90deg); margin: 0; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { padding: 50px 0 70px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 1; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .review--slide { flex: 0 0 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: 4px; text-align: center; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn { flex: 1 1 auto; }
  .topbar__inner { font-size: 0.78rem; gap: 8px; }
  .topbar__sep { display: none; }
}