/* ============================================
   IntelliLab Portal — Styles
   ============================================ */

:root {
  --color-bg: #0a0a0f;
  --color-bg-secondary: #12121a;
  --color-bg-card: #1a1a26;
  --color-bg-card-hover: #222233;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e8e8f0;
  --color-text-muted: #8888a0;
  --color-primary: #6366f1;
  --color-primary-light: #818cf8;
  --color-accent: #06b6d4;
  --color-purple: #8b5cf6;
  --color-green: #10b981;
  --color-orange: #f59e0b;
  --color-pink: #ec4899;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #818cf8, #06b6d4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(99, 102, 241, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --header-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--color-bg-secondary);
}

.section--gradient {
  background: linear-gradient(180deg, var(--color-bg) 0%, #0f0f1a 50%, var(--color-bg-secondary) 100%);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  background: rgba(99, 102, 241, 0.1);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-icon {
  color: var(--color-primary-light);
  font-size: 1.5rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link--cta {
  background: var(--color-primary);
  color: #fff !important;
  margin-left: 0.5rem;
}

.nav__link--cta:hover {
  background: var(--color-primary-light);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.hero__glow--1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -10%;
  right: -10%;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  bottom: 10%;
  left: -5%;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat__number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--color-primary-light);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Banners */
.banners {
  position: relative;
  padding: 0;
  margin-bottom: 2rem;
}

.banner-slider {
  position: relative;
  overflow: hidden;
}

.banner-slide {
  display: none;
  background: linear-gradient(135deg, var(--slide-color, #6366f1) 0%, color-mix(in srgb, var(--slide-color) 60%, #000) 100%);
  padding: 3rem 0;
  animation: fadeIn 0.6s ease;
}

.banner-slide--active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.banner-slide__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.banner-slide__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.banner-slide__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.banner-slide__text p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.banner-slide__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 220px;
}

.visual-card__bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.visual-card__bar--short { width: 60%; }
.visual-card__bar--medium { width: 80%; }

.visual-card__nodes {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.visual-card__nodes span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.visual-ai {
  position: relative;
  width: 120px;
  height: 120px;
}

.visual-ai__face {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  position: relative;
}

.visual-ai__face::before,
.visual-ai__face::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  top: 35%;
}

.visual-ai__face::before { left: 28%; }
.visual-ai__face::after { right: 28%; }

.visual-ai__scan {
  position: absolute;
  inset: -10px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.visual-circuit {
  color: rgba(255, 255, 255, 0.8);
  width: 160px;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: var(--transition);
}

.banner-dot--active,
.banner-dot:hover {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__icon--blue { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.service-card__icon--cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.service-card__icon--purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.service-card__icon--green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.service-card__icon--orange { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.service-card__icon--pink { background: rgba(236, 72, 153, 0.15); color: #f472b6; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* SaaS Cards */
.saas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.saas-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.saas-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.25);
}

.saas-card__header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.saas-card__header--ordenaya { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.saas-card__header--invitaya { background: linear-gradient(135deg, #ec4899, #be185d); }
.saas-card__header--miformulario { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.saas-card__header--micartera { background: linear-gradient(135deg, #10b981, #059669); }
.saas-card__header--jobsy { background: linear-gradient(135deg, #f59e0b, #d97706); }
.saas-card__header--security { background: linear-gradient(135deg, #ef4444, #b91c1c); }

.saas-card__logo {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.saas-card__body {
  padding: 1.75rem;
}

.saas-card__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.saas-card__url {
  display: block;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.saas-card__body p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.saas-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.saas-card__features li {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  color: var(--color-primary-light);
}

.saas-card--clickable {
  cursor: pointer;
}

.saas-card--clickable:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 3px;
}

.saas-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: var(--transition);
  color: #fff;
}

.saas-card__play svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.saas-card--clickable:hover .saas-card__play,
.saas-card--clickable:focus-visible .saas-card__play {
  opacity: 1;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.video-modal--open {
  opacity: 1;
  visibility: visible;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
}

.video-modal__content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(12px);
  transition: transform var(--transition);
}

.video-modal--open .video-modal__content {
  transform: scale(1) translateY(0);
}

.video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.video-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-right: 3rem;
}

.video-modal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-modal__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}

/* Electronics */
.electronics__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.electronics__desc {
  text-align: left;
  margin-bottom: 1.5rem;
}

.electronics__list {
  margin-bottom: 2rem;
}

.electronics__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-green);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.electronics__visual {
  display: flex;
  justify-content: center;
}

.pcb-board {
  position: relative;
  width: 280px;
  height: 200px;
  background: linear-gradient(145deg, #1a472a, #0d2818);
  border-radius: var(--radius-md);
  border: 2px solid #2d5a3d;
  box-shadow: var(--shadow-md), inset 0 0 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.pcb-board__chip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: #1a1a1a;
  border: 2px solid #444;
  border-radius: 4px;
}

.pcb-board__chip::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    #333 3px,
    #333 4px
  );
}

.pcb-board__trace {
  position: absolute;
  background: #c9a227;
  opacity: 0.8;
}

.pcb-board__trace--h {
  width: 80px;
  height: 3px;
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
}

.pcb-board__trace--v {
  width: 3px;
  height: 60px;
  top: 30%;
  right: 25%;
}

.pcb-board__trace--d {
  width: 50px;
  height: 3px;
  bottom: 35%;
  left: 15%;
  transform: rotate(-30deg);
}

.pcb-board__resistor {
  position: absolute;
  width: 24px;
  height: 8px;
  background: linear-gradient(90deg, #888, #ccc, #888);
  border-radius: 2px;
  top: 25%;
  left: 20%;
}

.pcb-board__resistor--2 {
  top: 65%;
  right: 20%;
}

.pcb-board__led {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ff4444;
  border-radius: 50%;
  bottom: 25%;
  left: 30%;
  box-shadow: 0 0 10px #ff4444;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.pcb-board__pin {
  position: absolute;
  width: 6px;
  height: 14px;
  background: #aaa;
  border-radius: 1px;
}

.pcb-board__pin--1 { top: 10px; left: 30%; }
.pcb-board__pin--2 { top: 10px; right: 30%; }
.pcb-board__pin--3 { bottom: 10px; left: 30%; }
.pcb-board__pin--4 { bottom: 10px; right: 30%; }

/* SEO */
.seo__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.seo__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.seo-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 180px;
  padding: 1rem;
}

.seo-chart__bar {
  width: 36px;
  height: var(--h);
  background: rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: height 1s ease;
}

.seo-chart__bar--highlight {
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.seo-rank {
  text-align: center;
  padding: 1.5rem 2.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.seo-rank__number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-rank__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.seo__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.seo-feature {
  padding: 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.seo-feature strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.seo-feature span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* CTA Banner */
.cta-banner {
  background: var(--gradient-primary);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner__inner h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-banner__inner p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.contact__form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.contact-card__icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-sm);
}

.contact-card strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Footer */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
}

.footer__brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 300px;
}

.footer__links {
  display: flex;
  gap: 3rem;
}

.footer__links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.footer__links ul li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--color-primary-light);
}

.footer__bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .banner-slide__inner,
  .electronics__layout,
  .seo__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .banner-slide__visual {
    order: -1;
  }

  .electronics__content {
    order: 1;
  }

  .electronics__list li {
    justify-content: center;
  }

  .seo__visual {
    order: -1;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    margin: 0.75rem auto 0;
  }

  .footer__links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav__menu--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle--active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .services__grid,
  .saas__grid {
    grid-template-columns: 1fr;
  }

  .seo__features {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .banner-slide {
    padding: 2rem 0;
  }

  .saas-card__body,
  .service-card,
  .contact__form {
    padding: 1.25rem;
  }
}
