:root {
  --ink: #15120f;
  --coal: #221c18;
  --cream: #f7f2ea;
  --paper: #fffaf3;
  --muted: #75695d;
  --line: rgba(34, 28, 24, 0.16);
  --gold: #b68a45;
  --wine: #5c1f24;
  --green: #123b35;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(21, 18, 15, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Noto Sans Devanagari", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6.2rem); max-width: 860px; }
h2 { font-size: clamp(2rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); }

.dev-bar {
  padding: 0.45rem 1rem;
  text-align: center;
  background: var(--coal);
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 250, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 160px;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 4px;
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.35rem; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; }

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.7rem, 1.2vw, 1.3rem);
  color: #40372f;
  font-size: 0.92rem;
}
.main-nav a { padding: 0.4rem 0; }
.main-nav a:hover, .text-link:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 0.65rem; }
.language-switch, .menu-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  min-height: 42px;
  padding: 0 0.8rem;
  cursor: pointer;
}
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.header-cta, .btn.primary { background: var(--gold); color: #17120c; }
.btn.secondary { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn.dark { background: var(--coal); color: var(--cream); }
.btn.light { background: var(--cream); color: var(--coal); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  height: clamp(500px, calc(100vh - 285px), 640px);
  min-height: 500px;
  overflow: hidden;
  color: var(--white);
  background: var(--coal);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide picture, .hero-slide img { width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 9, 0.78), rgba(12, 10, 9, 0.34), rgba(12, 10, 9, 0.12));
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 6vw, 6rem);
  max-width: 1060px;
}
.eyebrow {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold);
}
.eyebrow span { color: var(--cream); margin-left: 0.5rem; }
.eyebrow.dark { color: var(--wine); }
.hero-kicker { font-size: clamp(1.1rem, 2.3vw, 1.75rem); color: var(--cream); margin-top: 1rem; }
.hero-content > p:not(.eyebrow):not(.hero-kicker) { max-width: 640px; font-size: 1.1rem; color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1rem; }
.slider-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.28);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
.slider-control.prev { left: 1rem; }
.slider-control.next { right: 1rem; }
.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.45);
}
.slider-dots button.is-active { background: var(--gold); }

