:root {
  --bg: #090807;
  --bg-soft: #12100d;
  --panel: #17130f;
  --panel-2: #211b15;
  --paper: #f7f0e6;
  --paper-soft: #efe2d2;
  --ink: #fff8ee;
  --muted: #cfc0ad;
  --muted-dark: #685b4d;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #d9a441;
  --gold-2: #f0c36a;
  --copper: #9d6335;
  --green: #2f8c63;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(217, 164, 65, 0.08), transparent 560px),
    linear-gradient(135deg, #080706 0%, #12100d 52%, #090807 100%);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 80%);
}

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

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  background: #050504;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.topbar .container,
.navbar .container,
.footer-grid,
.hero-grid,
.page-hero-grid,
.grid-2,
.grid-3,
.service-grid,
.project-grid,
.stats-grid,
.process-grid,
.testimonial-grid,
.contact-grid,
.legal-grid,
.area-grid {
  display: grid;
  gap: 24px;
}

.topbar .container {
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 10px 0;
}

.topbar .actions {
  display: flex;
  gap: 10px;
}

.topbar a {
  color: var(--ink);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 8, 7, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.navbar .container {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 82px;
}

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

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a,
.footer-links a {
  position: relative;
  color: rgba(255, 248, 238, 0.82);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-links a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-links a:hover,
.nav-links a.active,
.footer-links a:hover {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 13px;
  font: inherit;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  color: #1b1208;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255,255,255,0.24);
  backdrop-filter: blur(16px);
}

.btn-success {
  color: #fff;
  background: linear-gradient(135deg, #33a66f, #1f744e);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #080706;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  animation: heroFade 25s infinite;
}

.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }
.hero-slide:nth-child(5) { animation-delay: 20s; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  animation: heroZoom 25s infinite;
  filter: saturate(0.98) contrast(1.05);
}

.hero-slide:nth-child(2) img { animation-delay: 5s; }
.hero-slide:nth-child(3) img { animation-delay: 10s; }
.hero-slide:nth-child(4) img { animation-delay: 15s; }
.hero-slide:nth-child(5) img { animation-delay: 20s; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,4,0.92) 0%, rgba(5,5,4,0.72) 44%, rgba(5,5,4,0.28) 100%),
    linear-gradient(180deg, rgba(5,5,4,0.22), rgba(5,5,4,0.78));
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.48fr);
  align-items: center;
  padding: 72px 0;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(217, 164, 65, 0.34);
  background: rgba(217, 164, 65, 0.12);
  color: var(--gold-2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 3.7vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.page-hero h1 {
  margin: 18px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.2vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 14px;
  line-height: 1.08;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.15rem);
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
}

.hero-copy p,
.page-hero-copy p,
.section-head p {
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  max-width: 720px;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel,
.visual-card,
.feature-card,
.service-card,
.project-card,
.testimonial,
.faq-item,
.contact-card,
.area-card,
.legal-box,
.metric-card,
.stats .card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 20px;
  transform: none;
  align-self: end;
  background: linear-gradient(145deg, rgba(8,7,6,0.66), rgba(255,255,255,0.07));
}

.hero-panel h3 {
  color: #fff;
}

.hero-panel-list,
.check-list,
.legal-list,
.simple-list,
.pill-list,
.quick-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.hero-panel-list li,
.check-list li,
.legal-list li,
.simple-list li {
  position: relative;
  padding: 9px 0 9px 24px;
}

.hero-panel-list li::before,
.check-list li::before,
.legal-list li::before,
.simple-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(217, 164, 65, 0.12);
}

.metric-row,
.pill-list,
.quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.metric-row {
  margin-top: 24px;
}

.metric-card {
  padding: 16px;
  min-width: 148px;
}

.metric-card strong,
.stats strong {
  display: block;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.metric-card span,
.stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-stats {
  position: relative;
  overflow: hidden;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  min-height: 180px;
  border: 1px solid rgba(31, 26, 23, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,255,255,0.62));
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217,164,65,0.2), transparent 52%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217,164,65,0.4);
  box-shadow: 0 28px 80px rgba(0,0,0,0.18);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 12px;
  color: #1a130d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.25rem);
  line-height: 0.95;
}

.stat-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted-dark);
  font-weight: 850;
}

.reviews-section {
  overflow: hidden;
}

