
:root {
  --bg: #eef1f6;
  --panel: #ffffff;
  --text: #163152;
  --muted: #55657d;
  --line: rgba(22, 49, 82, 0.12);
  --blue: #2f67b6;
  --blue-dark: #214f92;
  --blue-soft: #5f8fd0;
  --shadow: 0 20px 50px rgba(17, 38, 66, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(180deg, #f6f7fb 0%, #eef2f7 100%);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 44, 79, 0.08);
}

.topbar {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  color: #fff;
}
.topbar-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: 0.2s ease;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-top,
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(47, 103, 182, 0.26);
}
.btn-secondary {
  background: rgba(255,255,255,0.14);
  color: var(--text);
  border: 1px solid rgba(31, 61, 97, 0.16);
}
.dark-outline {
  background: #fff;
}

.nav-wrap {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.brand img {
  width: auto;
  height: 108px;
  max-width: 100%;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong {
  font-size: 2.25rem;
  font-weight: 800;
  color: #163152;
  letter-spacing: -0.02em;
}
.brand-text small {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #5b6d84;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 700;
  color: #234468;
  font-size: 1.08rem;
}
.nav-links a:hover { color: var(--blue); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(35, 68, 104, 0.16);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #234468;
  border-radius: 999px;
  transition: 0.2s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(19, 44, 79, 0.08);
  background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu-inner {
  display: grid;
  gap: 12px;
  padding: 18px 0 22px;
}
.mobile-menu-inner a:not(.btn) {
  padding: 10px 0;
  font-weight: 700;
  color: #234468;
}
.mobile-cta-bar {
  display: none;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 43, 74, 0.84) 0%, rgba(30, 67, 114, 0.72) 42%, rgba(18, 43, 74, 0.34) 72%, rgba(18, 43, 74, 0.68) 100%),
    url('assets/hero.png') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at left center, rgba(255,255,255,0.15), transparent 36%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 76px 0 88px;
}
.hero-copy {
  width: min(650px, 100%);
  color: #fff;
  background: rgba(16, 39, 68, 0.28);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(4px);
  box-shadow: 0 20px 50px rgba(8, 22, 42, 0.18);
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 800;
  color: #c7dcff;
}
.eyebrow-blue { color: var(--blue); }
.hero h1,
.section-heading h2,
.panel h2,
.quote-copy h2,
.contact-card h2 {
  margin: 0 0 16px;
  line-height: 1.06;
}
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 4.5rem); }
.hero p,
.section-heading p,
.quote-copy p,
.contact-card p {
  line-height: 1.7;
  font-size: 1.06rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-site {
  margin-top: 18px;
  font-weight: 700;
  color: #d7e6ff;
}

.overview-panels {
  margin-top: 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #eef1f6 0%, #f6f7fb 100%);
  padding-top: 28px;
}
.panels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.panel,
.quote-card,
.contact-card,
.service-card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 38, 66, 0.06);
}
.panel {
  padding: 30px;
}
.tick-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}
.tick-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 1.05rem;
}
.tick-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #d2a84d;
  font-weight: 800;
}

