/* ==========================================================================
   PT Asia Tehnik Sejahtera - stylesheet
   Palette and typography carried over from the original site.
   Plain CSS: no build step, no framework, safe to edit by hand.
   ========================================================================== */

:root {
  /* Warm brown / cream palette taken from the original design */
  --cream:      #FDF9F2;
  --cream-2:    #F6F0E6;
  --sand:       #EDE7DD;
  --border:     #CEC4B2;
  --muted:      #968568;
  --brown:      #5F471D;
  --brown-dark: #3C2C19;
  --ink:        #361A0C;
  --gold:       #FFE6B8;
  --white:      #FFFFFF;
  --wa:         #25D366;   /* WhatsApp green */

  --shadow-sm: 0 1px 3px rgba(54, 26, 12, .08);
  --shadow:    0 4px 16px rgba(54, 26, 12, .10);
  --shadow-lg: 0 12px 40px rgba(54, 26, 12, .16);

  --radius:    14px;
  --radius-sm: 8px;

  --wrap: 1200px;
  --header-h: 76px;

  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------- base --- */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--brown-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* height:auto is essential: the width/height attributes on every <img> act as
   presentational hints, and without this they would override CSS aspect-ratio. */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--brown); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
.about-company-title { font-size: clamp(2rem, 4vw, 3rem); }
.about-company-copy p { font-size: clamp(1rem, 1.5vw, 1.18rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* Visible only to screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Keyboard users get a visible skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--brown); outline-offset: 2px; }

/* ------------------------------------------------------------ layout --- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

section { padding: clamp(56px, 7vw, 96px) 0; }
section.tight  { padding: clamp(36px, 4.5vw, 60px) 0; }
.bg-sand  { background: var(--sand); }
.bg-white { background: var(--white); }
.bg-dark  { background: var(--brown-dark); color: var(--cream); }

.product-page .bg-sand {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
}
.product-page .bg-sand > .wrap {
  width: min(100%, var(--wrap));
  max-width: var(--wrap);
  padding-inline: clamp(18px, 3vw, 42px);
}
.product-page .bg-sand .section-head,
.product-page .bg-sand .gallery,
.product-page .bg-sand .btn-row {
  max-width: 100%;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3,
.bg-dark h4, .bg-dark h5, .bg-dark h6 { color: var(--gold); }
.about-cta { background: #F6E8C8; color: var(--brown-dark); }
.about-cta h1, .about-cta h2, .about-cta h3,
.about-cta h4, .about-cta h5, .about-cta h6 { color: var(--brown-dark); }
.about-cta p { color: var(--brown); }
.about-cta .btn-outline {
  background: #E0B12B;
  color: var(--brown-dark);
  border-color: #E0B12B;
}
.about-cta .btn-outline:hover,
.about-cta .btn-outline:active,
.about-cta .btn-outline:focus {
  background: #E0B12B;
  color: var(--brown-dark);
  border-color: #E0B12B;
}
.about-cta .btn-primary {
  background: var(--brown-dark);
  color: var(--cream);
}
.about-cta .btn-primary:hover {
  background: var(--brown-dark);
  color: var(--cream);
}
.article-cta { background: #765A32; }
.article-cta { background: #765A32; }

.city-backdrop {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cream);
  background-color: var(--brown-dark);
  background-position: center;
  background-size: cover;
}
.city-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(24, 18, 22, .94) 0%, rgba(24, 18, 22, .8) 52%, rgba(24, 18, 22, .62) 100%);
}
.city-backdrop-services { background-image: url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&w=2200&q=85"); }
.city-backdrop-products { background-image: url("https://images.unsplash.com/photo-1514565131-fce0801e5785?auto=format&fit=crop&w=2200&q=85"); }
.city-backdrop h1, .city-backdrop h2, .city-backdrop h3,
.city-backdrop h4, .city-backdrop h5, .city-backdrop h6 { color: var(--white); }
.city-backdrop .eyebrow { color: var(--gold); }
.city-backdrop p { color: rgba(253, 249, 242, .92); }
.city-backdrop .btn-primary { background: var(--gold); color: var(--ink); }
.city-backdrop .btn-primary:hover { background: #ffdf9f; color: var(--ink); }

/* Small caps label above a heading */
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .9rem;
}
.bg-dark .eyebrow { color: var(--gold); }

