/* CH Services website. Navy on warm grey, Libre Baskerville headings, Almarai text (as the Squarespace site). */
:root {
  --navy: #253551;
  --navy-2: #1b2840;
  --bg: #e0e0db;
  --paper: #f4f4f0;
  --white: #ffffff;
  --text: #253551;
  --muted: #55607a;
  --line: #c9c9c2;
  --gold: #b98a2e;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: Almarai, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.narrow { max-width: 900px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Header: solid on inner pages, transparent over the photo on the home page */
.site-head { background: var(--bg); position: relative; z-index: 10; }
.over-hero .site-head { text-shadow: 0 1px 8px rgba(0, 0, 0, .4); position: absolute; left: 0; right: 0; top: 0; background: transparent; color: var(--white); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 96px; }
.brand { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; margin-right: auto; white-space: nowrap; }
#nav { display: flex; align-items: center; gap: 30px; }
#nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
#nav a, #nav button { font: 400 1.05rem var(--sans); color: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: none; }
#nav a:hover, #nav button:hover { text-decoration: underline; text-underline-offset: 6px; }
.has-sub { position: relative; }
.has-sub > button::after { content: "▾"; font-size: .7em; margin-left: 5px; }
.has-sub > ul { display: none !important; position: absolute; top: 100%; left: -14px; background: var(--bg); color: var(--navy); border: 2px solid var(--navy); padding: 8px 16px !important; min-width: 220px; flex-direction: column; align-items: flex-start !important; gap: 2px !important; z-index: 5; }
.has-sub.open > ul { display: flex !important; }
#nav a.phone { border: 2px solid currentColor; padding: 10px 20px; white-space: nowrap; }
#nav a.phone:hover { background: var(--navy); color: var(--white); border-color: var(--navy); text-decoration: none; }
.menu-btn { display: none; font: inherit; color: inherit; background: none; border: 2px solid currentColor; padding: 8px 16px; cursor: pointer; }

/* Home hero */
.hero { position: relative; min-height: 95vh; display: flex; align-items: flex-end; color: var(--white); background: var(--navy); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.hero-text { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); position: relative; z-index: 1; padding-top: 140px; padding-bottom: clamp(48px, 9vh, 96px); }
.hero h1 { max-width: 20em; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 400; line-height: 1.3; margin-bottom: .9em; text-align: left; }
.lead { font-size: 1.15rem; max-width: 40em; margin: 0; }

/* Inner page titles: centred, then the photo, then wide-margin text */
.page-title { padding: 72px 0 8px; }
.page-title.center { text-align: center; padding-top: 80px; }
.page-title h1 { margin-bottom: .3em; }
.page-title .lead { font-family: var(--serif); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.6rem); max-width: 32em; margin: 0 auto; line-height: 1.4; }
.banner { padding-top: 40px; padding-bottom: 8px; }
.banner img { width: 100%; max-height: 460px; object-fit: cover; }

/* Buttons: outlined, square */
.btn { display: inline-block; font: 400 1.05rem var(--sans); letter-spacing: .02em; text-decoration: none; background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 14px 30px; cursor: pointer; }
.btn:hover { background: var(--navy); color: var(--white); }
.btn.light { color: var(--white); border-color: var(--white); }
.btn.light:hover { background: var(--white); color: var(--navy); }

/* Text pages */
.prose { padding-top: 56px; padding-bottom: 40px; }
.prose h2, .prose h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 400; margin-top: 1.5em; }
.prose h4 { margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .6em; }
.prose img { margin: 1.4em 0; }
@media (min-width: 900px) { .prose img { float: right; width: 46%; margin: .4em 0 1.2em 2.5em; } .prose h2, .prose h3 { clear: both; } }
p { margin: 0 0 1.1em; }

