/* ═══════════════════════════════════════════════════════════
   MAYAN DESIGN STUDIO — CSS
   Palette: Slate & Sage
   ═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --slate:        #2C3E35;
  --slate-dark:   #1e2e26;
  --slate-mid:    #3a5044;
  --sage:         #8FAF8C;
  --sage-light:   #b8d4b5;
  --sage-pale:    #e8f0e7;
  --cream:        #F8F6F1;
  --white:        #ffffff;
  --gold:         #B5966D;
  --gold-dark:    #9a7d5a;
  --charcoal:     #3a3a3a;
  --text-body:    #4a4a4a;
  --text-light:   rgba(248,246,241,0.82);

  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Lato', system-ui, sans-serif;

  --max-w: 1160px;
  --section-pad: 100px;
  --section-pad-sm: 64px;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}

ul { list-style: none; }

address { font-style: normal; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.2;
  color: var(--slate);
}

/* ── Layout Utilities ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--light  { background: var(--cream); }
.section--white  { background: var(--white); }
.section--dark   { background: var(--slate); }
.section--sage   { background: var(--sage-pale); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 38px;
  width: min(340px, 100%);
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.28s var(--ease-out),
              color 0.28s var(--ease-out),
              border-color 0.28s var(--ease-out),
              transform 0.2s var(--ease-out),
              box-shadow 0.28s;
}

/* Two-line layout inside Call Now buttons */
.btn__line {
  display: block;
}

.btn__sub {
  display: block;
  font-size: 0.75em;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.88;
  margin-top: 3px;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(181,150,109,0.30);
}

.btn--dark {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}
.btn--dark:hover {
  background: var(--slate-dark);
  border-color: var(--slate-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44,62,53,0.30);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(248,246,241,0.6);
}
.btn--outline:hover {
  background: rgba(248,246,241,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 48px;
  font-size: 0.82rem;
  width: min(340px, 100%);
}

/* ── CTA Stack (Book + Call Now stacked vertically) ─────── */
.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Desktop: Call Now is non-interactive */
@media (hover: hover) and (pointer: fine) {
  .btn--call { cursor: default; }
}

/* ── Section Header ──────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.section-label--light { color: var(--sage-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #6a6a6a;
  line-height: 1.75;
}
.section-subtitle--light { color: var(--text-light); }

.section-body {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-body);
  line-height: 1.78;
  margin-top: 20px;
}

.section-cta {
  text-align: center;
  margin-top: 56px;
}

/* Scroll reveal removed — elements render immediately */

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
#site-header {
  position: relative;
  background: var(--slate);
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  line-height: 0;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-link { display: block; }

.logo-link {
  display: block;
  line-height: 0;
}

.logo-img {
  display: block;
  height: auto;
  width: 100%;
  max-width: 320px;
  object-fit: contain;
  transition: opacity 0.3s;
}
.logo-img:hover { opacity: 0.85; }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8vh;
  overflow: hidden;
  background: var(--slate-dark);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(30,46,38,0.55) 0%,
    rgba(44,62,53,0.35) 50%,
    rgba(30,46,38,0.65) 100%
  );
  animation: gradientShift 12s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0%   { opacity: 0.7; }
  100% { opacity: 1.0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 780px;
}

.hero-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 18px;
  animation: fadeUp 1s var(--ease-out) 0.2s both;
}

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  animation: fadeUp 1s var(--ease-out) 0.4s both;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline__line {
  white-space: nowrap;
}

.hero-tagline {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 40px;
  animation: fadeUp 1s var(--ease-out) 0.6s both;
}

.hero-cta {
  animation: fadeUp 1s var(--ease-out) 0.8s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: fadeUp 1s var(--ease-out) 1.2s both;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(248,246,241,0.5));
  margin: 0 auto;
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS SECTION — 2×2 TABLE
   ═══════════════════════════════════════════════════════════ */
.projects-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  border: 2px solid rgba(44,62,53,0.35);
  overflow: hidden;
}

.projects-table__cell {
  background: var(--white);
}

/* Divider between columns */
.projects-table__cell:nth-child(odd) {
  border-right: 2px solid rgba(44,62,53,0.35);
}

/* Description cells (row 1) */
.projects-table__cell--desc {
  padding: 36px 40px;
  background: var(--white);
}

.projects-table__subhead {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 14px;
}

.projects-table__text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-body);
  line-height: 1.72;
}

/* Bullet item cells (rows 2–4) */
.projects-table__cell--item {
  padding: 14px 40px;
  background: var(--cream);
}

.check-item {
  display: block;
  position: relative;
  padding-left: 34px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-body);
  line-height: 1.55;
}

.check-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* CTA cells (last row) */
.projects-table__cell--cta {
  padding: 32px 40px;
  background: var(--cream);
  display: flex;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   LOCAL PARTNERS SECTION
   ═══════════════════════════════════════════════════════════ */

/* ── Arrow list ──────────────────────────────────────────── */
.arrow-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
}

