*{box-sizing:border-box}
:root{
  --bg:#f4f1ec;
  --surface:#ffffff;
  --text:#171717;
  --muted:#6a645f;
  --line:#e5ddd2;
  --dark:#141414;
  --dark-2:#1d1d1d;
  --gold:#b2936d;
  --shadow:0 18px 48px rgba(0,0,0,.12);
  --radius:24px;
}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,textarea{font:inherit}
.container{width:min(1180px, calc(100% - 32px)); margin-inline:auto}
.site-header{
  position:sticky; top:0; z-index:20;
  background:rgba(244,241,236,.85);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(0,0,0,.05);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between; gap:22px;
  min-height:82px;
}
.logo-link{display:flex; align-items:center}
.logo{height:54px; width:auto}
.logo-gold{display:none}
.nav{display:flex; gap:28px; align-items:center}
.nav a{font-size:15px; color:#353535}
.nav a:hover{color:#000}
.header-actions{display:flex; gap:14px; align-items:center}
.lang-switch{
  display:flex; gap:6px; padding:4px;
  background:#fff; border:1px solid var(--line); border-radius:999px;
}
.lang-btn{
  border:0; background:transparent; padding:8px 12px; border-radius:999px; cursor:pointer; color:#666;
}
.lang-btn.active{background:var(--dark); color:#fff}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border:1px solid var(--dark); background:var(--dark); color:#fff;
  padding:14px 22px; border-radius:999px; font-weight:700; transition:.2s ease;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 10px 28px rgba(0,0,0,.12)}
.btn.small{padding:10px 18px; font-size:14px}
.btn.ghost{
  background:transparent; color:var(--dark); border-color:rgba(0,0,0,.18);
}
.menu-toggle{display:none; border:0; background:#fff; border-radius:14px; width:44px; height:44px; font-size:20px}

.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg, #efe9e2 0%, #f4f1ec 100%);
  padding:56px 0 52px;
}
.hero-overlay{
  position:absolute; inset:0;
  background:
   radial-gradient(circle at top right, rgba(178,147,109,.18), transparent 32%),
   linear-gradient(180deg, rgba(255,255,255,.5), transparent 38%);
  pointer-events:none;
}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.05fr 1fr; gap:40px; align-items:center;
}
.eyebrow{
  display:inline-block; font-size:12px; font-weight:800; letter-spacing:.18em;
  text-transform:uppercase; color:var(--gold); margin-bottom:16px;
}
.eyebrow.dark{color:#7b6f62}
.eyebrow.gold{color:#ccb28e}
.hero h1, .section h2{margin:0; line-height:1.08}
.hero h1{font-size:clamp(34px,5vw,62px); max-width:12ch}
.lead{font-size:18px; color:var(--muted); max-width:58ch; margin:18px 0 0}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap; margin-top:28px}
.hero-badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:24px}
.hero-badges span{
  background:#fff; border:1px solid var(--line); color:#4a4540;
  padding:10px 14px; border-radius:999px; font-size:14px; box-shadow:0 8px 18px rgba(0,0,0,.04);
}
.hero-card{
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:30px; overflow:hidden;
  box-shadow:var(--shadow);
}
.hero-image{width:100%; aspect-ratio:4/3; object-fit:cover}
.hero-card-caption{padding:18px 20px 20px}
.hero-card-caption strong{display:block; font-size:20px; margin-bottom:8px}
.hero-card-caption span{display:block; color:var(--muted)}

.section{padding:84px 0}
.section-head{max-width:720px; margin-bottom:30px}
.section-head.light h2, .section-head.light p{color:#fff}
.section-head h2{font-size:clamp(30px,4vw,48px)}
.section-head p{font-size:17px; color:var(--muted); margin-top:12px}
.intro-band{padding-top:36px}
.intro-grid{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:28px; align-items:start;
}
.pair-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.pair-card{
  background:#fff; border-radius:24px; overflow:hidden; box-shadow:var(--shadow); margin:0;
}
.pair-card img{aspect-ratio:4/3; object-fit:cover}
.pair-card figcaption{
  padding:14px 16px; font-weight:700; text-align:center; background:#faf8f5;
}

.cards{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;
}
.card{
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:24px; padding:24px;
  box-shadow:0 12px 30px rgba(0,0,0,.05);
}
.card .num{
  width:40px; height:40px; border-radius:50%;
  display:grid; place-items:center; background:#f6f0e8; color:var(--gold); font-weight:800; margin-bottom:18px;
}
.card h3{margin:0 0 10px; font-size:21px}
.card p{margin:0; color:var(--muted)}

.dark-section{
  background:linear-gradient(180deg, #181818 0%, #101010 100%);
}
.gallery{
  display:grid; grid-template-columns:1fr 1fr; gap:20px;
}
.gallery-card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:26px; overflow:hidden;
}
.gallery-card img{width:100%; object-fit:cover}
.gallery-card.wide img{aspect-ratio:16/10}
.gallery-card.tall{grid-column:1 / -1; display:grid; grid-template-columns:.85fr 1.15fr}
.gallery-card.tall img{height:100%; min-height:340px}
.gallery-copy{padding:18px 20px 22px}
.gallery-copy h3{margin:0 0 10px; color:#fff; font-size:24px}
.gallery-copy p{margin:0; color:rgba(255,255,255,.74)}

.about-grid{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:24px; align-items:start;
}
.about-copy p{margin:0 0 16px; color:var(--muted); font-size:17px}
.check-list{display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; padding:0; margin:22px 0 0; list-style:none}
.check-list li{
  padding-left:24px; position:relative; font-weight:700;
}
.check-list li::before{
  content:"✓"; position:absolute; left:0; top:0; color:var(--gold);
}

.contact-section{
  background:linear-gradient(180deg, #1f1f1f 0%, #141414 100%);
  color:#fff;
}
.contact-grid{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:28px; align-items:start;
}
.contact-copy h2{font-size:clamp(30px,4vw,46px); margin:0}
.contact-copy p{color:rgba(255,255,255,.76); font-size:17px; margin-top:12px}
.contact-links{display:grid; gap:12px; margin-top:26px}
.contact-links a{
  display:inline-flex; width:fit-content; color:#fff; border-bottom:1px solid rgba(255,255,255,.25); padding-bottom:2px;
}
.contact-form{
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:26px;
  padding:24px; backdrop-filter:blur(10px);
}
.contact-form label{display:block; margin-bottom:16px}
.contact-form span{display:block; margin-bottom:8px; color:#f0ebe4; font-weight:600}
.contact-form input, .contact-form textarea{
  width:100%; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.08); color:#fff;
  border-radius:16px; padding:14px 16px; outline:none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder{color:rgba(255,255,255,.45)}
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.site-footer{
  background:#111; color:#d6c3a7; padding:26px 0;
}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:18px}
.footer-logo{height:54px; width:auto}
.footer-text{display:grid; gap:4px; text-align:right}
.footer-text span{color:rgba(255,255,255,.6)}

@media (max-width: 1024px){
  .hero-grid, .intro-grid, .about-grid, .contact-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,1fr)}
  .gallery-card.tall{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .site-header{position:sticky; top:0; z-index:1000; overflow:visible}
  .header-inner{min-height:74px}
  .logo{height:44px}
  .nav{
    display:none; position:absolute; top:74px; left:16px; right:16px;
    background:#fff; border:1px solid var(--line); border-radius:20px; padding:16px;
    flex-direction:column; align-items:flex-start; box-shadow:var(--shadow); z-index:1001;
  }
  .nav.open{display:flex}
  .header-actions .btn.small{display:none}
  .menu-toggle{display:block}
  .hero{padding-top:34px}
  .hero-actions{flex-direction:column; align-items:stretch}
  .btn, .btn.ghost{width:100%}
  .pair-grid, .cards, .gallery, .check-list, .two-col{grid-template-columns:1fr}
  .gallery-card.tall{grid-column:auto}
  .footer-inner{flex-direction:column; align-items:flex-start}
  .footer-text{text-align:left}
}


/* V4: opening schemes */
.schemes-section{
  background:#f8f5f0;
}
.scheme-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}
.scheme-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:28px;
  padding:20px;
  box-shadow:0 14px 34px rgba(0,0,0,.05);
}
.scheme-images{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.scheme-images img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:20px;
  background:#f3f3f3;
  border:1px solid rgba(0,0,0,.05);
}
.scheme-copy{
  padding:18px 4px 6px;
}
.scheme-index{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#f6f0e8;
  color:var(--gold);
  font-weight:800;
  margin-bottom:12px;
}
.scheme-copy h3{
  margin:0 0 10px;
  font-size:26px;
}
.scheme-copy p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  max-width:68ch;
}

