:root {
  --primary: #1f3a35;
  --primary-dark: #102621;
  --accent: #d4a75f;
  --accent-soft: #f4e5c3;
  --text: #1d1d1d;
  --muted: #5e6870;
  --bg: #f7f4f1;
  --panel: #ffffff;
  --success: #1d6b4f;
  --danger: #b63d3d;
  --shadow: 0 12px 30px rgba(16, 38, 33, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-banner {
  background: #0e1c1a;
  color: white;
  text-align: center;
  font-size: 0.78rem;
  padding: 0.6rem 1rem;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31,58,53,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #2d5d55);
  color: white;
  font-size: 1.4rem;
}
.brand-copy small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  position: relative;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.primary-btn, .secondary-btn, .ghost-btn, .outline-btn {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.primary-btn:hover, .secondary-btn:hover, .ghost-btn:hover, .outline-btn:hover {
  transform: translateY(-1px);
}
.primary-btn {
  background: var(--accent);
  color: #1f1b13;
  box-shadow: 0 10px 22px rgba(212,167,95,0.2);
}
.secondary-btn {
  background: var(--primary);
  color: white;
}
.outline-btn {
  background: transparent;
  border: 1px solid rgba(31,58,53,0.2);
  color: var(--primary);
}
.ghost-btn {
  background: rgba(31,58,53,0.08);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(31,58,53,0.15);
  background: white;
  font-size: 1.3rem;
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, rgba(16,38,33,0.9), rgba(28,61,54,0.72)), url('images/hero/hero-bedroom-01.svg') center/cover no-repeat;
  color: white;
  padding: 5rem 0 4rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}
.hero-copy .kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent-soft);
  margin-bottom: 0.8rem;
}
.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}
.hero-copy p {
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.08rem;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-visual {
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-card img {
  width: 100%;
  height: 410px;
  object-fit: cover;
}
.hero-card .card-caption {
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.slider {
  position: relative;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.35s ease;
}
.slider-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.slider-card {
  background: linear-gradient(135deg, rgba(31,58,53,0.08), rgba(212,167,95,0.08));
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.slider-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.slider-copy {
  padding: 1.3rem 1.4rem;
}
.slider-controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(31,58,53,0.25);
  cursor: pointer;
}
.dot.active {
  background: var(--accent);
}

.section {
  padding: 4rem 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  gap: 1rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 2.6vw, 2.7rem);
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

.products-grid, .gallery-grid, .stats-grid, .feature-grid, .contact-grid, .cta-panel {
  display: grid;
  gap: 1.5rem;
}
.products-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.product-card, .gallery-item, .contact-card, .feature-item {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31,58,53,0.04);
}
.product-media {
  position: relative;
  cursor: pointer;
}
.product-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.demo-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(17, 21, 20, 0.75);
  color: white;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-body {
  padding: 1.1rem 1.1rem 1.3rem;
}
.product-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.price {
  font-weight: 800;
  color: var(--primary);
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 1rem;
}
.feature-list span {
  background: rgba(31,58,53,0.06);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  color: var(--primary);
  font-size: 0.8rem;
}
.product-actions, .modal-actions, .gallery-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
}
.filter-btn {
  border: 1px solid rgba(31,58,53,0.18);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: white;
  color: var(--primary);
  cursor: pointer;
  font-weight: 700;
}
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
}
.gallery-item { cursor: pointer; }
.gallery-item .gallery-image {
  position: relative;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.gallery-info {
  padding: 1rem;
}
.gallery-info h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}
.gallery-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.contact-card {
  padding: 1.5rem;
}
.contact-card h3 {
  margin-top: 0;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.8rem 0;
  color: var(--muted);
}

.cta-panel {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, #153733, #285b55);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
}
.stat-box {
  padding: 1.5rem;
  background: var(--panel);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.stat-box strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
}

.footer {
  background: #0f1d1a;
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
}
.footer h4 {
  color: white;
  font-size: 1.15rem;
  margin: 0 0 0.9rem;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.11);
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-header {
  background: linear-gradient(135deg, rgba(16,38,33,0.9), rgba(25,53,47,0.85));
  color: white;
  padding: 4.2rem 0 3.6rem;
}
.page-header .header-wrap {
  max-width: 680px;
}
.page-header h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin: 0 0 0.8rem;
}
.page-header p {
  margin: 0;
  color: rgba(255,255,255,0.85);
}

.form-shell {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.2rem;
}
.form-group {
  display: grid;
  gap: 0.45rem;
}
.form-group.full { grid-column: 1 / -1; }
label {
  font-weight: 700;
  color: var(--primary);
}
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(31,58,53,0.18);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fff;
  color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(212,167,95,0.22);
  border-color: rgba(212,167,95,0.8);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.validation-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  display: none;
}
.input-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(182,61,61,0.08);
}

 success-message  {
  display: none;
}
.success-state {
  display: none;
  background: rgba(29,107,79,0.08);
  border: 1px solid rgba(29,107,79,0.2);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 1.6rem;
  margin-top: 1.5rem;
}
.success-state.visible {
  display: block;
}
.success-state h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.mobile-open {
  display: flex !important;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(9,15,19,0.65);
  z-index: 60;
  padding: 1.5rem;
}
.modal.visible {
  display: grid;
}
.modal-card {
  width: min(720px, 100%);
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(9,15,19,0.35);
}
.modal-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.modal-body {
  padding: 1.5rem;
}
.modal-body h3 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}
.modal-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.close-modal {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  font-size: 1.4rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 1.25rem;
  background: rgba(9,15,19,0.75);
  z-index: 70;
}
.lightbox.visible {
  display: grid;
}
.lightbox-inner {
  position: relative;
  width: min(980px, 100%);
  background: rgba(255,255,255,0.95);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(9,15,19,0.4);
}
.lightbox-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.lightbox-caption {
  padding: 1.2rem 1.4rem 1.4rem;
}
.lightbox-caption h3 {
  margin: 0 0 0.3rem;
}
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255,255,255,0.88);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.88);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
  font-size: 1.4rem;
  z-index: 2;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.empty-state {
  background: rgba(31,58,53,0.04);
  border: 1px dashed rgba(31,58,53,0.2);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-panel { grid-template-columns: 1fr; }
  .hero-inner, .slider-slide { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .header-actions .header-email { display: none; }
  .products-grid, .gallery-grid, .stats-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .button-row, .form-actions, .modal-actions, .gallery-actions { flex-direction: column; }
  .primary-btn, .secondary-btn, .outline-btn, .ghost-btn { width: 100%; }
  .lightbox-media img { height: 360px; }
}
