/* ============================================
   OLEUMPRO — Estilos Web (Light Theme)
   ============================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-2: #f7f8fa;
  --color-bg-3: #eef0f4;
  --color-surface: #ffffff;
  --color-border: #e5e7eb;
  --color-border-strong: #d1d5db;

  --color-card: #0f1830;
  --color-card-2: #131e3a;
  --color-card-border: #1e2a4a;
  --color-card-text: #ffffff;
  --color-card-text-2: #a8b3cf;

  --color-text: #0a0a0f;
  --color-text-2: #4b5563;
  --color-text-3: #6b7280;

  --color-primary: #dc2626;
  --color-primary-2: #ef4444;
  --color-primary-3: #b91c1c;
  --color-accent: #f59e0b;
  --color-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  --color-gradient-soft: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(220, 38, 38, 0.04) 100%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
  --shadow-red: 0 8px 24px rgba(220, 38, 38, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container: 1280px;
  --header-h: 96px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 30px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header__brand-name {
  display: none;
}
.header__brand-tag {
  display: none;
}

.nav__list {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__link:hover { color: var(--color-primary); }
.nav__link.active { color: var(--color-text); }
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-gradient);
  border-radius: 2px;
}
.nav__link--cta {
  background: var(--color-gradient);
  color: white !important;
  padding: 10px 20px;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: var(--shadow-red);
}
.nav__link--cta:hover { transform: translateY(-2px); color: white !important; }
.nav__link--cta::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(239, 68, 68, 0.06), transparent 60%);
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--color-text-2);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero__title-accent {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  font-size: 18px;
  color: var(--color-text-2);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--color-gradient);
  color: white;
  box-shadow: var(--shadow-red);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.3);
}

.btn--ghost {
  background: white;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--full { width: 100%; justify-content: center; }

.hero__metrics {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}
.hero__metric {
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero__metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: var(--color-border);
}
.hero__metric-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero__metric-plus {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 600;
  display: inline-block;
  margin-left: 2px;
}
.hero__metric-label {
  font-size: 12px;
  color: var(--color-text-3);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img {
  width: 100%;
  max-width: 580px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.12));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================
   BRANDS STRIP
   ============================================ */
.brands-strip {
  padding: 40px 0;
  background: white;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.brands-strip__title {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 24px;
}
.brands-strip__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.brands-strip__brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  opacity: 0.45;
  transition: all 0.3s var(--ease);
  letter-spacing: -0.02em;
}
.brands-strip__brand:hover {
  opacity: 1;
  color: var(--color-primary);
  transform: scale(1.05);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}
.section:nth-of-type(odd) { background: var(--color-bg-2); }
.section:nth-of-type(even) { background: white; }

.section__header {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section__subtitle {
  font-size: 17px;
  color: var(--color-text-2);
  line-height: 1.6;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.product-card {
  grid-column: span 2;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card--big {
  grid-column: span 3;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card__image {
  background: linear-gradient(135deg, #f7f8fa 0%, #eef0f4 100%);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.product-card--big .product-card__image { height: 320px; }
.product-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card__image img { transform: scale(1.05); }

.product-card__image--light { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); }
.product-card__image--wireless {
  background: var(--color-gradient);
  color: white;
}
.product-card__image--wireless svg { width: 200px; height: 200px; }

.product-card__image--abb {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.abb-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 24px;
  opacity: 0.3;
}
.abb-cell {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 8px;
}
.abb-logo {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: white;
  letter-spacing: 0.05em;
}

.product-card__image--tesla {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
}
.product-card__image--tesla svg { width: 180px; height: 180px; }

.product-card__image--hardwire {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: white;
}
.product-card__image--hardwire svg { width: 180px; height: 180px; }

.product-card__content {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 12px;
  align-self: flex-start;
}
.product-card__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.product-card--big .product-card__title { font-size: 26px; }
.product-card__text {
  color: var(--color-text-2);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.product-card__link {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.product-card__link:hover { transform: translateX(4px); }

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 24, 48, 0.3);
  border-color: var(--color-primary);
}
.service:hover::before { transform: scaleX(1); }

.service__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-primary-2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.service:hover .service__icon {
  background: var(--color-gradient);
  color: white;
  transform: scale(1.05);
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-card-text);
}

/* ============================================
   CAROUSEL
   ============================================ */
.carousel-section { background: white; }

.carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-card);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.carousel__track {
  position: relative;
  height: 540px;
  overflow: hidden;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.carousel__slide--active {
  opacity: 1;
  pointer-events: auto;
}

.carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.carousel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.65) 65%, rgba(0, 0, 0, 0.98) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
  z-index: 1;
}

.carousel__caption {
  position: relative;
  z-index: 2;
  padding: 40px 50px;
  color: white;
  max-width: 720px;
  margin: 0 0 40px 50px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  transition: transform 0.8s var(--ease) 0.2s;
}
.carousel__slide--active .carousel__caption { transform: translateY(0); }

.carousel__caption-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary-2);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.carousel__caption-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.carousel__caption-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.carousel__btn:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-50%) scale(1.05);
}
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn--prev { left: 24px; }
.carousel__btn--next { right: 24px; }

/* Dots */
.carousel__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.carousel__dot {
  width: 32px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  padding: 0;
}
.carousel__dot--active {
  background: var(--color-primary);
  width: 48px;
}