.review-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.review-track {
  display: flex;
  gap: 18px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.review-card {
  min-width: calc((100% - 36px) / 3);
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(217,164,65,0.18), transparent 46%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217,164,65,0.4);
  background: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.06));
}

.review-card:hover::before {
  opacity: 1;
}

.stars {
  color: var(--gold-2);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.stars::before {
  content: attr(data-stars);
}

.stars {
  font-size: 0;
}

.stars::before {
  font-size: 1.05rem;
}

.review-card p {
  color: #f3eadc;
  font-size: 1.02rem;
  line-height: 1.7;
}

.review-card h3 {
  margin-top: 22px;
  margin-bottom: 6px;
  color: #fff;
}

.review-card span {
  color: var(--muted);
  font-weight: 750;
}

.review-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.review-controls button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.65rem;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.review-controls button:hover {
  transform: translateY(-3px);
  border-color: rgba(217,164,65,0.5);
  background: rgba(217,164,65,0.16);
}

.review-form-wrap {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
  box-shadow: var(--shadow);
}

.compact-head {
  margin-bottom: 22px;
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 13px 14px;
  font: inherit;
}

.review-form select option {
  color: #111;
}

.review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.section,
.page-hero,
.cta-band {
  padding: 96px 0;
}

.section-light {
  color: #1a130d;
  background:
    linear-gradient(180deg, #f8f1e8 0%, #eee0d0 100%);
}

.section-light p,
.section-light li {
  color: var(--muted-dark);
}

.section-light .eyebrow {
  color: #6f441c;
  border-color: rgba(111, 68, 28, 0.2);
  background: rgba(157, 99, 53, 0.1);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.65fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 38px;
}

.grid-2,
.page-hero-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.grid-3,
.service-grid,
.project-grid,
.process-grid,
.testimonial-grid,
.area-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-card,
.feature-card,
.testimonial,
.faq-item,
.contact-card,
.area-card,
.legal-box {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before,
.feature-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(217,164,65,0.18), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover,
.feature-card:hover,
.project-card:hover,
.area-card:hover,
.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 164, 65, 0.38);
  background: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.06));
  box-shadow: 0 28px 80px rgba(0,0,0,0.28);
}

.service-card:hover::before,
.feature-card:hover::before,
.project-card:hover::before {
  opacity: 1;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #1b1208;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 16px 30px rgba(217, 164, 65, 0.22);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.icon svg {
  width: 23px;
  height: 23px;
  stroke: #1b1208;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.32s ease;
}

.service-card:hover .icon,
.feature-card:hover .icon,
.contact-card:hover .icon,
.area-card:hover .icon {
  transform: translateY(-2px) scale(1.08) rotate(-2deg);
  box-shadow: 0 20px 42px rgba(217, 164, 65, 0.34);
}

.service-card:hover .icon svg,
.feature-card:hover .icon svg,
.contact-card:hover .icon svg,
.area-card:hover .icon svg {
  transform: scale(1.06);
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(4, 4, 3, 0.72);
  backdrop-filter: blur(12px);
}

.quote-modal.open {
  display: flex;
}

.quote-dialog {
  width: min(100%, 620px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(28,22,17,0.98), rgba(12,10,8,0.98));
  box-shadow: 0 40px 120px rgba(0,0,0,0.52);
  overflow: hidden;
}

.quote-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 0;
}

.quote-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.quote-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 13px 14px;
  font: inherit;
}

.quote-form select option {
  color: #111;
}

.quote-form textarea {
  min-height: 118px;
  resize: vertical;
}

.project-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.project-card img,
.split-image img,
.page-hero-visual img,
.gallery-shot img,
.gallery-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card img {
  position: absolute;
  inset: 0;
  transition: transform 0.55s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-content {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 2;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(7, 6, 5, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
}

.project-card::after,
.gallery-shot::after,
.gallery-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(0,0,0,0.78));
}

.project-content h3,
.project-content p {
  color: #fff;
}

.split-image,
.page-hero-visual,
.gallery-shot,
.gallery-wide {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 430px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  max-width: 360px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: rgba(7, 6, 5, 0.66);
  backdrop-filter: blur(16px);
}

.image-badge strong,
.image-badge p {
  color: #fff;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(10,8,6,0.92), rgba(48,31,18,0.86)),
    url("../client-assets/web-images/complete-solutions.png") center/cover;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,5,4,0.88), rgba(5,5,4,0.45));
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.footer {
  padding: 64px 0 28px;
  background: #050504;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  margin-bottom: 34px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(217,164,65,0.5);
  background: rgba(217,164,65,0.14);
  box-shadow: 0 16px 36px rgba(217, 164, 65, 0.18);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(5,5,4,0.88), rgba(5,5,4,0.48)),
    url("../client-assets/web-images/hero-commercial-projects.png") center/cover;
}

