:root {
  --bg: #020811;
  --bg-2: #061421;
  --card: rgba(6, 18, 31, 0.86);
  --card-2: rgba(10, 26, 44, 0.78);
  --line: rgba(59, 160, 255, 0.22);
  --line-strong: rgba(59, 160, 255, 0.52);
  --blue: #0094ff;
  --blue-2: #00c2ff;
  --white: #ffffff;
  --muted: #c8d3df;
  --text: #eef7ff;
  --green: #17c857;
  --shadow-blue: 0 0 28px rgba(0, 149, 255, .35);
  --shadow-green: 0 0 24px rgba(23, 200, 87, .25);
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 148, 255, 0.16), transparent 35%),
    radial-gradient(circle at 80% 40%, rgba(0, 72, 168, 0.22), transparent 38%),
    linear-gradient(180deg, #020710 0%, #03101e 52%, #020711 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image: url("assets/tech-bg.png");
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
}

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

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

.container {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 8, 15, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(54, 157, 255, .28);
}

.navbar {
  width: min(1220px, calc(100% - 44px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; min-width: 220px; }
.brand img { width: 238px; height: auto; filter: drop-shadow(0 0 12px rgba(0, 149, 255, .16)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
  color: #f3f7ff;
  padding: 30px 0 26px;
  opacity: .92;
  transition: color .2s ease, opacity .2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); opacity: 1; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 0;
  height: 3px;
  border-radius: 10px;
  background: var(--blue);
  box-shadow: var(--shadow-blue);
  transition: width .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .25px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  cursor: pointer;
}

.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }

.btn-nav,
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #008cff 0%, #006ee9 100%);
  box-shadow: 0 12px 30px rgba(0, 118, 255, .30);
}

.btn-nav { min-width: 154px; }

.btn-secondary,
.btn-outline {
  color: var(--white);
  border: 1px solid rgba(0, 148, 255, .72);
  background: rgba(4, 13, 23, .55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--blue-2);
  box-shadow: 0 0 24px rgba(0, 149, 255, .18);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #14d760, #10aa49);
  box-shadow: var(--shadow-green);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 148, 255, .35);
  background: rgba(3, 14, 25, .78);
  border-radius: 9px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-image: url("assets/hero-bg-final.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  border-bottom: 1px solid rgba(40, 152, 255, .18);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 6, 14, .96) 0%, rgba(1, 7, 15, .86) 27%, rgba(1, 10, 20, .52) 52%, rgba(1, 7, 16, .14) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.26) 100%);
}

.hero-content { position: relative; z-index: 1; }
.hero-copy { width: min(520px, 100%); padding: 74px 0 54px; }

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5.1vw, 64px);
  line-height: .98;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: #f3f6fb;
  text-shadow: 0 0 18px rgba(0, 42, 86, .6);
}

.hero h1 span {
  display: inline-block;
  color: var(--blue);
  text-shadow: 0 0 16px rgba(0, 148, 255, .45);
}

.hero p {
  margin: 0 0 24px;
  max-width: 430px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: #f5faff;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  color: #c4d2df;
  font-size: 12px;
  font-weight: 500;
}

.trust-row span:nth-child(1),
.trust-row span:nth-child(3),
.trust-row span:nth-child(5) { white-space: nowrap; }

.section { padding: 48px 0 36px; position: relative; }
.section + .section { border-top: 1px solid rgba(51, 153, 255, .11); }

.section-heading {
  text-align: center;
  margin: 0 auto 32px;
}

.section-heading span {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .9px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.section-heading h2 {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.18;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(255,255,255,.08);
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 20px;
  background: var(--blue);
  box-shadow: var(--shadow-blue);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(80, 170, 255, .20);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 26, 44, .88), rgba(5, 14, 25, .94));
  min-height: 315px;
  box-shadow: 0 20px 46px rgba(0,0,0,.18);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 121, 255, .14);
}

.card-image {
  height: 138px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(44, 145, 255, .18);
  position: relative;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 8, 17, .25) 45%, rgba(2, 8, 17, .82) 100%);
}

.card-repair {
  background-image: linear-gradient(130deg, rgba(0, 151, 255, .14), rgba(0,0,0,.18)), url("assets/service-repair.png");
  background-position: center;
}
.card-camera {
  background-image: linear-gradient(130deg, rgba(0, 151, 255, .10), rgba(0,0,0,.18)), url("assets/service-camera.png");
  background-position: center;
}
.card-network {
  background-image: linear-gradient(130deg, rgba(0, 151, 255, .10), rgba(0,0,0,.20)), url("assets/service-network.png");
  background-position: center;
}
.card-accessories {
  background-image: linear-gradient(130deg, rgba(0, 151, 255, .10), rgba(0,0,0,.16)), url("assets/service-accessories.png");
  background-position: center;
}
.card-electrical {
  background-image: linear-gradient(130deg, rgba(0, 151, 255, .12), rgba(0,0,0,.18)), url("assets/service-electrical.png");
  background-position: center;
}
.card-heater {
  background-image: linear-gradient(130deg, rgba(0, 151, 255, .10), rgba(0,0,0,.14)), url("assets/service-heater.png");
  background-position: center;
}
.card-automation {
  background-image: linear-gradient(130deg, rgba(0, 151, 255, .14), rgba(0,0,0,.18)), url("assets/service-automation.png");
  background-position: center;
}