@media (max-width: 768px) {
  .carousel__track { height: 480px; }
  .carousel__caption { padding: 24px 24px; margin: 0 16px 60px; }
  .carousel__caption-title { font-size: 22px; }
  .carousel__caption-text { font-size: 14px; }
  .carousel__btn { width: 40px; height: 40px; }
  .carousel__btn--prev { left: 12px; }
  .carousel__btn--next { right: 12px; }
  .carousel__btn svg { width: 18px; height: 18px; }
  .carousel__dot { width: 24px; }
  .carousel__dot--active { width: 36px; }
}

@media (max-width: 480px) {
  .carousel__track { height: 440px; }
  .carousel__caption-title { font-size: 18px; }
  .carousel__caption-tag { font-size: 10px; padding: 4px 10px; }
  .carousel__caption { padding: 20px 18px; margin: 0 12px 56px; }
}

/* ============================================
   BRANDS
   ============================================ */
.brands__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.brand {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.brand:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 24, 48, 0.3);
  border-color: var(--color-primary);
}
.brand__logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.brand__logo-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 70px;
  margin-bottom: 12px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all 0.3s var(--ease);
}
.brand__logo-img img {
  max-width: 100%;
  max-height: 55px;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand__logo-img {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 77, 46, 0.15);
}
.brand:hover .brand__logo-img img {
  transform: scale(1.05);
}
.brand__desc {
  font-size: 13px;
  color: var(--color-card-text-2);
  margin-top: auto;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.project {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
  border-top: 3px solid transparent;
  background-clip: padding-box;
}
.project:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 24, 48, 0.3);
  border-top-color: var(--color-primary);
}
.project__year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary-2);
  background: rgba(220, 38, 38, 0.15);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.project h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--color-card-text);
}
.project p {
  font-size: 13px;
  color: var(--color-card-text-2);
}

/* ============================================
   DOCS
   ============================================ */
.docs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.doc {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
  display: block;
}
.doc:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 24, 48, 0.3);
  border-color: var(--color-primary);
}
.doc__icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}
.doc h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-card-text);
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--color-bg-2); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact__info .section__title { text-align: left; }
.contact__lead {
  color: var(--color-text-2);
  font-size: 16px;
  margin: 16px 0 32px;
  line-height: 1.6;
}
.contact__items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.contact__item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.contact__item:hover {
  transform: translateX(6px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(15, 24, 48, 0.25);
}
.contact__item-icon {
  width: 44px;
  height: 44px;
  background: var(--color-gradient-soft);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__item-icon svg { width: 20px; height: 20px; }
.contact__item span {
  display: block;
  font-size: 12px;
  color: var(--color-card-text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact__item strong {
  font-size: 15px;
  color: var(--color-card-text);
  font-weight: 700;
}

.contact__rep {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-left: 3px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}
.contact__rep span {
  display: block;
  font-size: 12px;
  color: var(--color-card-text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact__rep strong {
  font-size: 16px;
  color: var(--color-card-text);
  font-weight: 700;
}

/* Form */
.contact__form {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact__form-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}
.form__group { margin-bottom: 14px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  outline: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}
.form__group textarea { resize: vertical; min-height: 100px; }
.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0a0a0f;
  color: white;
  padding: 60px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__logo {
  height: auto;
  width: 180px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
  background: white;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: block;
}
.footer__col p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer__socials a {
  width: 36px;
  height: 36px;
  background: #1a1d27;
  border: 1px solid #2a2f3d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.3s var(--ease);
}
.footer__socials a:hover {
  background: var(--color-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}
.footer__socials svg {
  width: 16px;
  height: 16px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: white;
}
.footer__col ul li { margin-bottom: 8px; }
.footer__col ul a,
.footer__col ul li {
  color: #9ca3af;
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.footer__col ul a:hover { color: var(--color-primary-2); }
.footer__bottom {
  border-top: 1px solid #1f2937;
  padding-top: 24px;
  text-align: center;
}
.footer__bottom p {
  font-size: 13px;
  color: #6b7280;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--color-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  box-shadow: var(--shadow-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); }

/* ============================================
   AOS
   ============================================ */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-aos="fade-up"] { transform: translateY(24px); }
[data-aos="fade-left"] { transform: translateX(24px); }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="zoom-in"] { transform: scale(0.94); }
[data-aos].aos-animate { opacity: 1; transform: translate(0,0) scale(1); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__container { grid-template-columns: 1fr; gap: 40px; }
  .hero__img { max-width: 480px; margin: 0 auto; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .product-card, .product-card--big { grid-column: span 1; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .docs__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__info .section__title { text-align: center; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 70px 0; }

  .nav {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav.open { transform: translateX(0); }
  .nav__list {
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 0 20px;
  }
  .nav__link {
    font-size: 22px;
    width: 100%;
    text-align: center;
    padding: 14px;
  }
  .nav__link--cta { font-size: 18px; margin-top: 12px; }
  .nav__link.active::after { display: none; }
  .hamburger { display: flex; }
  body.nav-open { overflow: hidden; }

  .header__brand-tag { display: none; }
  .header__logo { height: 48px; }
  .hero { padding: calc(var(--header-h) + 30px) 0 50px; }
  .hero__title { font-size: 2.2rem; }
  .hero__metrics { gap: 24px; }
  .hero__metric:not(:last-child)::after { display: none; }
  .hero__metric-num { font-size: 32px; }

  .brands-strip__grid { justify-content: center; gap: 20px; }
  .brands-strip__brand { font-size: 16px; }

  .products__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .brands__grid { grid-template-columns: 1fr 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .docs__grid { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer__col p { margin: 0 auto; }
  .back-to-top { right: 20px; bottom: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.9rem; }
  .section__title { font-size: 1.7rem; }
  .services__grid { grid-template-columns: 1fr; }
  .docs__grid { grid-template-columns: 1fr; }
}