.arrow-list li {
  position: relative;
  padding-left: 36px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--slate);
  line-height: 1.55;
  font-weight: 400;
}

.arrow-list li + li { margin-top: 18px; }

.arrow-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════
   WHY CHOOSE US SECTION
   ═══════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  border: 1px solid rgba(143,175,140,0.2);
  border-top: 3px solid var(--sage);
  background: rgba(255,255,255,0.04);
  text-align: center;
}

.feature-card__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  color: var(--sage);
}
.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   OUR PROCESS SECTION
   ═══════════════════════════════════════════════════════════ */
.process-cards {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 48px;
}

.process-card {
  flex: 1;
  background: var(--white);
  border: 1.5px solid rgba(143,175,140,0.35);
  padding: 40px 32px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-card__num {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 20px;
}

.process-card__title {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 14px;
}

.process-card__text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-body);
  line-height: 1.75;
  max-width: 260px;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  font-size: 1.6rem;
  color: var(--brass);
  align-self: center;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS SECTION — CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.section--testimonials {
  padding: 52px 0;
}

.section-header--compact {
  margin-bottom: 32px;
}

/* ── Image strip ─────────────────────────────────────────── */
.tc-carousel {
  max-width: 860px;
  margin: 0 auto;
}

.tc-images {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--slate-mid);
}

.tc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease-in-out);
  user-select: none;
}

.tc-img.active { opacity: 1; }

/* ── Quote ───────────────────────────────────────────────── */
.tc-quote {
  padding: 22px 24px 0;
  text-align: center;
  min-height: 96px;
}

.tc-quote__text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 10px;
  transition: opacity 0.4s;
}

.tc-quote__author {
  font-size: 0.82rem;
}

.tc-quote__name {
  color: var(--white);
  font-weight: 700;
}

.tc-quote__sep { color: rgba(248,246,241,0.35); }

.tc-quote__role {
  color: var(--sage-light);
}

/* ── Controls ────────────────────────────────────────────── */
.tc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
}

.tc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(143,175,140,0.35);
  color: var(--sage-light);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  flex-shrink: 0;
}
.tc-btn svg { width: 18px; height: 18px; }
.tc-btn:hover {
  background: rgba(143,175,140,0.15);
  border-color: var(--sage);
  color: var(--white);
}

.tc-dots {
  display: flex;
  gap: 10px;
}

.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(143,175,140,0.28);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.tc-dot.active {
  background: var(--sage);
  transform: scale(1.25);
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.pc-carousel {
  max-width: 860px;
  margin: 0 auto;
}

.pc-images {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--slate);
}

.pc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.pc-slide.active { opacity: 1; }

.pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
}

.pc-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(to top, rgba(28,42,36,0.82) 0%, transparent 100%);
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}

.pc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
}

.pc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(143,175,140,0.4);
  background: transparent;
  color: var(--sage);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  flex-shrink: 0;
}
.pc-btn svg { width: 18px; height: 18px; }
.pc-btn:hover {
  background: rgba(143,175,140,0.15);
  border-color: var(--sage);
  color: var(--slate);
}

.pc-dots {
  display: flex;
  gap: 10px;
}

.pc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(143,175,140,0.35);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.pc-dot.active {
  background: var(--sage);
  transform: scale(1.25);
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER SECTION
   ═══════════════════════════════════════════════════════════ */
.section--cta-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--slate-dark);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600&h=700&fit=crop&auto=format');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.18;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.section--cta-banner:hover .cta-banner__bg {
  transform: scale(1.0);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner__headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-banner__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 44px;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--slate-dark);
  color: var(--text-light);
  padding-top: 80px;
}

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

.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
  color: var(--text-light);
  margin-bottom: 24px;
  max-width: 340px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(143,175,140,0.3);
  color: var(--sage-light);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.social-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-link__name {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.social-link:hover {
  border-color: var(--sage);
  color: var(--white);
  background: rgba(143,175,140,0.12);
}

.footer-nav__title {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 20px;
}

.footer-nav__list li + li { margin-top: 10px; }

.footer-nav__list a {
  font-size: 0.93rem;
  color: var(--text-light);
  transition: color 0.25s;
}
.footer-nav__list a:hover { color: var(--white); }

.footer-address p { font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.8; }
.footer-address a { color: var(--text-light); }
.footer-address a:hover { color: var(--gold); }

.footer-hours {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(248,246,241,0.55);
  margin-top: 18px;
  line-height: 1.6;
}

.footer-bottom {
  padding: 22px 0;
}

.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(248,246,241,0.45);
}

.footer-bottom a {
  color: rgba(248,246,241,0.55);
  transition: color 0.25s;
}
.footer-bottom a:hover { color: var(--sage-light); }

