@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --header-height: 80px;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --border-light: #e2e8f0;
  --border-focus: #3b82f6;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-subtle: #eff6ff;
  --primary-border: #bfdbfe;
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --whatsapp-subtle: #f0fdf4;
  --accent-amber: #d97706;
  --accent-amber-subtle: #fffbeb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3 {
  text-wrap: balance;
  color: var(--text-main);
}

h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h4 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--text-main);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.section-space {
  padding-block: clamp(64px, 8vw, 104px);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.text-gradient {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 15px;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  min-height: 42px;
  font-size: 13px;
}
.btn-outline-dark:hover {
  background-color: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.btn-card-action {
  width: 100%;
  margin-top: 16px;
  min-height: 44px;
  padding: 11px 16px;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s var(--ease);
}
.btn-card-action:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn:active {
  transform: scale(0.98);
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-inline: auto;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  min-height: 44px;
  transition: color 0.15s;
}
.desktop-nav a:hover {
  color: var(--primary);
}

.nav-highlight {
  color: var(--primary) !important;
}

.nav-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

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

.header-wa {
  padding: 9px 16px;
  min-height: 42px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
}

.mobile-drawer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 16px 0 24px;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 46px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

/* ==================== HERO SECTION ==================== */
.hero-clean {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background: radial-gradient(circle at 80% 20%, rgba(219, 234, 254, 0.45) 0%, rgba(248, 250, 252, 0) 50%),
              radial-gradient(circle at 10% 80%, rgba(241, 245, 249, 0.8) 0%, rgba(248, 250, 252, 0) 60%);
  border-bottom: 1px solid var(--border-light);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.hero-description {
  margin-top: 20px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-item strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.proof-item span {
  font-size: 12px;
  color: var(--text-subtle);
}

.proof-divider {
  width: 1px;
  height: 28px;
  background-color: var(--border-light);
}

/* Hero Visual Widget */
.hero-visual-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.2s var(--ease);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.preview-dots {
  display: flex;
  gap: 6px;
}
.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.preview-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.preview-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background-color: var(--primary-subtle);
  color: var(--primary);
}

.preview-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flow-step {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.2s;
}

.flow-step.active-pulse {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.flow-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

.flow-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flow-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flow-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-main);
}

.preview-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  flex-shrink: 0;
}

/* ==================== PORTFOLIO SECTION ==================== */
.portfolio-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.section-header-centered {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.section-lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 30px;
  background-color: #f1f5f9;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}
.tab-btn:hover {
  background-color: #e2e8f0;
  color: var(--text-main);
}
.tab-btn.is-active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.tab-count {
  font-size: 11px;
  opacity: 0.8;
}

/* Portfolio Cards Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.automation-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.automation-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.badge-category {
  background-color: #f1f5f9;
  color: var(--text-muted);
}

.badge-speed {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.card-title {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.card-pain {
  font-size: 13.5px;
  line-height: 1.55;
  color: #78350f;
  background-color: var(--accent-amber-subtle);
  border: 1px solid #fef3c7;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.card-pain strong {
  color: #92400e;
}

.card-how {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.card-how strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.flow-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-main);
}
.flow-pill span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary-subtle);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-connector {
  font-size: 11px;
  color: #94a3b8;
  padding-left: 12px;
  line-height: 1;
}

.card-impact {
  font-size: 13px;
  line-height: 1.5;
  color: #065f46;
  background-color: var(--whatsapp-subtle);
  border: 1px solid #dcfce7;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  margin-top: auto;
}

.impact-icon {
  font-size: 14px;
}

.card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.tool-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background-color: #f8fafc;
  color: var(--text-subtle);
  border: 1px solid var(--border-light);
}

/* Callout Banner */
.custom-solution-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding: 36px 40px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
}

.banner-content {
  max-width: 680px;
}

.banner-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.banner-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.banner-content p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.banner-action {
  flex-shrink: 0;
}

/* ==================== SOLUTIONS / BENTO GRID ==================== */
.solutions-section {
  background-color: var(--bg-page);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}
.section-heading p:last-child {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-muted);
}
.text-center {
  text-align: center;
  margin-inline: auto;
}