.page-hero .page-hero-grid {
  grid-template-columns: minmax(0, 860px);
}

.page-hero .page-hero-visual {
  display: none;
}

.area-card strong,
.service-card strong,
.feature-card strong {
  color: #fff;
}

.section-light .area-card strong,
.section-light .service-card strong,
.section-light .feature-card strong {
  color: #1a130d;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.keyword-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(217, 164, 65, 0.25);
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.1);
  color: #6f441c;
  font-weight: 800;
  font-size: 0.92rem;
}

.area-feature {
  display: grid;
  gap: 14px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mini-stat {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.045));
}

.section-light .mini-stat {
  border-color: rgba(31,26,23,0.12);
  background: rgba(255,255,255,0.7);
}

.mini-stat b {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-2);
  font-size: 1.35rem;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--muted);
}

.contact-card a {
  color: var(--gold-2);
  font-weight: 800;
}

.notice {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 140, 99, 0.28);
  background: rgba(47, 140, 99, 0.12);
  color: #d7f7e7;
}

.section-light .notice {
  color: #205c3e;
}

.legal-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.accordion-list {
  display: grid;
  gap: 14px;
}

.accordion-item {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.045));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section-light .accordion-item {
  border-color: rgba(31, 26, 23, 0.12);
  background: rgba(255,255,255,0.68);
}

.accordion-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.section-light .accordion-question {
  color: #1a130d;
}

.accordion-question::after {
  content: "+";
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1b1208;
  transition: transform 0.25s ease;
}

.accordion-item.open .accordion-question::after {
  transform: rotate(45deg);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.accordion-answer p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}

.section-light .contact-form label {
  color: var(--muted-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 13px 14px;
  font: inherit;
}

.section-light .contact-form input,
.section-light .contact-form select,
.section-light .contact-form textarea {
  border-color: rgba(31,26,23,0.14);
  background: rgba(255,255,255,0.8);
  color: #1a130d;
}

.contact-form select option {
  color: #111;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFade {
  0%, 18% { opacity: 1; }
  24%, 100% { opacity: 0; }
}

@keyframes heroZoom {
  0%, 18% { transform: scale(1); }
  24%, 100% { transform: scale(1.12); }
}

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

@media (max-width: 1040px) {
  .topbar .container,
  .navbar .container,
  .hero-grid,
  .page-hero-grid,
  .grid-2,
  .grid-3,
  .service-grid,
  .project-grid,
  .process-grid,
  .testimonial-grid,
  .contact-grid,
  .area-grid,
  .service-strip,
  .footer-grid,
  .legal-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

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

  .navbar .container {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0 4px;
  }

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

  .navbar .btn {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 84px 0 58px;
  }

  .hero-panel {
    transform: none;
  }

  .review-card {
    min-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .topbar .container {
    text-align: center;
    justify-items: center;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-mark {
    font-size: 1.08rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
    line-height: 1.08;
  }

  .section,
  .page-hero,
  .cta-band {
    padding: 68px 0;
  }

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

  .hero-actions,
  .inline-actions,
  .topbar .actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .project-card,
  .split-image,
  .page-hero-visual,
  .gallery-shot,
  .gallery-wide {
    min-height: 310px;
  }

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

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

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

  .review-card {
    min-width: 100%;
  }

  .review-controls {
    justify-content: stretch;
  }

  .review-controls button {
    width: 100%;
  }
}


/* SEO page and footer refinements */
.service-image-grid {
  align-items: stretch;
}

.service-image-card {
  position: relative;
  display: grid;
  grid-template-rows: 190px 1fr;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 430px;
}

.service-image-card > img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.service-image-card:hover > img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.service-image-card .service-card-body {
  display: grid;
  gap: 14px;
  padding: 26px 30px 30px;
}

.service-image-card strong {
  color: inherit;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1.1;
}

.service-image-card em {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 900;
  border-bottom: 1px solid rgba(217,164,65,0.5);
}

.page-hero .page-hero-visual {
  display: block;
  min-height: 360px;
}

.page-hero .page-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.82fr);
  align-items: center;
}

.page-hero .page-hero-copy {
  max-width: 740px;
}

.page-hero .page-hero-visual img {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 28px 70px rgba(0,0,0,0.28);
}

.footer {
  padding: 44px 0 22px;
}

.footer-grid {
  grid-template-columns: 1.15fr 0.85fr 0.85fr 0.85fr;
  gap: 28px;
}

.footer-popular {
  grid-column: 1 / -1;
}

.footer-popular .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-popular .footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 0.9rem;
}

