:root {
  --brand-900: #0e1d2f;
  --brand-700: #164374;
  --brand-500: #1f76c2;
  --brand-300: #7ec4ff;
  --brand-100: #e6f4ff;
  --accent-warm-700: #c45b12;
  --accent-warm-500: #e57a22;
  --accent-warm-300: #f4b06a;

  --text-main: #0a1420;
  --text-soft: #35465a;
  --text-on-dark: #f4f9ff;
  --surface-0: #f7f8fb;
  --surface-1: #ffffff;
  --border: #d8e0ea;
  --tech-cyan: #3cd7ff;
  --tech-grid: rgba(28, 59, 88, 0.04);

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 24px;

  --shadow-soft: 0 10px 30px rgba(16, 32, 56, 0.08);
  --shadow-strong: 0 14px 38px rgba(8, 22, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(900px 500px at 90% -20%, rgba(80, 165, 240, 0.08), transparent 58%),
    radial-gradient(850px 450px at -10% 5%, rgba(35, 120, 200, 0.06), transparent 55%),
    linear-gradient(180deg, #f9fcff 0%, var(--surface-0) 100%);
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--tech-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--tech-grid) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 15%, black 40%, transparent 95%);
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--brand-900), black 8%), color-mix(in srgb, var(--brand-700), var(--brand-500) 35%));
  border-bottom: 1px solid color-mix(in srgb, var(--brand-300), white 45%);
  box-shadow:
    0 8px 24px color-mix(in srgb, var(--brand-900), transparent 72%),
    inset 0 -1px 0 color-mix(in srgb, var(--brand-300), white 38%);
}

.nav-wrap {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  text-decoration: none;
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover img {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.brand-tagline {
  font-size: 0.82rem;
  font-weight: 700;
  color: #8ed2ff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 29, 47, 0.4);
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

nav a {
  text-decoration: none;
  color: color-mix(in srgb, white, var(--brand-100) 15%);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

nav a:hover,
nav a.active-nav {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

nav a[href="#contacto"] {
  background: linear-gradient(130deg, var(--accent-warm-700), var(--accent-warm-500));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(196, 91, 18, 0.35);
  margin-left: 0.25rem;
}

nav a[href="#contacto"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(196, 91, 18, 0.5);
  background: linear-gradient(130deg, var(--accent-warm-500), var(--accent-warm-700));
}

nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(3.8rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.9rem;
  display: inline-block;
  padding: 0.33rem 0.8rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: rgba(127, 196, 255, 0.18);
  border: 1px solid rgba(63, 134, 200, 0.34);
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  max-width: 18ch;
}

.lead {
  margin-top: 1rem;
  max-width: 60ch;
  color: var(--text-soft);
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--text-on-dark);
  background: linear-gradient(125deg, var(--accent-warm-700), var(--accent-warm-500));
  box-shadow: 0 10px 26px rgba(194, 88, 14, 0.34);
}

.btn-ghost {
  color: var(--brand-700);
  background: var(--surface-1);
  border-color: rgba(38, 99, 156, 0.34);
}

.hero-card {
  border-radius: var(--radius-l);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(230, 245, 255, 0.92));
  border: 1px solid rgba(65, 127, 182, 0.28);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.25rem;
  animation: fade-up 0.78s ease 0.15s both;
}

.hero-card::before,
.card::before,
.contact-panel::before,
.contact-form::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent);
  opacity: 0.7;
}

.hero-card h2 {
  font-size: 1.45rem;
}

.hero-card ul {
  margin: 0.95rem 0 0;
  padding-left: 1.1rem;
}

.hero-card li {
  margin-bottom: 0.55rem;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(44px);
  pointer-events: none;
  opacity: 0.12;
}

.hero-orb-1 {
  width: 360px;
  height: 360px;
  left: -110px;
  top: -120px;
  background: var(--brand-300);
}

.hero-orb-2 {
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -220px;
  background: var(--brand-500);
}

.section {
  position: relative;
  padding: 4rem 0;
}

main > .section + .section {
  border-top: 2px solid color-mix(in srgb, var(--border), white 30%);
  background-color: rgba(255, 255, 255, 0.82);
}

main > .section + .section::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 100%;
  height: 16px;
  background:
    repeating-linear-gradient(
      -45deg,
      color-mix(in srgb, var(--border), white 12%) 0 10px,
      color-mix(in srgb, #f5f7fb, white 20%) 10px 20px
    );
  opacity: 0.36;
  pointer-events: none;
}

main > .section:nth-of-type(even) {
  background-color: #f8fafd;
}

.section-tag {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-700);
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.55rem);
}

.cards {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.97));
  border: 1px solid color-mix(in srgb, var(--brand-300), var(--border) 40%);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-500);
  box-shadow: var(--shadow-strong);
}

.card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--text-soft);
  margin: 0;
}

