/* ============================================================
   Neoklan Technologies — site stylesheet
   ============================================================ */

:root {
  --primary: #1857c9;
  --primary-dark: #123f96;
  --primary-darker: #0d2f72;
  --primary-light: #eaf1fd;
  --primary-tint: #dbe8fb;
  --heading: #0e191e;
  --paragraph: #5b6470;
  --bg-cream: #f6f8fb;
  --white: #ffffff;
  --border: #e5e9f0;
  --dark: #0b1727;
  --dark-2: #101f34;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 30px rgba(14, 25, 30, 0.06);
  --shadow-card-hover: 0 20px 45px rgba(24, 87, 201, 0.15);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Urbanist", "Segoe UI", Arial, sans-serif;
  color: var(--paragraph);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5 {
  color: var(--heading);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
  line-height: 1.75;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

.section {
  padding: 96px 0;
}

@media (max-width: 900px) {
  .section { padding: 64px 0; }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.bg-tint {
  background: var(--bg-cream);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--heading);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 14px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-weight: 800;
  font-size: 22px;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--heading);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 40px;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 24px;
}

.hero-eyebrow .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

.hero h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero-lead {
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  color: var(--heading);
  font-weight: 800;
}

.hero-stat span {
  font-size: 13px;
  color: var(--paragraph);
}

.hero-visual {
  position: relative;
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  padding: 64px 0 56px;
  background: var(--dark);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(24, 87, 201, 0.55), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(24, 87, 201, 0.35), transparent 50%);
  text-align: center;
  color: var(--white);
}

.page-header .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #b9d1fb;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #b9c4d4;
}

.breadcrumb a { color: #b9c4d4; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--white); }

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}

.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(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

.icon-badge svg { width: 28px; height: 28px; }

.card h2,
.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}

/* ---------- Feature list (checkmarks) ---------- */

.check-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--heading);
  font-size: 16px;
}

.check-item .tick {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-item .tick svg { width: 14px; height: 14px; }

/* ---------- Process / steps ---------- */

.step-card {
  position: relative;
  padding-top: 8px;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-tint);
  margin-bottom: 8px;
  line-height: 1;
}

/* ---------- Stats strip ---------- */

.stats-strip {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  color: var(--white);
}

.stats-strip .stat strong {
  font-size: 36px;
  font-weight: 800;
  display: block;
  color: var(--white);
}

.stats-strip .stat span {
  font-size: 14px;
  color: #9fb2c8;
}

/* ---------- Testimonial ---------- */

.testimonial-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(24, 87, 201, 0.45), transparent 70%);
  top: -120px;
  right: -80px;
}

.testimonial-quote {
  font-size: 22px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
}

.testimonial-person strong {
  color: var(--white);
  display: block;
  font-size: 15px;
}

.testimonial-person span {
  font-size: 13px;
  color: #9fb2c8;
}

/* ---------- Portfolio ---------- */

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 700;
  font-size: 14px;
  color: var(--heading);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.project-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-thumb svg {
  width: 72px;
  height: 72px;
  position: relative;
  z-index: 1;
}

.project-thumb .cat-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--heading);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 1;
}

.project-body {
  padding: 24px 26px 28px;
}

.project-body h2 {
  font-size: 19px;
  margin-bottom: 6px;
}

