/* Sri Lakshmi Varaha Moorthy — Unified Site Theme */
:root {
  --navy: #001C39;
  --navy-mid: #002B52;
  --navy-deep: #001428;
  --gold: #C5A059;
  --gold-light: #E8D5A3;
  --gold-dark: #9A7B3A;
  --cream: #FDFBF0;
  --cream-dark: #F5F0E0;
  --white: #FFFFFF;
  --text: #1A2B3C;
  --muted: #5A6478;
  --line: rgba(197, 160, 89, 0.35);
  --shadow-gold: 0 10px 40px -12px rgba(197, 160, 89, 0.35);
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

.container, .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Cinzel', serif;
  color: var(--navy);
}

/* ===== SITE HEADER (all pages) ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  min-height: 72px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header .brand-logo {
  width: 52px;
  height: 52px;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
  border: none;
  background: transparent;
  flex-shrink: 0;
}

.site-header .brand-text {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  line-height: 1.4;
  text-transform: uppercase;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-header .main-nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.25s;
  white-space: nowrap;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
  color: var(--gold);
}

.site-header .btn-register {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: none;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header .btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.45);
}

.site-header .menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.site-header .menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: block;
}

/* ===== SITE FOOTER (all pages) ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.site-footer .footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.site-footer .footer-brand .brand-logo {
  width: 48px;
  height: 48px;
  max-width: none;
  border-radius: 0;
  border: none;
  object-fit: contain;
  background: transparent;
}

.site-footer .footer-brand .brand-text {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-footer .footer-brand p {
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 10px;
}

.site-footer .footer-brand .phone {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
}

.site-footer .footer-col h5 {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.site-footer .footer-col li {
  margin-bottom: 10px;
}

.site-footer .footer-col a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s;
}

.site-footer .footer-col a:hover {
  color: var(--gold);
}

.site-footer .social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.site-footer .social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer .social-icons svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-light);
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer .footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer .footer-legal a:hover {
  color: var(--gold);
}

/* ===== SHARED BUTTONS ===== */
.btn-gold-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.25s;
}

.btn-gold-theme:hover {
  transform: translateY(-1px);
}

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Service / inner pages: offset for sticky header */
.has-site-header .svc-hero,
.has-site-header .page-hero {
  padding-top: 100px !important;
}

@media (max-width: 1100px) {
  .site-header .main-nav { gap: 14px; }
  .site-header .main-nav a { font-size: 0.62rem; }
}

@media (max-width: 960px) {
  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 14px;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  }

  .site-header .main-nav.open { display: flex; }

  .site-header .menu-toggle { display: flex; }

  .site-header .btn-register { display: none; }

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

@media (max-width: 560px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-header .brand-logo { height: 48px; width: 48px; }
  .site-header .brand-text { font-size: 0.58rem; max-width: 160px; }
}

/* ===== SHOP / REPORTS / CHECKOUT PAGES ===== */
.page-hero,
.shop-hero,
.checkout-hero {
  background: var(--navy);
  padding: 100px 0 56px;
  text-align: center;
}

.page-hero h1,
.shop-hero h1,
.checkout-hero h1 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.page-hero p,
.shop-hero p,
.checkout-hero p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.7;
}

.shop-section {
  padding: 50px 0 70px;
}

.shop-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.shop-tab {
  padding: 10px 22px;
  border: 1px solid #D8D0C0;
  background: var(--white);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.shop-tab.active {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}

.shop-grid,
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.shop-card,
.report-card {
  background: var(--white);
  border: 1px solid #E8E0D0;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.shop-card:hover,
.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 28, 57, 0.08);
}

.shop-card h3,
.report-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.shop-card .type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.shop-card .price,
.report-card .price {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: var(--gold);
  margin: 12px 0 18px;
}

.report-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.shop-card .actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-buy {
  flex: 1;
  text-align: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px;
  border-radius: 4px;
}

.btn-info {
  padding: 12px 16px;
  border: 1px solid #D8D0C0;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 4px;
}

.report-card a,
.report-card .btn-buy-inline {
  display: inline-block;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 3px;
}

