:root {
  --bg: #07101d;
  --bg-soft: #0b1727;
  --panel: #0f2033;
  --panel-2: #122a42;
  --text: #f4f8fb;
  --muted: #9fb0c0;
  --accent: #22c7d6;
  --accent-2: #5ae1ff;
  --line: rgba(255,255,255,.10);
  --shadow: 0 24px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(7,16,29,.76);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #031018; box-shadow: 0 0 30px rgba(34,199,214,.25);
}
.brand-text { font-size: 1.08rem; }
.brand-text span { color: var(--accent-2); }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; color: #d9e4ec; }
.main-nav a:hover { color: var(--accent-2); }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(90,225,255,.35); border-radius: 999px; }
.menu-toggle { display: none; background: transparent; color: white; border: 0; font-size: 1.6rem; }

.hero { position: relative; overflow: hidden; padding: 154px 0 100px; min-height: 760px; display: flex; align-items: center; }
.hero::before {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  right: -120px; top: 70px; background: radial-gradient(circle, rgba(34,199,214,.18), transparent 67%); filter: blur(20px);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero-content { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--accent-2); font-weight: 700; letter-spacing: .16em; font-size: .78rem; margin-bottom: 14px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 6.2vw, 5.8rem); line-height: .98; letter-spacing: -.055em; margin-bottom: 24px; max-width: 800px; }
h2 { font-size: clamp(2.1rem, 4.2vw, 4rem); line-height: 1.03; letter-spacing: -.045em; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
.hero-copy > p { max-width: 680px; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 38px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 700; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #041219; box-shadow: 0 10px 34px rgba(34,199,214,.22); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.04); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
.hero-stats div { padding-top: 16px; border-top: 1px solid var(--line); }
.hero-stats strong { display: block; font-size: 1.4rem; }
.hero-stats span { color: var(--muted); font-size: .83rem; }

.hero-panel { background: linear-gradient(180deg, rgba(18,42,66,.95), rgba(8,20,35,.96)); border: 1px solid rgba(90,225,255,.16); border-radius: 28px; padding: 18px; box-shadow: var(--shadow); transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); }
.panel-top, .panel-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 8px 4px 16px; font-size: .78rem; color: var(--muted); }
.status-dot { color: #7dffac; }
.security-screen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.camera-card { min-height: 150px; border-radius: 18px; padding: 15px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(34,199,214,.18), rgba(6,14,25,.35)), radial-gradient(circle at 70% 30%, rgba(90,225,255,.22), transparent 28%); border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.camera-card::after { content: ""; position: absolute; inset: 18% 18%; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.018), 0 0 0 36px rgba(255,255,255,.012); }
.camera-card span { font-size: .68rem; color: var(--accent-2); z-index: 1; }
.camera-card b { font-size: .82rem; z-index: 1; }
.cam-2, .cam-4 { background-color: #0d2236; }
.panel-bottom { padding: 16px 4px 6px; }
.panel-bottom small { display: block; color: var(--muted); }
.panel-bottom strong { color: #dfffea; }
.signal-bars { display: flex; align-items: end; gap: 3px; height: 24px; }
.signal-bars i { width: 4px; background: var(--accent); border-radius: 4px; }
.signal-bars i:nth-child(1){height:7px}.signal-bars i:nth-child(2){height:12px}.signal-bars i:nth-child(3){height:18px}.signal-bars i:nth-child(4){height:24px}

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); }
.trust-items { min-height: 76px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 16px; color: #c4d1db; font-size: .9rem; }
.trust-items span::before { content: "•"; color: var(--accent); margin-right: 10px; }

.section { padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading p, .about-copy > p, .contact-copy > p { color: var(--muted); font-size: 1.04rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { min-height: 260px; padding: 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(18,42,66,.72), rgba(10,24,39,.82)); border: 1px solid var(--line); transition: .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(90,225,255,.28); }
.service-card p { color: var(--muted); font-size: .94rem; }
.service-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(34,199,214,.12); color: var(--accent-2); margin-bottom: 28px; font-size: 1.25rem; }
.accent-card { background: linear-gradient(145deg, rgba(34,199,214,.18), rgba(13,35,53,.92)); }
.accent-card a { color: var(--accent-2); font-weight: 700; font-size: .92rem; }

.split-section { background: #091525; }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-visual { min-height: 470px; position: relative; display: grid; place-items: center; }
.visual-ring { position: absolute; border: 1px solid rgba(90,225,255,.16); border-radius: 50%; }
.ring-one { width: 410px; height: 410px; }
.ring-two { width: 300px; height: 300px; border-style: dashed; animation: spin 22s linear infinite; }
.visual-core { width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 28px; background: radial-gradient(circle at 30% 20%, rgba(90,225,255,.25), rgba(12,34,52,.95)); box-shadow: 0 0 80px rgba(34,199,214,.14); border: 1px solid rgba(90,225,255,.18); }
.visual-core span { font-size: .75rem; color: var(--accent-2); letter-spacing: .14em; }
.visual-core strong { font-size: 1.15rem; line-height: 1.2; }
@keyframes spin { to { transform: rotate(360deg); } }
.feature-list { margin-top: 30px; display: grid; gap: 18px; }
.feature-list div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.feature-list span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(34,199,214,.12); color: var(--accent-2); font-weight: 800; }
.feature-list p { margin: 0; color: var(--muted); }
.feature-list strong { color: var(--text); }

.cta-section { padding: 0 0 110px; background: #091525; }
.cta-box { padding: 42px 46px; border-radius: 26px; background: linear-gradient(135deg, rgba(34,199,214,.14), rgba(14,36,56,.94)); border: 1px solid rgba(90,225,255,.16); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-box h2 { max-width: 720px; margin-bottom: 0; font-size: clamp(2rem, 3vw, 3rem); }

.contact-section { background: linear-gradient(180deg, #07101d, #091421); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-list { margin-top: 34px; display: grid; gap: 12px; }
.contact-list a, .contact-list div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .82rem; }
.contact-list strong { font-size: 1rem; }
.contact-form { padding: 28px; border-radius: 24px; background: rgba(18,42,66,.58); border: 1px solid var(--line); display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: .88rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.10); background: rgba(4,13,23,.65); color: var(--text); border-radius: 12px; padding: 14px 15px; font: inherit; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(90,225,255,.45); box-shadow: 0 0 0 3px rgba(34,199,214,.08); }
.contact-form small { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #050c15; padding: 68px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 50px; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: .9rem; }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-brand { margin-bottom: 12px; }
.footer-grid h4 { margin: 0 0 8px; }
.footer-bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; color: #8294a3; font-size: .82rem; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: white; font-weight: 800; box-shadow: 0 14px 35px rgba(0,0,0,.34); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 78px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #0b1727; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .hero { padding-top: 130px; }
  .hero-content, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-panel { transform: none; max-width: 720px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-items { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
  .split-grid { gap: 28px; }
  .contact-grid { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { padding: 118px 0 72px; min-height: auto; }
  h1 { font-size: clamp(2.6rem, 15vw, 4.3rem); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .security-screen { grid-template-columns: 1fr; }
  .camera-card { min-height: 120px; }
  .trust-items { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .about-visual { min-height: 340px; overflow: hidden; }
  .ring-one { width: 330px; height: 330px; }
  .ring-two { width: 250px; height: 250px; }
  .visual-core { width: 180px; height: 180px; }
  .cta-box { padding: 28px 24px; flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

/* Identidad visual DOSELCOM */
.brand-logo img {
  display: block;
  width: 215px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
.hero-emblem {
  display: block;
  width: min(330px, 72vw);
  max-height: 220px;
  object-fit: contain;
  object-position: left center;
  margin: -22px 0 6px -18px;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.28));
}
.footer-brand img {
  width: 270px;
  max-height: 82px;
}
@media (max-width: 640px) {
  .brand-logo img { width: 176px; max-height: 52px; }
  .hero-emblem { width: min(280px, 78vw); margin-left: -12px; }
  .footer-brand img { width: 230px; }
}
