/* =========================================================
   Exotic Plumbers and Painters – shared stylesheet
   Edit colours / spacing in :root. All pages use this file.
   ========================================================= */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0A2647;
  --navy-900: #071D38;
  --blue: #1554A6;            /* logo blue */
  --orange: #FF5A05;          /* brand orange – large text & big buttons */
  --orange-hover: #E84E00;
  --orange-deep: #D04600;     /* orange behind small white text (AA contrast) */
  --light-blue: #EDF4FB;
  --light-blue-2: #F5F9FD;
  --peach: #FFF1E7;
  --text: #10243F;
  --muted: #475669;
  --border: #D7E1EC;
  --white: #FFFFFF;
  --error: #B42318;
  --success: #067647;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(10, 38, 71, .06);
  --shadow: 0 14px 34px rgba(10, 38, 71, .09);

  --pad: clamp(18px, 4vw, 40px);
  --header-h: 88px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; color: var(--navy); font-weight: 800; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.container { width: min(100% - 2 * var(--pad), 1200px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-tight { padding-block: 0 clamp(3.5rem, 7vw, 5.5rem); }
.accent { color: var(--orange); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--navy); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .75rem 1.5rem;
  font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 18px rgba(255, 90, 5, .22); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 10px; border: 0; background: transparent; color: var(--navy); cursor: pointer;
}
.icon-btn .icon { width: 26px; height: 26px; }
.icon-btn-orange { background: var(--orange-deep); color: var(--white); }
.icon-btn-orange .icon { width: 22px; height: 22px; }

/* ---------- logo ---------- */
.brand { display: inline-flex; text-decoration: none; flex: none; }
.logo { display: inline-flex; align-items: center; gap: .55rem; }
.logo-mark { width: 74px; height: 60px; flex: none; }
.lm-roof { stroke: var(--blue); }
.lm-drop { fill: var(--blue); }
.lm-shine { stroke: rgba(255, 255, 255, .8); }
.lm-roller { fill: var(--orange); }
.lm-frame { stroke: var(--orange); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 2.35rem; font-weight: 900; letter-spacing: .01em; color: var(--blue); }
.logo-sub { margin-top: .25rem; font-size: .84rem; font-weight: 800; letter-spacing: .02em; color: var(--blue); white-space: nowrap; }
.logo-sub span { color: var(--orange); }
.logo-light .lm-roof { stroke: var(--white); }
.logo-light .lm-drop { fill: var(--white); }
.logo-light .lm-shine { stroke: rgba(10, 38, 71, .5); }
.logo-light .logo-name, .logo-light .logo-sub { color: var(--white); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(10, 38, 71, .08);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav-list a {
  position: relative; display: block; padding: .5rem 0;
  font-weight: 500; font-size: 1.02rem; color: var(--navy); text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transition: transform .2s;
}
.nav-list a:hover::after { transform: scaleX(.6); }
.nav-list a[aria-current="page"] { font-weight: 700; }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { margin-left: clamp(.5rem, 2vw, 2rem); padding-inline: 1.25rem; min-height: 50px; }
.nav-mobile-cta, .header-mobile-actions { display: none; }

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #E9F2FB 0%, #F3F8FD 40%, #FFFFFF 70%);
}
.hero-media { position: absolute; inset: 0 0 0 auto; width: 57%; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 16%, #000 36%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 16%, #000 36%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 36rem; padding-block: clamp(4rem, 8vw, 6.5rem) clamp(3rem, 5vw, 4.5rem); }
.hero-title { font-size: clamp(2.5rem, 3.2vw + 1.5rem, 4.6rem); line-height: 1.04; letter-spacing: -.025em; }
.hero-lead { margin-top: 1.1rem; font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: var(--muted); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.trust-list { display: flex; flex-wrap: wrap; margin-top: 2.75rem; }
.trust-list li {
  display: flex; align-items: center; gap: .8rem;
  padding-right: 1.6rem; margin-right: 1.6rem;
  border-right: 1px solid rgba(10, 38, 71, .14);
  font-size: .95rem; line-height: 1.3; color: var(--text);
}
.trust-list li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.trust-icon { width: 38px; height: 38px; color: var(--navy); }

/* ---------- home service tiles ---------- */
.section-title { font-size: clamp(1.6rem, 1vw + 1.3rem, 2.1rem); margin-bottom: 1.5rem; }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.svc-tile {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  height: 100%; padding: 2rem 1rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.svc-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tone-blue { background: var(--light-blue); }
.tone-blue .tile-icon { color: var(--navy); }
.tone-peach { background: var(--peach); }
.tone-peach .tile-icon { color: var(--orange); }
.tile-icon { width: 58px; height: 58px; }
.tile-title { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.tile-arrow { width: 22px; height: 22px; color: var(--navy); transition: transform .2s; }
.svc-tile:hover .tile-arrow { transform: translateX(4px); }

/* ---------- inner page hero (about) ---------- */
.page-title { font-size: clamp(2.5rem, 2.4vw + 1.6rem, 4rem); line-height: 1.04; letter-spacing: -.025em; }
.page-lead { margin-top: 1rem; font-size: clamp(1.05rem, .4vw + .98rem, 1.2rem); color: var(--muted); max-width: 42ch; }
.page-lead-wide { max-width: 62ch; }
.contact-actions { margin-top: 2.25rem; }
.page-kicker { margin-top: 1rem; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.page-kicker + .page-lead { margin-top: .5rem; }

.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F1F4F8 0%, #E8EDF2 78%, #EEF2F6 100%);
}
.page-hero-media { position: absolute; inset: 0 0 0 auto; width: 46%; }
.page-hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 34rem; padding-block: clamp(4rem, 7vw, 5.5rem) clamp(7rem, 11vw, 9.5rem); }

.values { background: linear-gradient(180deg, var(--light-blue-2), var(--light-blue)); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.value-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: clamp(-5.5rem, -8vw, -3rem);
}
.value-card {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 2.5rem 1.25rem; text-align: center;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.value-icon { width: 60px; height: 60px; color: var(--navy); }
.value-title { font-size: clamp(1.2rem, .5vw + 1.05rem, 1.45rem); line-height: 1.2; }

/* ---------- page intro (services / gallery) ---------- */
.page-intro { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 2.75rem); }
.page-intro, .services-section, .gallery-section { background: linear-gradient(180deg, var(--light-blue) 0%, var(--light-blue-2) 100%); }
.services-section, .gallery-section { background: var(--light-blue-2); }

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem); }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.service-media { position: relative; }
.service-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.service-badge {
  position: absolute; left: 1.5rem; bottom: -36px;
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--white); color: var(--navy); box-shadow: 0 6px 18px rgba(10, 38, 71, .16);
}
.service-badge .icon { width: 36px; height: 36px; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 3rem clamp(1.25rem, 2.5vw, 1.9rem) 1.6rem; }
.service-title { font-size: clamp(1.35rem, .6vw + 1.2rem, 1.65rem); }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.25rem; margin-top: 1.1rem; }
.service-list li { display: flex; align-items: flex-start; gap: .55rem; font-size: 1rem; line-height: 1.4; }
.service-list .check { width: 19px; height: 19px; margin-top: 1px; color: var(--orange); }
.service-cta {
  display: inline-flex; align-items: center; gap: .75rem; align-self: flex-start;
  margin-top: auto; padding-top: 1.5rem;
  font-weight: 700; color: var(--navy); text-decoration: none;
}
.arrow-circle {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid #BFD0E3; color: var(--navy); transition: background-color .2s, color .2s, border-color .2s;
}
.arrow-circle .icon { width: 20px; height: 20px; }
.service-cta:hover .arrow-circle { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- gallery ---------- */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter-btn {
  min-height: 44px; padding: .5rem 1.1rem;
  font-size: 1rem; font-weight: 600; color: var(--navy);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.gallery-btn {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: #DDE6EF; cursor: zoom-in; box-shadow: var(--shadow-sm);
}
.gallery-btn img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; transition: transform .35s; }
.gallery-btn:hover img { transform: scale(1.045); }
.gallery-empty { padding: 2rem 0; color: var(--muted); }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(5, 18, 36, .96);
}
.lb-figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: .85rem; min-width: 0; }
.lb-img { width: min(100%, 1000px); max-height: 78vh; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.lb-caption { color: #E4ECF5; text-align: center; font-size: 1rem; }
.lb-btn {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: var(--white); cursor: pointer;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { position: absolute; top: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem); }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lightbox :focus-visible { outline-color: var(--white); }

/* ---------- contact ---------- */
.contact-section { background: linear-gradient(180deg, var(--light-blue) 0%, var(--light-blue-2) 100%); padding-block: clamp(3rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5rem); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-list { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); font-weight: 500; color: var(--navy); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.contact-icon {
  display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%;
  background: var(--orange); color: var(--white);
}
.contact-icon .icon { width: 22px; height: 22px; }

.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.25rem); }
.form-title { font-size: 1.35rem; margin-bottom: 1.25rem; }
.field { margin-bottom: .85rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 50px; padding: .8rem 1rem;
  font-size: 1rem; color: var(--text); background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field ::placeholder { color: #6B7888; opacity: 1; }
.field-select select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230A2647' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field-select select:invalid { color: #6B7888; }
.field-select option { color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 84, 166, .18);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
.field-error { font-size: .875rem; color: var(--error); margin-top: .3rem; }
.field-error:empty { display: none; }
.form-note { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-size: .98rem; line-height: 1.5; }
.form-status a { font-weight: 700; }
.form-status.is-info { background: var(--light-blue); border-left: 4px solid var(--orange); color: var(--navy); }
.form-status.is-success { background: #ECFDF3; border-left: 4px solid var(--success); color: #05603A; }
.form-status.is-error { background: #FEF3F2; border-left: 4px solid var(--error); color: #912018; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #CBD7E6; }
.footer-grid {
  display: grid; grid-template-columns: 1.35fr .7fr 1.5fr auto; gap: 2rem;
  align-items: start; padding-block: 3rem 2.5rem;
}
.site-footer .logo-mark { width: 58px; height: 48px; }
.site-footer .logo-name { font-size: 1.85rem; }
.footer-tagline { margin-top: .75rem; font-size: .95rem; color: #CBD7E6; }
.footer-links ul { display: grid; gap: .3rem; }
.footer-links a, .footer-contact a { color: #E3EAF3; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.footer-contact { display: grid; gap: .75rem; padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.14); }
.footer-contact li { display: flex; align-items: flex-start; gap: .75rem; color: #E3EAF3; }
.footer-contact .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--white); }
.footer-social { display: flex; gap: .75rem; }
.social-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--navy); transition: background-color .2s, color .2s;
}
.social-btn:hover { background: var(--orange-deep); color: var(--white); }
.social-btn .icon { width: 22px; height: 22px; }
.site-footer :focus-visible { outline-color: var(--orange); }
.footer-bottom { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.1rem; }
.footer-badges { display: flex; flex-wrap: wrap; }
.footer-badges li + li::before { content: "|"; margin-inline: .75rem; color: rgba(255,255,255,.35); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1120px) {
  .trust-list li { padding-right: 1.1rem; margin-right: 1.1rem; }
  .hero-media { width: 52%; }
}

@media (max-width: 1024px) {
  .header-cta { display: none; }
  .header-mobile-actions { display: flex; }
  .header-mobile-actions .nav-toggle { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr .7fr 1.5fr; }
  .footer-social { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .logo-mark { width: 52px; height: 42px; }
  .logo-name { font-size: 1.65rem; }
  .logo-sub { font-size: .62rem; }
  .header-mobile-actions { display: flex; gap: .4rem; margin-left: auto; }
  .header-mobile-actions .nav-toggle { display: inline-grid; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; margin: 0;
    padding: .5rem var(--pad) 1.5rem;
    background: var(--white); border-top: 1px solid rgba(10,38,71,.08);
    box-shadow: 0 18px 30px rgba(10, 38, 71, .14);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: .95rem .25rem; font-size: 1.15rem; border-bottom: 1px solid rgba(10,38,71,.08); }
  .nav-list a::after { left: .25rem; right: auto; width: 34px; bottom: 10px; transform: none; opacity: 0; }
  .nav-list a[aria-current="page"] { color: var(--orange-deep); }
  .nav-list a[aria-current="page"]::after { opacity: 0; }
  .nav-mobile-cta { display: grid; gap: .7rem; margin-top: 1.25rem; }
  .nav-toggle-close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

  /* hero stacks: text first, photo below */
  .hero { display: flex; flex-direction: column; background: linear-gradient(180deg, #E9F2FB 0%, #F6FAFD 100%); }
  .hero-inner { order: 1; }
  .hero-content { max-width: 40rem; padding-block: 3rem 2rem; }
  .hero-media { order: 2; position: relative; inset: auto; width: 100%; height: clamp(260px, 58vw, 440px); }
  .hero-media img {
    object-position: center 40%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .page-hero { display: flex; flex-direction: column; }
  .page-hero .container { order: 1; }
  .page-hero-content { max-width: 40rem; padding-block: 3rem 1.5rem; }
  .page-hero-media { order: 2; position: relative; inset: auto; width: 100%; height: clamp(260px, 60vw, 420px); }
  .page-hero-media img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%);
  }
  .value-grid { margin-top: -3rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { padding-left: 1.5rem; }
}

@media (max-width: 780px) {
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .value-grid { grid-template-columns: 1fr; gap: 1rem; }
  .value-card { flex-direction: row; justify-content: flex-start; text-align: left; padding: 1.5rem; gap: 1.25rem; }
  .value-icon { width: 48px; height: 48px; }
  .value-title br { display: none; }
  .gallery-head { align-items: flex-start; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding-top: 4.5rem; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .lb-next { grid-column: 2; grid-row: 2; justify-self: start; }
}

@media (max-width: 560px) {
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2rem; }
  .trust-list li { flex-direction: column; align-items: flex-start; gap: .5rem; padding: 0; margin: 0; border: 0; font-size: .88rem; }
  .trust-icon { width: 32px; height: 32px; }
  .svc-tile { padding: 1.5rem .75rem 1.2rem; }
  .tile-icon { width: 48px; height: 48px; }
  .tile-title { font-size: 1.1rem; }
  .service-list { grid-template-columns: 1fr; }
  .filters { gap: .5rem; }
  .filter-btn { padding: .45rem .85rem; font-size: .95rem; }
  .gallery-grid { gap: .65rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-contact { padding-left: 0; border-left: 0; }
  .footer-links ul { grid-template-columns: repeat(3, auto); justify-content: start; gap: .4rem 1.5rem; }
  .footer-bottom-inner { flex-direction: column; }
  .contact-list li { font-size: 1.02rem; }
  .contact-icon { width: 44px; height: 44px; }
}

@media (max-width: 380px) {
  .logo-mark { width: 44px; height: 36px; }
  .logo-name { font-size: 1.45rem; }
  .logo-sub { font-size: .55rem; }
  .header-inner { gap: .75rem; }
  .icon-btn { width: 44px; height: 44px; }
  .trust-list li { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