.project-body span {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* gradient variants for project thumbs */
.grad-1 { background: linear-gradient(135deg, #1857c9, #4c8bf0); }
.grad-2 { background: linear-gradient(135deg, #0d2f72, #1857c9); }
.grad-3 { background: linear-gradient(135deg, #123f96, #3f7fe0); }
.grad-4 { background: linear-gradient(135deg, #1a5fd6, #7db3ff); }
.grad-5 { background: linear-gradient(135deg, #0b1727, #1857c9); }

/* ---------- FAQ ---------- */

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
  font-size: 16px;
}

.faq-question .plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .plus {
  transform: rotate(45deg);
  background: var(--primary);
  color: white;
}

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

.faq-answer-inner {
  padding: 0 26px 24px;
  font-size: 15px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: #b9c4d4;
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-name { color: var(--white); }

.footer-brand p {
  color: #9fb2c8;
  font-size: 14px;
  margin: 20px 0 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-socials svg { width: 16px; height: 16px; }

.footer-col h3 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a {
  font-size: 14px;
  color: #9fb2c8;
  transition: color 0.2s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #9fb2c8;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-size: 13px;
  color: #7c8ba0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: #9fb2c8; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--primary-darker), var(--primary));
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: white;
  overflow: hidden;
  position: relative;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.06);
  right: -140px;
  top: -140px;
}

.cta-band h2 {
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.cta-band-text { max-width: 560px; position: relative; z-index: 1;}
.cta-band-action { flex-shrink: 0; position: relative; z-index: 1;}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: 44px;
}

.contact-info-card h2 {
  color: white;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:first-of-type { border-top: none; padding-top: 28px; }

.contact-info-item .icon-badge {
  background: rgba(24, 87, 201, 0.25);
  color: #8fb4f2;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 0;
}

.contact-info-item .icon-badge svg { width: 20px; height: 20px; }

.contact-info-item strong {
  display: block;
  color: white;
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item span, .contact-info-item a {
  font-size: 14px;
  color: #9fb2c8;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

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

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

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

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
}

.form-field input,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--heading);
  background: var(--bg-cream);
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}

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

.form-feedback {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  min-height: 0;
}

.form-feedback.success { color: #157a4a; }
.form-feedback.error { color: #c0392b; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 340px;
}

/* ---------- About page specifics ---------- */

.value-row {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.value-row:first-of-type { border-top: none; padding-top: 0; }

.value-row .num {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  width: 40px;
}

.value-row h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.value-row p { font-size: 14px; margin-bottom: 0; }

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--primary-darker), var(--primary));
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual svg { width: 62%; height: auto; }

.pill-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pill-badge strong {
  display: block;
  font-size: 22px;
  color: var(--heading);
}

.pill-badge span {
  font-size: 12px;
  color: var(--paragraph);
}

/* ---------- Logo mark tile (specializations etc) ---------- */

.tech-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-card);
}

.tech-pill .icon-badge { margin-bottom: 0; }

.tech-pill strong {
  display: block;
  color: var(--heading);
  font-size: 16px;
}

.tech-pill span {
  font-size: 13px;
  color: var(--paragraph);
}

/* ---------- Products page ---------- */

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.product-mark {
  flex-shrink: 0;
}

.product-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--heading);
  margin: 0;
}

.product-tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-left: auto;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}

.feature-chip {
  font-size: 12px;
  font-weight: 700;
  color: var(--heading);
  background: var(--bg-cream);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}

.product-highlight {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 24px;
}

.product-highlight strong {
  display: block;
  color: var(--heading);
  font-size: 15px;
  margin-bottom: 4px;
}

.product-highlight span {
  font-size: 14px;
  color: var(--paragraph);
}

.plugin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.plugin-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.plugin-item strong {
  display: block;
  color: var(--heading);
  font-size: 14px;
  margin-bottom: 4px;
}

.plugin-item span {
  font-size: 13px;
  color: var(--paragraph);
}

.plugin-item a {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.product-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
/* Content is visible by default; only hidden once JS confirms it can reveal it again. */

.js-ready [data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready [data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ---------- Utilities ---------- */

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }

.section--flush-top { padding-top: 0; }
.section--tight-top { padding-top: 56px; }

.btn-block { width: 100%; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.view-all-cta {
  text-align: center;
  margin-top: 44px;
}

.specialization-note {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: center;
}

.pill-badge-icon { font-size: 26px; }

.contact-info-card > p { color: #9fb2c8; }
.contact-info-card .footer-socials { margin-top: 28px; }

.map-placeholder {
  background: linear-gradient(135deg, var(--primary-light), var(--bg-cream));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--paragraph);
}

.map-placeholder strong { color: var(--heading); }

/* ---------- Mobile nav ---------- */

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 28px; }
  .form-row { grid-template-columns: 1fr; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    inset: 73px 0 0 0;
    background: white;
    padding: 32px 24px;
    gap: 28px;
    overflow-y: auto;
    height: calc(100vh - 73px);
  }

  .main-nav.open .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .main-nav.open .header-cta {
    width: 100%;
  }

  .main-nav.open .header-cta .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 32px 24px; gap: 28px 16px;}
  .footer-top { grid-template-columns: 1fr; }
  .testimonial-card, .contact-info-card, .contact-form-card { padding: 30px 24px; }
  .product-card { padding: 28px 24px; }
  .plugin-item { flex-direction: column; align-items: flex-start; }
}