.report-card a:hover {
  background: var(--navy-mid);
}

.cta-box {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: var(--navy);
  border-radius: 8px;
}

.cta-box h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.cta-box a {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 3px;
  display: inline-block;
}

/* Checkout */
.checkout-page {
  padding: 48px 0 70px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.checkout-panel {
  background: var(--white);
  border: 1px solid #E8E0D0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 28, 57, 0.06);
}

.checkout-panel-head {
  background: var(--navy);
  padding: 16px 22px;
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-panel-body {
  padding: 24px;
}

.checkout-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.checkout-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  border: 1px solid #D8D0C0;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 0.85rem;
  background: var(--cream);
  outline: none;
  font-family: inherit;
}

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

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #EEE3C8;
  font-size: 0.88rem;
}

.summary-row.total {
  border-bottom: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  padding-top: 16px;
}

.price-big {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
  margin: 12px 0 20px;
}

.btn-pay {
  width: 100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}

.btn-pay:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-msg {
  margin-top: 14px;
  font-size: 0.84rem;
  display: none;
}

.checkout-msg.show {
  display: block;
}

.checkout-msg.error {
  color: #DC2626;
}

.checkout-msg.success {
  color: #059669;
}

.secure-note {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Payment result pages */
.payment-wrap {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 80px;
}

.payment-card {
  max-width: 520px;
  width: 100%;
  background: var(--white);
  border: 1px solid #E8E0D0;
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 28, 57, 0.08);
}

.payment-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.payment-icon.success {
  background: #D1FAE5;
  color: #059669;
}

.payment-icon.failed {
  background: #FEE2E2;
  color: #DC2626;
}

.payment-card h1 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.payment-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.order-box {
  background: var(--cream);
  border-radius: 6px;
  padding: 16px;
  margin: 22px 0;
  text-align: left;
  font-size: 0.85rem;
}

.order-box b {
  color: var(--navy);
}

.payment-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.payment-btns a {
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-btns .primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
}

.payment-btns .ghost {
  border: 1px solid #D8D0C0;
  color: var(--navy);
}

@media (max-width: 900px) {
  .shop-grid,
  .reports-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shop-grid,
  .reports-grid,
  .services-page-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== INQUIRY / REGISTER FORMS ===== */
.forms-section {
  padding: 70px 0;
  background: var(--cream-dark);
}

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form-panel {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 28, 57, 0.08);
}

.form-header {
  background: var(--navy);
  padding: 16px 24px;
}

.form-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.form-body {
  padding: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid #D8D0C0;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  background: var(--cream);
  font-family: inherit;
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}

.btn-submit-navy {
  width: 100%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px;
  border: none;
  border-radius: 4px;
  margin-top: 8px;
  cursor: pointer;
  font-family: inherit;
}

.btn-submit-navy:hover {
  background: var(--navy-mid);
}

.btn-submit-gold {
  width: 100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px;
  border: none;
  border-radius: 4px;
  margin-top: 8px;
  cursor: pointer;
  font-family: inherit;
}

.form-note {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

.form-msg {
  margin-top: 12px;
  font-size: 0.82rem;
  text-align: center;
  display: none;
}

.form-msg.show,
.form-msg.success,
.form-msg.error {
  display: block;
}

.form-msg.success {
  color: #059669;
}

.form-msg.error {
  color: #DC2626;
}

.inquiry-intro {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

/* ===== SERVICES PAGE ===== */
.services-page-section {
  padding: 60px 0 70px;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-page-card {
  background: var(--white);
  border: 1px solid #E8E0D0;
  border-radius: 8px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 28, 57, 0.08);
}

.service-page-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-page-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.service-page-card .price {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.service-page-card .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-page-card .actions a {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px;
  border-radius: 4px;
}

.service-page-card .btn-details {
  background: var(--navy);
  color: var(--gold-light);
}

.service-page-card .btn-buy-sm {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
}

@media (max-width: 900px) {
  .forms-grid {
    grid-template-columns: 1fr;
  }

  .services-page-grid {
    grid-template-columns: 1fr 1fr;
  }
}
