/* Curtain Dubai — mobile-first, no build step */
:root {
  --ink: #1a1614;
  --ink-soft: #3f3731;
  --muted: #6b6158;
  --line: #e6ddd0;
  --cream: #f6f1e8;
  --paper: #fbf8f3;
  --sand: #e8dcc8;
  --gold: #c4a36a;
  --gold-deep: #8c6a3a;
  --white: #fff;
  --serif: "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(26, 22, 20, 0.08);
  --header: 4.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4, .logo-text, .footer-brand, .hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 6vw, 4rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin: 0 0 0.5em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.kicker, .footer-label {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0 0 0.6em;
}
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 42rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header); gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { flex: none; }
.logo-text { display: flex; flex-direction: column; font-size: 1.15rem; line-height: 1.1; }
.logo-text span { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }
.nav-toggle {
  appearance: none; background: none; border: 0; width: 2.6rem; height: 2.6rem;
  display: grid; place-content: center; gap: 5px; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 1.25rem; height: 1.5px; background: var(--ink); }
.site-nav {
  display: none; flex-direction: column; gap: 0.2rem;
  position: absolute; left: 0; right: 0; top: var(--header);
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 0.6rem 1rem 1.1rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  text-decoration: none; padding: 0.65rem 0.4rem; font-size: 1rem;
  color: var(--ink-soft);
}
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-wa { font-weight: 600; color: var(--gold-deep) !important; }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; flex-direction: row; align-items: center; gap: 0.2rem 1.3rem;
    position: static; background: none; border: 0; padding: 0;
  }
  .site-nav a { padding: 0.3rem 0; font-size: 0.95rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px;
  padding: 0.85rem 1.35rem; font: 600 0.95rem/1 var(--sans);
  cursor: pointer; background: none; color: var(--ink);
}
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #2a2420; color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(26,22,20,.25); background: transparent; }
.btn-ghost.light { border-color: rgba(246,241,232,.45); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.text-link { font-weight: 600; text-decoration: none; color: var(--gold-deep); }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero {
  position: relative; color: var(--cream);
  min-height: min(86vh, 760px); display: grid; align-items: end;
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,20,.15) 0%, rgba(26,22,20,.62) 70%, rgba(26,22,20,.78) 100%);
}
.hero-copy { position: relative; z-index: 1; padding: 5rem 0 3.2rem; }
.hero .kicker { color: var(--gold); }
.hero h1 { color: var(--cream); max-width: 16ch; }
.hero .lede { color: rgba(246,241,232,.9); }

/* Sections */
.section { padding: 4rem 0; }
.section.alt { background: var(--cream); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  height: 100%;
}
.card-media { display: block; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1.15rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card-body p { color: var(--ink-soft); margin: 0 0 0.6rem; }
.card-body .text-link, .card-body .btn { margin-top: auto; align-self: flex-start; }
.card.product { box-shadow: none; }
@media (min-width: 800px) {
  .card.product { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .card.product .card-media img { height: 100%; aspect-ratio: auto; min-height: 280px; }
  .card.product .card-body { padding: 1.6rem 1.8rem; justify-content: center; }
  .card.product:nth-child(even) .card-media { order: 2; }
}

/* Why us */
.why { display: grid; gap: 1rem; }
@media (min-width: 800px) { .why { grid-template-columns: 1fr 1fr; } }
.why article {
  padding: 1.4rem 1.3rem;
  border-top: 1px solid var(--line);
}
.why .num { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--gold-deep); margin-bottom: 0.4rem; }

/* CTA band */
.cta-band {
  position: relative; color: var(--cream); min-height: 420px;
  display: grid; align-items: end;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,22,20,.2), rgba(26,22,20,.72));
}
.cta-band .wrap { position: relative; z-index: 1; padding: 4.5rem 0 3.2rem; }
.cta-band h2, .cta-band p { color: var(--cream); }
.cta-band p { max-width: 36rem; }

/* Split */
.split { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }
.split .media { border-radius: var(--radius); overflow: hidden; }
.split .media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.8rem; }
.filters button {
  appearance: none; border: 1px solid var(--line); background: var(--white);
  border-radius: 999px; padding: 0.45rem 0.95rem; font: 600 0.88rem/1 var(--sans);
  color: var(--ink-soft); cursor: pointer;
}
.filters button[aria-pressed="true"], .filters button:hover {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.catalog .card.product.is-hidden { display: none; }

/* Contact */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; } }
form {
  display: grid; gap: 0.9rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem;
}
label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; }
input, select, textarea {
  font: inherit; padding: 0.7rem 0.8rem; border: 1px solid var(--line);
  border-radius: 8px; background: var(--paper); color: var(--ink); width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
.aside-card {
  background: var(--cream); border-radius: var(--radius); padding: 1.4rem 1.3rem;
  border: 1px solid var(--line);
}
.aside-card .row { margin: 0 0 0.9rem; }
.aside-card small { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.note { color: var(--muted); font-size: 0.9rem; }
.form-status { display: none; padding: 0.8rem 0; color: var(--ink-soft); }
.form-status.is-on { display: block; }

/* Specs table */
.specs { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.specs th, .specs td { text-align: left; padding: 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 38%; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(246,241,232,.82); padding: 3rem 0 5.5rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1.1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); margin: 0 0 0.6rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.45rem; }
.footer-label { color: var(--gold); }
.footer-base { margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(246,241,232,.15); font-size: 0.85rem; color: rgba(246,241,232,.55); }
.footer-base p { margin: 0 0 0.5rem; }

.wa-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  width: 3.3rem; height: 3.3rem; border-radius: 50%;
  background: #128c7e; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(18,140,126,.35); text-decoration: none;
}
.wa-fab:hover { color: #fff; background: #0e6e62; }

.page-hero { padding: 3rem 0 1.2rem; }
.page-hero h1 { max-width: 18ch; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-media img { transition: none; }
}
