/* ===========================================================
   e-gujarat.com — shared platform styles
   =========================================================== */
:root {
  --saffron:    #E8611A;
  --saffron-d:  #d4531a;
  --deep-navy:  #0D1B2A;
  --navy-2:     #14263a;
  --jade:       #1B6B4A;
  --cream:      #FAF6EF;
  --gold:       #C9933A;
  --smoke:      #F1EDE6;
  --text-dark:  #1A1208;
  --text-mid:   #4A4030;
  --text-light: #8A7B68;
  --line:       rgba(13,27,42,0.10);
  --white:      #FFFFFF;
  --nav-h:      64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Spam honeypot — must stay invisible to real users */
.hp {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
  opacity: 0 !important; pointer-events: none !important;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 5vw; min-height: var(--nav-h);
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232,97,26,0.2);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 900;
  color: var(--white); letter-spacing: -0.02em; text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: var(--saffron); }
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--saffron); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--saffron); color: var(--white) !important;
  padding: 8px 18px; border-radius: 4px; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--saffron-d) !important; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--deep-navy);
  color: var(--white);
  padding: calc(var(--nav-h) + 60px) 5vw 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(232,97,26,0.14) 0%, transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(27,107,74,0.12) 0%, transparent 45%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 1180px; margin: 0 auto; }
.page-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 0.72rem;
  color: var(--saffron); letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.page-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--saffron); }
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900;
  line-height: 1.04; letter-spacing: -0.02em; max-width: 760px;
}
.page-title em { font-style: normal; color: var(--saffron); }
.page-sub {
  margin-top: 16px; max-width: 560px; line-height: 1.7;
  font-weight: 300; color: rgba(255,255,255,0.7); font-size: 1.02rem;
}

/* ── MAIN / LAYOUT ── */
main { max-width: 1180px; margin: 0 auto; padding: 0 5vw; }
.section-pad { padding: 40px 0 90px; }

/* ── DEMO BANNER ── */
.demo-banner {
  display: flex; align-items: center; gap: 10px;
  background: #FFF3E6; border: 1px solid rgba(232,97,26,0.35);
  color: #8a4a18; border-radius: 6px;
  padding: 11px 16px; font-size: 0.83rem; font-weight: 500;
  margin: 28px 0 0;
}
.demo-banner strong { color: var(--saffron); }

/* ── TOOLBAR (search + count) ── */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  justify-content: space-between; margin: 32px 0 18px;
}
.search-wrap { position: relative; flex: 1; min-width: 260px; max-width: 460px; }
.search-wrap svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; stroke: var(--text-light); pointer-events: none;
}
.search-input {
  width: 100%; padding: 13px 16px 13px 42px;
  border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; color: var(--text-dark); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232,97,26,0.12); }
.result-count { font-size: 0.85rem; color: var(--text-light); font-weight: 500; white-space: nowrap; }

/* ── FILTER CHIPS ── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--text-mid); cursor: pointer;
  padding: 7px 15px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--saffron); color: var(--saffron); }
.chip.active { background: var(--deep-navy); border-color: var(--deep-navy); color: var(--white); }

/* ── CARD GRID ── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 24px 24px 22px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: 0 14px 40px rgba(13,27,42,0.10); transform: translateY(-2px); border-color: rgba(232,97,26,0.3); }
.card-badge {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--saffron); background: rgba(232,97,26,0.10);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 14px;
}
.card-badge.jade { color: var(--jade); background: rgba(27,107,74,0.10); }
.card-badge.gold { color: #9a6f1e; background: rgba(201,147,58,0.14); }
.card-title {
  font-family: 'Playfair Display', serif; font-size: 1.22rem;
  font-weight: 700; color: var(--deep-navy); line-height: 1.25; margin-bottom: 10px;
}
.card-meta { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.card-meta-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--text-mid);
}
.card-meta-row .ic { width: 16px; text-align: center; flex-shrink: 0; }
.card-desc {
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.6;
  font-weight: 300; margin-bottom: 14px; flex: 1;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.card-tag {
  font-size: 0.72rem; color: var(--text-light);
  background: var(--smoke); padding: 3px 9px; border-radius: 4px;
}
.card-foot {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.card-foot .price { font-family: 'DM Mono', monospace; font-weight: 600; color: var(--deep-navy); font-size: 0.95rem; }
.card-cta {
  font-size: 0.8rem; font-weight: 600; color: var(--saffron);
  text-decoration: none; white-space: nowrap;
}
.card-cta:hover { text-decoration: underline; }

/* ── EMPTY / LOADING ── */
.state-msg {
  grid-column: 1 / -1; text-align: center;
  padding: 60px 20px; color: var(--text-light); font-size: 0.95rem;
}
.skeleton {
  background: linear-gradient(90deg, #efeae1 25%, #f6f2ea 50%, #efeae1 75%);
  background-size: 200% 100%; animation: sk 1.2s infinite;
  border-radius: 10px; height: 190px;
}
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── INTEREST / LAUNCHING-SOON PANEL ── */
.interest-panel {
  max-width: 640px; margin: 36px auto 12px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 50px 40px; text-align: center;
  box-shadow: 0 18px 50px rgba(13,27,42,0.06);
}
.interest-ic { font-size: 2.4rem; line-height: 1; }
.interest-soon {
  display: inline-block; margin: 16px 0 18px;
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--saffron); background: rgba(232,97,26,0.10);
  padding: 5px 13px; border-radius: 100px;
}
.interest-h {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  color: var(--deep-navy); line-height: 1.15; margin-bottom: 12px; font-weight: 700;
}
.interest-blurb {
  color: var(--text-mid); font-weight: 300; line-height: 1.7;
  max-width: 480px; margin: 0 auto 24px;
}
.interest-points {
  list-style: none; display: flex; flex-direction: column; gap: 11px;
  max-width: 380px; margin: 0 auto 30px; text-align: left;
}
.interest-points li { position: relative; padding-left: 28px; color: var(--text-mid); font-size: 0.92rem; }
.interest-points li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--jade); font-weight: 700; }
.interest-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.interest-input {
  flex: 1; min-width: 220px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.interest-input:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232,97,26,0.12); }
