:root {
  --madder: #8b1e1e;
  --madder-dark: #5e1212;
  --indigo: #1f2a44;
  --saffron: #c8962e;
  --cream: #f6efe3;
  --sand: #ebe0cc;
  --ink: #2a211c;
  --muted: #6b5d52;
  --white: #fffdf8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 33, 28, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --band: url(images/border-band.jpg);   /* border cut from a real carpet in the shop */
  --band-h: 52px;
  --field: url(images/gul-uzbek.png) center / 245px 198px;
  --gul: url(images/gul-uzbek-gold.png) center / 245px 198px;   /* your gul in gold lines, for dark sections */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--madder-dark); }
.eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--saffron); font-weight: 600;
}
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 227, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(139, 30, 30, .12);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 62px; width: auto; display: block; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink); }
.nav a:hover { color: var(--madder); }
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; cursor: pointer;
  border: 1px solid rgba(139, 30, 30, .25); border-radius: 999px; background: transparent;
  font: 600 .8rem var(--sans); color: var(--madder-dark);
}
.lang-toggle:hover, .lang.open .lang-toggle { background: var(--madder); border-color: var(--madder); color: var(--white); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 160px; padding: 6px;
  background: var(--white); border-radius: 12px; box-shadow: 0 12px 32px rgba(40, 20, 10, .18);
  display: none; flex-direction: column;
}
.lang.open .lang-menu { display: flex; }
.lang-menu button {
  border: 0; background: transparent; text-align: left; padding: 9px 12px; border-radius: 8px; cursor: pointer;
  font: 500 .9rem var(--sans); color: var(--ink);
}
.lang-menu button:hover { background: var(--cream); }
.lang-menu button.active { background: var(--madder); color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .95rem; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--saffron); color: var(--indigo); }
.btn-primary:hover { background: #d9a73d; }
.btn-ghost { border: 1.5px solid rgba(255, 253, 248, .6); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 253, 248, .1); }

