/* ==========================================================================
   KD Hardscapes — Site Styles
   Palette: warm off-white / near-black serif headings / bronze-gold accent
   ========================================================================== */

:root {
  --bg: #fbfaf7;
  --bg-alt: #f4f1eb;
  --ink: #23262b;
  --ink-soft: #4a4e55;
  --muted: #7c7f86;
  --gold: #a98548;
  --gold-soft: #c2a06a;
  --line: #e3ded4;
  --dark: #1b1e23;
  --dark-2: #23262c;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Type helpers ---------- */

.overline {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: 0.02em;
}

.section-head .rule {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 22px auto 0;
}

.lead {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 20px auto 0;
}

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 32px;
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}

.btn:hover { background: #93733c; border-color: #93733c; }

.btn--ghost {
  background: transparent;
  color: var(--gold);
}

.btn--ghost:hover { background: var(--gold); color: #fff; }

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

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo { line-height: 1.1; }

.logo .logo-name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.18em;
  color: var(--ink);
  white-space: nowrap;
}

.logo .logo-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.logo .logo-tag::before,
.logo .logo-tag::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--gold-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover { color: var(--gold); }

.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.main-nav .btn { padding: 12px 24px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, var(--bg) 0%, var(--bg) 34%, rgba(251, 250, 247, 0) 62%),
              linear-gradient(160deg, #6e5b45 0%, #3e392f 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media .photo { height: 100%; }

.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--bg) 8%, rgba(251, 250, 247, 0.88) 34%, rgba(251, 250, 247, 0) 64%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 110px;
}

.hero-inner { max-width: 520px; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 58px);
  letter-spacing: 0.01em;
}

.hero .rule {
  width: 120px;
  height: 2px;
  background: var(--gold);
  margin: 26px 0;
}

.hero p {
  color: var(--ink-soft);
  max-width: 400px;
  margin-bottom: 34px;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.hero-phone:hover { color: var(--gold); }

.hero-phone svg { color: var(--gold); }

/* ---------- Photo placeholders ---------- */

.photo {
  position: relative;
  background: linear-gradient(150deg, #8a7358 0%, #5d4f3e 55%, #3c352b 100%);
  overflow: hidden;
}

.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(255, 214, 150, 0.28), transparent 55%),
    radial-gradient(ellipse at 25% 85%, rgba(30, 24, 16, 0.5), transparent 60%);
}

.photo .photo-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 250, 240, 0.85);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

.photo .photo-label svg { opacity: 0.8; }

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

.section { padding: 90px 0; }

.section--alt { background: var(--bg-alt); }

.section--tight { padding: 72px 0; }

/* ---------- Services grid (icons) ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 36px 18px;
  text-align: center;
  margin-bottom: 48px;
}

.service-item {
  background: none;
  border: none;
  font-family: var(--sans);
  padding: 10px 4px;
  cursor: pointer;
  transition: transform 0.22s ease;
}

.service-item:hover { transform: translateY(-4px); }

.service-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.service-item svg {
  color: var(--gold);
  margin: 0 auto 16px;
  transition: color 0.22s ease;
}

.service-item:hover svg { color: #93733c; }

.service-item:hover .service-name { color: var(--gold); }

/* ---------- Service modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 15, 0.74);
  animation: modal-fade 0.25s ease;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 940px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  padding: 52px 52px 46px;
  text-align: center;
  animation: modal-rise 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes modal-fade { from { opacity: 0; } }

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

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.modal-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

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

.modal-panel h2 {
  font-size: clamp(25px, 3vw, 33px);
  letter-spacing: 0.02em;
}

.modal-panel .rule {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto 34px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

/* a lone photo shouldn't stretch the full panel width */
.modal-gallery--single {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.modal-gallery--single img { aspect-ratio: 3 / 2; }

.modal-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}

.modal-note {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 26px;
}

body.modal-open { overflow: hidden; }

@media (max-width: 700px) {
  .modal { padding: 14px; }

  .modal-panel { padding: 44px 22px 30px; }

  .modal-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.service-item .service-name {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.55;
}

.services-cta { text-align: center; }

.services-cta p {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 30px;
}

/* ---------- Service detail cards (services page) ---------- */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child { border-bottom: none; }

.service-detail:nth-child(even) .service-detail-media { order: 2; }

.service-detail-media .photo { aspect-ratio: 4 / 3; }

.service-detail-media .photo .service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail h3 {
  font-size: 27px;
  margin-bottom: 8px;
}

.service-detail .service-icon {
  color: var(--gold);
  margin-bottom: 18px;
}

.service-detail p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.service-detail ul {
  list-style: none;
  margin-top: 6px;
}

.service-detail ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 16px;
}

.service-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--gold);
}

/* ---------- Owners ---------- */

.owners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 24px;
}

.owner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: start;
}

.owner .photo {
  aspect-ratio: 4 / 5;
}

.owner .photo .owner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.owner h3 {
  font-size: 23px;
  letter-spacing: 0.04em;
}

.owner .owner-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 6px 0 14px;
}

.owner ul { list-style: none; }

.owner ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.owner ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.stat .stat-number {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 46px);
  color: var(--ink);
  line-height: 1;
}

