/* ===========================================================
   Vaazhi Software Solutions — stylesheet
   Converted from Tailwind/React to plain CSS
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  /* ---- Radius scale ---- */
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  /* ---- Surfaces ---- */
  --background: #fefcfb;
  --foreground: #1c1512;
  --card: #ffffff;
  --card-foreground: #1c1512;

  --secondary: #f6f1ec;
  --secondary-foreground: #241d19;
  --muted: #f6f1ec;
  --muted-foreground: #756a63;

  --border: #e9e1d9;
  --input: #e9e1d9;
  --ring: #e64a2e;

  /* ---- Brand: matched to the phoenix mark (crimson -> ember -> amber) ---- */
  --brand: #d8331f;
  --brand-foreground: #fffaf6;
  --brand-glow: #f6a13a;
  --ink: #221410;

  --gradient-brand: linear-gradient(135deg, #c9203a 0%, #e5432a 45%, #f6931f 100%);
  --gradient-soft: linear-gradient(180deg, #fefcfb 0%, #faf1e7 100%);
  --gradient-radial: radial-gradient(ellipse at top, rgba(246, 165, 90, 0.4), transparent 60%);
  --gradient-ink: linear-gradient(160deg, #241410 0%, #3b1712 55%, #5a1c14 100%);

  /* ---- Shadows ---- */
  --shadow-soft: 0 1px 2px rgba(28, 21, 18, 0.04), 0 8px 24px -8px rgba(28, 21, 18, 0.08);
  --shadow-glow: 0 20px 60px -20px rgba(216, 51, 31, 0.38);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 1px 3px rgba(28, 21, 18, 0.06), 0 12px 32px -12px rgba(28, 21, 18, 0.12);

  /* ---- Type ---- */
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;

  /* ---- Spacing scale (used for consistent section rhythm) ---- */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient-brand {
  background-image: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gradient-brand {
  background-image: var(--gradient-brand);
}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.25s ease;
  background: transparent;
}

.site-header.scrolled {
  background-color: rgba(254, 253, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-link img {
  height: 2.5rem;
  width: auto;
}

.brand-link span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background-image: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-brand .brand-link span {
  font-size: 1.375rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background-image: var(--gradient-brand);
  transition: right 0.25s ease;
}

.main-nav a:hover {
  color: var(--foreground);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.main-nav a.active {
  color: var(--foreground);
}

.btn-quote-header {
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  transition: opacity 0.2s ease;
}

.btn-quote-header:hover {
  opacity: 0.9;
}

.menu-toggle {
  display: inline-flex;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  padding: 1rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu-inner a {
  padding: 0.25rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.mobile-menu-inner .btn-quote-mobile {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .btn-quote-header { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

@media (min-width: 1100px) {
  .main-nav { gap: 2rem; }
}

/* ---------------- Scroll reveal ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.center-block {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.container-narrow {
  max-width: 48rem;
}

/* ---------------- Layout utilities (replace repeated inline styles) ---------------- */
.lead-block--spaced { margin-bottom: var(--space-xl); }
.section-sub--spaced { margin-top: var(--space-sm); }
.section-flush-bottom { border-top: 1px solid var(--border); border-bottom: none; }
.eyebrow--on-brand { color: rgba(255, 255, 255, 0.85); }

.mini-form-wrap {
  max-width: 640px;
  margin: var(--space-xl) auto 0;
}

.mini-form-wrap.is-narrow {
  max-width: 34rem;
  margin-top: var(--space-lg);
}

.mini-form-title {
  font-size: 1.35rem;
  text-align: center;
}

.mini-form-title.is-small {
  font-size: 1.2rem;
}

.mini-form-wrap .contact-form { margin-top: var(--space-md); }
.mini-form-wrap .form-grid-2 { margin-top: var(--space-sm); }
.mini-form-wrap .field { margin-top: var(--space-sm); }
.mini-form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* ---------------- Icons (inline SVG helper sizing) ---------------- */
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-md { width: 1rem; height: 1rem; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.icon-xl { width: 1.5rem; height: 1.5rem; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gradient-soft);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gradient-radial);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 9999px;
  background-image: var(--gradient-brand);
  filter: blur(64px);
  pointer-events: none;
}

.hero-blob.blob-1 {
  top: 6rem;
  right: -6rem;
  height: 24rem;
  width: 24rem;
  opacity: 0.2;
}

.hero-blob.blob-2 {
  bottom: -6rem;
  left: -6rem;
  height: 24rem;
  width: 24rem;
  opacity: 0.1;
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  height: 130%;
  max-height: 46rem;
  width: auto;
  opacity: 0.07;
  filter: saturate(1.4);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1023px) {
  .hero-mark { right: -18%; opacity: 0.05; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-content {
  position: relative;
  max-width: 48rem;
}

/* ---------------- Hero visual (decorative mock UI) ---------------- */
.hero-visual {
  position: relative;
  display: none;
  height: 26rem;
}

@media (min-width: 1024px) {
  .hero-visual { display: block; }
}

.hero-visual-card {
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.main-card {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 3rem;
  padding: 1.5rem;
  animation: float-slow 6s ease-in-out infinite;
}

.mock-dots {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.mock-dots span {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
  background: var(--border);
}

.mock-dots span:first-child { background: var(--brand); }

.mock-line {
  height: 0.625rem;
  border-radius: 9999px;
  background: var(--secondary);
  margin-bottom: 0.75rem;
}

.mock-line.w-70 { width: 70%; }
.mock-line.w-40 { width: 40%; }
.mock-line.w-90 { width: 90%; margin-bottom: 1.5rem; }

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.625rem;
  height: 6rem;
}

.mock-bars span {
  flex: 1;
  border-radius: 0.375rem 0.375rem 0 0;
  background-image: var(--gradient-brand);
  opacity: 0.85;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
}

.float-card-1 {
  bottom: 3.5rem;
  left: -1rem;
  animation: float-slow 5s ease-in-out infinite 0.3s;
}

.float-card-2 {
  top: 3rem;
  right: -1.5rem;
  animation: float-slow 5.5s ease-in-out infinite 0.6s;
}

.float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.625rem;
  background-image: var(--gradient-brand);
  color: var(--brand-foreground);
}

.float-title {
  font-size: 0.8125rem;
  font-weight: 700;
}

.float-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .main-card, .float-card-1, .float-card-2 { animation: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  box-shadow: var(--shadow-soft);
}

.hero-badge .dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background: var(--brand);
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 5.5vw + 1rem, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
}

.hero p.lead {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 0.6vw + 0.9rem, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  background-image: var(--gradient-brand);
  color: var(--brand-foreground);
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease;
  font-size: 0.9375rem;
}

.btn-primary:hover {
  transform: scale(1.02);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 600;
  transition: background 0.2s ease;
  font-size: 0.9375rem;
}

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

.hero-stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 32rem;
}

.hero-stats dt {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-stats dd {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------------- Sections (generic) ---------------- */
section {
  padding: 6rem 0;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand);
}

.section-title {
  margin-top: 0.75rem;
  font-size: clamp(1.875rem, 2.6vw + 1rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-sub {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-head .lead-block {
  max-width: 42rem;
}

.section-head .side-note {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .section-head .side-note { max-width: 24rem; }
}

/* ---------------- Services grid ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  text-align: left;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-image: var(--gradient-brand);
  color: var(--brand-foreground);
  box-shadow: var(--shadow-soft);
}

.service-card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.service-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.service-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover .service-cta {
  opacity: 1;
}

/* ---------------- Why Us ---------------- */
.whyus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .whyus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .whyus-grid { grid-template-columns: repeat(4, 1fr); }
}

.whyus-card {
  text-align: center;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whyus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.whyus-icon {
  display: flex;
  height: 3.25rem;
  width: 3.25rem;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-image: var(--gradient-brand);
  color: var(--brand-foreground);
  box-shadow: var(--shadow-soft);
}

.whyus-card h3 {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.whyus-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ---------------- Testimonials ---------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  position: relative;
  margin: 0;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.testimonial-quote-icon {
  color: var(--brand);
  opacity: 0.35;
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
  margin-top: 0.75rem;
}

.star-filled {
  fill: var(--brand);
  stroke: var(--brand);
}

.testimonial-card blockquote {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--foreground);
  flex-grow: 1;
}

.testimonial-card figcaption {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-role {
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ---------------- FAQ ---------------- */
.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
}

.faq-chevron {
  display: flex;
  flex-shrink: 0;
  color: var(--brand);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.375rem;
}

.faq-item.open .faq-answer {
  padding: 0 1.375rem 1.25rem;
}

.faq-answer p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* ---------------- CTA Banner ---------------- */
.cta-banner {
  padding: 4rem 0;
  background-image: var(--gradient-brand);
  position: relative;
  overflow: hidden;
}

.cta-banner-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .cta-banner-inner { flex-direction: row; align-items: center; }
}

.cta-banner-title {
  margin-top: 0.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-foreground);
  max-width: 30rem;
}

@media (min-width: 768px) {
  .cta-banner-title { font-size: 2.25rem; }
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: var(--brand-foreground);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  white-space: nowrap;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.btn-cta-white:hover {
  transform: scale(1.03);
}

/* ---------------- Tech stack ---------------- */
.section-alt {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .stack-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.stack-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.stack-card ul {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stack-card li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 500;
}

.stack-check {
  display: flex;
  height: 1.25rem;
  width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(216, 51, 31, 0.1);
  color: var(--brand);
  flex-shrink: 0;
}

/* ---------------- Process ---------------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
}

.process-card:hover {
  box-shadow: var(--shadow-glow);
}

.process-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  background-image: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.process-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-intro p.max-w {
  max-width: 28rem;
}

.contact-rows {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: color 0.2s ease;
}

a.contact-row:hover {
  color: var(--brand);
}

.contact-row .icon-badge {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-image: var(--gradient-brand);
  color: var(--brand-foreground);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
}

.contact-row .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.contact-row .value {
  display: block;
  margin-top: 0.125rem;
  font-weight: 500;
}

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

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.field { margin-top: 0; }
.field + .field { margin-top: 1rem; }

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--input);
  background: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(216, 51, 31, 0.15);
}

.field textarea { resize: none; }
.field select { cursor: pointer; }

/* ---------------- Accessibility: visible keyboard focus ---------------- */
a:focus-visible,
button:focus-visible,
.service-card:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.form-footer-msg {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-align: center;
  color: var(--muted-foreground);
}

.btn-submit {
  margin-top: 1.5rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  background-image: var(--gradient-brand);
  color: var(--brand-foreground);
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease;
  font-size: 0.9375rem;
}

.btn-submit:hover { transform: scale(1.01); }

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-inner {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 20rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.footer-col ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-col ul.muted-list { color: var(--muted-foreground); }

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

/* ---------------- Quote modal ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(28, 21, 18, 0.45);
  backdrop-filter: blur(4px);
}

.modal-overlay.open { display: flex; }

.modal-box {
  position: relative;
  width: 100%;
  max-width: 32rem;
  border-radius: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  border-radius: 9999px;
  background: none;
  border: none;
  color: var(--foreground);
  transition: background 0.2s ease;
}

.modal-close:hover { background: var(--secondary); }

.modal-box .eyebrow { font-size: 0.75rem; }

.modal-box h3 {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-box .quote-meta {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.quote-summary {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(246, 241, 236, 0.7);
  padding: 1rem;
}

.quote-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.quote-row .qlabel { font-size: 0.875rem; font-weight: 500; }
.quote-row .qsub { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.quote-row .qvalue { font-size: 0.875rem; font-weight: 600; white-space: nowrap; }

.quote-total {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.quote-total .qtotal-label { font-size: 0.875rem; font-weight: 600; }
.quote-total .qtotal-value { font-size: 1.25rem; font-weight: 700; color: var(--brand); }

.modal-fields {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .modal-actions { flex-direction: row; }
}

.btn-download {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background-image: var(--gradient-brand);
  color: var(--brand-foreground);
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease;
}

.btn-download:hover { transform: scale(1.01); }

.btn-close-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-close-modal:hover { background: var(--secondary); }

.modal-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--foreground);
  color: var(--background);
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



/* ===========================================================
   Admin dashboard & login (reuses the design tokens above)
   =========================================================== */
.admin-shell {
  min-height: 100vh;
  background: var(--gradient-soft);
  padding: 2.5rem 1.5rem;
}

.admin-container {
  max-width: 72rem;
  margin: 0 auto;
}

.admin-login-card {
  max-width: 24rem;
  margin: 4rem auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 2.5rem 2rem;
  text-align: center;
}

.admin-login-card .brand-link {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.admin-login-card h1 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.admin-login-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.admin-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  text-align: left;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-header h1 {
  font-size: 1.5rem;
}

.admin-status {
  background: #eafaf0;
  border: 1px solid #bdeccc;
  color: #1e7b45;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.admin-tabs-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .admin-tabs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.admin-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.admin-panel h2 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-panel h2 .count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--muted);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-height: 32rem;
  overflow-y: auto;
}

.admin-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
}

.admin-row .row-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.admin-row .row-meta {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

.admin-row .row-body {
  color: var(--foreground);
  line-height: 1.5;
}

.admin-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.admin-badge.pending { background: #fff4e5; color: #b8590c; }
.admin-badge.approved { background: #eafaf0; color: #1e7b45; }
.admin-badge.rejected { background: #fdecea; color: #c0392b; }

.admin-row-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.admin-btn {
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.admin-btn.approve { background: #1e7b45; border-color: #1e7b45; color: #fff; }
.admin-btn.reject { background: #c0392b; border-color: #c0392b; color: #fff; }

.admin-empty {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  text-align: center;
  padding: 1.5rem 0;
}

.admin-logout-form {
  display: inline;
}

/* ===========================================================
   Neon 3D Cursor Trail
   =========================================================== */
@media (pointer: fine) {
  html, body {
    cursor: none;
  }

  a, button, input, textarea, select, [role="button"], .btn, [data-cursor-hover] {
    cursor: none;
  }

  #vaazhi-cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: screen;
  }

  #vaazhi-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-glow, #f6a13a);
    box-shadow:
      0 0 6px 2px rgba(246, 161, 58, 0.9),
      0 0 16px 6px rgba(229, 67, 42, 0.55);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, opacity 0.18s ease;
    will-change: transform;
  }

  #vaazhi-cursor-dot.is-hover {
    width: 6px;
    height: 6px;
    background: #fff;
  }

  #vaazhi-cursor-dot.is-down {
    width: 6px;
    height: 6px;
  }

  #vaazhi-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(246, 161, 58, 0.85);
    box-shadow:
      0 0 10px 1px rgba(229, 67, 42, 0.45),
      inset 0 0 10px 1px rgba(246, 161, 58, 0.25);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.25s cubic-bezier(.2,.8,.2,1),
                height 0.25s cubic-bezier(.2,.8,.2,1),
                border-color 0.25s ease,
                opacity 0.25s ease;
    will-change: transform;
  }

  #vaazhi-cursor-ring.is-hover {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
      0 0 18px 2px rgba(246, 161, 58, 0.6),
      inset 0 0 14px 2px rgba(229, 67, 42, 0.35);
  }

  #vaazhi-cursor-ring.is-down {
    border-width: 2.5px;
  }
}

/* Never hide the native cursor on touch/coarse-pointer devices */
@media (pointer: coarse) {
  #vaazhi-cursor-trail,
  #vaazhi-cursor-dot,
  #vaazhi-cursor-ring {
    display: none;
  }
}