/* Hero */
.hero {
  position: relative; color: var(--white);
  background: var(--gul), linear-gradient(135deg, var(--madder-dark), var(--madder) 55%, #a8352a);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: var(--band-h); z-index: 2;
  background: var(--band) repeat-x left center / auto var(--band-h);
}
/* Hero slideshow: store photos crossfade behind the text */
.hero-slides { position: absolute; inset: 0; }
.hero-slides .slide {
  position: absolute; inset: 0; background: var(--img) center / cover no-repeat;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 7.5s ease-out;
}
.hero-slides .slide.on { opacity: 1; transform: scale(1); }
.hero-slides::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(40, 10, 10, .86) 0%, rgba(60, 14, 14, .62) 45%, rgba(20, 10, 10, .18) 100%),
    linear-gradient(0deg, rgba(20, 8, 8, .45), transparent 40%);
}
.hero-dots { position: absolute; right: 28px; bottom: calc(var(--band-h) + 18px); z-index: 2; display: flex; gap: 8px; }
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45); transition: background .3s, transform .3s;
}
.hero-dots button.on { background: var(--saffron); transform: scale(1.3); }
.hero h1, .hero p, .hero .eyebrow { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
@media (max-width: 600px) {
  :root { --band-h: 40px; }
  .hero-slides .slide { background-image: var(--img-m); }
  .hero-slides::after { background: linear-gradient(180deg, rgba(40, 10, 10, .78), rgba(50, 12, 12, .7) 60%, rgba(20, 8, 8, .8)); }
  .hero-dots { left: 0; right: 0; justify-content: center; bottom: calc(var(--band-h) + 14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides .slide, .hero-slides .slide.on { transform: none; transition: opacity 1s; }
}
.hero .container { padding: clamp(80px, 12vw, 140px) 0 clamp(90px, 12vw, 150px); position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); max-width: 820px; margin: 14px 0 20px; }
.hero p { font-size: 1.12rem; max-width: 600px; opacity: .92; }
.hero .eyebrow { color: #f2cf86; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Stats */
.stats {
  position: relative; z-index: 3; padding-bottom: var(--band-h);
  background: var(--field), #efe4cf;
  color: var(--ink, #3b2a1a);
}
/* bottom guard border + fringe, like the end of a carpet */
.stats::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: calc(var(--band-h) + 14px); pointer-events: none;
  background:
    var(--band) repeat-x left top / auto var(--band-h),
    repeating-linear-gradient(90deg, #c9b289 0 2px, transparent 2px 6px) left bottom / 100% 14px no-repeat;
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 28px 18px 26px; text-align: center; color: inherit; text-decoration: none;
  border-right: 1px solid rgba(156, 122, 70, .28); transition: background .25s;
}
.stat:last-child { border-right: 0; }
a.stat:hover { background: rgba(255, 252, 245, .6); }
.stat-icon {
  width: 64px; height: 64px; margin-bottom: 8px; display: grid; place-items: center;
  border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 3px #efe4cf, 0 0 0 4.5px rgba(156, 122, 70, .55);
}
.stat-icon svg { width: 46px; height: 46px; }
.stat-icon.logo-badge { background: #fff; }
.stat-icon.logo-badge svg { width: 34px; height: 34px; }
.stat strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--madder-dark); }
.stat > span:not(.stat-icon):not(.carriers) { font-size: .85rem; color: #5b4630; }
.carriers { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.carrier { display: inline-flex; border-radius: 4px; box-shadow: 0 0 0 1px rgba(91, 70, 48, .2); }
.carrier svg { display: block; width: 54px; height: 20px; }

/* Collection */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card-img {
  aspect-ratio: 4 / 5; background: var(--field), var(--sand);
  display: grid; place-items: center; position: relative;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-img .ph { font-size: .75rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.card-link { cursor: pointer; display: block; text-decoration: none; color: inherit; }

/* Catalogue page */
.page-hero { position: relative; background: var(--field), #efe4cf; padding: 48px 0 calc(var(--band-h) + 48px); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--band-h); background: var(--band) repeat-x left center / auto var(--band-h); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 10px 0 12px; color: var(--madder-dark); }
.page-hero p { max-width: 620px; color: #5b4630; }
.back { color: var(--madder); text-decoration: none; font-size: .9rem; font-weight: 600; }
.catalog-section { padding-top: 44px; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.item { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.item-img { border: 0; padding: 0; cursor: zoom-in; aspect-ratio: 2 / 3; background: var(--sand); overflow: hidden; display: block; width: 100%; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.item-img:hover img { transform: scale(1.04); }
.item-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.spec-id { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--madder-dark); }
.spec { display: grid; gap: 6px; margin: 8px 0 14px; font-size: .9rem; }
.spec div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(107, 93, 82, .25); padding-bottom: 5px; }
.spec dt { color: var(--muted); }
.spec dd { font-weight: 600; text-align: right; }
.spec .muted { color: var(--muted); font-weight: 400; font-style: italic; }
.spec-ask {
  margin-top: auto; text-align: center; text-decoration: none; font-size: .85rem; font-weight: 600;
  background: #25d366; color: #fff; padding: 10px 12px; border-radius: 999px;
}
.spec-ask:hover { background: #1fb457; }

/* Viewer with details */
.lb-figure { display: flex; align-items: flex-start; gap: 0; margin: 0; }
.lb-figure img { height: calc(100vh - 110px); width: auto; max-width: calc(100vw - 420px); object-fit: contain; flex: none; border-radius: 6px 0 0 6px; }
.lb-figure .lb-caption { align-self: stretch; }
.lb-figure img:only-child, .lb-figure img:has(+ .lb-caption[hidden]) { border-radius: 6px; }
.lb-caption { background: var(--white); color: var(--ink); width: 270px; flex-shrink: 0; padding: 22px; border-radius: 0 6px 6px 0; display: flex; flex-direction: column; }
.lb-caption[hidden] { display: none; }
.lb-caption .spec-ask { margin-top: 6px; }
.card-badge {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: rgba(31, 42, 68, .85); color: #fff; font-size: .75rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.card-more { display: inline-block; margin-top: 10px; font-size: .85rem; font-weight: 600; color: var(--madder); }
.card-body { padding: 20px 20px 24px; }
.card-body h3 { font-size: 1.45rem; color: var(--madder-dark); margin-bottom: 6px; }
.card-body p { font-size: .92rem; color: var(--muted); }

/* Customers' homes */
.homes { background: var(--sand); }
.homes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.homes-grid button {
  border: 0; padding: 0; cursor: zoom-in; border-radius: 10px; overflow: hidden;
  aspect-ratio: 1; background: var(--cream); box-shadow: var(--shadow);
}
.homes-grid button:first-child { grid-column: span 2; grid-row: span 2; }
.homes-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.homes-grid button:hover img { transform: scale(1.05); }
.homes-grid .extra { display: none; }
.homes-grid.all .extra { display: block; }
.homes-more { text-align: center; margin-top: 30px; }
.btn-outline { border: 1.5px solid var(--madder); color: var(--madder); background: transparent; cursor: pointer; font-family: var(--sans); }
.btn-outline:hover { background: var(--madder); color: var(--white); }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 12, 8, .94);
  display: flex; align-items: center; justify-content: center; padding: 50px 60px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .85rem; }

/* Weaving (how a carpet is made) */
.weaving { background: var(--sand); }
.weave-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.weave-media { position: relative; }
.weave-video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; border-radius: var(--radius); box-shadow: var(--shadow); background: #2a1d16; }
.weave-tag {
  position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px;
  background: rgba(26, 18, 14, .7); color: #f2cf86; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}
.weave-lead { margin-top: 14px; max-width: 560px; }
.weave-steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.weave-steps li { counter-increment: step; position: relative; padding-left: 48px; }
.weave-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--madder); color: var(--white); font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
}
.weave-steps h3 { font-size: 1.25rem; color: var(--madder-dark); margin-bottom: 4px; }
.weave-steps p { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) {
  .weave-grid { grid-template-columns: 1fr; }
  .weave-media { max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) { .weave-steps { grid-template-columns: 1fr; } }

/* Carpet show (presentation videos) */
.show-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.show-card { margin: 0; }
.show-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; border-radius: var(--radius); box-shadow: var(--shadow); background: #2a1d16; }
.show-cta { text-align: center; margin-top: 34px; }
@media (max-width: 860px) {
  .show-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .show-card { scroll-snap-align: start; }
}

/* Reviews */
.reviews { background: var(--white); }
.rv-top { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: stretch; margin-bottom: 30px; }
.rv-score {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 170px;
  padding: 18px 22px; border-radius: var(--radius); background: var(--cream); text-decoration: none; color: var(--muted);
  font-size: .85rem; border: 1px solid #e8dfcf; transition: transform .2s;
}
.rv-score:hover { transform: translateY(-3px); }
.rv-score strong { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--madder-dark); }
.rv-stars { color: #e3a52a; letter-spacing: 2px; font-size: 1rem; }
.rv-topics { padding: 18px 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid #e8dfcf; }
.rv-topics-l, .rv-about-l { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); font-weight: 600; margin-bottom: 10px; }
.rv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-chip { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #e3d6bf; font-size: .82rem; color: var(--ink, #3b2a1a); }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.rv-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid #e8dfcf; }
.rv-head { display: flex; align-items: center; gap: 12px; }
.rv-head > div { flex: 1; }
.rv-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--madder); color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.rv-name { font-weight: 600; }
.rv-g { width: 20px; height: 20px; flex-shrink: 0; }
.rv-text { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; color: #3b2a1a; }
.rv-about-l { margin: 4px 0 -4px; }
.rv-card .rv-chip { background: #fff; }
.rv-read { margin-top: auto; color: var(--madder); font-weight: 600; font-size: .88rem; text-decoration: none; }
@media (max-width: 860px) { .rv-top { grid-template-columns: 1fr 1fr; } .rv-topics { grid-column: 1 / -1; } }
@media (max-width: 600px) { .rv-score { min-width: 0; } }

/* About */
.about { background: var(--white); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-visual {
  aspect-ratio: 1; border-radius: var(--radius); position: relative; overflow: hidden;
  background: var(--gul), linear-gradient(160deg, var(--indigo), #2f3d5f);
  box-shadow: var(--shadow);
}
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-visual::before {
  content: ""; position: absolute; inset: 22px; border: 2px solid rgba(200, 150, 46, .55); border-radius: 8px;
  z-index: 2; pointer-events: none;
}
/* "Our story" slideshow: photos crossfade inside the gold frame */
.story::before { border-color: rgba(224, 180, 86, .85); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.story img { opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 6s ease-out; }
.story img.on { opacity: 1; transform: scale(1); }
.story-dots {
  position: absolute; left: 0; right: 0; bottom: 38px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.story-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: background .3s, transform .3s;
}
.story-dots button.on { background: #e0b456; transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .story img { transition: opacity .3s; transform: none; } }
.about p + p { margin-top: 14px; }
.about p { color: var(--muted); }
.about h2 { margin: 10px 0 18px; }

/* Features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 30px 26px; border-radius: var(--radius); background: var(--white);
  border-top: 4px solid var(--saffron); box-shadow: var(--shadow);
}
.feature .icon {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--madder); margin-bottom: 16px;
}
.feature h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--madder-dark); }
.feature p { font-size: .94rem; color: var(--muted); }

/* Guide */
.guide { background: var(--gul), var(--indigo); color: var(--white); }
.guide h2 { color: #f2cf86; }
.guide .section-head p { color: rgba(255, 255, 255, .75); }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: tip; }
.tip { padding: 28px; border: 1px solid rgba(242, 207, 134, .3); border-radius: var(--radius); background: rgba(31, 42, 68, .7); }
.tip::before {
  counter-increment: tip; content: "0" counter(tip);
  font-family: var(--serif); font-size: 2.2rem; color: var(--saffron); display: block; margin-bottom: 6px;
}
.tip h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tip p { font-size: .93rem; opacity: .8; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: stretch; }
.info { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.info dl { display: grid; gap: 20px; margin-top: 8px; }
.info dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); font-weight: 600; }
.info dd { font-size: 1.02rem; margin-top: 2px; }
.info dd a { color: var(--madder); font-weight: 600; text-decoration: none; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pay {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 4px;
  background: #fff; border: 1px solid #e3dccf; border-radius: 7px;
}
.pay svg { height: 34px; width: auto; display: block; }
.pay-cash { padding: 0 12px 0 4px; font-size: .9rem; font-weight: 600; color: #2e7d32; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.info dd a.soc {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: transform .2s, box-shadow .2s;
}
.soc svg { width: 22px; height: 22px; }
.soc:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.soc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.soc-tg { background: #2AABEE; }
.soc-fb { background: #1877F2; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.map-tabs {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; padding: 3px; gap: 2px;
  background: #fff; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.map-tabs button {
  border: 0; background: none; font: 600 .8rem/1 Inter, sans-serif; color: #5b4630;
  padding: 8px 13px; border-radius: 999px; cursor: pointer;
}
.map-tabs button.on { background: var(--madder); color: #fff; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Contact */
.contact { position: relative; background: var(--field), #efe4cf; text-align: center; padding-top: 110px; padding-bottom: 110px; }
/* woven border along the top and bottom, like the ratings strip */
.contact::before, .contact::after { content: ""; position: absolute; left: 0; right: 0; height: var(--band-h); background: var(--band) repeat-x left center / auto var(--band-h); }
.contact::before { top: 0; }
.contact::after { bottom: 0; }
.contact p { max-width: 560px; margin: 14px auto 0; color: #5b4630; }
.contact .btn-ghost { border-color: var(--madder-dark); color: var(--madder-dark); }
.contact .btn-ghost:hover { background: var(--madder-dark); color: var(--white); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* Footer */
.footer { background: #1a120e; color: rgba(255, 255, 255, .65); padding: 30px 0; font-size: .85rem; }
.footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-logo img { height: 110px; width: auto; display: block; }
.footer a { color: #f2cf86; text-decoration: none; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 84px; z-index: 60; /* sits above the "Powered by Netlify" badge in the corner */
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .tips { grid-template-columns: 1fr; }
  .split, .visit-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(156, 122, 70, .28); }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .homes-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .catalog { grid-template-columns: 1fr 1fr; gap: 12px; }
  .item-body { padding: 12px; }
  .spec { font-size: .78rem; }
  .spec div { flex-direction: column; gap: 0; }
  .spec dd { text-align: left; }
  .spec-ask { font-size: .75rem; padding: 8px; }
  .lightbox { padding: 62px 10px 76px; }
  .lb-figure { flex-direction: column; width: 100%; max-height: 100%; }
  .lb-figure img { max-height: calc(100vh - 330px); width: auto; margin: 0 auto; object-fit: contain; border-radius: 6px 6px 0 0; }
  .lb-caption { width: 100%; border-radius: 0 0 6px 6px; padding: 12px 14px; }
  .lb-caption .spec-id { font-size: 1.15rem; }
  .lb-caption .spec { margin: 2px 0 8px; font-size: .82rem; }
  .lb-caption .spec div { flex-direction: row; }
  .lb-caption .spec dd { text-align: right; }
  .lightbox { padding: 60px 8px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 8px; transform: none !important; }
  .card-body { padding: 14px; }
  .card-body h3 { font-size: 1.15rem; }
  .card-body p { font-size: .82rem; }
  .logo img { height: 52px; }
  .info { padding: 24px; }
}
@media (max-width: 600px) {
  .carriers { gap: 4px; margin-inline: -8px; }
  .carrier svg { width: 44px; height: 16px; }
}
