:root {
  --color-primary: #1b4332;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-accent: #f88000;
  --color-star: #f8bd00;
  --color-border: #e5e7eb;
  --color-pill-border: #f5f5f5;
  --color-mint: #e8f1e9;
  --color-inactive: #787474;
  --color-contact: #d9d9d9;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-height: 68px;
  --contact-height: 56px;
  --gutter: 16px;
  --content-max: 1200px;
  /* Side padding that keeps content in a centred column on wide screens */
  --page-pad: max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter)));
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Keep in-page links clear of the pinned header + contact bar */
  scroll-padding-top: calc(var(--header-height) + var(--contact-height));
}

body {
  margin: 0;
  overflow-x: hidden;
  /* clip, not hidden: with container-type on body (640px+), hidden turns body into its own
     scroll box and the sticky header and contact bar stop sticking */
  overflow-x: clip;
  /* Green so the area under Safari's toolbar and past the footer matches the footer.
     The page content itself is mint (main + contact bar). */
  background: var(--color-primary);
  color: var(--color-black);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: none;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

main {
  background: var(--color-mint);
}

/* Title1/Emphasized (28px bold) */
.section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 33px;
  letter-spacing: 0.38px;
}

/* Body/Regular */
.section-lead {
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.43px;
}

.text-accent {
  color: var(--color-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Odometer: each digit is a window onto a vertical 0–9 strip that rolls to its value.
   --digit-h matches the line height of the text it sits in. */
.odometer {
  --digit-h: 33px;
  display: inline-flex;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}

.review-pill__score .odometer {
  --digit-h: 20px;
}

.odometer__digit,
.odometer__char {
  display: inline-block;
  height: var(--digit-h);
  line-height: var(--digit-h);
  vertical-align: top;
}

.odometer__digit {
  overflow: hidden;
}

.odometer__strip {
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--start, 0) * var(--digit-h) * -1));
  transition: transform var(--roll-duration, 1.6s) cubic-bezier(0.16, 1, 0.3, 1);
}

.odometer__strip span {
  height: var(--digit-h);
}

.odometer.is-rolling .odometer__strip {
  transform: translateY(calc(var(--stop) * var(--digit-h) * -1));
}

/* Horizontal carousels: swipe on touch, drag or shift+wheel on desktop */
.scroller {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.scroller::-webkit-scrollbar {
  display: none;
}

.scroller:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.scroller.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.scroller.is-dragging img {
  pointer-events: none;
}

/* Auto-scrolling gallery moves pixel by pixel, so snapping would fight it */
.scroller.is-autoscrolling {
  scroll-snap-type: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-primary);
  color: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  height: var(--header-height);
  margin: 0 auto;
  padding: 10px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 48×48 frame with the 40×40 logo inset by 4px */
.brand__logo {
  flex-shrink: 0;
  padding: 4px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

/* Subheadline/Emphasized */
.brand__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.23px;
}

/* Caption2/Regular */
.brand__tagline {
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0.06px;
}

/* Menu button: 24px icon with a 44px tap area; swaps to a close icon while the menu is open */
.menu-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: -10px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: -4px;
}

.menu-toggle img {
  grid-area: 1 / 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-toggle__close {
  opacity: 0;
  transform: rotate(-90deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  opacity: 0;
  transform: rotate(90deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  opacity: 1;
  transform: none;
}

/* Menu panel (design: 231px wide, white 50%, 16px radius), dropped from the top-right under the header */
.site-menu {
  position: fixed;
  top: calc(var(--header-height) + 8px);
  right: var(--gutter);
  z-index: 40;
  width: 231px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.5);
  /* Frosted glass so the items stay readable over photos */
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform-origin: top right;
  animation: menu-in 0.18s ease-out;
}

.site-menu[hidden] {
  display: none;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* 48px rows with a light divider; Body/Regular */
.site-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 10px;
  border-bottom: 1px solid var(--color-contact);
  color: var(--color-black);
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.43px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.site-menu li:last-child .site-menu__item {
  border-bottom: 0;
}

a.site-menu__item:hover,
a.site-menu__item:active {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
}

a.site-menu__item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  border-radius: 8px;
}

/* Language switch: current language filled, the other one outlined and tappable */
.site-menu__langs {
  display: flex;
  gap: 6px;
}

.site-menu__lang--link {
  background: transparent !important;
  box-shadow: inset 0 0 0 1px var(--color-primary);
  color: var(--color-primary) !important;
}

.site-menu__lang--link:hover,
.site-menu__lang--link:focus-visible {
  background: var(--color-mint) !important;
  outline: none;
}

.site-menu__lang {
  padding: 2px 8px;
  background: var(--color-primary);
  border-radius: 99px;
  color: var(--color-white);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
}

/* Light dimming layer behind the menu; tapping it closes the menu */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(0, 0, 0, 0.15);
}

.menu-backdrop[hidden] {
  display: none;
}

/* Contact strip under the header (Subheadline/Regular) */
/* Pinned directly under the sticky header; the whole bar is a tap-to-call link */
.contact-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 19;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--contact-height);
  padding: 10px var(--gutter);
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.23px;
  text-align: center;
  background: var(--color-contact);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
}

