:root {
  --paper: #eee7d8;
  --paper-dark: #ded4bf;
  --ink: #201f1b;
  --muted: #5c574f;
  --blueprint: #1d3346;
  --blueprint-dark: #122637;
  --blue-line: rgba(136, 171, 192, 0.34);
  --terracotta: #c22a1b;
  --terracotta-dark: #8f1f14;
  --white: #fffaf0;
  --border: rgba(32, 31, 27, 0.22);
  --max: 1280px;
}

body {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(32, 31, 27, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32, 31, 27, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(238, 231, 216, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blueprint);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: auto;
}

.brand span {
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.main-nav a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--terracotta-dark);
}

.gallery-hero {
  color: var(--white);
  background-color: var(--blueprint);
  background-image:
    repeating-linear-gradient(0deg, var(--blue-line) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, var(--blue-line) 0 1px, transparent 1px 48px);
  border-bottom: 8px solid var(--terracotta);
}

.gallery-hero h1,
main > section:first-child h1 {
  color: inherit;
}

.site-footer {
  padding: 32px 0;
  background: var(--blueprint-dark);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
  gap: 28px;
  align-items: start;
}

.site-footer .footer-copy {
  margin: 0;
  color: #d8cfbf;
  font-size: 1rem;
  line-height: 1.55;
}

.site-footer .footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  justify-content: stretch;
}

.site-footer .footer-column {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-footer .footer-title {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-footer .footer-column a {
  width: fit-content;
  color: #f4e6cf;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: rgba(244, 230, 207, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer .footer-column a:hover {
  color: #fffaf0;
  text-decoration-color: var(--terracotta);
}

.gallery-cta-actions .btn-primary,
.gallery-cta-actions .btn-whatsapp {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--terracotta);
  border-radius: 6px;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-cta-actions .btn-primary {
  background: var(--terracotta);
  color: var(--white);
}

.gallery-cta-actions .btn-whatsapp {
  background: var(--blueprint);
  color: var(--white);
}

.gallery-cta-actions .btn-primary:hover,
.gallery-cta-actions .btn-whatsapp:hover {
  border-color: var(--terracotta-dark);
  background: var(--terracotta-dark);
  color: var(--white);
  filter: none;
  transform: translateY(-1px);
}

.gallery-cta-actions .btn-primary:focus-visible,
.gallery-cta-actions .btn-whatsapp:focus-visible {
  outline: 3px solid rgba(194, 42, 27, 0.35);
  outline-offset: 3px;
}

.wa-float {
  border: 2px solid var(--terracotta);
  border-radius: 6px;
  background: var(--blueprint);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(18, 38, 55, 0.24);
}

.wa-float:hover,
.wa-float:focus-visible {
  background: var(--terracotta-dark);
  color: var(--white);
}

.simple-page {
  min-height: 58vh;
}

.not-found {
  padding: 96px 0;
  max-width: 720px;
}

.not-found h1 {
  margin: 8px 0 14px;
  color: var(--blueprint);
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.not-found p {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.simple-button {
  display: inline-flex;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--terracotta);
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner,
  .site-footer .footer-columns {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }
}

.reviews-proof {
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72)),
    #f3eadc;
  border-top: 1px solid rgba(29, 51, 70, .12);
  border-bottom: 1px solid rgba(29, 51, 70, .12);
}

.reviews-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.45fr);
  gap: 2rem;
  align-items: stretch;
}

.reviews-proof .section-head {
  margin: 0;
}

.reviews-proof .section-head p:last-child {
  max-width: 46rem;
}

.reviews-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.review-card {
  background: #fffaf1;
  border: 1px solid rgba(29, 51, 70, .18);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .08);
  min-height: 190px;
}

.review-card h3 {
  margin: .35rem 0 .5rem;
  color: #10283a;
}

.review-card p {
  color: rgba(16, 40, 58, .78);
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0 0 .35rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d83224;
}

.trustlocal-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.trustlocal-card .trustlocal-widget {
  max-width: 100%;
}

.google-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}

.review-note {
  margin-top: .8rem;
  font-size: .9rem;
  opacity: .82;
}

@media (max-width: 900px) {
  .reviews-proof-grid,
  .reviews-cards {
    grid-template-columns: 1fr;
  }
}
