/* ==========================================================================
   Warrnambool Property Maintenance — stylesheet
   Palette drawn from the WPM logo: gold ring + charcoal banner.
   ========================================================================== */

:root {
  --gold: #F2A81D;
  --gold-light: #F5B942;
  --gold-dark: #C98A0A;
  --ink: #232830;          /* deep charcoal — dark sections, headings */
  --charcoal: #3E4653;     /* logo banner grey */
  --slate: #5C6572;        /* muted body text */
  --line: #E4E6E3;
  --paper: #FFFFFF;
  --off: #F6F7F5;          /* alternating section background */

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 40, 48, 0.10);
  --shadow-lg: 0 24px 60px rgba(35, 40, 48, 0.18);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: var(--gold-dark); }
a:hover { color: var(--ink); }

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon--lg { width: 34px; height: 34px; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1rem 2.1rem; font-size: 1.2rem; }

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(242, 168, 29, 0.35);
}
.btn--gold:hover { background: var(--gold-light); color: var(--ink); }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }

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

.btn--ink {
  background: var(--ink);
  color: var(--gold);
  box-shadow: 0 8px 22px rgba(20, 24, 30, 0.35);
}
.btn--ink:hover { background: #161a20; color: var(--gold-light); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: linear-gradient(rgba(20, 24, 30, 0.75), rgba(20, 24, 30, 0));
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: rgba(28, 32, 39, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

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

.brand__logo {
  width: 99px;
  height: 66px;
  object-fit: contain;
}

.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.brand__name strong {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__list {
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.35rem 0;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active { color: #fff; }

.site-nav__link:hover::after,
.site-nav__link.is-active::after { transform: scaleX(1); }

.site-nav__phone {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__phone .icon { width: 18px; height: 18px; color: var(--gold); }
.site-nav__phone:hover { color: var(--gold); }

.site-nav__cta { padding: 0.6rem 1.3rem; font-size: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero slider ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.hero__slide.is-active .hero__bg { transform: scale(1); }

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 24, 30, 0.82) 25%, rgba(20, 24, 30, 0.35) 65%, rgba(20, 24, 30, 0.15)),
    linear-gradient(rgba(20, 24, 30, 0.25), rgba(20, 24, 30, 0.25));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: var(--header-h);
}

.hero__eyebrow {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(242, 168, 29, 0.6);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(20, 24, 30, 0.35);
}

.hero__title {
  font-size: clamp(2.1rem, 5.2vw + 0.8rem, 4.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0.8rem 0 0.4rem;
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
}

.hero__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 55ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero__controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: auto;
}

.hero__arrow,
.testimonials__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(20, 24, 30, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.hero__dots,
.testimonials__dots {
  display: flex;
  gap: 0.55rem;
}

.hero__dots button,
.testimonials__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero__dots button.is-active,
.testimonials__dots button.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ---------- Trust strip ---------- */

.trust {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 1.6rem 0;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.trust__item .icon { color: var(--gold); }

.trust__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trust__item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Sections ---------- */

.section { padding: 5.5rem 0; }
.section--tight { padding: 4rem 0; }

.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.section--dark .section__title { color: #fff; }

.section--gold {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, 0.25), transparent 60%),
    var(--gold);
  color: var(--ink);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section__eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.section--dark .section__eyebrow { color: var(--gold); }
.section--gold .section__eyebrow { color: var(--ink); opacity: 0.75; }

.section__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
}

.section__lead {
  color: var(--slate);
  font-size: 1.05rem;
}

.section--dark .section__lead { color: rgba(255, 255, 255, 0.7); }

/* Plain text links on dark backgrounds: the global a:hover turns links
   ink-coloured, which vanishes against the ink section background —
   hover to a lighter gold instead. */
.section--dark a:not([class]) { color: var(--gold); }
.section--dark a:not([class]):hover { color: var(--gold-light); }

/* ---------- Services ---------- */

#services { background: var(--off); }

/* Bento grid: size-weighted tiles. Repairs (the biggest category)
   gets the widest tile; Labour for Hire (gold) and Emergency
   Call-Outs (ink) stack in a side column as accent tiles. */

.services__bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.service-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(242, 168, 29, 0.5);
}

.service-tile--repairs {
  grid-column: span 7;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(242, 168, 29, 0.10), transparent 65%),
    var(--paper);
}

.service-tile--maint { grid-column: span 5; }
.service-tile--gardens { grid-column: span 4; }
.service-tile--cleaning { grid-column: span 4; }

.services__side {
  grid-column: span 4;
  display: grid;
  gap: 1.1rem;
}

.service-tile--labour {
  background: rgba(242, 168, 29, 0.13);
  border-color: rgba(242, 168, 29, 0.45);
}

.service-tile--emergency {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.service-tile__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(242, 168, 29, 0.14);
  color: var(--gold-dark);
}

.service-tile--repairs .service-tile__icon { width: 60px; height: 60px; }
.service-tile--emergency .service-tile__icon { background: rgba(242, 168, 29, 0.18); color: var(--gold); }

.service-tile h3 {
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}

.service-tile__blurb {
  font-size: 0.9rem;
  color: var(--slate);
  margin: 0 0 1.1rem;
}

.service-tile--emergency .service-tile__blurb { color: rgba(255, 255, 255, 0.7); }
.service-tile--labour .service-tile__blurb,
.service-tile--emergency .service-tile__blurb { margin-bottom: 0; }

.service-tile ul {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.55rem 1.3rem;
}

.service-tile--repairs ul { grid-template-columns: 1fr 1fr; }
.service-tile.service-tile--maint ul { grid-template-columns: 1fr; }

.service-tile li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.service-tile li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.services__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.8rem;
  text-align: center;
}

.services__cta p {
  margin: 0;
  font-weight: 500;
}

/* ---------- Portfolio ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.filters__btn {
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filters__btn:hover { border-color: var(--gold); color: var(--gold); }

.filters__btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 600;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.portfolio__item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  transform: translateZ(0);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.portfolio__item.is-hidden { display: none; }

.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.portfolio__item:hover img { transform: scale(1.06); }

.portfolio__label {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.1rem 0.95rem;
  background: linear-gradient(transparent, rgba(20, 24, 30, 0.92));
  color: #fff;
}

.portfolio__label strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.portfolio__label span:not(strong) {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- About ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 3.5rem;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  height: auto; /* width/height attrs reserve layout space; don't distort */
}

/* Trailer image is a transparent-background PNG — sit it on a white card */
.about__media .about__trailer {
  background: #fff;
  padding: 1.5rem;
}

.about__badge {
  position: absolute;
  right: -1rem;
  bottom: -1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.4rem;
  background: var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.about__badge strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

.about__badge span {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about__body .section__title { text-align: left; }
.about__body .section__eyebrow { text-align: left; }
.about__body p { color: var(--slate); }

.about__points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.about__points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
}

.about__points .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-dark);
  stroke-width: 2.5;
}

.stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.stats__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.stats__item span {
  font-size: 0.85rem;
  color: var(--slate);
}

/* ---------- Minimum Standards Audits ---------- */

/* Featured band: sits between the light services section and the dark
   portfolio, so it gets a gold top rule and a lifted charcoal tone. */
.audit {
  background:
    radial-gradient(900px 420px at 110% 110%, rgba(242, 168, 29, 0.14), transparent 60%),
    #2A303B;
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden; /* tilted phone bleed must never cause page-level horizontal scroll */
}

.audit__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3.5rem;
  align-items: center;
}

.audit__lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.audit__body p { color: rgba(255, 255, 255, 0.78); }
.audit__body .audit__lead { color: #fff; }

.audit__points {
  list-style: none;
  margin: 1.6rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.audit__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.audit__points .icon {
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  color: var(--gold);
  stroke-width: 2.5;
}

.audit__ref {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.audit__ref a { color: var(--gold); }
.audit__ref a:hover { color: var(--gold-light); }

.audit__card {
  background:
    radial-gradient(500px 260px at 20% -10%, rgba(255, 255, 255, 0.35), transparent 60%),
    var(--gold);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.audit__rosette {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.8rem;
}

.audit__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
}

.audit__price-amount {
  font-family: var(--font-display);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
}

.audit__price-gst {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.audit__price-label {
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.5rem 0 0.6rem;
}

.audit__includes {
  font-size: 0.92rem;
  color: rgba(35, 40, 48, 0.8);
  max-width: 34ch;
  margin: 0 auto 1.5rem;
}

.audit__phone {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.audit__phone:hover { text-decoration: underline; color: var(--ink); }

/* Report showcase: product-shot cluster in the audit section's right
   column — the gold price card overlaps a gently tilted phone showing
   the actual sample report. */
.audit__stage { position: relative; height: 680px; }

.audit__stage .iphone {
  position: absolute;
  top: 0;
  right: -14px;
  transform: rotate(7deg);
}

.audit__stage:hover .iphone { transform: rotate(5.5deg) translateY(-4px); }

.audit__stage .audit__card {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: min(320px, 78%);
  padding: 2.2rem 1.9rem;
}

.audit__stage .audit__price-amount { font-size: 3.8rem; }
.audit__stage .audit__price-label { font-size: 1.3rem; }

/* ---------- iPhone frame (pure CSS) ----------
   Titanium band, black bezel, Dynamic Island, status bar, home
   indicator. Screen content = the sample report PNG. */

.iphone {
  position: relative;
  width: 292px;
  height: 596px;
  padding: 4px; /* titanium band */
  border-radius: 47px;
  background: linear-gradient(160deg, #585c63 0%, #26282c 48%, #43464c 100%);
  box-shadow:
    0 50px 90px -28px rgba(6, 8, 12, 0.65),
    0 18px 34px rgba(6, 8, 12, 0.38);
  transition: transform 0.4s var(--ease);
}

.iphone__inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 7px; /* black bezel */
  border-radius: 43px;
  background: #060708;
  overflow: hidden;
}

.iphone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
}

.iphone__screen::after { /* whisper of glass glare */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.04) 26%, transparent 42%);
}

.iphone__island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 25px;
  border-radius: 999px;
  background: #060708;
  z-index: 3;
}

.iphone__status {
  flex: none;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 25px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #16181c;
}

.iphone__status-icons { width: 64px; height: 12px; display: block; }

.iphone__report {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.iphone__home {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  z-index: 3;
}

.iphone__btn {
  position: absolute;
  width: 3.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #46494f, #202225);
}

.iphone__btn--action  { left: -3px; top: 106px; height: 22px; }
.iphone__btn--volup   { left: -3px; top: 150px; height: 42px; }
.iphone__btn--voldown { left: -3px; top: 200px; height: 42px; }
.iphone__btn--power   { right: -3px; top: 168px; height: 74px; background: linear-gradient(270deg, #46494f, #202225); }

/* ---------- Testimonials ---------- */

.testimonials {
  max-width: 780px;
  margin: 0 auto;
}

.testimonials__track {
  position: relative;
  min-height: 260px;
}

.testimonial {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}

.testimonial.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.testimonial p {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.testimonial p::before {
  content: "★ ★ ★ ★ ★";
  display: block;
  margin-bottom: 0.9rem;
  font-size: 1rem;
  letter-spacing: 0.35em;
  color: var(--ink);
  opacity: 0.85;
}

/* Star count follows the submitted rating (default 5) */
.testimonial[data-rating="4"] p::before { content: "★ ★ ★ ★"; }
.testimonial[data-rating="3"] p::before { content: "★ ★ ★"; }
.testimonial[data-rating="2"] p::before { content: "★ ★"; }
.testimonial[data-rating="1"] p::before { content: "★"; }

.testimonial footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonial footer span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.section--gold .testimonials__arrow {
  border-color: rgba(35, 40, 48, 0.35);
  background: transparent;
  color: var(--ink);
}

.section--gold .testimonials__arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
}

.section--gold .testimonials__dots button { background: rgba(35, 40, 48, 0.3); }
.section--gold .testimonials__dots button.is-active { background: var(--ink); }

/* ---------- Service area ---------- */

.area {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: center;
}

.area .section__title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.area__text p { color: var(--slate); margin: 0; }

.area__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.area__list li {
  padding: 0.5rem 1.2rem;
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
}

/* ---------- Contact ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.field label span { color: var(--gold); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2A81D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 18px; }

.field select option { color: var(--ink); background: #fff; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.field input.is-invalid,
.field textarea.is-invalid { border-color: #E5484D; }

.field textarea { resize: vertical; min-height: 120px; }

.contact-form__status {
  margin: 1rem 0 0;
  font-weight: 500;
  color: var(--gold);
  min-height: 1.5em;
}

.contact-form__status.is-error { color: #E5484D; }

/* Honeypot field — hidden from humans, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-info {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #fff;
}

.contact-info__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
}

.contact-info__row .icon { color: var(--gold); }

.contact-info__row strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
}

a.contact-info__row:hover strong { color: var(--gold); }

.contact-info__row small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.contact-info__social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.contact-info__social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.contact-info__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #1A1E25;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}

.site-footer__brand img {
  margin-bottom: 1rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer a:hover { color: var(--gold); }

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0;
}

.site-footer__bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-footer__bar p { margin: 0; font-size: 0.82rem; }

.site-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__credit img {
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.site-footer__credit a:hover img { opacity: 1; }

/* ---------- Floating call button (mobile) ---------- */

.fab-call {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: none;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(242, 168, 29, 0.5);
}

.fab-call .icon { width: 26px; height: 26px; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;
  background: rgba(15, 18, 22, 0.94);
}

.lightbox[hidden] { display: none; }

.lightbox figure {
  margin: 0;
  max-width: min(1000px, 92vw);
  text-align: center;
}

.lightbox img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.lightbox figcaption {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__close:hover { background: var(--gold); color: var(--ink); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lightbox__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }

/* ---------- Scroll reveal ----------
   Hidden state only applies when JS adds .js-reveal to <html>,
   so content stays visible without JavaScript. */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav__phone { display: none; }
}

@media (max-width: 900px) {
  .service-tile--repairs,
  .service-tile--maint,
  .service-tile--gardens,
  .service-tile--cleaning,
  .services__side { grid-column: span 12; }
  .service-tile--repairs ul { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .brand__logo { width: 84px; height: 56px; }
  .brand__name { font-size: 0.8rem; }
  .brand__name strong { font-size: 1.05rem; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1.5rem;
    background: rgba(24, 28, 34, 0.98);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }

  .site-nav.is-open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,0.4); }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .site-nav__link {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .site-nav__link::after { display: none; }

  .site-nav__phone { display: flex; margin-bottom: 1.2rem; font-size: 1.15rem; }
  .site-nav__cta { width: 100%; }

  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__badge { right: 1rem; bottom: -1.2rem; }
  .audit__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* The layered cluster goes compact: the card carries the layout, the
     phone (tilted, scaled down) only peeks out behind its top-right —
     the section costs barely more height than the card alone. */
  .audit__stage { height: auto; max-width: 460px; margin-inline: auto; }
  .audit__stage .iphone {
    position: relative;
    top: auto;
    right: auto;
    margin: -30px 0 0 auto;
    transform: rotate(7deg) scale(0.8);
  }
  .audit__stage:hover .iphone { transform: rotate(6deg) scale(0.8) translateY(-3px); }
  .audit__stage .audit__card {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(320px, 88%);
    margin: -430px auto 0 0;
  }
  .contact__grid { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .fab-call { display: grid; }
}

@media (max-width: 560px) {
  .section { padding: 4rem 0; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust__grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .stats { gap: 1.6rem; }
  .stats__item strong { font-size: 2.1rem; }
  .hero__actions .btn { width: 100%; }
  .hero__controls { width: 100%; justify-content: center; }
  .lightbox__nav--prev { left: 0.4rem; }
  .lightbox__nav--next { right: 0.4rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
}