/* Systems & Specialties Section */
.systems-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.system-card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.system-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-500);
  box-shadow: var(--shadow-strong);
}

.system-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-700);
  border: 1px solid rgba(31, 118, 194, 0.25);
  margin-bottom: 0.6rem;
}

.system-card h3 {
  font-size: 1.25rem;
  margin: 0.2rem 0 0.6rem;
  color: var(--text-main);
}

.system-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
  margin: 0 0 1rem;
  line-height: 1.58;
}

.system-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--brand-700);
  font-weight: 600;
}

.tech-stack-bar {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(14, 29, 47, 0.95), rgba(22, 67, 116, 0.95));
  border: 1px solid rgba(60, 215, 255, 0.25);
  border-radius: var(--radius-m);
  padding: 1.2rem 1.5rem;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}

.tech-stack-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  white-space: nowrap;
}

.tech-tags {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.tech-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #8ed2ff;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Process Section */
.process-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.process-step {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: var(--brand-500);
}

.step-num {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-500);
  background: var(--brand-100);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-s);
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.93rem;
  color: var(--text-soft);
  margin: 0;
}

/* FAQ Section */
.faq-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--brand-500);
}

.faq-item summary {
  cursor: pointer;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.05rem;
  color: var(--brand-700);
  outline: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  color: var(--brand-500);
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* KB & Support Section */
.kb-search-box {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(230, 244, 255, 0.7));
  border: 1px solid color-mix(in srgb, var(--brand-300), var(--border) 50%);
  border-radius: var(--radius-m);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 0.4rem 0.6rem 0.4rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-wrapper:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(36, 120, 196, 0.18);
}

.search-icon {
  color: var(--brand-500);
  flex-shrink: 0;
}

.search-input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text-main);
}

.btn-search {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.search-tags {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.tag-btn {
  background: rgba(126, 196, 255, 0.18);
  border: 1px solid rgba(63, 134, 200, 0.3);
  color: var(--brand-700);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tag-btn:hover {
  background: rgba(31, 118, 194, 0.15);
  border-color: var(--brand-500);
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.support-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.support-card-header {
  margin-bottom: 0.5rem;
}

.support-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-700);
  border: 1px solid rgba(31, 118, 194, 0.25);
  margin-bottom: 0.4rem;
}

.support-badge.ai-badge {
  background: rgba(60, 215, 255, 0.15);
  color: #007799;
  border-color: rgba(60, 215, 255, 0.4);
}

.support-card h3 {
  font-size: 1.25rem;
  margin: 0.2rem 0 0.5rem;
}

.support-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0 0 0.8rem;
}

.support-list {
  padding-left: 1.1rem;
  margin: 0 0 1.2rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.support-list li {
  margin-bottom: 0.4rem;
}

.support-card .btn {
  align-self: start;
}

/* Dark Client Portal Banner Section */
.section-dark-portal {
  padding: 3.5rem 0;
}

.client-portal-banner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-900), black 12%), var(--brand-700));
  border: 1px solid rgba(60, 215, 255, 0.35);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--text-on-dark);
  box-shadow: 0 16px 40px rgba(14, 29, 47, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.portal-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(60, 215, 255, 0.18);
  color: var(--tech-cyan);
  border: 1px solid rgba(60, 215, 255, 0.35);
  margin-bottom: 0.8rem;
}

.client-portal-content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.client-portal-content p {
  color: color-mix(in srgb, white, var(--brand-100) 18%);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portal-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-ghost-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.client-portal-features {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-m);
  padding: 1.25rem 1.4rem;
}

.client-portal-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.client-portal-features li {
  font-size: 0.92rem;
  color: color-mix(in srgb, white, var(--brand-100) 12%);
  line-height: 1.45;
}

.client-portal-features strong {
  color: var(--tech-cyan);
  display: block;
  font-size: 0.95rem;
}

/* Soporte Page Specifics */
.text-center-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-soporte {
  padding-bottom: 2.5rem;
}

.kb-search-hero {
  margin-top: 2.2rem;
  text-align: left;
}

.section-ai-response {
  padding: 1.5rem 0;
}

.ai-box {
  background: linear-gradient(135deg, #0e1d2f, #164374);
  color: var(--text-on-dark);
  border: 1px solid var(--tech-cyan);
  border-radius: var(--radius-l);
  padding: 1.5rem 1.8rem;
  box-shadow: 0 12px 32px rgba(14, 29, 47, 0.35);
  animation: fade-up 0.4s ease;
}

.ai-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.75rem;
}

.ai-status {
  font-size: 0.82rem;
  color: var(--brand-300);
}

.ai-box-body h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.ai-box-body p {
  color: color-mix(in srgb, white, var(--brand-100) 10%);
  font-size: 0.96rem;
  line-height: 1.6;
}

.ai-box-body ul {
  padding-left: 1.2rem;
  color: color-mix(in srgb, white, var(--brand-100) 15%);
  margin-bottom: 1rem;
}