.section-head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--brown); font-size: 1.06rem; }
.bg-dark .section-head p { color: var(--sand); }

.lead { font-size: 1.12rem; color: var(--brown); }

/* ----------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .82em 1.6em;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .95rem; font-weight: 600; font-family: inherit;
  cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease,
              background-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--brown);   color: var(--cream); }
.btn-primary:hover { background: var(--ink); color: var(--cream); }

.btn-gold    { background: var(--gold);    color: var(--ink); }
.btn-gold:hover { background: #ffdf9f; }

.btn-outline { background: transparent; color: var(--brown); border-color: var(--border); }
.btn-outline:hover { background: var(--white); border-color: var(--brown); }

/* On dark panels and over hero imagery the outline button needs light ink. */
.bg-dark .btn-outline, .hero .btn-outline {
  color: var(--gold); border-color: rgba(255,230,184,.55);
}
.bg-dark .btn-outline:hover, .hero .btn-outline:hover {
  background: rgba(255,230,184,.16); color: var(--gold); border-color: var(--gold);
}

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb856; color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.7rem; }

/* ------------------------------------------------------------ header --- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 249, 242, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-text strong {
  display: block; font-size: 1rem; font-weight: 700;
  color: var(--ink); line-height: 1.2; letter-spacing: -.01em;
}
.brand-text span {
  display: block; font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .55em .8em;
  font-size: .93rem; font-weight: 500; color: var(--brown-dark);
  border-radius: var(--radius-sm);
}
.nav a:hover { background: var(--sand); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brown); font-weight: 600; background: var(--sand); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: var(--brown-dark); transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; }
  .nav a { padding: .9em .6em; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav li:last-child a { border-bottom: 0; }
}

/* -------------------------------------------------------------- hero --- */

.hero { position: relative; color: var(--cream); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--brown-dark);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg,
    rgba(54,26,12,.93) 0%, rgba(54,26,12,.82) 42%, rgba(54,26,12,.55) 100%);
}
.article-hero .hero-scrim {
  background: linear-gradient(105deg,
    rgba(54,26,12,.52) 0%, rgba(54,26,12,.34) 42%, rgba(54,26,12,.18) 100%);
}
.gallery-hero .hero-scrim {
  background: linear-gradient(105deg,
    rgba(54,26,12,.2) 0%, rgba(54,26,12,.12) 42%, rgba(54,26,12,.06) 100%);
}
.hero .wrap { padding-block: clamp(72px, 11vw, 148px); }
.hero-inner { max-width: 760px; }
.article-hero .hero-inner {
  width: fit-content;
  max-width: 100%;
  padding: 28px 32px;
  background: rgba(253, 249, 242, .4);
  font-family: Georgia, "Times New Roman", serif;
}
.article-hero .hero-inner .eyebrow {
  font-family: "Poppins", sans-serif;
}
.article-hero p {
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.8;
}
.article-hero .hero-inner h1 { font-weight: 400; }
.hero h1, .hero h2 { color: var(--white); }
.hero .eyebrow { color: var(--gold); }
.hero p { color: rgba(253,249,242,.9); font-size: 1.1rem; max-width: 62ch; }
.product-hero .eyebrow {
  font-size: .65rem;
  margin-bottom: .5rem;
}
.product-hero h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.product-hero p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
.service-panel { font-family: "Poppins", sans-serif; }
.service-panel .eyebrow,
.service-panel h1,
.service-panel p { font-family: "Poppins", sans-serif; }
.service-panel .eyebrow {
  font-size: .78rem;
  margin-bottom: .9rem;
}
.service-panel h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}
.service-panel p {
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.8;
}
.home-hero {
  min-height: clamp(700px, 82vh, 900px);
  background: url("../img/home.jpeg") center center / cover no-repeat;
  color: var(--cream);
}
.home-hero::before { background: transparent; }
.home-hero .wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(36px, 5vw, 64px);
}
.home-hero .hero-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.home-hero h1 { color: var(--white); margin-bottom: .5rem; }
.home-hero .eyebrow { color: var(--gold); margin-bottom: .55rem; }
.home-hero p { color: rgba(253,249,242,.92); margin-inline: auto; }
.home-hero .btn-row {
  justify-content: center;
  margin-top: .8rem;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.home-merged-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "layanan ."
    ". produk";
  align-items: start;
  column-gap: clamp(18px, 2vw, 32px);
  row-gap: 0;
  width: min(100%, 1350px);
  margin: 0 auto;
  padding-top: 14px;
}