@media (max-width: 760px){
  .scheme-images{
    grid-template-columns:1fr;
  }
}


/* V5: refined opening schemes */
.schemes-section{
  background:#f8f5f0;
}
.scheme-top-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:-4px 0 26px;
}
.scheme-top-tags span{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  color:#554f49;
  font-size:14px;
  box-shadow:0 8px 18px rgba(0,0,0,.04);
}
.scheme-grid.refined{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
}
.scheme-card.refined{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:28px;
  padding:22px;
  box-shadow:0 14px 34px rgba(0,0,0,.05);
}
.scheme-visuals{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.scheme-visual-box{
  background:#faf8f5;
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  overflow:hidden;
  padding:14px;
}
.scheme-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:82px;
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  font-size:13px;
  font-weight:700;
  color:#5e574f;
  margin-bottom:12px;
}
.scheme-visual-box img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:18px;
  background:#f3f3f3;
}
.scheme-copy.refined{
  padding:20px 6px 4px;
}
.scheme-copy.refined h3{
  margin:0 0 10px;
  font-size:28px;
}
.scheme-copy.refined p{
  margin:0 0 16px;
  color:var(--muted);
  font-size:16px;
  max-width:70ch;
}
.scheme-points{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:0;
  margin:0;
}
.scheme-points li{
  padding:10px 14px;
  background:#f6f0e8;
  border-radius:999px;
  color:#5d5347;
  font-size:14px;
  font-weight:600;
}
@media (max-width: 760px){
  .scheme-visuals{
    grid-template-columns:1fr;
  }
  .scheme-card.refined{
    padding:16px;
  }
  .scheme-copy.refined h3{
    font-size:24px;
  }
}