.footer-bottom__powered {
  color: rgba(248,246,241,0.35);
}

/* ═══════════════════════════════════════════════════════════
   SECTION MATERIAL TEXTURES
   Technique: solid colour overlay (high alpha) sits above the
   texture image — colour scheme is preserved, texture is felt
   rather than seen (~9–12% bleed-through).
   ═══════════════════════════════════════════════════════════ */

/* Welcome — light marble: pale veining on cream */
#welcome {
  background:
    linear-gradient(rgba(248,246,241,0.91), rgba(248,246,241,0.91)),
    url('https://images.unsplash.com/photo-1517705008128-361805f42e86?w=1600&q=70&auto=format')
    center / cover;
}

/* Commercial & Residential — light oak wood grain */
#projects {
  background:
    linear-gradient(rgba(255,255,255,0.90), rgba(255,255,255,0.90)),
    url('https://images.unsplash.com/photo-1541123437800-1bb1317badc2?w=1600&q=70&auto=format')
    center / cover;
}

/* Local Partners — woven linen / natural canvas */
#partners {
  background:
    linear-gradient(rgba(232,240,231,0.89), rgba(232,240,231,0.89)),
    url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?w=1600&q=70&auto=format')
    center / cover;
}

/* Why Choose Us — Mayan tile mood board (sage/forest tiles) */
#why-us {
  background:
    linear-gradient(rgba(44,62,53,0.88), rgba(44,62,53,0.88)),
    url('../images/mayan-tile-selection.png')
    center / cover;
}

/* Our Process — warm travertine / veined stone */
#process {
  background:
    linear-gradient(rgba(248,246,241,0.91), rgba(248,246,241,0.91)),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=70&auto=format')
    center / cover;
}

/* Testimonials — Mayan tile board (sage marble, mosaic, scalloped) */
#testimonials {
  background:
    linear-gradient(rgba(44,62,53,0.88), rgba(44,62,53,0.88)),
    url('../images/mayan-tile-board-vertical.png')
    center / cover;
}

/* See Our Work — brushed concrete */
#portfolio {
  background:
    linear-gradient(rgba(248,246,241,0.91), rgba(248,246,241,0.91)),
    url('https://images.unsplash.com/photo-1508615970927-1e04cd6f98b4?w=1600&q=70&auto=format')
    center / cover;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --section-pad: 72px; }

  .projects-table     { grid-template-columns: 1fr; }

  /* Group all Residential cells first, then all Commercial cells */
  .projects-table__cell:nth-child(1)  { order: 1; }
  .projects-table__cell:nth-child(3)  { order: 2; }
  .projects-table__cell:nth-child(5)  { order: 3; }
  .projects-table__cell:nth-child(7)  { order: 4; }
  .projects-table__cell:nth-child(9)  { order: 5; }
  .projects-table__cell:nth-child(2)  { order: 6; }
  .projects-table__cell:nth-child(4)  { order: 7; }
  .projects-table__cell:nth-child(6)  { order: 8; }
  .projects-table__cell:nth-child(8)  { order: 9; }
  .projects-table__cell:nth-child(10) { order: 10; }

  /* Remove column divider; replace with horizontal section separator */
  .projects-table__cell:nth-child(odd) { border-right: none; }
  .projects-table__cell:nth-child(2)   { border-top: 3px solid rgba(44,62,53,0.35); }
  .partners-grid      { grid-template-columns: 1fr 1fr; }
  .features-grid      { grid-template-columns: 1fr 1fr; }
  .process-cards      { flex-direction: column; }
  .process-arrow      { transform: rotate(90deg); width: auto; height: 40px; }
  .testimonials-grid  { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --section-pad: 56px; }

  /* Hero headline — allow wrapping and stay responsive */
  .hero-headline      { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-headline__line { white-space: normal; }

  /* Grids */
  .partners-grid     { grid-template-columns: 1fr; }
  .features-grid     { grid-template-columns: 1fr; }
  .process-cards     { flex-direction: column; }
  .footer-grid       { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom__inner { align-items: center; }

  /* CTA banner */
  .cta-banner__actions { flex-direction: column; align-items: stretch; text-align: center; }

  /* Section spacing */
  .section-header { margin-bottom: 44px; }

  /* Projects table — reduce side padding */
  .projects-table__cell--desc,
  .projects-table__cell--item,
  .projects-table__cell--cta { padding-left: 20px; padding-right: 20px; }

  /* Feature cards — reduce padding */
  .feature-card { padding: 24px 20px; }

  /* Footer logo */
  .footer-logo { height: 56px; }

  /* Carousel touch targets */
  .tc-btn, .pc-btn { width: 44px; height: 44px; }
  .tc-dot, .pc-dot { width: 12px; height: 12px; }
}
