:root {
  --green: #7cb342;
  --teal: #00534f;
  --teal-mid: #00635c;
  --teal-dark: #003b38;
  --head: #1b5e5a;
  --ink: #4a4a4a;
  --text: #555;
  --line: #dcd6cc;
  --yellow: #f0b429;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Lato, system-ui, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
h1, h2, h3 { font-family: Poppins, system-ui, sans-serif; font-weight: 700; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1170px, 100% - 32px); margin: 0 auto; }

.preview-bar { background: #111; color: #d6f55b; text-align: center; font-size: 13px; padding: 6px 12px; }

/* Header: grey band, white logo box, green contact bar over dark teal menu */
.site-head { background: linear-gradient(#f3f3f3 0 90px, #fff 90px); padding-top: 50px; position: relative; z-index: 20; }
.head-inner { display: flex; }
.logo { background: #fff; flex: 0 0 290px; display: grid; place-items: center; padding: 18px 26px; }
.logo img { width: 100%; height: auto; max-width: 210px; }
.head-right { flex: 1; display: flex; flex-direction: column; }
.contact-bar { background: var(--green); display: flex; gap: 40px; padding: 18px 20px 14px; border-bottom: 2px solid #a9d07f; }
.cb-item { display: flex; align-items: center; gap: 12px; flex: 1; }
.cb-item svg, .fi svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.2; flex: none; }
.cb-item small { display: block; color: #fff; font-size: 13px; line-height: 1.2; }
.cb-item strong { color: var(--teal); font-family: Poppins, sans-serif; font-size: 16px; }
.main-nav { background: var(--teal); flex: 1; display: flex; align-items: center; padding: 0 14px; min-height: 72px; position: relative; }
.menu { list-style: none; display: flex; }
.menu > li { position: relative; }
.menu > li > a { display: block; color: #fff; font-size: 14px; font-weight: 700; padding: 24px 14px; }
.menu > li > a:hover { color: var(--green); }
.sub { list-style: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); border-top: 3px solid var(--green); display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { display: block; padding: 10px 18px; font-size: 14px; color: var(--ink); border-bottom: 1px solid #eee; }
.sub a:hover { color: var(--teal); background: #f6f6f6; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font: 700 16px Lato, sans-serif; cursor: pointer; padding: 18px 6px; }

/* Slider */
.slider { position: relative; height: clamp(300px, 46vw, 640px); overflow: hidden; background: #ddd; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.slide.active { opacity: 1; }
.dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: rgba(150,150,150,.8); cursor: pointer; padding: 0; }
.dot.active { background: #fff; }

/* Welcome */
.welcome { text-align: center; padding: 90px 0 120px; max-width: 860px; }
.kicker { color: var(--head); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
.welcome h1 { color: var(--ink); font-size: clamp(32px, 4.4vw, 52px); line-height: 1.25; margin: 14px 0 30px; }
.welcome p { font-size: 18px; line-height: 1.85; }

/* Services: two rows of three, lines above and below each row */
.services { padding-bottom: 10px; }
.svc-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); padding: 30px 0 26px; }
.svc-row + .svc-row { margin-top: 36px; border-top-width: 1px; border-color: #e8e8e8; }
.svc { text-align: center; padding: 0 10px; }
.svc h3 { color: #b3b3b3; font-size: 18px; margin-bottom: 8px; transition: color .2s; }
.svc:hover h3 { color: var(--teal); }
.svc img { width: 120px; height: 120px; border-radius: 50%; display: block; margin: 0 auto 30px; transition: transform .25s; }
.svc:hover img { transform: scale(1.06); }
.svc p { font-size: 14px; line-height: 1.7; }

/* Photo band (their terrace photo) */
.photo-band { height: 520px; margin-top: 60px; background: url(photo-terrace.jpg) center / cover no-repeat; }

/* Footer with the quote box overlapping the photo */
.site-foot { background: linear-gradient(transparent 0 140px, var(--teal-dark) 140px); color: #fff; padding-bottom: 20px; margin-top: -140px; display: flow-root; }
.quote-box { background: var(--teal-mid); margin-top: 0; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 26px 12px 26px 12px; }
.quote-form { display: grid; gap: 10px; }
.quote-form input, .quote-form textarea, .quote-form select { font: 14px Lato, sans-serif; padding: 6px 10px; background: #1b6f69; border: 1px solid #4f9590; color: #fff; width: 100%; color-scheme: dark; }
.quote-form ::placeholder { color: #8fbdb9; }
.quote-form .half { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.send { justify-self: end; background: var(--yellow); color: #fff; border: 0; font: 700 13px Poppins, sans-serif; padding: 6px 16px; cursor: pointer; }
.send:hover { background: #d99a12; }
.quote-text h2 { font-size: 26px; margin: 6px 0 14px; }
.quote-text p { font-size: 13px; line-height: 1.6; }
.foot-info { background: var(--teal-mid); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px 12px; border-top: 1px solid #0b7a72; }
.fi { display: flex; align-items: center; gap: 14px; }
.fi svg { width: 34px; height: 34px; }
.fi small { display: block; font-size: 13px; }
.fi strong { font-family: Poppins, sans-serif; font-size: 16px; }
.copy { font-size: 12px; padding: 14px 12px 0; }

/* Side tab */
.quick-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; rotate: 180deg; background: #00a560; color: #fff; font: 700 18px Poppins, sans-serif; letter-spacing: .02em; padding: 14px 8px; border-radius: 0 8px 8px 0; border: 2px solid #fff; border-left: 0; z-index: 30; }

@media (max-width: 900px) {
  .site-head { padding-top: 0; background: #fff; }
  .head-inner { flex-direction: column; width: 100%; }
  .logo { flex: none; padding: 14px; }
  .logo img { max-width: 180px; }
  .contact-bar { flex-direction: column; gap: 10px; }
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--teal); padding-bottom: 8px; }
  .menu.open { display: flex; }
  .menu > li > a { padding: 12px 20px; }
  .sub { position: static; display: block; box-shadow: none; border: 0; background: transparent; }
  .sub a { color: #cfe3e1; border: 0; padding: 6px 36px; }
  .sub a:hover { background: transparent; color: #fff; }
  .svc-row { grid-template-columns: 1fr; gap: 34px; }
  .photo-band { height: 280px; }
  .site-foot { margin-top: -60px; background: linear-gradient(transparent 0 60px, var(--teal-dark) 60px); }
  .quote-box { grid-template-columns: 1fr; }
  .quote-text { order: -1; }
  .foot-info { grid-template-columns: 1fr; }
  .welcome { padding: 56px 0 70px; }
  .quick-tab { font-size: 14px; padding: 10px 6px; }
}
