:root {
  --ink: #231817;
  --muted: #725d55;
  --paper: #FBF9F6;
  --ivory: #fffdf8;
  --obsidian: #12090a;
  --rose: #8f2e3e;
  --maroon: #800020;
  --gold: #D4AF37;
  --gold-soft: #f7dfa0;
  --emerald: #0d6b55;
  --line: rgba(65, 38, 28, .16);
  --shadow: 0 22px 60px rgba(60, 27, 20, .14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12px 12px, rgba(212, 175, 55, .08) 0 2px, transparent 2px 28px),
    linear-gradient(180deg, var(--paper), #fffdf8 46%, var(--paper));
  background-size: 28px 28px, auto;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
}

button, input, select, textarea { font: inherit; }

.top-strip {
  display: flex;
  gap: .75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: .55rem 1rem;
  color: #fff8df;
  background: var(--maroon);
  font-size: .83rem;
}

.rate-pill {
  border: 1px solid rgba(255, 248, 223, .35);
  border-radius: 999px;
  padding: .2rem .65rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 242, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(90, 17, 28, .18);
  box-shadow: 0 16px 42px rgba(42, 16, 19, .08);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .85rem;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .22s ease;
}

.brand:hover { transform: translateY(-1px); }

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  padding: 4px;
  background:
    radial-gradient(circle at 35% 28%, rgba(247, 223, 160, .18), transparent 38%),
    var(--obsidian);
  border: 1px solid rgba(201, 154, 46, .55);
  box-shadow: 0 14px 32px rgba(18, 9, 10, .18);
}

.brand span {
  font-size: clamp(.95rem, 3.6vw, 1.2rem);
  white-space: nowrap;
}

.nav-toggle {
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.nav-toggle:hover {
  border-color: rgba(212, 175, 55, .68);
  box-shadow: 0 10px 24px rgba(128, 0, 32, .12);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }

.nav-links {
  position: fixed;
  inset: 114px 16px auto 16px;
  display: none;
  padding: 1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-links.is-open { display: grid; }

.nav-links a {
  padding: .82rem .65rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 650;
  transition: color .22s ease, background-color .22s ease, transform .22s ease;
}

.nav-links a:last-child { border-bottom: 0; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--maroon); }

.nav-actions {
  display: none;
  align-items: center;
  gap: .5rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  cursor: pointer;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.search-button {
  position: relative;
  color: transparent;
  overflow: hidden;
}

.search-button::before {
  width: 15px;
  height: 15px;
  border: 2px solid var(--maroon);
  border-radius: 50%;
  content: "";
}

.search-button::after {
  width: 9px;
  height: 2px;
  margin-top: 16px;
  margin-left: 16px;
  background: var(--maroon);
  border-radius: 999px;
  transform: rotate(45deg);
  content: "";
}

.search-button::before,
.search-button::after {
  position: absolute;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .78rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}

.btn:hover,
.icon-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(128, 0, 32, .18);
}

.btn-primary {
  color: #fff;
  background: var(--gold);
  box-shadow: 0 14px 28px rgba(212, 175, 55, .22);
}

.btn-secondary {
  color: var(--maroon);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 14px 28px rgba(128, 0, 32, .12);
}

.hero .btn-secondary {
  color: var(--maroon);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

.hero .btn-secondary:hover {
  color: var(--maroon);
  background: var(--paper);
}

.btn-primary:hover {
  background: #e0bd43;
}

.btn-secondary:hover {
  background: var(--paper);
  border-color: var(--paper);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff9e9;
  background:
    linear-gradient(135deg, rgba(128, 0, 32, .96) 0%, rgba(128, 0, 32, .88) 42%, rgba(188, 132, 78, .78) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%23D4AF37' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-blend-mode: normal, soft-light;
  background-size: auto, 76px 76px;
  background-position: center;
}

.hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--emerald));
  content: "";
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5.4rem 0 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  color: var(--gold-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6, p { margin-top: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(1.96rem, 8.8vw, 5.28rem);
  line-height: .95;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  color: rgba(255, 249, 233, .88);
  font-size: clamp(1.08rem, 3.7vw, 1.5rem);
}

.hero-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.trust-bar {
  width: min(1180px, calc(100% - 32px));
  margin: -2.2rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.trust-item:hover,
.product-card:hover,
.service-card:hover,
.journal-card:hover,
.rate-card:hover,
.info-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, .48);
  box-shadow: 0 26px 66px rgba(60, 27, 20, .16);
}

.trust-item b { display: block; }
.trust-item span { color: var(--muted); font-size: .92rem; }

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.25rem 0 0;
}