/* Brief darker flash when tapped */
.contact-bar:active {
  background: #c6c6c6;
}

.contact-bar:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -4px;
}

/* Phone number in Subheadline/Emphasized */
.contact-bar__number {
  font-weight: 600;
  white-space: nowrap;
}

.contact-bar:hover .contact-bar__number {
  text-decoration: underline;
}

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

.hero {
  position: relative;
  height: 744px;
  overflow: hidden;
  background: var(--color-white);
}

.hero__media {
  position: absolute;
  top: 0;
  left: 50%;
  width: max(100%, 402px);
  height: 744px;
  overflow: hidden;
  transform: translateX(-50%);
}

.hero__media img {
  position: absolute;
  top: -0.09%;
  left: -1.74%;
  width: 103.48%;
  height: 100.18%;
  object-fit: cover;
}


.hero__content {
  position: relative;
  max-width: var(--content-max);
  height: 100%;
  margin: 0 auto;
  padding: 81px 17px 0;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 226px;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Title1/Emphasized */
.hero__title {
  padding: 10px 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: 0.38px;
}

.review-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-pill-border);
  border-radius: 99px;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.25));
  /* Subheadline/Regular */
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.23px;
  transition: filter 0.2s ease;
}

.review-pill:hover,
.review-pill:focus-visible {
  filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.25));
  outline: none;
}

.review-pill__source {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-pill__rating {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

/* Star sits inside a 24px frame, inset 0 2.45% 9.55% 2.45% */
.review-pill__star {
  position: relative;
  width: 24px;
  height: 24px;
}

.review-pill__star img {
  position: absolute;
  top: 0;
  left: 2.45%;
}

/* Body/Regular */
.hero__lead {
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.43px;
}

/* Translucent white card holding the three rows, 500px from the top of the hero */
.features {
  position: absolute;
  top: 500px;
  left: 17px;
  width: max-content;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
}

/* Subheadline/Emphasized; rows separated by a thin line */
.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-primary);
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.23px;
  white-space: nowrap;
  animation: rise-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.feature:last-child {
  border-bottom: 0;
}

/* Rows appear one by one on load */
.feature:nth-child(1) {
  animation-delay: 0.3s;
}

.feature:nth-child(2) {
  animation-delay: 0.6s;
}

.feature:nth-child(3) {
  animation-delay: 0.9s;
}

.feature__icon {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

/* Peninsular Malaysia map: 30px wide, centred, top-aligned (as in the design) */
.feature__icon--map img {
  position: absolute;
  top: 0;
  left: 12.5%;
  width: 75%;
  height: auto;
}

/* ---------- Projects ---------- */

.projects {
  margin-top: 4px;
  padding: 18px 0 31px;
  background: var(--color-white);
}

.projects__intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 var(--page-pad);
}

.projects__title {
  color: var(--color-primary);
}

.gallery {
  gap: 4px;
  margin-top: 18px;
  padding-left: var(--page-pad);
  scroll-padding-left: var(--page-pad);
}

.gallery__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  width: 370px;
  scroll-snap-align: start;
}

.gallery__row {
  display: flex;
  gap: 4px;
}