.mini-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
  color: var(--brown-dark);
  background: rgba(246, 240, 230, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: clamp(24px, 2vw, 34px) clamp(26px, 2.5vw, 42px) clamp(18px, 2vw, 28px);
  box-shadow: 0 18px 42px rgba(18, 22, 26, .12);
  backdrop-filter: blur(2px);
}
.service-panel-card {
  grid-area: layanan;
  align-self: start;
  width: min(100%, 690px);
  min-height: 540px;
  max-width: 690px;
  margin-right: auto;
  margin-bottom: 0;
}
.product-panel-card {
  grid-area: produk;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin-left: auto;
  margin-top: 0;
  align-self: start;
}
.mini-panel .eyebrow { color: var(--brown-dark); margin-bottom: .5rem; }
.mini-panel h2 {
  color: var(--brown-dark);
  font-size: clamp(2.3rem, 3vw, 4.2rem);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 300;
  margin-bottom: .9rem;
}
.mini-panel p {
  color: var(--brown-dark);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  line-height: 1.65;
  max-width: 58ch;
}
.product-panel-card p { max-width: none; }
.mini-panel .btn-row { margin-top: auto; }
.mini-panel .btn {
  border-radius: 0;
  padding: .85em 1.4em;
  font-size: 1rem;
}

@media (max-width: 760px) {
  .home-hero {
    background-position: center center;
  }
  .home-merged-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "layanan"
      "produk";
    row-gap: 20px;
  }
  .service-panel-card,
  .product-panel-card {
    max-width: 100%;
    min-height: auto;
    margin: 0;
  }
}

/* Compact hero for interior pages */
.page-hero .wrap { padding-block: clamp(56px, 8vw, 104px); }
.page-hero p { font-size: 1.05rem; }

