@import url("https://fonts.googleapis.com/css2?family=Rancho&display=swap");

:root {
  --ink: #0f172a;
  --slate: #1e293b;
  --slate-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: #f8fafc;
  --green: #16a34a;
  --green-deep: #15803d;
  --green-soft: #dcfce7;
  --green-glow: rgba(22, 163, 74, 0.14);
  --sf-bg: #435966;
  --sf-sales: #ffffff;
  --sf-funda: #10c469;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--wash);
  color: var(--ink);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--slate-soft);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 30px var(--green-glow);
}

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  padding: 0;
}

/* Sales Funda® brand mark — same treatment as fqrs.co.in partnership logo */
.sf-brand-mark {
  font-family: "Rancho", cursive !important;
  font-size: 1.28rem;
  letter-spacing: 1px;
  background-color: var(--sf-bg);
  color: var(--sf-sales);
  padding: 0.35rem 0.9rem 0.4rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sf-brand-mark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(67, 89, 102, 0.35);
}

.sf-sales {
  color: var(--sf-sales);
  font-weight: normal;
  font-size: 1em;
}

.sf-funda {
  color: var(--sf-funda);
  margin-left: 6px;
  font-weight: normal;
  font-size: 1em;
}

.sf-reg {
  color: var(--sf-sales);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 0.65em;
  margin-left: 0;
  top: -0.25em;
  position: relative;
}

.site-nav a.sf-brand-mark {
  font-size: 1.28rem;
  font-weight: normal;
  color: var(--sf-sales);
}

.site-nav a.sf-brand-mark .sf-reg {
  font-weight: normal;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(22, 163, 74, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(30, 41, 59, 0.12), transparent 50%),
    linear-gradient(180deg, #f1f5f9 0%, #ffffff 70%);
  padding: 5.5rem 0 4.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1,
.page-hero h1 {
  font-family: var(--display);
  font-weight: 650;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.hero-lead,
.page-hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  color: var(--slate-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-row span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-panel {
  background: var(--slate);
  color: #fff;
  border-radius: 28px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.35), transparent 70%);
}

.hero-panel h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.hero-panel p {
  color: #94a3b8;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.panel-links {
  display: grid;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.panel-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.panel-links a:hover {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.35);
}

.panel-links a small {
  color: #94a3b8;
  font-weight: 500;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head .label {
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.wash {
  background: var(--wash);
}

.ink {
  background: var(--ink);
  color: #fff;
}

.ink .section-head p,
.ink .muted {
  color: #94a3b8;
}

.muted {
  color: var(--muted);
}

/* Cards / grids */
.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.98rem;
}

.card ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

.card li {
  padding-left: 1.1rem;
  position: relative;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.product-card .card-cta {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--green-deep);
  font-weight: 700;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--green-deep);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  color: var(--slate-soft);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

/* Technology portfolio hierarchy */
.portfolio-stack {
  display: grid;
  gap: 1rem;
}

.portfolio-flagship {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.portfolio-flagship h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.portfolio-child {
  margin-top: 1.25rem;
  margin-left: 0.5rem;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--green);
  background: var(--wash);
  border-radius: 0 14px 14px 0;
}

.portfolio-child h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.portfolio-meta {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.relation-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.relation-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.relation-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.relation-step span {
  color: var(--muted);
  font-size: 0.85rem;
}

.journey-list {
  display: grid;
  gap: 1.25rem;
  max-width: 42rem;
}

.journey-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.journey-item strong {
  color: var(--green-deep);
  font-size: 0.95rem;
}

.include-slot {
  min-height: 0;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(22, 163, 74, 0.35);
  border-color: var(--green);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .form-note {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.cert-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Page hero */
.page-hero {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(22, 163, 74, 0.12), transparent 50%),
    linear-gradient(180deg, #f1f5f9, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 18ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--green-deep);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
}

.contact-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-block h3 {
  margin-bottom: 0.75rem;
}

.contact-block p,
.contact-block a {
  color: var(--muted);
}

.contact-block a:hover {
  color: var(--green-deep);
}

.contact-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.meta-item strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* CTA band */
.cta-band {
  background:
    radial-gradient(circle at 20% 50%, rgba(22, 163, 74, 0.25), transparent 40%),
    var(--slate);
  color: #fff;
  border-radius: 28px;
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: #94a3b8;
  max-width: 34rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.site-footer p {
  color: #94a3b8;
  font-size: 0.95rem;
}

.site-footer a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #64748b;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: rise 0.7s ease both;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid,
  .grid-4,
  .grid-3,
  .relation-strip {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    width: auto;
    align-self: flex-start;
    margin-top: 0.75rem;
  }

  .hero,
  .page-hero,
  section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-strip,
  .relation-strip,
  .journey-item {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }
}
