/* Deep Enterprise — shared styles
   Palette: deep navy + gold (brand), warm terracotta + ivory (Bengal accent) */

:root {
  --navy-950: #070d1e;
  --navy-900: #0c1730;
  --navy-800: #12213f;
  --navy-700: #1a2d52;
  --gold-600: #b8892f;
  --gold-500: #d4af37;
  --gold-400: #e8c874;
  --gold-200: #f4e2ac;
  --terracotta: #b1502f;
  --terracotta-dark: #8c3c22;
  --cream: #f8f1e2;
  --cream-2: #f1e6d0;
  --ivory: #fbf7ec;
  --ink: #241a10;

  --font-head: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Hind Siliguri", "Segoe UI", sans-serif;

  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  margin: 0;
  color: var(--navy-900);
}
p { line-height: 1.7; margin: 0; }
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--terracotta);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 8px 20px -8px rgba(212,175,55,0.6);
}
.btn-gold:hover { box-shadow: 0 12px 26px -8px rgba(212,175,55,0.75); }
.btn-outline {
  background: transparent;
  border-color: rgba(248,241,226,0.4);
  color: var(--ivory);
}
.btn-outline:hover { background: rgba(248,241,226,0.08); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline-dark:hover { background: var(--navy-900); color: var(--ivory); }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37,211,102,0.6);
}
.btn-whatsapp:hover { background: #1fb857; box-shadow: 0 12px 26px -8px rgba(37,211,102,0.75); }
.btn-whatsapp svg { width: 18px; height: 18px; fill: currentColor; }
.header-cta .btn-whatsapp, .header-phone { white-space: nowrap; flex-shrink: 0; }
.float-wa {
  position: fixed; bottom: 26px; right: 26px; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(0,0,0,0.5);
}
.float-wa svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(212,175,55,0.25);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
}
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .name {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.5px;
}
.brand-text .tagline {
  font-size: 10.5px;
  letter-spacing: 1.6px;
  color: rgba(248,241,226,0.65);
  text-transform: uppercase;
  white-space: nowrap;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
nav.main-nav a {
  color: rgba(248,241,226,0.82);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
nav.main-nav a.active { color: var(--gold-400); }
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after { transform: scaleX(1); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-400);
  font-weight: 600;
  font-size: 14.5px;
}
.header-phone svg { width: 16px; height: 16px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .header-phone span { display: none; }
}

/* ---------- Alpona motif system ---------- */
/* ---------- Kantha-stitch motif system ----------
   Inspired by Nakshi Kantha embroidery: running-stitch borders + small
   diamond/fish-eye motifs, instead of alpona floral rangoli. */
.motif-strip {
  height: 14px;
  background-repeat: repeat-x;
  background-size: 30px 14px;
  background-position: center;
  opacity: 0.9;
}
.motif-strip.on-navy {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14' viewBox='0 0 30 14'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.2'%3E%3Cpath d='M0 7h6' stroke-dasharray='2 2'/%3E%3Cpath d='M9 7l6-4 6 4-6 4z'/%3E%3Ccircle cx='15' cy='7' r='1.3' fill='%23d4af37' stroke='none'/%3E%3Cpath d='M24 7h6' stroke-dasharray='2 2'/%3E%3C/g%3E%3C/svg%3E");
}
.motif-strip.on-cream {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14' viewBox='0 0 30 14'%3E%3Cg fill='none' stroke='%23b1502f' stroke-width='1.2'%3E%3Cpath d='M0 7h6' stroke-dasharray='2 2'/%3E%3Cpath d='M9 7l6-4 6 4-6 4z'/%3E%3Ccircle cx='15' cy='7' r='1.3' fill='%23b1502f' stroke='none'/%3E%3Cpath d='M24 7h6' stroke-dasharray='2 2'/%3E%3C/g%3E%3C/svg%3E");
}

/* Corner flourish — kantha diamond lattice with running-stitch border */
.alpona-corner {
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  opacity: 0.55;
  background-repeat: no-repeat;
  background-size: contain;
}
.alpona-corner.gold {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1.3'%3E%3Cpath d='M4 4h48M4 4v48' stroke-dasharray='3 3.5'/%3E%3Cpath d='M14 14l12 12-12 12-12-12z'/%3E%3Cpath d='M34 14l12 12-12 12-12-12z'/%3E%3Cpath d='M14 34l12 12-12 12-12-12z'/%3E%3Ccircle cx='14' cy='14' r='2.6' fill='%23d4af37' stroke='none'/%3E%3Ccircle cx='34' cy='34' r='2.2' fill='%23d4af37' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}
.alpona-corner.terracotta {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23b1502f' stroke-width='1.3'%3E%3Cpath d='M4 4h48M4 4v48' stroke-dasharray='3 3.5'/%3E%3Cpath d='M14 14l12 12-12 12-12-12z'/%3E%3Cpath d='M34 14l12 12-12 12-12-12z'/%3E%3Cpath d='M14 34l12 12-12 12-12-12z'/%3E%3Ccircle cx='14' cy='14' r='2.6' fill='%23b1502f' stroke='none'/%3E%3Ccircle cx='34' cy='34' r='2.2' fill='%23b1502f' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}
.alpona-corner.tl { top: 0; left: 0; }
.alpona-corner.tr { top: 0; right: 0; transform: scaleX(-1); }
.alpona-corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.alpona-corner.br { bottom: 0; right: 0; transform: scale(-1,-1); }

/* Centred medallion — kantha "sun" motif: radiating running stitches around a core diamond */
.alpona-medallion {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23b1502f' stroke-width='1.5'%3E%3Cpath d='M50 30l10 20-10 20-10-20z'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23b1502f' stroke='none'/%3E%3Cg stroke-dasharray='2.5 3'%3E%3Cpath d='M50 10v10M50 80v10M10 50h10M80 50h10'/%3E%3Cpath d='M22 22l7 7M71 22l-7 7M22 78l7-7M71 78l-7-7'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='34' stroke-dasharray='2 4'/%3E%3C/g%3E%3C/svg%3E");
}

/* fine dotted rangoli background texture, very low opacity */
.rangoli-bg {
  background-image: radial-gradient(circle, rgba(212,175,55,0.35) 1px, transparent 1.4px);
  background-size: 26px 26px;
}

/* ---------- Section helpers ---------- */
section { position: relative; }
.section-navy { background: var(--navy-950); color: var(--ivory); }
.section-cream { background: var(--cream); }
.section-ivory { background: var(--ivory); }
.section-pad { padding: 72px 0; }
@media (max-width: 700px) {
  .section-pad { padding: 48px 0; }
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head h2 {
  font-size: 42px;
  margin-top: 14px;
}
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: var(--ivory); }
.section-navy .section-head p { color: rgba(248,241,226,0.72); }
.section-head p { color: #5c5142; margin-top: 14px; font-size: 16.5px; }

/* ---------- Cards ---------- */
.card {
  background: var(--ivory);
  border: 1px solid rgba(177,80,47,0.15);
  border-radius: 4px;
  padding: 36px 28px;
  position: relative;
}
.card-navy {
  background: var(--navy-900);
  border: 1px solid rgba(212,175,55,0.2);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-950);
  color: rgba(248,241,226,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(212,175,55,0.18);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  color: var(--gold-400);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-grid a, .footer-grid p {
  display: block;
  color: rgba(248,241,226,0.68);
  font-size: 14.5px;
  margin-bottom: 12px;
}
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 13px;
  color: rgba(248,241,226,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Tweaks: mood palette ---------- */
[data-palette="dawn"] {
  --navy-950: #2b1710;
  --navy-900: #3a1f15;
  --navy-800: #4a2a1a;
  --navy-700: #5c3820;
  --terracotta: #d1652b;
  --terracotta-dark: #a8451c;
}
[data-palette="royal"] {
  --navy-950: #0d1f1a;
  --navy-900: #123328;
  --navy-800: #184433;
  --navy-700: #205541;
  --terracotta: #8a2432;
  --terracotta-dark: #6b1a26;
}

/* ---------- Tweaks: heading voice ---------- */
[data-heading="heritage"] h1,
[data-heading="heritage"] h2,
[data-heading="heritage"] h3 {
  font-family: 'Yeseva One', serif;
  letter-spacing: 0.2px;
}
[data-heading="heritage"] .eyebrow {
  letter-spacing: 4px;
}

/* ---------- Tweaks: cultural motif intensity ---------- */
body[data-motif="subtle"] .alpona-corner { opacity: 0.15; }
body[data-motif="subtle"] .motif-strip { opacity: 0; }
body[data-motif="subtle"] .alpona-medallion { opacity: 0; }
body[data-motif="subtle"] .rangoli-bg { background-image: none; }

body[data-motif="rich"] .alpona-corner { opacity: 0.95; width: 175px; height: 175px; }
body[data-motif="rich"] .motif-strip { height: 20px; background-size: 26px 20px; opacity: 1; }
body[data-motif="rich"] .alpona-medallion { width: 100px; height: 100px; }
body[data-motif="rich"] .rangoli-bg { background-size: 19px 19px; }
body[data-motif="rich"] .section-navy::before,
body[data-motif="rich"] .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(212,175,55,0.06) 1px, transparent 1.4px);
  background-size: 30px 30px;
}

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}


/* ================= RESPONSIVE LAYER ================= */
/* Fluid container padding */
.wrap { padding: 0 clamp(18px, 4vw, 32px); }
.nav-row { padding: 14px clamp(18px, 4vw, 32px); }

/* Fluid type scale */
.section-head h2 { font-size: clamp(27px, 4.6vw, 42px); line-height: 1.15; }
.section-head p { font-size: clamp(15px, 1.6vw, 16.5px); }
.section-head { margin-bottom: clamp(28px, 4vw, 40px); }
.eyebrow { font-size: clamp(11px, 1.3vw, 13px); letter-spacing: clamp(2px, 0.35vw, 3px); }
.card { padding: clamp(24px, 3.2vw, 36px) clamp(20px, 2.6vw, 28px); }
.btn { padding: clamp(13px, 1.6vw, 15px) clamp(22px, 2.8vw, 30px); font-size: clamp(14px, 1.4vw, 15px); }

/* ---------- Mobile navigation drawer ---------- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 3px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; position: relative;
  width: 20px; height: 2px; background: var(--gold-400);
  transition: background 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--gold-400);
  transition: transform 0.25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--navy-950);
  border-top: 1px solid rgba(212,175,55,0.2);
  padding: 8px clamp(18px, 4vw, 32px) 20px;
}
body.nav-open .mobile-nav { display: block; }
.mobile-nav a {
  display: flex; align-items: center;
  min-height: 50px;
  color: rgba(248,241,226,0.88);
  font-size: 16px; font-weight: 500;
  border-bottom: 1px solid rgba(212,175,55,0.12);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav a.active { color: var(--gold-400); }
.mobile-nav .m-phone {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; color: var(--gold-400);
  font-weight: 600; font-size: 16px; min-height: 48px;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; margin-left: auto; margin-right: -6px; }
  .header-cta .btn-whatsapp { display: none; }
  .header-phone { display: none; }
  .brand-text .tagline { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-text .name { font-size: 18px; }
  .nav-row { gap: 12px; }
}
@media (max-width: 420px) {
  .brand-text .name { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
}

/* Footer responsive */
@media (max-width: 560px) {
  footer.site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 30px; }
  .footer-bottom { justify-content: center; text-align: center; font-size: 12px; }
}

/* Floating WhatsApp — keep clear of sticky bars on small screens */
@media (max-width: 700px) {
  .float-wa { width: 52px; height: 52px; bottom: 18px; right: 16px; }
  .float-wa svg { width: 25px; height: 25px; }
}

/* Grid refinements */
@media (max-width: 760px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 520px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
}

/* Motif scale-down so decoration never crowds small screens */
@media (max-width: 700px) {
  .alpona-corner { width: 78px; height: 78px; opacity: 0.35; }
  body[data-motif="rich"] .alpona-corner { width: 96px; height: 96px; opacity: 0.5; }
  .alpona-medallion { width: 56px; height: 56px; margin-bottom: 14px; }
  .motif-strip { height: 11px; background-size: 24px 11px; }
}

/* Never allow horizontal overflow on phones */
html, body { overflow-x: hidden; max-width: 100%; }