.product-hero {
  /* Keep the entire 1392 x 703 product image visible instead of cropping it. */
  aspect-ratio: 1392 / 703;
  min-height: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.product-hero .hero-bg {
  object-fit: contain;
  object-position: center;
  transform: none;
}
.product-hero .wrap {
  width: 100%;
  max-width: 1392px;
  padding-inline: 0;
  padding-block: clamp(24px, 3.5vw, 56px);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.product-panel {
  width: min(100%, 820px);
  max-width: 820px;
  margin-inline: auto;
  transform: translateY(-6%);
  padding: clamp(18px, 2.5vw, 36px) clamp(24px, 5vw, 64px);
  background: rgba(253, 249, 242, .7);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: 0 14px 38px rgba(54, 26, 12, .16);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
}
.product-panel .eyebrow {
  color: var(--brown);
  font-family: "Poppins", sans-serif;
}
.product-panel h1 {
  color: var(--brown-dark);
  font-family: inherit;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: .02em;
}
.product-panel p {
  width: min(60ch, 100%);
  max-width: 100%;
  margin-inline: auto;
  color: var(--brown-dark);
  font-family: inherit;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}
@media (max-width: 760px) {
  .product-hero { aspect-ratio: auto; min-height: 0; }
  .product-hero .wrap { padding: 42px 20px; }
  .product-panel { padding: 32px 24px 36px; }
  .product-panel p { line-height: 1.75; }
}

.service-hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
}
.service-hero .wrap {
  width: 100%;
  padding-block: 56px;
}
.service-panel {
  width: min(100%, 940px);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 68px) clamp(28px, 7vw, 92px);
  background: rgba(253, 249, 242, .78);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: 0 14px 38px rgba(54, 26, 12, .16);
  text-align: center;
}
.service-panel .eyebrow { color: var(--brown); }
.service-panel h1 {
  color: var(--brown-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  font-weight: 400;
  letter-spacing: .02em;
}
.service-panel p {
  max-width: 66ch;
  margin-inline: auto;
  color: var(--brown-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.9;
}
.service-panel .btn-row { justify-content: center; }
@media (max-width: 760px) {
  .service-hero { min-height: 0; }
  .service-hero .wrap { padding-block: 42px; }
  .service-panel { padding: 32px 24px 36px; }
  .service-panel p { line-height: 1.75; }
}

.gallery-hero {
  /* Fullscreen image without side padding */
  aspect-ratio: 16 / 9;
  min-height: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.gallery-hero .hero-bg {
  object-fit: cover;
  object-position: center;
  transform: none;
}
.gallery-hero .wrap {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
  padding-block: clamp(20px, 2vw, 32px);
}
.gallery-panel {
  width: min(100%, 1370px);
  margin-inline: auto;
  padding: clamp(28px, 3.5vw, 44px) clamp(40px, 8vw, 100px);
  background: rgba(253, 249, 242, .65);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: 0 14px 38px rgba(54, 26, 12, .16);
  text-align: center;
}
.gallery-panel .eyebrow {
  color: var(--brown);
  margin-bottom: .4rem;
}
.gallery-panel h1 {
  color: var(--brown-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: .02em;
  margin: 0.3em 0 0.4em 0;
}
.gallery-panel p {
  max-width: 88ch;
  margin-inline: auto;
  margin-bottom: 0.7em;
  color: var(--brown-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.6;
}
.gallery-panel p:last-child { margin-bottom: 1.1em; }

@media (max-width: 760px) {
  .gallery-hero { aspect-ratio: auto; min-height: 0; }
  .gallery-hero .wrap { padding-block: 28px; padding-inline: 24px; }
  .gallery-panel { padding: 24px 24px 28px; }
  .gallery-panel p { line-height: 1.6; }
}

/* ------------------------------------------------------------- cards --- */

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.location-media { aspect-ratio: 1 / 1; padding: 10px; background: var(--cream); }
.location-media img { object-fit: contain; }
.card:hover .location-media img { transform: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.brand-new-image { object-position: center top; }
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3, .card-body h4 { font-size: 1.14rem; margin-bottom: .45em; }
.card-body p { font-size: .95rem; color: var(--brown); }
.card-link {
  display: inline-flex; align-items: center; align-self: flex-start;
  margin-top: auto; padding: .65em 1em;
  border: 1px solid var(--brown); border-radius: var(--radius-sm);
  background: var(--brown); color: var(--cream);
  font-size: .9rem; font-weight: 600;
}
.card-link::after { content: " \2192"; margin-left: .35em; }
.card-link:hover { background: var(--brown-dark); color: var(--cream); text-decoration: none; }

.gallery-cta {
  max-width: 820px; margin: 3rem auto 0; padding: 28px;
  background: var(--sand); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center;
}
.gallery-cta p { margin: 0; color: var(--brown-dark); font-weight: 400; }
.gallery-cta .btn-row { justify-content: center; }
.service-highlights { margin-bottom: 2.6rem; }

.experience-note {
  margin: 2rem 0 2.4rem;
  padding: 24px 28px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  text-align: center;
}
.house-gallery + .house-gallery { margin-top: 24px; }

/* Numbered process steps */
.step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px;
  background: var(--gold); color: var(--ink);
  border-radius: 50%; font-weight: 700; font-size: .95rem;
}
.step h4 { font-size: 1.08rem; }
.step p { font-size: .94rem; color: var(--brown); margin: 0; }

/* Feature block without image */
.feature {
  background: var(--cream); border: 1px solid var(--border);
  border-left: 4px solid var(--brown);
  border-radius: var(--radius); padding: 24px 26px;
}
.feature h4 { font-size: 1.08rem; }
.feature p { font-size: .95rem; color: var(--brown); margin: 0; }

/* --------------------------------------------------------- split row --- */

.split {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 760px) { .split.reverse > :first-child { order: 0; } }

.split-media img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover;
}
.split-media.tall img { aspect-ratio: 3 / 4; }

/* Two stacked, offset images */
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stack img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.stack img:first-child { aspect-ratio: 3 / 4; margin-top: 28px; }
.stack img:last-child  { aspect-ratio: 3 / 4; }

/* ----------------------------------------------------------- gallery --- */

/* CSS columns keep mixed aspect ratios packed tightly without JS */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery img {
  width: 100%; height: auto; border-radius: var(--radius-sm);
  transition: transform .35s ease, filter .25s ease;
}
.gallery button:hover img { transform: scale(1.04); filter: brightness(1.06); }

/* Fixed-ratio grid, used where equal tiles read better than masonry */
.tile-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile {
  aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border); background: var(--white);
  padding: 0; cursor: zoom-in;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tile:hover img { transform: scale(1.05); }

/* Brand logos sit on white with breathing room, never cropped */
.logo-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.logo-cell {
  display: grid; place-items: center;
  height: 104px; padding: 18px; overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
/* A fixed cell height plus contain keeps wildly different logo shapes on one baseline. */
.logo-cell img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.brand-links img { width: 42px; height: 28px; object-fit: contain; }
.brand-links .btn { min-height: 48px; }
.brand-space { min-height: 112px; }
.brand-space > div { min-height: 112px; }
.brand-links .btn {
  width: 132px;
  height: 72px;
  min-width: 132px;
  min-height: 72px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
  justify-content: center;
}
.brand-links .btn:hover { background: var(--white); }
.brand-links img {
  width: 112px;
  height: 54px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.brand-links .btn:nth-child(2) img,
.brand-links .btn:nth-child(3) img,
.brand-links .btn:nth-child(7) img {
  width: 120px;
  height: 58px;
}

/* ---------------------------------------------------------- lightbox --- */

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  background: rgba(30, 16, 6, .92);
  padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: 100%; max-height: 88vh;
  width: auto; height: auto;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: rgba(253,249,242,.14); color: var(--cream);
  border: 1px solid rgba(253,249,242,.28); border-radius: 50%;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(253,249,242,.3); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--sand); font-size: .88rem; letter-spacing: .06em;
}
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 44px; height: 44px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* ------------------------------------------------------------ tables --- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
th, td { padding: .78em 1em; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--sand); font-weight: 600; color: var(--ink); }

/* ------------------------------------------------------------- lists --- */

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.9em; margin-bottom: .6em; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--brown); font-weight: 700;
}
.bg-dark .check-list li::before { color: var(--gold); }

.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  padding: .7em 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 1em; justify-content: space-between; flex-wrap: wrap;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list .k { color: var(--muted); font-size: .9rem; }
.spec-list .v { font-weight: 600; color: var(--ink); }

/* ------------------------------------------------------- contact bits --- */

.contact-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: .6em; }
.contact-card a { font-weight: 600; word-break: break-word; }
.contact-card .icon { font-size: 1.6rem; line-height: 1; margin-bottom: .5rem; display: block; }