.section-pad { padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem); }
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--coal);
  padding-top: 0;
  padding-bottom: 0;
}
.trust div {
  min-height: 150px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem;
}
.trust strong { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 3rem); }
.trust span { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.section-head { max-width: 900px; margin-bottom: 2rem; }
.card-grid, .experience-grid, .process-grid, .feature-grid, .gallery-grid {
  display: grid;
  gap: 1.2rem;
}
.three { grid-template-columns: repeat(3, 1fr); }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(21, 18, 15, 0.08);
}
.service-card img, .gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.service-card div { padding: 1.2rem; }
.service-card p { color: var(--muted); }
.service-card ul, .experience-card ul, .experience-card ol {
  padding-left: 1.2rem;
  color: #51473e;
}
.service-card a, .text-link {
  color: var(--wine);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.experience { background: #eee6db; }
.experience-grid { grid-template-columns: 1fr 1fr; }
.experience-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,0.22);
  overflow: hidden;
}
.experience-card img { width: 100%; height: 100%; object-fit: cover; }
.experience-card > div { padding: clamp(1.3rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; }
.experience-card.ready { background: var(--white); color: var(--ink); }
.experience-card.bespoke { background: var(--green); color: var(--cream); }
.experience-card.bespoke p, .experience-card.bespoke li { color: rgba(255,250,243,0.84); }
.tag {
  color: var(--gold);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.fabrics { background: var(--white); }
.brand-panel {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
}
.brand-panel h3 { font-size: 1.1rem; margin: 1rem 0 0.3rem; }
.brand-panel h3:first-child { margin-top: 0; }
.brand-panel p { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.8rem); color: var(--coal); }

.process-grid { grid-template-columns: repeat(6, 1fr); }
.process-grid span, .feature-grid span {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.2rem;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.process-grid b { color: var(--gold); }
.why { background: #f2eee6; }
.feature-grid { grid-template-columns: repeat(4, 1fr); }

.showroom {
  background-image: linear-gradient(90deg, rgba(20,17,14,0.82), rgba(20,17,14,0.52)), url("../Images/hero/omex-bespoke-tailoring-fabric-showroom.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.showroom-inner { max-width: 760px; }
.showroom p { color: rgba(255,255,255,0.86); }
.gallery-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 1.2rem; }
.testimonials { background: var(--white); }

.contact-band {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--coal);
  color: var(--white);
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(280px, 1.35fr) minmax(210px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.4rem, 5vw, 4rem) clamp(1rem, 5vw, 5rem) 1.4rem;
  background: #111;
  color: var(--cream);
}
.site-footer strong { display: block; font-family: var(--serif); font-size: 2rem; }
.site-footer span, .site-footer p, .site-footer a { color: rgba(255,250,243,0.75); }
.site-footer a:hover { color: var(--gold); }
.footer-logo {
  min-width: 0;
  margin-bottom: 1rem;
}
.footer-brand p {
  margin-bottom: 1rem;
}
.version-badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  color: var(--gold) !important;
  background: rgba(255,255,255,0.04);
}
.footer-links {
  columns: 2;
}
.footer-links a {
  display: block;
  break-inside: avoid;
  margin: 0 0 0.55rem;
}
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}
.footer-contact strong {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.socials { display: flex; flex-wrap: wrap; gap: 0.85rem 1.2rem; align-content: start; }
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.icon-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}
.copyright { grid-column: 1 / -1; margin: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.2rem; }
.floating-whatsapp {
  position: fixed;
  z-index: 60;
  right: 1rem;
  bottom: 1rem;
  background: #1f7a4f;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow);
  font-weight: 800;
}
.floating-whatsapp img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 7rem clamp(1rem, 5vw, 5rem) 4rem;
  color: var(--white);
  background: linear-gradient(90deg, rgba(20,17,14,0.84), rgba(20,17,14,0.36)), url("../Images/hero/omex-premium-suiting-shirting-fabric-store.webp") center/cover;
}
.page-hero p { max-width: 740px; color: rgba(255,255,255,0.88); font-size: 1.08rem; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.content-box {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(1.2rem, 3vw, 2.2rem);
}
.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.appointment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.appointment-form label { display: grid; gap: 0.35rem; font-weight: 700; }
.appointment-form input, .appointment-form select, .appointment-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.8rem;
  font: inherit;
}
.appointment-form .wide { grid-column: 1 / -1; }
.appointment-form textarea { min-height: 130px; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; justify-self: end; }
  .main-nav, .header-actions {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
  }
  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-actions {
    display: flex;
  }
  .main-nav { flex-direction: column; gap: 0.25rem; }
  .header-actions { flex-wrap: wrap; }
  .three, .experience-grid, .process-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-card { grid-template-columns: 1fr; }
  .experience-card img { aspect-ratio: 3 / 2; height: auto; }
}

@media (max-width: 760px) {
  .hero { height: auto; min-height: 78vh; }
  .hero-overlay { background: linear-gradient(0deg, rgba(12,10,9,0.82), rgba(12,10,9,0.36)); }
  .hero-content { justify-content: end; padding-bottom: 5rem; }
  .slider-control { display: none; }
  .trust, .split, .three, .experience-grid, .process-grid, .feature-grid, .gallery-grid, .contact-band, .site-footer, .content-grid, .appointment-form {
    grid-template-columns: 1fr;
  }
  .trust div { min-height: 112px; }
  .contact-band { align-items: start; }
  .contact-actions, .hero-actions { width: 100%; }
  .btn, .header-cta { width: 100%; }
  .site-footer nav, .socials { flex-direction: column; }
  .floating-whatsapp { left: 1rem; right: 1rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