.stat .stat-label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 12px;
}

/* ---------- Gallery strip ---------- */

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 44px;
}

.gallery-strip .photo { aspect-ratio: 4 / 5; }

.gallery-strip .photo .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-cta { text-align: center; }

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: left;
}

.faq-q .faq-icon {
  flex: none;
  width: 14px;
  height: 14px;
  position: relative;
  color: var(--gold);
}

.faq-q .faq-icon::before,
.faq-q .faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.25s;
}

.faq-q .faq-icon::before {
  left: 0; right: 0; top: 6px; height: 2px;
}

.faq-q .faq-icon::after {
  top: 0; bottom: 0; left: 6px; width: 2px;
}

.faq-item.open .faq-q .faq-icon::after { transform: scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 4px 24px;
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 72px 0;
}

.page-header h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  letter-spacing: 0.02em;
}

.page-header .rule {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 22px auto 0;
}

.page-header p {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 20px auto 0;
}

/* ---------- Quote / experience band ---------- */

.experience-band {
  background: var(--dark);
  color: #d9d5cc;
  text-align: center;
  padding: 84px 0;
}

.experience-band h2 {
  color: #f4f1ea;
  font-size: clamp(24px, 3vw, 32px);
  max-width: 760px;
  margin: 0 auto;
}

.experience-band p {
  max-width: 700px;
  margin: 24px auto 0;
  color: #b5b1a7;
}

.experience-band .overline { color: var(--gold-soft); }

/* ---------- Video feature (straddles the About sections) ---------- */

.page-header--with-video { padding-bottom: 260px; }

/* small padding-top blocks margin-collapse so the video's negative margin
   actually pulls it up across the seam instead of moving the whole band */
.experience-band--video { padding-top: 40px; }

.video-feature {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 920px;
  margin: -240px auto 64px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, #2c2a26 0%, #16140f 100%);
  border: 1px solid rgba(194, 160, 106, 0.35);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
  cursor: pointer;
}

.video-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, rgba(194, 160, 106, 0.16), transparent 62%);
}

.video-feature .video-play {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 241, 234, 0.85);
  background: rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
}

.video-feature:hover .video-play {
  transform: scale(1.07);
  background: var(--gold);
  border-color: var(--gold);
}

.video-feature .video-play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #f4f1ea;
  margin-left: 6px;
}

.video-feature .video-caption {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.85);
}

@media (max-width: 760px) {
  .page-header--with-video { padding-bottom: 150px; }

  .experience-band--video { padding-top: 30px; }

  .video-feature {
    margin: -120px auto 44px;
    max-width: 100%;
  }

  .video-feature .video-play { width: 64px; height: 64px; }

  .video-feature .video-play::after {
    border-width: 10px 0 10px 17px;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding: 84px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 32px;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-size: 27px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-item svg {
  color: var(--gold);
  flex: none;
  margin-top: 3px;
}

.contact-item .contact-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

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

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 44px;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.contact-form > p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 13px 14px;
  transition: border-color 0.2s;
}

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

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

.map-frame {
  margin-top: 72px;
  border: 1px solid var(--line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  filter: grayscale(35%) sepia(8%);
}

/* ---------- Warranty bar ---------- */

.warranty-bar {
  background: var(--dark-2);
  color: #e8e4db;
  padding: 26px 0;
}

.warranty-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.warranty-bar svg { color: var(--gold-soft); flex: none; }

.warranty-bar p {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.8;
}

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

.site-footer {
  background: var(--dark);
  color: #b5b1a7;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-brand .logo-name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.18em;
  color: #f4f1ea;
}

.footer-brand .logo-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 6px 0 20px;
  max-width: 280px;
}

.footer-brand .logo-tag::before,
.footer-brand .logo-tag::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(194, 160, 106, 0.5);
}

.footer-brand p {
  font-size: 15px;
  max-width: 300px;
}

.site-footer h4 {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin-bottom: 20px;
}

.site-footer ul { list-style: none; }

.site-footer ul li { margin-bottom: 10px; font-size: 15px; }

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

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact svg {
  color: var(--gold-soft);
  flex: none;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    display: none;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a.active { border-bottom-color: var(--line); }

  .main-nav .btn {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }

  .owners { grid-template-columns: 1fr; gap: 48px; }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail:nth-child(even) .service-detail-media { order: 0; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }

  .gallery-strip { grid-template-columns: repeat(3, 1fr); }

  .gallery-strip .photo:nth-child(n+4) { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .hero-media::after {
    background: linear-gradient(180deg, rgba(251, 250, 247, 0.96) 0%, rgba(251, 250, 247, 0.9) 62%, rgba(251, 250, 247, 0.35) 100%);
  }

  .hero-media .photo .photo-label { display: none; }
}

@media (max-width: 560px) {
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }

  .section { padding: 64px 0; }

  .owner { grid-template-columns: 1fr; }

  .owner .photo { max-width: 240px; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 28px 22px; }

  .stats { grid-template-columns: 1fr; gap: 40px; }

  .gallery-strip { grid-template-columns: repeat(2, 1fr); }

  .gallery-strip .photo:nth-child(n+3) { display: none; }
}
