/* ==========================================================================
   Resha Interiors by GHG — Stylesheet
   Editorial, gallery-like design system built around the RS monogram.
   ========================================================================== */

:root {
  /* Color tokens */
  --ink: #1b1915;          /* warm near-black — matches the logo */
  --paper: #fcfaf6;        /* bright warm white — main page background */
  --paper-dim: #f4eee4;    /* soft linen for alternating sections */
  --sand: #ffffff;         /* card surfaces / hover fills */
  --stone: #6e665b;        /* warm grey-brown for secondary text */
  --gold: #c39a5f;         /* polished brass accent */
  --gold-deep: #a07636;    /* accent hover / text-on-light state */
  --sage: #5f6f45;         /* olive-sage, pulled from the projects' greenery */
  --sage-deep: #3f4b2e;    /* deep olive for the CTA band */
  --sage-soft: #e8ebdc;    /* pale sage tint for fills */
  --line: #e3d9c8;         /* hairline border color */

  /* Type scale — every size on the site comes from these */
  --fs-xs: 0.8rem;      /* small labels: eyebrows, tags, captions, footer fine print */
  --fs-sm: 0.92rem;     /* secondary text: locations, attributions, footer links, form notes */
  --fs-base: 1rem;      /* body copy and descriptions */
  --fs-nav: 1.05rem;    /* header navigation */
  --fs-lede: 1.15rem;   /* intro paragraphs, testimonial quotes */
  --fs-card: 1.2rem;    /* small card titles */

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }

p { margin: 0 0 1em; color: var(--ink); max-width: 62ch; }

.lede {
  font-size: var(--fs-lede);
  color: var(--stone);
  max-width: 46ch;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-deep);
}

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--paper-dim); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  letter-spacing: 0.01em;
  padding: 0.9em 1.7em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: var(--sage); border-color: var(--sage); }
.btn-outline { color: var(--ink); }
.btn-outline:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 246, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(14, 13, 11, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand img { height: 56px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--ink);
  display: none;
}
.brand-word em {
  font-style: italic;
  color: var(--gold-deep);
}
@media (min-width: 560px) { .brand-word { display: block; } }

.main-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.main-nav a {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
  padding: 0.3em 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--gold-deep);
  transition: right 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.icon-link:hover { border-color: var(--gold-deep); background: var(--sand); }
.icon-link svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 17px; height: 17px; }

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 6.5rem 2rem 2rem;
    gap: 1.6rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
    box-shadow: -12px 0 30px rgba(0,0,0,0.08);
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; transition: transform 0.35s ease, visibility 0s; }
  .main-nav a { font-size: 1.2rem; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy { max-width: 46ch; }
.hero-copy h1 { margin-bottom: 0.4em; }
.hero-copy .lede { margin-bottom: 1.8em; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.art-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--sand) 0%, var(--paper-dim) 55%, var(--paper) 100%);
}
.art-frame .motif {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.art-frame .motif svg { width: 46%; height: auto; color: var(--ink); opacity: 0.85; }
.art-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--stone);
  background: linear-gradient(0deg, rgba(252,250,246,0.9), rgba(252,250,246,0));
}

/* animate hero once on load */
.hero-copy, .hero-art { animation: rise 0.9s ease both; }
.hero-art { animation-delay: 0.15s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid .stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2rem;
}
@media (max-width: 480px) { .about-grid .stat-row { grid-template-columns: 1fr 1fr; } }
.stat { border-left: 2px solid var(--gold); padding-left: 1rem; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; color: var(--gold-deep); }
.stat span { display: block; font-size: var(--fs-sm); line-height: 1.45; color: var(--stone); }

/* ==========================================================================
   Services (snapshot strip + full page)
   ========================================================================== */
.service-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .service-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .service-strip { grid-template-columns: 1fr; } }