/* V6 additions */
.card-actions{margin-top:14px}
.text-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--gold);
  font-weight:700;
}
.text-link::after{
  content:"→";
  font-size:16px;
}

.soft-bg{background:#f8f5f0}

.detail-hero{
  background:linear-gradient(180deg, #efe9e2 0%, #f4f1ec 100%);
  padding:56px 0 64px;
}
.detail-hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px;
  align-items:center;
}
.detail-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}
.detail-visual-stack{
  display:grid;
  grid-template-columns:1fr .86fr;
  gap:18px;
  align-items:end;
}
.detail-visual-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.detail-visual-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio:4/5;
}
.detail-visual-card.small{
  transform:translateY(34px);
}
.detail-two-col{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:28px;
  align-items:start;
}
.detail-copy-block p{
  margin:0 0 16px;
  color:var(--muted);
  font-size:17px;
}
.detail-chip-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.detail-chip-list span{
  background:#fff;
  border:1px solid var(--line);
  color:#4a4540;
  padding:10px 14px;
  border-radius:999px;
  font-size:14px;
  box-shadow:0 8px 18px rgba(0,0,0,.04);
}
.feature-cards.detail-feature-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.mini-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:22px;
  padding:22px;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
}
.mini-card h3{
  margin:0 0 10px;
  font-size:21px;
}
.mini-card p{
  margin:0;
  color:var(--muted);
}
.spec-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.spec-item{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:22px;
  padding:22px;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
}
.spec-item span{
  display:block;
  color:var(--muted);
  margin-bottom:8px;
}
.spec-item strong{
  font-size:22px;
}
.finishes-grid .finish-panel{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  padding:24px;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
}
.finishes-grid .finish-panel h3{
  margin:0 0 16px;
  font-size:24px;
}
.detail-cta-section{
  background:linear-gradient(180deg, #1f1f1f 0%, #141414 100%);
  color:#fff;
}
.detail-cta-box{
  display:grid;
  grid-template-columns:1fr auto;
  gap:28px;
  align-items:center;
}
.detail-cta-box h2{
  margin:0;
  font-size:clamp(30px,4vw,46px);
}
.detail-cta-box p{
  margin:12px 0 0;
  color:rgba(255,255,255,.76);
  max-width:70ch;
}
.detail-cta-actions{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:250px;
}
@media (max-width: 1024px){
  .detail-hero-grid,
  .detail-two-col,
  .detail-cta-box{
    grid-template-columns:1fr;
  }
  .feature-cards.detail-feature-cards,
  .spec-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width: 760px){
  .detail-visual-stack{
    grid-template-columns:1fr;
  }
  .detail-visual-card.small{
    transform:none;
  }
  .feature-cards.detail-feature-cards,
  .spec-grid{
    grid-template-columns:1fr;
  }
  .detail-hero-actions{
    flex-direction:column;
  }
  .detail-hero-actions .btn,
  .detail-cta-actions .btn{
    width:100%;
  }
}


/* V7 additions */
.steps-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.step-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:22px;
  padding:22px;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
}
.step-num{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f6f0e8;
  color:var(--gold);
  font-weight:800;
  margin-bottom:14px;
}
.step-card h3{
  margin:0 0 10px;
  font-size:22px;
}
.step-card p{
  margin:0;
  color:var(--muted);
}
@media (max-width: 1024px){
  .steps-grid{
    grid-template-columns:1fr;
  }
}


