:root {
  --color-primary: #1d4ed8;
  --color-primary-dark: #1e3a8a;
  --color-accent: #f59e0b;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-bg-alt: #f3f4f6;
  --color-border: #e5e7eb;
  --radius: 10px;
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: #ffffff;
}

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

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

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  color: #111827;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--color-text); }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-small { padding: 8px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; text-align: center; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111827;
}
.logo span { color: var(--color-primary); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a:not(.btn) {
  color: var(--color-text);
  font-weight: 500;
}
.main-nav a:not(.btn):hover { color: var(--color-primary); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #111827;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 60%);
  padding: 64px 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-copy { flex: 1 1 480px; }
.hero-sub { font-size: 1.1rem; color: var(--color-muted); max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--color-muted);
}
.hero-points li::before { content: "\2713  "; color: var(--color-primary); font-weight: 700; }

.hero-art {
  flex: 1 1 380px;
  display: flex;
  justify-content: center;
}
.hero-art .contact-form-wrap {
  width: 100%;
  max-width: 440px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}
.form-heading {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

/* Trust strip */
.trust-strip {
  background: var(--color-primary-dark);
  color: #e0e7ff;
  text-align: center;
  padding: 14px 0;
  font-size: 0.95rem;
}
.trust-strip p { margin: 0; color: #e0e7ff; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-intro {
  max-width: 720px;
  color: var(--color-muted);
  font-size: 1.05rem;
}
.contact-section { background: #ffffff; }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
}
.card h3 { color: var(--color-primary-dark); }
.card p { color: var(--color-muted); margin-bottom: 0; }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 24px;
}
.why-item h3 { color: var(--color-primary-dark); }
.why-item p { color: var(--color-muted); margin-bottom: 0; }

/* Tag list */
.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
}
.tag-list li {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* Module / feature grid */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.module-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
}
.module-card h3 { color: #111827; }
.module-card-purple { border-top-color: #7c6cf6; }
.module-card-blue { border-top-color: #3b9fd6; }
.module-card-green { border-top-color: #2bbf9c; }
.module-card-brown { border-top-color: #c1714b; }
.tag-list-compact li {
  background: var(--color-bg-alt);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
}

/* Customer logo strip */
.logo-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
}
.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.15s ease, opacity 0.15s ease;
}
.logo-badge:hover { filter: grayscale(0%); opacity: 1; }
.logo-badge img { display: block; height: 48px; width: auto; max-width: 220px; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
}
.testimonial-card p {
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 14px;
}
.testimonial-card footer {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}
.testimonial-card cite { font-style: normal; }

/* FAQ */
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  color: #111827;
}
.faq-list p { margin: 12px 0 0; color: var(--color-muted); }

/* Contact */
.contact-inner {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.contact-copy { flex: 1 1 360px; }
.contact-copy-centered {
  flex: 1 1 100%;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact-copy-centered .contact-details {
  align-items: center;
}
.contact-copy-centered .btn { margin-top: 8px; }
.contact-details {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form-wrap {
  flex: 1 1 420px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.92rem; color: var(--color-text); }
.form-row input,
.form-row textarea {
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-split > div { display: flex; flex-direction: column; gap: 6px; }
.form-note { font-size: 0.85rem; color: var(--color-muted); margin: 12px 0 0; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 600;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Footer */
.site-footer { background: #111827; color: #d1d5db; padding-top: 48px; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand { font-size: 1.2rem; font-weight: 800; color: #ffffff; }
.footer-brand span { color: #93c5fd; }
.site-footer h4 { color: #ffffff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: #ffffff; }
.site-footer address { font-style: normal; color: #d1d5db; }
.site-footer p { color: #9ca3af; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 18px 0;
  font-size: 0.85rem;
  color: #9ca3af;
}
.footer-bottom p { margin: 0; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.3);
  text-decoration: none;
}
.whatsapp-float svg { display: block; }

@media (max-width: 960px) {
  .hero-inner { gap: 32px; }
  .contact-inner { gap: 32px; }
}

@media (max-width: 720px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  .main-nav.is-open { max-height: 420px; }
  .main-nav a:not(.btn) {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav a.btn { margin: 14px 20px; }
  .header-inner { position: relative; }
  .form-row-split { grid-template-columns: 1fr; }

  .hero { padding: 40px 0; }
  .hero-inner { gap: 24px; }
  .section { padding: 40px 0; }
  .hero-art .contact-form-wrap,
  .contact-form-wrap { padding: 20px; }
  .module-grid,
  .card-grid,
  .why-grid,
  .testimonial-grid { gap: 16px; }
  .logo-strip { justify-content: center; }
}

@media (max-width: 480px) {
  :root { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .footer-inner { text-align: center; }
  .footer-inner ul { align-items: center; }
  .whatsapp-float { width: 48px; height: 48px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