.service-tile {
  background: var(--sand);
  padding: 1.9rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.25s ease;
}
.service-tile:hover { background: var(--sage-soft); }
.service-tile svg {
  width: 46px; height: 46px;
  padding: 10px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  transition: background 0.25s ease, color 0.25s ease;
}
.service-tile:hover svg { background: var(--sage); color: #fff; }
.service-tile h3 { margin: 0; font-size: var(--fs-card); }
.service-tile a { font-size: var(--fs-sm); color: var(--stone); }
.service-tile a:hover { color: var(--gold-deep); }

.service-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.8rem, 3vw, 2.6rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .num {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  color: var(--stone);
}
.service-row h3 { margin-bottom: 0.5rem; }
.service-row p, .about-grid p { color: var(--stone); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  margin-bottom: 1rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.service-icon svg { width: 34px; height: 34px; }
.service-row:hover .service-icon { background: var(--sage); color: #fff; }
@media (max-width: 720px) {
  .service-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(1.5rem, 3vw, 2.6rem);
  row-gap: clamp(3.5rem, 7vw, 6rem);
}
@media (max-width: 780px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-grid .project-card:first-child {
  grid-column: 1 / -1;
}
.portfolio-grid .project-card:first-child .art-frame { aspect-ratio: 16 / 8; }
/* an even-numbered last card would sit alone in its row (card 1 spans both columns) — let it span too */
.portfolio-grid .project-card:last-child:nth-child(even) { grid-column: 1 / -1; }
.portfolio-grid .project-card:last-child:nth-child(even) .art-frame { aspect-ratio: 16 / 8; }
@media (max-width: 780px) {
  .portfolio-grid .project-card:first-child .art-frame,
  .portfolio-grid .project-card:last-child:nth-child(even) .art-frame { aspect-ratio: 4 / 3.4; }
}

.project-card { position: relative; }
.project-card .art-frame { aspect-ratio: 4 / 3.4; margin-bottom: 1rem; }
.project-card .art-frame .motif svg { width: 32%; }
.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.project-meta h3 { margin: 0; }
.project-title { margin: 0 0 0.35rem; }
.project-tags { margin: 0.9rem 0 0; }
.tag {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--sage-deep);
  background: var(--sage-soft);
  border: 1px solid transparent;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  white-space: nowrap;
}
.project-loc { font-size: var(--fs-sm); color: var(--stone); margin-bottom: 0.5rem; }
.project-desc { font-size: var(--fs-base); color: var(--stone); margin-bottom: 0; }

/* Clickable project photo / gallery trigger */
.gallery-trigger {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
  margin-bottom: 1rem;
}
.gallery-trigger:focus-visible .art-frame { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.photo-frame { position: relative; background: var(--paper-dim); }
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-trigger:hover .photo-frame img { transform: scale(1.035); }
.photo-caption {
  background: linear-gradient(0deg, rgba(14,13,11,0.55), rgba(14,13,11,0));
  color: var(--paper);
}
.expand-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(252, 250, 246, 0.94);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.expand-badge svg { width: 16px; height: 16px; }
.gallery-trigger:hover .expand-badge,
.gallery-trigger:focus-visible .expand-badge { opacity: 1; transform: translateY(0); }

/* Inline project photo carousel */
.carousel-frame { position: relative; background: var(--paper-dim); cursor: zoom-in; touch-action: pan-y; }
.carousel-frame .carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-arrow {
  all: unset;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(218,211,197,0.45);
  background: rgba(14,13,11,0.4);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.carousel-arrow:hover { background: rgba(14,13,11,0.62); border-color: var(--gold); }
.carousel-arrow:active { transform: translateY(-50%) scale(0.92); }
.carousel-arrow svg { width: 15px; height: 15px; }
.carousel-prev { left: 0.7rem; }
.carousel-next { right: 0.7rem; }
.carousel-dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 3.1rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 2;
  pointer-events: none;
}
.carousel-dots .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(251,249,245,0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots .dot.is-active { background: var(--paper); transform: scale(1.4); }
.expand-btn {
  all: unset;
  position: absolute;
  top: 1rem; right: 1rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(252, 250, 246, 0.94);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.expand-btn svg { width: 15px; height: 15px; }
.carousel-frame:hover .expand-btn,
.expand-btn:focus-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 780px) {
  .expand-btn { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .carousel-arrow { width: 32px; height: 32px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 13, 11, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1.2rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.lightbox-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: var(--sand);
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
}
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 1px solid rgba(251,249,245,0.32);
  background: none;
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.lightbox-close:hover,
.lightbox-arrow:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-close { top: clamp(1rem, 3vw, 1.6rem); right: clamp(1rem, 3vw, 1.6rem); width: 44px; height: 44px; }
.lightbox-close svg { width: 17px; height: 17px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lightbox-arrow svg { width: 18px; height: 18px; }
.lightbox-prev { left: clamp(0.6rem, 3vw, 1.6rem); }
.lightbox-next { right: clamp(0.6rem, 3vw, 1.6rem); }
@media (max-width: 640px) {
  .lightbox-arrow { width: 38px; height: 38px; }
  .lightbox-close { width: 38px; height: 38px; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-wrap { position: relative; }
.testimonial-track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 84vw);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 2rem;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testimonial-card .quote { font-family: var(--font-display); font-size: var(--fs-lede); font-style: italic; }
.testimonial-card .who { font-size: var(--fs-sm); color: var(--stone); }
.testimonial-nav { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.tnav-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tnav-btn:hover { border-color: var(--gold-deep); }
.tnav-btn svg { width: 14px; height: 14px; }

.feedback-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.feedback-cta p { margin: 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: var(--sage-deep);
  color: var(--paper);
}
.cta-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--paper); margin: 0; max-width: 20ch; }
.cta-banner .btn-dark { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-banner .btn-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cta-banner .btn-dark { color: var(--sage-deep); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  color: var(--stone);
  margin-bottom: 0.5em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.7em 0.1em;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-deep);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.star-rating { display: flex; gap: 0.4rem; font-size: 1.4rem; }
.star-rating input { display: none; }
.star-rating label {
  cursor: pointer;
  color: var(--line);
  font-size: 1.6rem;
  transition: color 0.15s ease;
}
.star-rating { flex-direction: row-reverse; justify-content: flex-end; }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--gold); }

.form-note { font-size: var(--fs-sm); color: var(--stone); margin-top: 1rem; }

.form-success {
  display: none;
  border: 1px solid var(--line);
  padding: 1.4rem;
  background: var(--paper-dim);
  font-size: var(--fs-base);
}
.form-success.is-visible { display: block; }

/* Contact info card */
.contact-card { border: 1px solid var(--line); padding: clamp(1.6rem, 3vw, 2.2rem); }
.contact-card h3 { margin-bottom: 1.2rem; }
.contact-line {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.contact-line:first-of-type { border-top: none; }
.contact-line svg { width: 18px; height: 18px; color: var(--gold-deep); flex-shrink: 0; margin-top: 0.15rem; }
.contact-line a:hover { color: var(--gold-deep); }
.contact-line .label { display: block; font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--stone); margin-bottom: 0.15rem; }

.map-frame {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: var(--fs-sm);
  text-align: center;
  padding: 1rem;
}

/* ==========================================================================
   Page header (Services / Portfolio / Contact)
   ========================================================================== */
.page-header { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-header .lede { margin-top: 0.6rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--sand); padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(233, 227, 216, 0.18);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.footer-brand img { height: 72px; width: auto; }
.footer-company {
  font-family: var(--font-display);
  font-size: var(--fs-lede);
  line-height: 1.25;
  color: var(--paper);
}
.footer-brand p { color: rgba(233,227,216,0.7); font-size: var(--fs-sm); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col a, .footer-col li, .footer-col span {
  display: block;
  color: rgba(233,227,216,0.82);
  font-size: var(--fs-sm);
  margin-bottom: 0.65rem;
  list-style: none;
}
.footer-col a:hover { color: var(--paper); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(233,227,216,0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social svg { width: 15px; height: 15px; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1.3rem;
  font-size: var(--fs-xs);
  color: rgba(233,227,216,0.55);
}

/* ==========================================================================
   WhatsApp (header) — official WhatsApp green
   ========================================================================== */
.icon-link.wa-header {
  width: 48px; height: 48px;
  border: none;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.icon-link.wa-header svg { width: 26px; height: 26px; }
.icon-link.wa-header:hover {
  background: #1ebe5b;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}
.icon-link.wa-header:focus-visible { outline: 2px solid #128c4a; outline-offset: 3px; }
@media (max-width: 560px) {
  .icon-link.wa-header { width: 44px; height: 44px; }
  .icon-link.wa-header svg { width: 24px; height: 24px; }
}

/* ==========================================================================
   Hero slideshow
   ========================================================================== */
.hero-art { position: relative; }
.hero-slider {
  position: relative;
  z-index: 1;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: var(--paper-dim);
  box-shadow: 0 24px 50px rgba(27, 25, 21, 0.16);
  touch-action: pan-y;
}
.hero-slider:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
@media (max-width: 900px) { .hero-slider { aspect-ratio: 4 / 3.6; } }

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s ease-out;
}
.hero-slide.is-active img { transform: scale(1); }

.hero-slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3.5rem 1.4rem 1.3rem;
  background: linear-gradient(0deg, rgba(20,18,14,0.72) 0%, rgba(20,18,14,0) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-slide figcaption b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}
.hero-slide figcaption span { font-size: var(--fs-sm); color: rgba(255,255,255,0.85); }

.hero-arrow {
  all: unset;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(252, 250, 246, 0.9);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow:hover { background: var(--gold); color: #fff; }
.hero-arrow:active { transform: translateY(-50%) scale(0.92); }
.hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }
@media (max-width: 640px) {
  .hero-arrow { width: 40px; height: 40px; }
  .hero-prev { left: 0.6rem; }
  .hero-next { right: 0.6rem; }
}

.hero-dots {
  position: absolute;
  right: 1.2rem;
  bottom: 1.5rem;
  display: flex;
  gap: 0.45rem;
  z-index: 3;
}
.hero-dot {
  all: unset;
  width: 9px; height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,0.85); }
.hero-dot.is-active { width: 24px; background: var(--gold); }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 480px) {
  .hero-dots { left: 1.4rem; right: auto; bottom: 4.6rem; }
}

.hero-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255,255,255,0.18);
  z-index: 3;
}
.hero-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: left center;
  transform: scaleX(0);
}
.hero-progress span.is-running { animation: hero-progress var(--hero-interval, 4000ms) linear forwards; }
.hero-slider.is-paused .hero-progress span { animation-play-state: paused; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-progress { display: none; }
  .hero-slide img, .hero-slide.is-active img { transform: none; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.max-w { max-width: 60ch; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