.gallery__img {
  object-fit: cover;
  /* Placeholder tint while a photo is still loading */
  background: var(--color-border);
}

.gallery__img--half {
  width: 183px;
  height: 261px;
}

.gallery__img--wide {
  width: 370px;
  height: 261px;
}

.gallery__img--tall {
  width: 370px;
  height: 526px;
}

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

.services {
  /* Bottom room so the reviews start 68px below the quote button */
  padding-bottom: 64px;
}

/* Full-width photo banner above the services (design: 402×503 at 90%) */
.services__banner {
  width: 100%;
  height: 503px;
  object-fit: cover;
  opacity: 0.9;
}

.services__body {
  padding: 17px var(--page-pad) 40px;
}

.services__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services__title {
  color: var(--color-primary);
}

/* Callout/Regular */
.services__text,
.services__hint {
  font-size: 16px;
  line-height: 21px;
  letter-spacing: -0.31px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

/* Chainsaw card spans the full width */
.services__wide {
  grid-column: 1 / -1;
}

/* 177×177 white card; the name sits 46px from the top */
.services__picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* 177×177 white card; the name sits 46px from the top. Tapping selects it (one at a time). */
.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  aspect-ratio: 1;
  min-height: 0; /* keep the card square even if text runs long */
  padding: 32px 10px 24px;
  background: var(--color-white);
  border-radius: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-tile:active {
  transform: scale(0.98);
}

/* The radio itself is invisible; the whole card is its label */
.service-tile__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Selected card: green outline */
.service-tile:has(.service-tile__input:checked) {
  box-shadow: 0 0 0 2px var(--color-primary);
}

.service-tile:has(.service-tile__input:focus-visible) {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* Body/Emphasized */
.service-tile__name {
  display: block;
  white-space: nowrap; /* line breaks are set in the HTML, as in the design */
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: -0.43px;
}

/* The Chainsaw card has an extra row of brand logos, so it starts higher */
/* Wide card (Chainsaw): 370×140, content inset 20px, illustration on the right */
.service-tile--wide {
  gap: 0;
  aspect-ratio: auto;
  height: 140px;
  padding: 32px 20px 24px;
}

.service-tile--wide .service-tile__brands {
  margin-top: 8px;
}

.service-tile--wide .service-tile__desc {
  margin-top: 16px;
}

/* Caption2/Regular */
.service-tile__desc {
  display: block;
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 0.06px;
}

.service-tile__brands {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Illustration pokes out above the card's top-right corner (positions from the design) */
.service-tile__art {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}

.service-tile__art img {
  width: 100%;
  height: 100%;
}

.service-tile__art--cantas {
  top: -16px;
  right: 18px;
  width: 60px;
  height: 60px;
}

.service-tile__art--tunggul {
  top: -18px;
  right: -6px;
  width: 73px;
  height: 50px;
}

.service-tile__art--tanah {
  top: -11px;
  right: 2px;
  width: 76px;
  height: 50px;
}

.service-tile__art--dron {
  top: -17px;
  right: 0;
  width: 80px;
  height: 50px;
}

.service-tile__art--dron img {
  position: absolute;
  left: -3.36%;
  width: 103.36%;
}

.service-tile__art--rumput {
  top: -4px;
  right: 0;
  width: 80px;
  height: 35.56px;
}

.service-tile__art--rumput img {
  position: absolute;
  top: -19.44%;
  left: -4.94%;
  width: 108.64%;
  height: 129.17%;
}

.service-tile__art--chainsaw {
  top: 31px;
  right: 20px;
  width: 80px;
  height: 41px;
}

.service-tile__art--crane {
  top: -20px;
  right: 0;
  width: 80px;
  height: 51px;
}

/* Hint sits between the description and the cards */
.services__hint {
  margin-top: 32px;
}

.services__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin: 0 var(--page-pad);
  padding: 14px 16px;
  /* Grey until a service card is chosen, then brand green */
  background: var(--color-inactive);
  border-radius: 99px;
  color: var(--color-white);
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.43px;
  transition: transform 0.15s ease, background-color 0.25s ease;
}

.services:has(.service-tile__input:checked) .services__cta {
  background: var(--color-primary);
}

.services__cta:active {
  transform: scale(0.98);
}

.services__cta:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* ---------- Reviews ---------- */

.reviews {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-height: 402px;
  margin-top: 4px;
  padding: 31px 0 41px;
  background: var(--color-primary);
  color: var(--color-white);
}

.reviews__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 var(--page-pad);
}

.reviews__list {
  gap: 14px;
  padding: 0 var(--page-pad);
  scroll-padding-left: var(--page-pad);
}

/* White Google review card, 160px tall; widths follow the design */
.review-card {
  flex-shrink: 0;
  height: 160px;
  padding: 14px 16px;
  background: var(--color-white);
  color: var(--color-black);
  scroll-snap-align: start;
}

.review-card--sm {
  width: 224px;
}

.review-card--md {
  width: 243px;
}

.review-card--lg {
  width: 279px;
}

.review-card--xl {
  width: 398px;
}

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-card__avatar {
  border-radius: 50%;
  object-fit: cover;
}

/* Footnote/Regular */
.review-card__name {
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.08px;
  white-space: nowrap;
}

/* Subheadline/Regular */
.review-card__rating {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.23px;
}

/* Caption1/Regular */
.review-card__text,
.review-card__tags {
  font-size: 12px;
  line-height: 16px;
}

.review-card__text {
  margin-top: 16px;
}

.review-card__text strong {
  font-weight: 500;
}

.review-card__tags {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}

.review-card__tags-title {
  font-weight: 700;
}

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

.site-footer {
  min-height: 406px;
  border-top: 4px solid var(--color-mint);
  padding: 35px var(--page-pad) 38px;
  background: var(--color-primary);
  color: var(--color-white);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* Footnote/Regular */
.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.08px;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible,
.site-footer__company a:hover,
.site-footer__company a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* Grid as wide as its widest pill, so the TikTok and Facebook pills match in width */
.site-footer__social {
  display: grid;
  justify-items: stretch;
  align-content: start;
  gap: 8px;
  width: max-content;
}

.site-footer__social .site-footer__label {
  justify-self: start;
  margin-bottom: 8.44px;
}

/* Caption1/Regular */
.site-footer__label {
  font-size: 12px;
  line-height: 16px;
}

/* White pills linking to TikTok and Facebook */
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8.15px;
  padding: 8.89px 11.85px;
  background: var(--color-white);
  border-radius: 73px;
  color: var(--color-black);
  font-size: 11.11px;
  line-height: 14.8px;
  letter-spacing: -0.17px;
  white-space: nowrap;
}

.social-pill:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.site-footer__company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 54px;
}