.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.bento-highlight {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.bento-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background-color: #f1f5f9;
  color: var(--text-muted);
}

.bento-badge-blue {
  background-color: var(--primary-subtle);
  color: var(--primary);
}

.bento-header {
  margin-bottom: 14px;
  padding-right: 120px;
}

.bento-partner {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.bento-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.bento-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-checklist li {
  font-size: 13.5px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bento-checklist li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

.bento-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.link-discrete {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.link-discrete:hover {
  color: var(--primary);
}

/* ==================== PROCESS SECTION ==================== */
.process-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-card {
  padding: 28px;
  background-color: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  position: relative;
}

.step-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 12px;
}

.process-card h4 {
  margin-bottom: 8px;
}

.process-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  background-color: var(--bg-page);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.contact-intro {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, border-color 0.15s;
}
.channel-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}
.wa-bg { background-color: var(--whatsapp); }
.mail-bg { background-color: var(--primary); }

.channel-text {
  display: flex;
  flex-direction: column;
}
.channel-text small {
  font-size: 12px;
  color: var(--text-subtle);
}
.channel-text strong {
  font-size: 15px;
  color: var(--text-main);
}

.guarantee-box {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background-color: #eff6ff;
  border: 1px solid var(--primary-border);
}
.guarantee-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}
.guarantee-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact Form Card */
.contact-form-card {
  padding: clamp(28px, 4vw, 36px);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-title {
  margin-bottom: 6px;
}
.form-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-fieldset {
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
}

.fieldset-legend {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-label {
  cursor: pointer;
}
.chip-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip-label span {
  display: inline-block;
  padding: 8px 14px;
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.15s;
}
.chip-label input:checked + span {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}
.form-field .req {
  color: #dc2626;
}

.field-highlight {
  animation: pulseHighlight 1.5s ease-out;
}
@keyframes pulseHighlight {
  0% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.4); border-color: var(--primary); }
  100% { box-shadow: none; border-color: var(--border-light); }
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: var(--text-main);
  font-size: 14px;
  transition: border-color 0.15s, background-color 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-microcopy {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-subtle);
  text-align: center;
}

.form-feedback {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  border-radius: var(--radius-sm);
  display: none;
}
.form-feedback.is-visible {
  display: block;
  padding: 12px 14px;
}
.form-feedback.error {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.form-feedback.success {
  background-color: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.contact-result {
  margin-top: 20px;
}
.result-box {
  padding: 18px;
  background-color: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
}
.result-text {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-main);
}
.result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding-top: 56px;
  padding-bottom: 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

.footer-left {
  max-width: 380px;
}

.footer-summary {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 56px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-col strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.footer-nav-col a,
.footer-nav-col span {
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-nav-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-subtle);
}
.footer-bottom a {
  font-weight: 600;
  color: var(--primary);
}

/* ==================== RESPONSIVE RULES ==================== */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual-card {
    max-width: 580px;
  }
  .services-bento-grid {
    grid-template-columns: 1fr;
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-solution-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
  .footer-nav {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1200px);
  }
  .btn {
    white-space: normal;
  }
  .custom-solution-banner {
    padding: 24px 16px;
  }
  .banner-action, .banner-action .btn {
    width: 100%;
  }
  .contact-form-card {
    padding: 24px 16px;
  }
  .bento-card {
    padding: 24px 16px;
  }
  .bento-header {
    padding-right: 0;
  }
  .bento-badge {
    position: static;
    margin-bottom: 12px;
    display: inline-block;
  }
  .automation-card {
    padding: 20px 16px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .header-wa span {
    display: none;
  }
  .header-wa {
    padding: 10px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .channel-card {
    padding: 14px 14px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 16px);
  }
  .brand-logo {
    width: 140px;
    height: auto;
  }
  .hero-badge-pill {
    font-size: 11.5px;
    padding: 4px 8px;
  }
  .btn-lg {
    padding: 12px 14px;
    font-size: 14px;
  }
}