.icon-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 20%, #35b9ff, #006ff0 65%, #003a92 100%);
  box-shadow: 0 0 26px rgba(0, 148, 255, .5);
  z-index: 2;
}

.icon-badge svg { width: 30px; height: 30px; fill: #fff; }

.card-body { padding: 18px; }
.card-body h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; }
.card-body p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.card-link { color: var(--blue-2); font-size: 14px; font-weight: 700; }


.products-intro {
  max-width: 760px;
  margin: -4px auto 20px;
  text-align: center;
  color: #cdd9eb;
  font-size: 15px;
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.product-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 190px;
  padding: 22px 16px;
  border-radius: 13px;
  border: 1px solid rgba(80, 170, 255, .19);
  background: radial-gradient(circle at 50% 0%, rgba(0, 148, 255, .22), transparent 42%), rgba(8, 24, 40, .72);
  box-shadow: inset 0 0 28px rgba(0, 119, 255, .05);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 119, 255, .12);
}

.product-icon {
  font-size: 42px;
  filter: drop-shadow(0 0 12px rgba(0, 148, 255, .38));
  margin-bottom: 12px;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.center-action { text-align: center; margin-top: 20px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 22px;
}

.why-item {
  padding: 20px 28px;
  text-align: center;
  position: relative;
}

.why-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(64, 156, 255, .22), transparent);
}

.why-icon {
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
  margin-bottom: 17px;
  filter: drop-shadow(0 0 14px rgba(0, 148, 255, .48));
}

.why-item h3 { margin: 0 0 11px; font-size: 17px; font-weight: 800; }
.why-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.contact { padding-bottom: 30px; }
.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(80, 170, 255, .22);
  background:
    linear-gradient(90deg, rgba(4, 14, 24, .94), rgba(6, 20, 34, .82)),
    url("assets/tech-bg.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,.22);
}

.contact-cta, .contact-info { padding: 34px; }
.contact-cta { border-right: 1px solid rgba(0, 148, 255, .22); }
.contact-cta h2 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 32px); line-height: 1.2; }
.contact-cta p { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.contact-info h3 { margin: 0 0 18px; color: #dff4ff; }
.contact-info p { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; color: #d7e3ef; }
.contact-info p span { color: var(--blue-2); font-size: 21px; min-width: 26px; }
.contact-info a { color: #d7e3ef; font-weight: 700; transition: color .2s ease; }
.contact-info a:hover { color: var(--blue-2); }

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #19d968, #10a843);
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 12px 32px rgba(0,0,0,.4), 0 0 28px rgba(23, 200, 87, .35);
  transition: transform .2s ease;
}

.floating-whatsapp:hover { transform: scale(1.08); }
.floating-whatsapp svg { width: 35px; height: 35px; fill: #fff; }

.footer {
  border-top: 1px solid rgba(80, 170, 255, .13);
  padding: 18px 0;
  background: rgba(1, 5, 12, .72);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer img { width: 190px; }
.footer p { color: rgba(230, 242, 255, .64); font-size: 13px; margin: 0; }
.socials { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.socials a {
  color: var(--blue);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .35px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 148, 255, .28);
  border-radius: 9px;
  background: rgba(4, 13, 23, .45);
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.socials a:hover {
  color: var(--blue-2);
  border-color: var(--line-strong);
  box-shadow: 0 0 18px rgba(0, 149, 255, .14);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1040px) {
  .product-grid-three { grid-template-columns: repeat(3, 1fr); }
  .brand { min-width: 180px; }
  .brand img { width: 190px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
  .btn-nav { min-width: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: clamp(38px, 6vw, 58px); }
}

@media (max-width: 820px) {
  .product-grid-three { grid-template-columns: repeat(2, 1fr); }
  .navbar { min-height: 68px; }
  .brand img { width: 176px; }
  .menu-toggle { display: block; }
  .btn-nav { display: none; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 18px;
    background: rgba(3, 8, 15, .97);
    border-bottom: 1px solid rgba(0, 148, 255, .24);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 0; }
  .nav-links a::after { bottom: 8px; }
  .hero { min-height: 640px; background-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(1, 6, 14, .96), rgba(1, 7, 16, .78)), linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.36)); }
  .hero-copy { padding: 86px 0 50px; }
  .hero p { max-width: 100%; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(2)::after { display: none; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-cta { border-right: 0; border-bottom: 1px solid rgba(0, 148, 255, .22); }
  .footer-content { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .socials { justify-content: center; }
}

@media (max-width: 560px) {
  .container, .navbar { width: min(100% - 28px, var(--max)); }
  .hero { min-height: 620px; }
  .hero-copy { padding-top: 74px; }
  .hero h1 { font-size: 38px; }
  .hero-actions .btn { width: 100%; }
  .trust-row { font-size: 11px; gap: 9px; }
  .service-grid, .product-grid, .product-grid-three, .why-grid { grid-template-columns: 1fr; }
  .section { padding: 38px 0 28px; }
  .contact-cta, .contact-info { padding: 26px 20px; }
  .floating-whatsapp { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