.section { padding: 92px 0; }
.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-heading p { color: var(--muted); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  padding: 28px;
}
.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quote-section {
  background: linear-gradient(180deg, #edf3fb 0%, #f7f9fc 100%);
  border-top: 1px solid rgba(17, 38, 66, 0.06);
  border-bottom: 1px solid rgba(17, 38, 66, 0.06);
}
.quote-card {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
}
.quote-steps {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}
.notice-box {
  margin-top: 26px;
  padding: 22px;
  border-radius: 20px;
  background: #f4f7fb;
  border: 1px solid rgba(35, 68, 104, 0.10);
}
.notice-box h3 {
  margin: 0 0 10px;
  color: #234468;
}
.notice-box p {
  margin: 0;
  color: var(--muted);
}
.quote-actions {
  display: grid;
  gap: 16px;
}
.action-card {
  padding: 24px;
  border-radius: 20px;
  background: #f9fbfe;
  border: 1px solid rgba(35, 68, 104, 0.10);
}
.action-card h3 {
  margin: 0 0 8px;
}
.action-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.contact-card {
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.contact-details {
  display: grid;
  gap: 10px;
  text-align: right;
}
.contact-details a,
.contact-details span {
  font-weight: 700;
  color: #234468;
  font-size: 1.05rem;
}

.site-footer {
  padding: 24px 0 34px;
  border-top: 1px solid rgba(17, 38, 66, 0.06);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .nav-links,
  .desktop-top-quote {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
  }
  .brand {
    justify-content: center;
    width: 100%;
  }
  .brand img {
    height: 140px;
    width: auto;
    max-width: calc(100% - 110px);
  }
  .nav-wrap {
    position: relative;
    min-height: 170px;
    justify-content: center;
    padding: 0 18px;
  }
  .hero {
    min-height: auto;
    background-position: 68% center;
  }
  .hero-grid {
    padding: 20px 0 68px;
  }
  .panels-grid,
  .services-grid,
  .quote-card {
    grid-template-columns: 1fr;
  }
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-details {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1120px); }
  .topbar {
    display: none;
  }
  .site-header {
    background: rgba(255,255,255,0.985);
    border-bottom: 1px solid rgba(19, 44, 79, 0.10);
  }
  .brand {
    position: static;
    transform: none;
    flex: 1 1 auto;
    gap: 0;
    min-width: 0;
    justify-content: center;
    align-items: center;
  }
  .brand img {
    height: 210px;
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
    display: block;
  }
  .brand-text {
    display: none;
  }
  .nav-wrap {
    position: relative;
    min-height: 158px;
    padding: 0 2px;
    justify-content: center;
    gap: 12px;
    overflow: visible;
  }
  .menu-toggle {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    flex: 0 0 auto;
    margin-left: 0;
    background: #f7f9fc;
    box-shadow: 0 8px 20px rgba(17, 38, 66, 0.08);
    position: absolute;
    right: 14px;
    top: 44%;
    transform: translateY(-50%);
  }
  .menu-toggle span {
    width: 22px;
  }
  .mobile-cta-bar {
    display: none;
  }
  .mobile-cta-inner {
    display: none;
  }
  .mobile-brand-bar {
    display: none;
  }
  .mobile-brand-title {
    display: none;
  }
  .mobile-cta-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.98rem;
  }
  .hero {
    min-height: auto;
    background-position: 74% center;
    margin-top: 0;
  }
  .hero-grid {
    padding: 0 0 54px;
  }
  .hero-copy {
    width: 100%;
    padding: 24px 20px;
    border-radius: 22px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .section {
    padding: 74px 0;
  }
  .panel,
  .quote-card,
  .contact-card,
  .service-card {
    border-radius: 20px;
  }
  .panel,
  .quote-card,
  .contact-card,
  .service-card,
  .action-card {
    padding: 22px;
  }
  .hero-actions .btn,
  .action-card .btn,
  .mobile-top-quote {
    width: 100%;
  }
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (min-width: 641px) and (max-width: 920px) {
  .nav-wrap {
    position: relative;
    min-height: 170px;
    justify-content: center;
    padding: 0 28px;
  }
  .brand {
    justify-content: center;
    width: 100%;
  }
  .brand img {
    height: 138px;
    width: auto;
    max-width: calc(100% - 150px);
  }
  .menu-toggle {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 16px;
    z-index: 5;
  }
}



@media (min-width: 641px) and (max-width: 920px) {
  .nav-wrap {
    position: relative !important;
    min-height: 170px !important;
    justify-content: center !important;
    padding: 0 34px !important;
  }
  .brand {
    justify-content: center !important;
    width: 100% !important;
  }
  .brand img {
    height: 138px !important;
    width: auto !important;
    max-width: calc(100% - 180px) !important;
  }
  .menu-toggle {
    display: inline-flex !important;
    position: absolute !important;
    right: 34px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    z-index: 20 !important;
  }
}


@media (max-width: 920px) {
  .nav-wrap {
    position: relative !important;
  }
  .menu-toggle {
    position: absolute !important;
    right: 18px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 50 !important;
  }
}

@media (max-width: 640px) {
  .menu-toggle {
    right: 14px !important;
  }
}

@media (min-width: 641px) and (max-width: 920px) {
  .menu-toggle {
    right: 24px !important;
  }
}


@media (max-width: 920px) {
  .nav-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 72px 0 18px !important;
  }

  .brand {
    width: auto !important;
    flex: 0 1 auto !important;
    justify-content: flex-start !important;
    margin-right: auto !important;
  }

  .brand img {
    max-width: 100% !important;
  }

  .menu-toggle {
    position: absolute !important;
    right: 18px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 100 !important;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    padding: 0 68px 0 14px !important;
  }

  .brand {
    justify-content: center !important;
  }

  .menu-toggle {
    right: 14px !important;
  }
}

@media (min-width: 641px) and (max-width: 920px) {
  .nav-wrap {
    padding: 0 84px 0 24px !important;
  }

  .menu-toggle {
    right: 24px !important;
  }
}


/* v28 black header treatment */
.site-header {
  background: #05070b !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.site-header .nav-wrap {
  background: #05070b !important;
}
.site-header .brand img {
  filter: none !important;
}

@media (min-width: 921px) {
  .nav-wrap {
    min-height: 120px !important;
  }
  .brand img {
    height: 100px !important;
    width: auto !important;
    max-width: 100% !important;
  }
  .nav-links a {
    color: #e5edf8 !important;
  }
  .nav-links a:hover {
    color: #60a5fa !important;
  }
}

@media (max-width: 920px) {
  .site-header,
  .site-header .nav-wrap {
    background: #05070b !important;
  }
  .nav-wrap {
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .brand {
    justify-content: center !important;
  }
  .brand img {
    height: 150px !important;
    width: auto !important;
    max-width: calc(100% - 96px) !important;
  }
  .menu-toggle {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28) !important;
  }
  .menu-toggle span {
    background: #e5edf8 !important;
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 162px !important;
    max-width: calc(100% - 92px) !important;
  }
  .nav-wrap {
    min-height: 154px !important;
    padding: 0 64px 0 14px !important;
  }
  .menu-toggle {
    right: 14px !important;
    top: 50% !important;
  }
}

@media (min-width: 641px) and (max-width: 920px) {
  .brand img {
    height: 170px !important;
    max-width: calc(100% - 120px) !important;
  }
  .nav-wrap {
    min-height: 166px !important;
    padding: 0 82px 0 22px !important;
  }
  .menu-toggle {
    right: 22px !important;
  }
}


/* v29 much larger black-header logo */
@media (max-width: 920px) {
  .brand img {
    height: 250px !important;
    width: auto !important;
    max-width: calc(100% - 96px) !important;
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 250px !important;
    max-width: calc(100% - 90px) !important;
  }
  .nav-wrap {
    min-height: 190px !important;
    padding: 0 70px 0 12px !important;
  }
}

@media (min-width: 641px) and (max-width: 920px) {
  .brand img {
    height: 270px !important;
    max-width: calc(100% - 120px) !important;
  }
  .nav-wrap {
    min-height: 210px !important;
    padding: 0 92px 0 18px !important;
  }
}


/* v30: smaller black header, much larger logo footprint */
@media (max-width: 920px) {
  .nav-wrap {
    min-height: 118px !important;
    padding: 0 74px 0 10px !important;
    align-items: center !important;
  }

  .brand {
    width: auto !important;
    flex: 0 1 auto !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
  }

  .brand img {
    width: 340px !important;
    height: auto !important;
    max-width: calc(100vw - 120px) !important;
    display: block !important;
  }

  .menu-toggle {
    right: 14px !important;
    top: 50% !important;
    width: 50px !important;
    height: 50px !important;
  }

  .hero-grid {
    padding-top: 0 !important;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    min-height: 108px !important;
    padding: 0 68px 0 8px !important;
  }

  .brand img {
    width: 320px !important;
    height: auto !important;
    max-width: calc(100vw - 96px) !important;
  }

  .menu-toggle {
    right: 12px !important;
  }
}

@media (min-width: 641px) and (max-width: 920px) {
  .nav-wrap {
    min-height: 126px !important;
    padding: 0 84px 0 16px !important;
  }

  .brand img {
    width: 390px !important;
    height: auto !important;
    max-width: calc(100vw - 140px) !important;
  }

  .menu-toggle {
    right: 18px !important;
  }
}


/* v31: make remaining CTA buttons blue */
.action-card .btn-secondary.dark-outline,
.hero-actions .btn-secondary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 12px 26px rgba(47, 103, 182, 0.26) !important;
}