/* ------------------------------------------------------------- forms --- */

.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px);
}
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: .4em; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em 1em;
  font: inherit; font-size: .95rem; color: var(--brown-dark);
  background: var(--cream);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(95, 71, 29, .15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 1em; }

.form-status { margin-top: 1em; padding: .9em 1.1em; border-radius: var(--radius-sm); font-size: .93rem; display: none; }
.form-status.show { display: block; }
.form-status.ok   { background: #e7f6ec; color: #1c6b39; border: 1px solid #b7e2c6; }
.form-status.err  { background: #fdecea; color: #a32b1c; border: 1px solid #f5c6c0; }

/* --------------------------------------------------------- article UI --- */

.article-body { max-width: 78ch; }
.article-body h2 { margin-top: 1.8em; }
.article-body h3 { margin-top: 1.6em; font-size: 1.35rem; }
.article-body h4 { margin-top: 1.4em; color: var(--brown); }
.article-body h5 { margin-top: 1.2em; color: var(--brown); font-size: 1.02rem; }
.article-body p  { color: var(--brown-dark); }
.article-body img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.8em 0; }
.article-back { margin-bottom: 28px; }
.article-body .article-back { margin-top: 1.4rem; margin-bottom: 0; }
.article-back {
  background: #B47A45;
  color: var(--white);
  border-color: #B47A45;
}
.article-back:hover {
  background: #986033;
  color: var(--white);
  border-color: #986033;
}

.article-nav {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px;
  position: sticky; top: calc(var(--header-h) + 20px);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.article-nav h3 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.article-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.article-nav li { counter-increment: toc; border-bottom: 1px solid var(--sand); }
.article-nav li:last-child { border-bottom: 0; }
.article-nav a { display: block; padding: .6em 0; font-size: .92rem; color: var(--brown-dark); }
.article-nav a::before { content: counter(toc) ". "; color: var(--muted); }
.article-nav a:hover { color: var(--brown); text-decoration: none; }

.article-layout { display: grid; gap: clamp(32px, 4vw, 56px); grid-template-columns: 300px 1fr; align-items: start; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-nav { position: static; }
}

.article-section { scroll-margin-top: calc(var(--header-h) + 20px); padding-top: .5em; }
.article-section + .article-section { margin-top: 3.5em; padding-top: 3.5em; border-top: 1px solid var(--border); }

/* ------------------------------------------------------------ footer --- */

.site-footer { background: var(--brown-dark); color: var(--sand); padding: clamp(48px, 6vw, 76px) 0 0; }
.site-footer h4 {
  color: var(--gold); font-size: .8rem; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 1.1em;
}
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.footer-brand img { height: 62px; width: auto; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5em; font-size: .93rem; }
.site-footer a { color: var(--sand); }
.site-footer a:hover { color: var(--gold); }
.site-footer p { font-size: .93rem; color: var(--sand); }
.footer-bottom {
  margin-top: clamp(36px, 4vw, 56px); padding: 22px 0;
  border-top: 1px solid rgba(253,249,242,.16);
  font-size: .86rem; color: var(--border);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

/* ------------------------------------------------------ floating CTA --- */

.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.35em;
  background: var(--wa); color: #fff;
  border-radius: 999px; font-weight: 600; font-size: .95rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  transition: transform .15s ease;
}
.fab:hover { transform: translateY(-3px); color: #fff; text-decoration: none; }
.fab svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 600px) {
  .fab { padding: .9em; right: 16px; bottom: 16px; }
  .fab span { display: none; }
}

/* ---------------------------------------------------------- utilities --- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 2rem; }
.narrow { max-width: 760px; margin-inline: auto; }

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

@media print {
  .site-header, .fab, .lightbox, .article-nav, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* ---------------------------------------------------------------- FAQ --- */

.faq-list { max-width: 860px; margin-inline: auto; }
.faq {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 52px 18px 22px; position: relative;
  font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--brown); line-height: 1;
}
.faq[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--brown); }
.faq p { padding: 0 22px 20px; margin: 0; color: var(--brown); font-size: .96rem; }