.section-head {
  display: grid;
  gap: .7rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 3.84rem);
  font-weight: 400;
  line-height: .95;
}

.section-head p {
  max-width: 680px;
  color: var(--muted);
}

.category-grid,
.product-grid,
.service-grid,
.journal-grid,
.team-grid,
.contact-grid,
.rate-grid {
  display: grid;
  gap: 1rem;
}

.category-card,
.product-card,
.service-card,
.journal-card,
.rate-card,
.info-panel,
.form-panel {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.category-card {
  min-height: 300px;
  position: relative;
  display: grid;
  align-items: end;
  color: #fff9e9;
  background-size: cover;
  background-position: center;
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  filter: saturate(1.08);
  box-shadow: 0 28px 72px rgba(42, 16, 19, .22);
}

.category-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(27, 10, 8, .82));
  content: "";
}

.category-card div {
  position: relative;
  padding: 1rem;
}

.category-card h3,
.product-card h3,
.service-card h3,
.journal-card h3 {
  margin-bottom: .35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.16rem;
}

.category-card p,
.product-card p,
.service-card p,
.journal-card p,
.rate-card p,
.info-panel p {
  color: var(--muted);
}

.category-card p { color: rgba(255, 249, 233, .82); }

.product-card img,
.journal-card img {
  width: 100%;
  height: 370px;
  object-fit: cover;
}

.product-card {
  background: #FBF9F6;
  border-color: rgba(35, 24, 23, .08);
}

.product-card img {
  border-radius: var(--radius) var(--radius) 0 0;
}

.product-body {
  background: #FBF9F6;
}

.product-body,
.service-card,
.journal-body,
.rate-card,
.info-panel,
.form-panel {
  padding: 1.35rem;
}

.product-body h3 {
  margin-bottom: .7rem;
  color: #101828;
  font-size: clamp(1.24rem, 2.4vw, 1.6rem);
  line-height: 1.18;
}

.product-body p {
  margin-bottom: 1.05rem;
  color: #667085;
  font-size: 1.04rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--gold);
  font-weight: 750;
  transition: gap .22s ease, color .22s ease;
}

.product-link:hover {
  gap: .65rem;
  color: var(--maroon);
}

.tag-row {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin: .8rem 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .28rem .65rem;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(212, 175, 55, .12);
  font-size: .82rem;
  font-weight: 700;
}

.product-body .tag-row {
  margin: 0 0 1rem;
}

.feature-band {
  margin-top: 4.5rem;
  background: #2a1013;
  color: #fff9e9;
  position: relative;
  overflow: hidden;
}

.feature-band::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 0 46%, rgba(212, 175, 55, .11) 46% 54%, transparent 54% 100%),
    linear-gradient(-45deg, transparent 0 46%, rgba(212, 175, 55, .08) 46% 54%, transparent 54% 100%);
  background-size: 42px 42px;
  opacity: .34;
  content: "";
}

.feature-band-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 3.5rem 0;
  display: grid;
  gap: 1.4rem;
}

.testimonial-grid {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  scroll-behavior: smooth;
}

.testimonial-carousel {
  display: grid;
  gap: 1rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
}

.testimonial-status {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.carousel-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 50%;
  color: var(--maroon);
  background: #fff;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(128, 0, 32, .16);
}

