:root {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.1);
  --primary: #7f1d1d;
  --accent: #b45309;
  --rose-gold: #d99b82;
  --header-bg: rgba(255, 255, 255, 0.88);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] {
  --bg: #0b0f17;
  --bg-alt: #111827;
  --card: #151c28;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(229, 169, 144, 0.18);
  --primary: #8b1528;
  --accent: #e5a990;
  --rose-gold: #e5a990;
  --header-bg: rgba(11, 15, 23, 0.88);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top Scroll Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #8b1528, #e5a990, #10b981);
  z-index: 10000;
  transition: width 0.08s linear;
}

/* Sleek Single-Row Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b1528, #4a0a16);
  color: #f8d5c4;
  border: 1.5px solid var(--rose-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.logo-text {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-text strong {
  color: var(--accent);
}

/* Running Marquee Ticker */
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ticker-track {
  display: inline-block;
  animation: marqueeScroll 34s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.compact-nav {
  display: flex;
  gap: 0.85rem;
  margin-right: 0.35rem;
}

.compact-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 0.2s;
}

.compact-nav a:hover {
  color: var(--accent);
}

.pill-toggle, .icon-toggle {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}

.icon-toggle {
  padding: 0.35rem 0.6rem;
}

.pill-toggle:hover, .icon-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.75rem;
  text-align: center;
  background: radial-gradient(circle at top center, rgba(139, 21, 40, 0.18), transparent 68%);
}

.hero-eyebrow {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
}

.hero-title {
  font-size: clamp(2.15rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, #e5a990, #f59e0b, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 740px;
  margin: 0 auto 2.4rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Oval Subdomain Gateway Pills */
.oval-gateway {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.oval-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  text-align: left;
}

.oval-pill:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 36px rgba(139, 21, 40, 0.24);
}

.pill-icon {
  font-size: 1.55rem;
}

.pill-meta {
  display: flex;
  flex-direction: column;
}

.pill-meta strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.pill-meta small {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

/* Sections & Portal Cards */
.section {
  padding: 4.25rem 0;
}

.alt-bg {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text-muted);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.featured-card {
  border: 1.5px solid rgba(229, 169, 144, 0.45);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(139, 21, 40, 0.14);
  color: var(--accent);
  border: 1px solid var(--border);
}

.card-emoji {
  font-size: 1.65rem;
}

.portal-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.portal-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.15rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.feature-list li {
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.btn-oval-cta {
  display: inline-block;
  text-align: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b1528, #630d1c);
  color: #ffffff;
  border: 1px solid rgba(229, 169, 144, 0.4);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-oval-cta:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.full-width {
  width: 100%;
}

/* 6 Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}

.pillar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.pillar-icon {
  font-size: 1.6rem;
  display: inline-block;
  margin-bottom: 0.55rem;
}

.pillar-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Vision & Mission */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.vm-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.vm-icon {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.vm-card h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.vm-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Customer Satisfaction Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.trust-item strong {
  display: block;
  font-size: 1.45rem;
  color: var(--accent);
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Reviews */
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.65rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.review-card p {
  font-size: 0.91rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  font-style: italic;
}

.reviewer strong {
  display: block;
  font-size: 0.92rem;
  color: var(--accent);
}

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

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow);
}

.faq-item summary {
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

/* Contact Box */
.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  margin-bottom: 0.65rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-size: 0.94rem;
}

.contact-details p {
  margin-bottom: 0.45rem;
  color: var(--text);
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Back to Top Button */
.btn-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #8b1528;
  color: #ffffff;
  border: 1.5px solid var(--rose-gold);
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  display: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  z-index: 999;
  transition: transform 0.2s;
}

.btn-top:hover {
  transform: translateY(-3px);
}

@media (max-width: 860px) {
  .ticker-wrap, .compact-nav {
    display: none;
  }
  .trust-strip {
    border-radius: 20px;
    padding: 1.25rem;
  }
}