.site-footer__company-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: -7px; /* logo → name gap is 5px in the design */
}

.site-footer__company-name {
  font-size: 13px;
  line-height: 18px;
  letter-spacing: -0.08px;
}

/* Footer phone number stands out like the one in the contact bar */
.site-footer__phone {
  font-weight: 600;
}

/* Caption2/Regular */
.site-footer__small {
  font-size: 11px;
  font-style: normal;
  line-height: 13px;
  letter-spacing: 0.06px;
}

/* ---------- Floating WhatsApp button ---------- */

/* White pill with the WhatsApp logo (design: 163x52), bottom-right, above the iPhone home bar */
.whatsapp-fab {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 10px 16px;
  background: var(--color-white);
  border-radius: 99px;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.25));
  color: var(--color-black);
  font-family: "Inter", var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  /* Visible from the start; fades up shortly after the page loads */
  animation: rise-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.whatsapp-fab img {
  flex-shrink: 0;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 4px rgba(0, 0, 0, 0.25));
}

.whatsapp-fab:active {
  transform: scale(0.95);
}

.whatsapp-fab:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* ---------- Tablet, landscape & desktop (640px and wider) ----------
   Built from the 1280px "MacBook Air" frame. --u is one design pixel: exactly 1px at 1280px
   and wider, scaling down evenly on narrower screens, so the layout keeps its proportions.
   Text sizes have minimums so nothing gets too small to read. */

.desktop-nav {
  display: none;
}