.testimonial-card {
  flex: 0 0 100%;
  position: relative;
  min-height: 260px;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .96), rgba(251, 249, 246, .98)),
    radial-gradient(circle at top right, rgba(212, 175, 55, .18), transparent 42%);
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.testimonial-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(128, 0, 32, .06) 44% 48%, transparent 48% 100%);
  background-size: 30px 30px;
  content: "";
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, .62);
  box-shadow: 0 28px 70px rgba(60, 27, 20, .18);
}

.testimonial-card > * {
  position: relative;
}

.rating {
  display: inline-flex;
  gap: .1rem;
  align-items: center;
  margin-bottom: .9rem;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.24;
}

.reviewer {
  display: grid;
  gap: .15rem;
}

.reviewer b {
  color: var(--maroon);
}

.reviewer span {
  color: var(--muted);
  font-size: .92rem;
}

.feature-band h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 5.6vw, 3.2rem);
  line-height: 1;
}

.feature-band p { color: rgba(255, 249, 233, .78); }

.split {
  display: grid;
  gap: 1.2rem;
}

.split-media {
  min-height: 420px;
  border-radius: var(--radius);
  background: url("https://images.unsplash.com/photo-1617038220319-276d3cfab638?auto=format&fit=crop&w=1400&q=85") center/cover;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(128, 0, 32, .96) 0%, rgba(128, 0, 32, .88) 42%, rgba(188, 132, 78, .78) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%23D4AF37' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-blend-mode: normal, soft-light;
  background-size: auto, 76px 76px;
  background-position: center;
  color: #fff9e9;
}

.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4rem 0;
}

.page-hero h1 { font-size: clamp(2.16rem, 8.8vw, 4.64rem); }
.page-hero p { max-width: 660px; color: rgba(255, 249, 233, .82); }

.filter-bar {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  margin-bottom: 1rem;
}

.filter-bar button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .85rem;
  color: var(--muted);
  background: var(--ivory);
  cursor: pointer;
}

.filter-bar button.is-active {
  color: #fff9e9;
  background: var(--maroon);
}

.rate-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  color: var(--maroon);
}

.form-grid {
  display: grid;
  gap: .8rem;
}

.field {
  display: grid;
  gap: .35rem;
}

.field label {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: .75rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, .8);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .16);
}

.field textarea { min-height: 120px; resize: vertical; }

.site-footer {
  margin-top: 4.5rem;
  background: var(--maroon);
  color: rgba(255, 249, 233, .82);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 3rem 0;
  display: grid;
  gap: 1.3rem;
}

.footer-brand img {
  width: 96px;
  padding: 0;
  content: url("suvidha-logo-white.png");
  background: transparent;
  border: 0;
  border-radius: 50%;
}
.footer-brand p { max-width: 360px; }

.footer-col h3 {
  color: #fff9e9;
  margin-bottom: .7rem;
  font-size: .8rem;
}

.footer-col a {
  display: block;
  padding: .22rem 0;
  color: rgba(255, 249, 233, .75);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 249, 233, .14);
  padding-top: 1rem;
  font-size: .86rem;
}

@media (min-width: 720px) {
  .trust-bar,
  .category-grid,
  .product-grid,
  .service-grid,
  .journal-grid,
  .rate-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-card {
    flex-basis: calc((100% - 2rem) / 3);
  }

  .contact-grid,
  .split {
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
  }

  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-inner {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }

  .footer-bottom { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  h1 { font-size: 2.04rem; }
  .hero {
    min-height: 560px;
  }
  .hero h1 { max-width: 11ch; }
  .hero p {
    max-width: 33ch;
    font-size: 1rem;
  }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }

  .nav-links {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .15rem;
    padding: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
  }

  .nav-links a {
    border-bottom: 0;
    padding: .5rem .65rem;
    font-size: .92rem;
  }

  .nav-actions { display: flex; }

  .hero-inner { padding: 5.8rem 0 5rem; }
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}