/* Service pages: photo header, intro beside a photo, cards, numbered points, a navy band */
.hero.svc { min-height: 70vh; }
.hero.svc h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; margin-bottom: .35em; }
.hero.svc .lead { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.45rem); margin-bottom: 1.6em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.btn.light.ghost { border-color: rgba(255, 255, 255, .6); }
.svc-intro { padding: clamp(56px, 8vw, 100px) 0; }
.svc-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.svc-intro figure { margin: 0; }
.svc-intro img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.svc-block { padding: clamp(56px, 8vw, 96px) 0; }
.svc-block.cards-on { background: var(--paper); }
.svc-head { max-width: 760px; margin-bottom: 40px; }
.svc-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-grid.n4 { grid-template-columns: repeat(2, 1fr); }
.cards-on .svc-grid.n4 { grid-template-columns: repeat(4, 1fr); }
.svc-item { padding: 28px 28px 24px; }
.cards-on .svc-item { background: var(--white); border-top: 3px solid var(--navy); }
.numbered .svc-grid { gap: 8px 56px; }
.numbered .svc-item { padding: 24px 0; border-top: 1px solid var(--navy); display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
.numbered .svc-item > :not(.num) { grid-column: 2; }
.num { grid-row: span 2; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold); }
.svc-item h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin-bottom: .5em; }
.svc-item p { margin: 0; font-size: 1rem; }
.svc-block.prices { background: var(--bg); }
.svc-item .price { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: .2em; }
.gallery-grid.two { grid-template-columns: repeat(2, 1fr); }
.svc-block + .gallery { padding-top: 0; }
.svc-cta { background: var(--navy); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.svc-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.svc-cta .actions { justify-content: center; margin-top: 28px; }
.svc-cta p strong { font-weight: 400; }

.prose h3.q { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin: 1.4em 0 .4em; }
.areas { padding: clamp(48px, 7vw, 80px) 0; }
.areas h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.area-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.area-list a { display: inline-block; border: 2px solid var(--navy); padding: 10px 20px; text-decoration: none; }
.area-list a:hover { background: var(--navy); color: var(--white); }

/* Cards: four columns, photo on top, no box */
.cards { padding: 100px 0; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.cards-grid.two-up { grid-template-columns: repeat(2, 1fr); }
.card { text-decoration: none; display: flex; flex-direction: column; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin: 22px 0 12px; }
.card p { margin: 0; font-size: 1rem; }
.card .date { margin-bottom: 6px; font-size: .9rem; }
.card:hover h2 { text-decoration: underline; text-underline-offset: 6px; }

.gallery { padding: 16px 0 60px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Why choose us (accordion) beside the quote form */
.split { padding: 60px 0 100px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why h2 { font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.acc { border-top: 1px solid #000; margin-top: 28px; }
.acc details { border-bottom: 1px solid #000; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.3; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .25s; margin-right: 6px; }
.acc details[open] summary::after { transform: rotate(-135deg); }
.acc details p { margin: 0 0 22px; }

.quote { padding: 60px 0; }
.quote-box { border: 2px solid var(--navy); padding: clamp(24px, 4vw, 48px); }
.quote-box h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1em; }
.quote-form { display: grid; gap: 22px; }
.quote-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-form label { display: grid; gap: 4px; font-size: .85rem; }
.quote-form input, .quote-form select, .quote-form textarea { font: 400 1.05rem var(--sans); color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--navy); padding: 8px 0; width: 100%; border-radius: 0; }
.quote-form select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23253551' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 28px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 0; border-bottom-width: 3px; }
.quote-form label { grid-auto-flow: row; }
.quote-form .hp { position: absolute; left: -9999px; }
.quote-form .btn { justify-self: start; }
.form-note { margin: 0; min-height: 1.4em; font-size: .95rem; }
.contact-details { padding-top: 36px; padding-bottom: 20px; }
.cta { padding: 8px 0 56px; }

/* Testimonials */
.said { padding: 40px 0 100px; }
.said-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.said figure { margin: 0; }
.said blockquote { margin: 14px 0 16px; font-size: 1.5rem; line-height: 1.4; }
.said figcaption { font-style: italic; }
.stars { color: var(--navy); letter-spacing: 4px; font-size: 2rem; line-height: 1; }

/* Footer */
.site-foot { padding: 72px 0 36px; font-size: 1rem; text-align: center; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.site-foot h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin-bottom: .5em; }
.site-foot p { margin: 0; }
.copy { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Scroll reveal (the script adds .rv only when motion is allowed) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 56px; }
  .svc-intro-grid { grid-template-columns: 1fr; }
  .svc-intro img { aspect-ratio: 3 / 2; }
  .svc-grid, .cards-on .svc-grid.n4 { grid-template-columns: repeat(2, 1fr); }
  .said-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-btn { display: block; }
  .head-row { min-height: 76px; }
  #nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); color: var(--navy); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; max-height: calc(100vh - 76px); overflow: auto; }
  #nav.open { display: flex; }
  #nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  #nav li > a, #nav li > button { display: block; width: 100%; text-align: left; padding: 12px 0; }
  .has-sub > ul { position: static; border: 0; background: none; padding: 0 0 0 16px !important; }
  #nav a.phone { margin-top: 12px; text-align: center; }
  .over-hero .menu-btn { color: var(--white); }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .cards { padding: 64px 0; }
  .svc-grid, .svc-grid.n4, .cards-on .svc-grid.n4, .gallery-grid.two,
  .cards-grid, .cards-grid.two-up, .gallery-grid, .quote-form .two, .foot-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .brand { font-size: 1.3rem; }
}

/* The short quote form (Nov 2026): four fields, less space */
.split { padding: 40px 0 64px; }
.split-grid { gap: 48px; }
.acc { margin-top: 18px; }
.acc summary { padding: 14px 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.acc details p { margin: 0 0 14px; font-size: 1rem; }
.why h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.quote { padding: 40px 0; }
.quote-box { padding: clamp(20px, 3vw, 32px); }
.quote-box h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .1em; }
.quote-sub { margin: 0 0 18px; font-size: .95rem; }
.quote-form { gap: 16px; }
.quote-form .two { gap: 16px; }
.svc-prose ul { columns: 2 280px; column-gap: 48px; }
.svc-prose li { break-inside: avoid; }
/* The drop-downs and the phone menu sit on a pale panel: no shadow behind their dark text */
.over-hero .has-sub > ul, .over-hero .has-sub > ul a { text-shadow: none; }
@media (max-width: 1000px) { .over-hero #nav, .over-hero #nav a, .over-hero #nav button { text-shadow: none; } }