.action-card .btn-secondary.dark-outline:hover,
.hero-actions .btn-secondary:hover {
  color: #ffffff !important;
}


/* v32 gallery */
.gallery-section {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  border-top: 1px solid rgba(17, 38, 66, 0.06);
  border-bottom: 1px solid rgba(17, 38, 66, 0.06);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(17, 38, 66, 0.08);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.quote-steps li {
  margin-bottom: 8px;
}

@media (max-width: 920px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* v33 stronger desktop branding */
@media (min-width: 921px) {
  .nav-wrap {
    min-height: 136px !important;
    padding: 0 20px !important;
    gap: 22px !important;
  }

  .brand {
    gap: 18px !important;
    flex: 0 1 auto !important;
    margin-right: auto !important;
    align-items: center !important;
  }

  .brand img {
    height: 118px !important;
    width: auto !important;
    max-width: 100% !important;
    display: block !important;
  }

  .brand-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.02 !important;
  }

  .brand-text strong {
    font-size: 2.55rem !important;
    font-weight: 900 !important;
    color: #f5f8ff !important;
    letter-spacing: -0.03em !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.28) !important;
  }

  .brand-text small {
    margin-top: 8px !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    color: #b9cae6 !important;
    letter-spacing: 0.01em !important;
  }

  .nav-links {
    gap: 24px !important;
    font-size: 1.04rem !important;
  }

  .nav-links a {
    color: #e6eef9 !important;
  }
}