.cards-kb {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-kb-cat {
  display: flex;
  flex-direction: column;
}

.kb-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-s);
  background: var(--brand-100);
  color: var(--brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.kb-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.kb-links a {
  color: var(--brand-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

.kb-links a:hover {
  color: var(--brand-500);
  text-decoration: underline;
}

.field-select {
  font: inherit;
  color: var(--text-main);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.72rem 0.78rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.field-select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(36, 120, 196, 0.18);
}

.split {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(242, 247, 252, 0.85));
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.quote-card {
  border-radius: var(--radius-m);
  padding: 1.2rem;
  color: var(--text-on-dark);
  background: linear-gradient(145deg, var(--brand-700), var(--brand-500));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  font-size: 1.08rem;
}

.section-cta {
  padding-top: 2.2rem;
  border-top-width: 3px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: start;
}

.contact-panel,
.contact-form {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid rgba(43, 103, 162, 0.28);
  background: var(--surface-1);
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2.8vw, 1.6rem);
}

.contact-panel {
  background:
    radial-gradient(240px 140px at 85% 5%, rgba(127, 196, 255, 0.1), transparent 75%),
    linear-gradient(120deg, rgba(246, 250, 255, 0.85), rgba(255, 255, 255, 0.99));
}

.contact-points {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.contact-points li {
  margin-bottom: 0.5rem;
}

.contact-form {
  display: grid;
  gap: 0.82rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field label {
  font-weight: 700;
  color: var(--brand-700);
  font-size: 0.92rem;
}

.field input,
.field textarea {
  font: inherit;
  color: var(--text-main);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.72rem 0.78rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(36, 120, 196, 0.18), 0 0 0 1px rgba(60, 215, 255, 0.45) inset;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check-line {
  display: flex;
  align-items: start;
  gap: 0.55rem;
  font-size: 0.93rem;
  color: var(--text-soft);
}

.check-line input {
  margin-top: 0.18rem;
}

.form-status {
  margin: 0;
  border-radius: 11px;
  padding: 0.7rem 0.8rem;
  font-weight: 700;
  display: none;
}

.form-status.ok {
  display: block;
  background: #e7f8ee;
  border: 1px solid #a6ddbc;
  color: #1e6a3f;
}

.form-status.error {
  display: block;
  background: #fff0f0;
  border: 1px solid #f2b5b5;
  color: #8a1f1f;
}

.cta-banner {
  border-radius: var(--radius-l);
  padding: clamp(1.2rem, 3vw, 2rem);
  color: var(--text-on-dark);
  background:
    radial-gradient(220px 120px at 90% -30%, rgba(255, 255, 255, 0.2), transparent 75%),
    linear-gradient(120deg, color-mix(in srgb, var(--brand-900), black 5%), var(--brand-500));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(95, 209, 255, 0.36);
  box-shadow: 0 20px 40px rgba(11, 42, 76, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cta-banner .section-tag {
  color: rgba(240, 248, 255, 0.9);
}

.cta-banner .btn-primary {
  background: var(--surface-1);
  color: var(--brand-700);
  box-shadow: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #0e1d2f 0%, #08121f 100%);
  color: var(--text-on-dark);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-footer .brand-name {
  color: #ffffff;
}

.footer-desc {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: color-mix(in srgb, white, var(--brand-100) 25%);
  line-height: 1.55;
}

.footer-col h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  color: #ffffff;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: color-mix(in srgb, white, var(--brand-100) 30%);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--tech-cyan);
}

.footer-contact-list li {
  font-size: 0.88rem;
  color: color-mix(in srgb, white, var(--brand-100) 25%);
  line-height: 1.45;
}

.footer-contact-list strong {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: color-mix(in srgb, white, var(--brand-100) 40%);
}

.footer-links a {
  color: var(--brand-300);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  text-decoration: none;
  background: linear-gradient(140deg, #1fb851, #12a043);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(12, 107, 44, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-float.is-disabled {
  width: auto;
  min-height: 56px;
  padding: 0 1rem;
  gap: 0.65rem;
  border-radius: 28px;
  background: #566166;
  box-shadow: 0 8px 20px rgba(31, 42, 46, 0.28);
  cursor: default;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px rgba(10, 96, 39, 0.45);
  filter: saturate(1.1);
}

.whatsapp-float.is-disabled:hover {
  transform: none;
  box-shadow: 0 8px 20px rgba(31, 42, 46, 0.28);
  filter: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-status {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.footer-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--text-soft);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .hero-grid,
  .split-grid,
  .cards,
  .cards-kb,
  .systems-grid,
  .process-grid,
  .support-cards,
  .client-portal-banner,
  .footer-grid,
  .cta-banner,
  .contact-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    justify-items: start;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 0.66rem 0.82rem;
  }
}