.footer-popular .footer-links a:hover {
  border-color: rgba(217,164,65,0.5);
  background: rgba(217,164,65,0.12);
}

.footer-bottom a[href*="8882085086"] {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2bd55, #d99625);
  color: #120c07;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(217,164,65,0.22);
}

.footer-bottom a[href*="8882085086"]::before {
  content: "Contact developer";
  margin-right: 8px;
  color: rgba(18,12,7,0.72);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(217,164,65,0.1);
  border: 1px solid rgba(217,164,65,0.22);
}

@media (max-width: 900px) {
  .page-hero .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero .page-hero-visual {
    min-height: 0;
  }

  .page-hero .page-hero-visual img {
    max-height: none;
  }

  .service-image-card {
    grid-template-rows: 180px 1fr;
    min-height: auto;
  }

  .footer-grid,
  .footer-popular {
    grid-column: auto;
  }

  .footer-popular .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .service-image-card {
    grid-template-rows: 165px 1fr;
  }

  .service-image-card .service-card-body {
    padding: 22px;
  }

  .footer-popular .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom a[href*="8882085086"] {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.home-service-grid .service-image-card {
  grid-template-rows: 165px 1fr;
  min-height: 380px;
}

.home-service-grid .service-image-card .service-card-body {
  gap: 12px;
}

@media (max-width: 680px) {
  .trust-stats .section-head {
    margin-bottom: 20px;
  }

  .trust-stats .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .stat-card {
    min-height: 118px;
    padding: 20px;
  }

  .stat-card strong {
    margin-bottom: 8px;
    font-size: clamp(2.25rem, 13vw, 3.15rem);
  }

  .stat-card p {
    font-size: 0.95rem;
  }

  .reviews-section .section-head,
  .review-form-wrap .section-head {
    margin-bottom: 18px;
  }

  .review-form-wrap {
    margin-top: 24px;
    padding: 20px;
  }

  .review-form {
    gap: 11px;
  }

  .review-form label {
    gap: 5px;
    font-size: 0.92rem;
  }

  .review-form .btn {
    min-height: 46px;
    padding: 12px 16px;
  }

  .review-form .form-grid {
    gap: 10px;
  }

  .review-form input,
  .review-form select,
  .review-form textarea {
    padding: 11px 12px;
  }

  .review-form textarea {
    min-height: 90px;
  }

  .compact-head h2 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .home-service-grid .service-image-card {
    grid-template-rows: 150px 1fr;
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .stat-card {
    min-height: 104px;
    padding: 18px;
  }

  .stat-card strong {
    font-size: clamp(2.05rem, 12vw, 2.75rem);
  }

  .review-form-wrap {
    padding: 18px;
  }
}

/* Final mobile polish */
.service-image-card > img {
  display: block;
}

.service-image-card .service-card-body {
  position: relative;
  z-index: 2;
  background: rgba(253, 246, 237, 0.98);
  border-top: 1px solid rgba(31, 26, 23, 0.08);
}

.service-image-card strong,
.service-image-card p,
.service-image-card em {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid > div {
    min-width: 0;
  }

  .footer .brand {
    align-items: center;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-bottom {
    display: grid;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .service-image-card {
    grid-template-rows: 185px auto;
  }

  .service-image-card strong {
    display: block;
    margin: 0;
    font-size: 1.28rem;
    line-height: 1.18;
  }

  .service-image-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
  }

  .home-service-grid .service-image-card {
    grid-template-rows: 185px auto;
  }

  .home-service-grid .service-image-card .service-card-body {
    padding: 22px;
  }

  .footer {
    padding: 42px 0 24px;
    overflow: hidden;
  }

  .footer .brand-mark {
    font-size: 1.2rem;
  }

  .footer .brand-sub {
    max-width: 190px;
    line-height: 1.5;
    letter-spacing: 0.12em;
  }

  .footer-popular .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-popular .footer-links a {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    white-space: normal;
  }
}