/* V9 additions */
.visual-gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.visual-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,.05);
}
.visual-card img{
  width:100%;
  display:block;
  aspect-ratio:4 / 5;
  object-fit:cover;
}
.visual-card-copy{
  padding:16px 18px 18px;
}
.visual-card-copy span{
  display:inline-flex;
  padding:9px 12px;
  border-radius:999px;
  background:#f6f0e8;
  color:#5d5347;
  font-size:14px;
  font-weight:700;
}
@media (max-width: 1024px){
  .visual-gallery-grid{
    grid-template-columns:1fr;
  }
}

/* Rebuild patches: keep technical schemes fully visible */
.visual-gallery-grid.two-up{grid-template-columns:repeat(2,1fr)}
.scheme-visual-card img{
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  background:#fff;
  padding:14px;
}
@media (max-width:1024px){.visual-gallery-grid.two-up{grid-template-columns:1fr}}


/* Final 05 / 06 refinements */
.coming-soon{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:9px 13px;
  border-radius:999px;
  background:#f6f0e8;
  border:1px solid var(--line);
  color:#7b6f62;
  font-size:14px;
  font-weight:800;
}
.fixed-visuals .visual-card img{
  aspect-ratio:auto;
  height:auto;
  max-height:760px;
  object-fit:contain;
  background:#fff;
}

/* All opening schemes on homepage — diagrams only */
.all-schemes-groups{display:grid;gap:34px}
.scheme-group-block{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:28px;padding:24px;box-shadow:0 12px 30px rgba(0,0,0,.04)}
.scheme-group-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.scheme-group-head h3{margin:0;font-size:24px}
.scheme-group-num{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f6f0e8;color:#9b7c57;font-weight:800}
.scheme-only-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.scheme-only-grid.two-cards{grid-template-columns:repeat(2,1fr)}
.scheme-only-card{margin:0;background:#faf8f5;border:1px solid var(--line);border-radius:20px;overflow:hidden}
.scheme-only-card img{width:100%;height:330px;object-fit:contain;background:#fff;padding:14px}
.scheme-only-card span{display:block;padding:14px 16px 16px;font-weight:700;text-align:center;color:#3f3933}
@media (max-width:900px){.scheme-only-grid,.scheme-only-grid.two-cards{grid-template-columns:1fr 1fr}.scheme-only-card img{height:290px}}
@media (max-width:620px){.scheme-group-block{padding:16px}.scheme-only-grid,.scheme-only-grid.two-cards{grid-template-columns:1fr}.scheme-only-card img{height:auto;max-height:520px}.scheme-group-head h3{font-size:20px}}


/* KA SYSTEMS card CTA buttons */
.card-actions{
  margin-top:20px;
}
.card-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 18px;
  border-radius:999px;
  background:#9C7B55;
  border:1px solid #9C7B55;
  color:#fff;
  font-size:14px;
  font-weight:700;
  line-height:1;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.card-cta:hover{
  background:#876A49;
  border-color:#876A49;
  transform:translateY(-1px);
  box-shadow:0 9px 22px rgba(156,123,85,.24);
}
.card-cta-disabled{
  background:rgba(156,123,85,.14);
  border-color:rgba(156,123,85,.28);
  color:#9C7B55;
  cursor:default;
  pointer-events:none;
  box-shadow:none;
}


/* Unified primary action style */
.btn.action-gold{
  background:#9C7B55;
  border-color:#9C7B55;
  color:#fff;
}
.btn.action-gold:hover{
  background:#876A49;
  border-color:#876A49;
  color:#fff;
  box-shadow:0 10px 28px rgba(156,123,85,.24);
}


/* Unified detail-page opening action */
.btn.detail-opening-cta{
  background:rgba(156,123,85,.08);
  color:#9C7B55;
  border:1.5px solid #9C7B55;
  box-shadow:none;
  position:relative;
  padding-right:46px;
}
.btn.detail-opening-cta::after{
  content:"→";
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-51%);
  font-size:18px;
  line-height:1;
  transition:transform .2s ease;
}
.btn.detail-opening-cta:hover{
  background:#9C7B55;
  color:#fff;
  border-color:#9C7B55;
  box-shadow:0 10px 28px rgba(156,123,85,.20);
}
.btn.detail-opening-cta:hover::after{transform:translate(3px,-51%)}


/* Global CTA safety: no black action buttons */
.btn:not(.detail-opening-cta){
  background:#9C7B55;
  border-color:#9C7B55;
  color:#fff;
}
.btn:not(.detail-opening-cta):hover{
  background:#876A49;
  border-color:#876A49;
  color:#fff;
}