@media (min-width: 640px) {
  body {
    container-type: inline-size;
  }

  :root {
    --u: min(1px, calc(100cqw / 1280));
    --desk-pad: calc(32 * var(--u));
    --header-height: calc(100 * var(--u));
    --contact-height: max(44px, calc(56 * var(--u)));
  }

  /* Phone-only pieces */
  .menu-toggle,
  .site-menu,
  .menu-backdrop {
    display: none !important;
  }

  /* Contact bar stays pinned under the header, as on phones */
  .contact-bar {
    padding: 8px var(--desk-pad);
    font-size: max(15px, calc(18 * var(--u)));
    line-height: 1.4;
  }

  /* ---- Header ---- */
  .site-header__inner {
    max-width: none;
    height: var(--header-height);
    padding: 0 var(--desk-pad);
  }

  .brand {
    gap: calc(15 * var(--u));
  }

  .brand__logo {
    padding: 0;
  }

  .brand__logo img {
    width: calc(64 * var(--u));
    height: calc(64 * var(--u));
    min-width: 40px;
    min-height: 40px;
  }

  .brand__text {
    padding: 0;
    gap: calc(6 * var(--u));
  }

  /* Title3/Emphasized */
  .brand__name {
    font-size: max(15px, calc(20 * var(--u)));
    line-height: 1.25;
    letter-spacing: -0.45px;
  }

  /* Subheadline/Regular */
  .brand__tagline {
    font-size: max(12px, calc(15 * var(--u)));
    line-height: 1.33;
    letter-spacing: -0.23px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    color: var(--color-white);
    font-size: max(13px, calc(15 * var(--u)));
    line-height: 20px;
    letter-spacing: -0.23px;
    white-space: nowrap;
  }

  .desktop-nav__link,
  .desktop-nav__lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: calc(144.6 * var(--u));
    padding: 10px max(6px, calc(10 * var(--u)));
    border-radius: 8px;
  }

  .desktop-nav__link:hover,
  .desktop-nav__link:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
  }

  .desktop-nav__langs {
    display: flex;
    gap: 4px;
  }

  .desktop-nav__code {
    padding: 1px 7px;
    border-radius: 99px;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 12px;
    line-height: 16px;
  }

  .desktop-nav__code--link {
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    color: var(--color-white);
  }

  .desktop-nav__code--link:hover,
  .desktop-nav__code--link:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    outline: none;
  }

  /* ---- Hero: photo with a white card, feature cards below ---- */
  .hero {
    height: auto;
    overflow: visible;
    background: transparent;
  }

  .hero__media {
    left: 0;
    width: 100%;
    height: calc(636 * var(--u));
    transform: none;
  }

  .hero__media img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: left center;
  }


  .hero__content {
    height: auto;
    max-width: none;
    padding: calc(35 * var(--u)) var(--desk-pad) 0;
  }

  .hero__intro {
    justify-content: center;
    gap: calc(32 * var(--u));
    width: calc(517 * var(--u));
    min-width: 300px;
    height: calc(524 * var(--u));
    min-height: max-content;
    padding: calc(24 * var(--u)) calc(16 * var(--u));
    background: var(--color-white);
    border-radius: calc(32 * var(--u));
  }

  .hero__heading {
    gap: calc(32 * var(--u));
  }

  .hero__title {
    padding: 0;
    font-size: max(28px, calc(64 * var(--u)));
    line-height: 1.047; /* 67 / 64 */
    letter-spacing: 0.4px;
  }

  .hero__title br {
    display: none;
  }

  .review-pill {
    gap: calc(24 * var(--u));
    width: auto;
    align-self: flex-start;
    padding: calc(12 * var(--u)) calc(16 * var(--u));
    background: #f5f5f5;
    border: 0;
    border-radius: 999px;
    filter: none;
    font-size: max(14px, calc(18 * var(--u)));
    font-weight: 600;
    line-height: calc(28 * var(--u));
    letter-spacing: -0.43px;
  }

  .review-pill:hover,
  .review-pill:focus-visible {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  }

  .review-pill__source {
    gap: calc(8 * var(--u));
  }

  .review-pill__source img,
  .review-pill__star {
    width: max(20px, calc(32 * var(--u)));
    height: max(20px, calc(32 * var(--u)));
  }

  .review-pill__star img {
    width: 90%;
    height: auto;
  }

  .review-pill__rating {
    align-items: center;
    gap: 1px;
    font-size: max(14px, calc(17 * var(--u)));
  }

  .review-pill__score .odometer {
    --digit-h: max(18px, calc(22 * var(--u)));
  }

  .hero__lead {
    font-size: max(14px, calc(18 * var(--u)));
    font-weight: 600;
    line-height: 1.556; /* 28 / 18 */
    letter-spacing: -0.43px;
  }

  .features {
    position: static;
    padding: 0;
    background: none;
    border-radius: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(24 * var(--u));
    width: 100%;
    margin-top: calc(118 * var(--u));
  }

  .feature {
    flex-direction: column;
    justify-content: flex-start;
    gap: calc(24 * var(--u));
    padding: calc(24 * var(--u)) calc(16 * var(--u));
    background: #f5f5f5;
    border: 0;
    font-size: max(13px, calc(18 * var(--u)));
    font-weight: 400;
    line-height: 1.556;
    letter-spacing: -0.43px;
    text-align: center;
    white-space: normal;
  }

  .feature br {
    display: none;
  }

  .feature__icon {
    width: calc(80 * var(--u));
    height: calc(80 * var(--u));
    min-width: 48px;
    min-height: 48px;
  }

  .feature__icon img {
    width: 100%;
    height: 100%;
  }

  .feature__icon--map img {
    height: auto;
  }

  /* ---- Projects: centred heading, 2-row gallery of 596x477 photos ---- */
  .projects {
    margin-top: 0;
    padding: calc(86 * var(--u)) 0 calc(22 * var(--u));
    background: transparent;
  }

  .projects__intro {
    padding: 0 var(--desk-pad);
    text-align: center;
  }

  .projects__title {
    color: var(--color-black);
    font-size: max(30px, calc(64 * var(--u)));
    line-height: calc(76 * var(--u));
    letter-spacing: -0.43px;
  }

  .projects__title .odometer {
    --digit-h: calc(76 * var(--u));
  }

  .projects .section-lead {
    display: none;
  }

  .gallery {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, calc(477 * var(--u)));
    grid-auto-columns: calc(596 * var(--u));
    gap: calc(22 * var(--u));
    margin-top: calc(39 * var(--u));
    padding-left: var(--desk-pad);
    scroll-padding-left: var(--desk-pad);
    cursor: grab;
  }

  /* Flatten the phone bento blocks so every photo becomes one grid tile */
  .gallery__group,
  .gallery__row {
    display: contents;
  }

  .gallery__img--half,
  .gallery__img--wide,
  .gallery__img--tall {
    width: 100%;
    height: 100%;
  }

  /* ---- Services: wide photo with a white card, 3-column cards ---- */
  .services {
    position: relative;
    padding-bottom: calc(138 * var(--u));
  }

  .services__banner {
    height: calc(862 * var(--u));
    object-position: left center;
    opacity: 1;
  }

  .services__body {
    padding: calc(107 * var(--u)) var(--desk-pad) 0;
  }

  .services__intro {
    position: absolute;
    top: calc(208 * var(--u));
    left: var(--desk-pad);
    justify-content: center;
    gap: calc(37 * var(--u));
    width: calc(723 * var(--u));
    min-width: 320px;
    height: calc(436 * var(--u));
    padding: calc(32 * var(--u)) calc(24 * var(--u));
    background: var(--color-white);
    border-radius: calc(32 * var(--u));
  }

  .services__title {
    font-size: max(30px, calc(64 * var(--u)));
    line-height: 1.2;
    letter-spacing: -0.43px;
  }

  .services__text {
    font-size: max(14px, calc(18 * var(--u)));
    font-weight: 600;
    line-height: 1.556;
    letter-spacing: -0.43px;
  }

  /* Title1/Regular, centred */
  .services__hint {
    margin-top: 0;
    padding: calc(10 * var(--u));
    font-size: max(16px, calc(28 * var(--u)));
    line-height: 1.214; /* 34 / 28 */
    letter-spacing: 0.38px;
    text-align: center;
  }

  .services__hint br {
    display: none;
  }

  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: calc(22 * var(--u)) calc(24 * var(--u));
    margin-top: calc(30 * var(--u));
  }

  .service-tile,
  .service-tile--wide {
    aspect-ratio: auto;
    /* 224px at 1280; grows if the text needs more room on smaller screens */
    height: auto;
    min-height: max(150px, calc(224 * var(--u)));
    gap: calc(12 * var(--u));
    /* Top room so names clear the illustrations poking over the corner */
    padding: max(72px, calc(76 * var(--u))) calc(24 * var(--u)) calc(24 * var(--u));
  }

  .service-tile--wide {
    gap: 0;
    padding-top: calc(48 * var(--u));
  }

  .service-tile__name {
    font-size: max(15px, calc(24 * var(--u)));
    line-height: 1.25;
  }

  .service-tile__name br {
    display: none;
  }

  .service-tile__desc {
    font-size: max(11px, calc(15 * var(--u)));
    line-height: 1.35;
  }

  .service-tile__desc br {
    display: none;
  }

  .service-tile--wide .service-tile__brands {
    margin-top: calc(12 * var(--u));
  }

  .service-tile--wide .service-tile__desc {
    margin-top: calc(16 * var(--u));
    max-width: 60%;
  }

  /* Illustrations a little larger on the bigger cards */
  .service-tile__art {
    transform: scale(1.4);
    transform-origin: top right;
  }

  .service-tile__art--chainsaw {
    top: calc(56 * var(--u));
    right: calc(40 * var(--u));
    transform: scale(1.8);
  }

  /* Large Title/Regular; light grey with black text until a service is chosen */
  .services__cta {
    width: calc(802 * var(--u));
    min-width: 300px;
    max-width: none;
    height: auto;
    margin: calc(61 * var(--u)) auto 0;
    padding: calc(24 * var(--u)) 16px;
    background: #b8b5b5;
    color: var(--color-black);
    font-size: max(18px, calc(34 * var(--u)));
    line-height: 1.206; /* 41 / 34 */
    letter-spacing: 0.4px;
  }

  .services:has(.service-tile__input:checked) .services__cta {
    color: var(--color-white);
  }

  /* ---- Reviews: same dark green block, white text and orange accent as on phones ---- */
  .reviews {
    gap: calc(40 * var(--u));
    min-height: 0;
    padding: calc(72 * var(--u)) 0 calc(80 * var(--u));
  }

  .reviews__intro {
    gap: calc(16 * var(--u));
    padding: 0 var(--desk-pad);
  }

  .reviews .section-title {
    font-size: max(30px, calc(64 * var(--u)));
    font-weight: 600;
    line-height: 1.047; /* 67 / 64 */
    letter-spacing: 0.4px;
  }


  .reviews .section-lead {
    font-size: max(14px, calc(18 * var(--u)));
    font-weight: 500;
    line-height: 1.556;
  }

  .reviews__list {
    padding: 0 var(--desk-pad);
    scroll-padding-left: var(--desk-pad);
    cursor: grab;
  }

  .review-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  /* ---- Footer ---- */
  .site-footer {
    min-height: 0;
    padding: calc(48 * var(--u)) var(--desk-pad) calc(56 * var(--u));
  }

  .site-footer__top {
    max-width: none;
  }

  .site-footer__nav ul,
  .site-footer__label,
  .site-footer__company-name {
    font-size: max(13px, calc(15 * var(--u)));
  }

  .site-footer__company {
    margin-top: calc(48 * var(--u));
  }

  /* Tablets and phones on their side (640-1023px): tagline hidden so the nav fits,
     services in 2 columns so names and illustrations have room */
  @media (max-width: 1023px) {
    .brand__tagline {
      display: none;
    }

    .services__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services__wide {
      grid-column: 1 / -1;
    }

    .service-tile__art {
      transform: scale(1.1);
    }

    .service-tile__art--chainsaw {
      transform: scale(1.4);
    }
  }
}

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

  .review-pill,
  .service-tile,
  .services__cta {
    transition: none;
  }

  .feature,
  .site-menu,
  .whatsapp-fab {
    animation: none;
  }

  .whatsapp-fab {
    transition: none;
  }

  .menu-toggle img {
    transition: none;
  }
}