.interest-btn {
  background: var(--saffron); color: #fff; border: none; cursor: pointer;
  padding: 14px 26px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem;
  white-space: nowrap; transition: background 0.2s, transform 0.2s;
}
.interest-btn:hover { background: var(--saffron-d); transform: translateY(-1px); }
.interest-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.interest-note { margin-top: 18px; font-size: 0.85rem; color: var(--text-light); min-height: 1.2em; }
.interest-note.ok { color: var(--jade); font-weight: 600; }
.interest-note.err { color: #c0392b; font-weight: 600; }

/* ── CROSS-LINK STRIP ── */
.explore { background: var(--smoke); border-top: 1px solid var(--line); padding: 60px 5vw; }
.explore-inner { max-width: 1180px; margin: 0 auto; }
.explore h2 {
  font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--deep-navy);
  margin-bottom: 22px; font-weight: 700;
}
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.explore-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 18px; text-decoration: none; transition: all 0.2s;
}
.explore-card:hover { border-color: var(--saffron); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,27,42,0.08); }
.explore-card .ec-ic { font-size: 1.3rem; margin-bottom: 8px; }
.explore-card .ec-t { font-weight: 600; color: var(--deep-navy); font-size: 0.95rem; }
.explore-card .ec-d { font-size: 0.78rem; color: var(--text-light); margin-top: 3px; }

/* ── SECTION HEADINGS (in-page) ── */
.sec-head { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--deep-navy); font-weight: 700; margin-bottom: 8px; }
.sec-sub { color: var(--text-mid); font-weight: 300; margin-bottom: 24px; max-width: 580px; line-height: 1.7; }
.divider { height: 1px; background: var(--line); margin: 56px 0; }

/* ── LISTING SUBMISSION FORM ── */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 32px 30px; max-width: 780px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lf-field { display: flex; flex-direction: column; gap: 6px; }
.lf-field.full { grid-column: 1 / -1; }
.lf-field label { font-size: 0.8rem; font-weight: 600; color: var(--text-mid); }
.lf-field label .req { color: var(--saffron); }
.lf-field input, .lf-field select, .lf-field textarea {
  padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem; color: var(--text-dark);
  background: var(--white); outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lf-field textarea { resize: vertical; min-height: 92px; }
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus {
  border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232,97,26,0.12);
}
.lf-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lf-btn {
  background: var(--saffron); color: #fff; border: none; cursor: pointer;
  padding: 13px 30px; border-radius: 8px; font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 0.95rem; transition: background 0.2s, transform 0.2s;
}
.lf-btn:hover { background: var(--saffron-d); transform: translateY(-1px); }
.lf-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.lf-status { font-size: 0.86rem; color: var(--text-light); }
.lf-status.ok { color: var(--jade); font-weight: 600; }
.lf-status.err { color: #c0392b; font-weight: 600; }

/* ── EMPTY DIRECTORY STATE ── */
.empty-dir {
  grid-column: 1 / -1; text-align: center; background: var(--white);
  border: 1px dashed rgba(13,27,42,0.18); border-radius: 14px; padding: 54px 30px;
}
.empty-dir .ed-ic { font-size: 2rem; }
.empty-dir h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--deep-navy); margin: 12px 0 8px; }
.empty-dir p { color: var(--text-mid); max-width: 440px; margin: 0 auto 22px; font-weight: 300; line-height: 1.6; }
.btn-saffron {
  display: inline-block; background: var(--saffron); color: #fff; text-decoration: none;
  padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-saffron:hover { background: var(--saffron-d); transform: translateY(-1px); }
@media (max-width: 560px) { .lf-grid { grid-template-columns: 1fr; } }

/* ── LEGAL / CONTENT PAGES ── */
.legal { max-width: 760px; }
.legal .updated { color: var(--text-light); font-size: 0.85rem; margin-bottom: 28px; }
.legal h2 { font-family: 'Playfair Display', serif; color: var(--deep-navy); font-size: 1.3rem; font-weight: 700; margin: 34px 0 10px; }
.legal h3 { font-size: 1rem; color: var(--deep-navy); font-weight: 600; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--text-mid); line-height: 1.75; font-size: 0.95rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--saffron); }
.legal .addr-box { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; margin: 8px 0 20px; }
.legal .addr-box strong { color: var(--deep-navy); }

/* ── FOOTER ── */
footer {
  background: var(--deep-navy); padding: 40px 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; border-top: 1px solid rgba(232,97,26,0.2);
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--saffron); }
.footer-links { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--saffron); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); width: 100%; }

/* ── ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .skeleton { animation: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .nav-links { gap: 14px; }
  .nav-links li.nav-hide { display: none; }
}
@media (max-width: 560px) {
  .toolbar { flex-direction: column; align-items: stretch; }
  .result-count { text-align: left; }
}