/* v34 updates: before/after gallery, reviews section, SEO-ready content structure */
.gallery-group + .gallery-group {
  margin-top: 40px;
}
.gallery-group-head {
  margin-bottom: 18px;
}
.gallery-group-head h3,
.review-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}
.gallery-group-head p,
.review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery-item {
  aspect-ratio: 1 / 1;
}
.reviews-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-top: 1px solid rgba(17, 38, 66, 0.06);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.review-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(17, 38, 66, 0.08);
  box-shadow: var(--shadow);
  padding: 28px;
}
.review-card::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 14px;
  color: #d2a84d;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 920px) {
  .gallery-grid-compact,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid-compact,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .gallery-item {
    aspect-ratio: 1 / 1;
  }
  .review-card {
    padding: 22px;
  }
}


/* v36 gallery tidy-up */
.gallery-pair-card {
  background: #fff;
  border: 1px solid rgba(17, 38, 66, 0.08);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 28px;
}
.gallery-pair-head {
  margin-bottom: 22px;
}
.gallery-pair-head h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}
.gallery-pair-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.gallery-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.gallery-group-head h4 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--heading);
}
.gallery-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reviews-grid-single {
  grid-template-columns: 1fr;
}
.review-card-featured {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: center;
}
.review-image-wrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(17, 38, 66, 0.08);
  background: #fff;
}
.review-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.review-copy h3 {
  margin: 0 0 10px;
}
.review-stars {
  margin-bottom: 10px;
  color: #d2a84d;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 920px) {
  .gallery-split,
  .review-card-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gallery-pair-card {
    padding: 20px;
  }
  .gallery-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}


/* v37 gallery restructure */
.gallery-split-equal {
  align-items: start;
}
.gallery-more-work {
  margin-top: 34px;
}
.gallery-grid-more {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-more-work .gallery-group-head h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}
.gallery-more-work .gallery-group-head p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 920px) {
  .gallery-grid-more {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}


/* Review submission form */
.leave-review-section {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-top: 1px solid rgba(17, 38, 66, 0.06);
}
.review-form-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(17, 38, 66, 0.08);
  box-shadow: var(--shadow);
  padding: 30px;
  max-width: 860px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--heading);
}
.form-field label span {
  font-weight: 500;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(17, 38, 66, 0.14);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--heading);
  background: #fff;
  box-sizing: border-box;
}
.form-field textarea {
  resize: vertical;
}
.review-submit {
  border: 0;
  cursor: pointer;
}
.hidden-field {
  display: none;
}
.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
}
.thank-you-card {
  max-width: 620px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--shadow);
}
.thank-you-card h1 {
  margin-top: 0;
  color: var(--heading);
}
.thank-you-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .review-form-card {
    padding: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* Review card update */
.reviews-grid-updated {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.review-card-text {
  display: flex;
  align-items: center;
  min-height: 220px;
}
.review-card-text .review-copy {
  width: 100%;
}
.review-card-text p {
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .reviews-grid-updated {
    grid-template-columns: 1fr;
  }
}


/* v3 clean reviews layout */
.clean-reviews-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.clean-review-card {
  background: #fff;
  border: 1px solid rgba(17, 38, 66, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clean-review-card .review-stars {
  color: #d2a84d;
  letter-spacing: 0.12em;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.clean-review-card .review-text {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 0 22px;
}

.clean-review-card .review-author {
  color: var(--heading);
  font-weight: 900;
  font-size: 1.18rem;
}

@media (max-width: 760px) {
  .clean-reviews-grid {
    grid-template-columns: 1fr !important;
  }

  .clean-review-card {
    min-height: auto;
    padding: 26px;
  }
}
