:root{
  --bg:#07111f;
  --bg-soft:#0b1728;
  --panel:#0f1d31;
  --panel-2:#13243b;
  --panel-3:#162a45;
  --line:rgba(255,255,255,0.08);
  --text:#eaf2ff;
  --muted:#9fb2cf;
  --accent:#18d6a3;
  --accent-2:#2bf0b8;
  --blue:#57a6ff;
  --shadow:0 18px 60px rgba(0,0,0,0.38);
  --shadow-soft:0 10px 30px rgba(0,0,0,0.22);
  --radius:22px;
  --radius-md:18px;
  --container:1180px;
  --header-h:82px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(24,214,163,0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(87,166,255,0.08), transparent 24%),
    linear-gradient(180deg,#050d19 0%, #081321 35%, #091625 100%);
  line-height:1.65;
  min-width:320px;
}

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

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

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

/* HEADER */

.site-header{
  position:sticky;
  top:0;
  z-index:1200;
  backdrop-filter:blur(12px);
  background:rgba(7,17,31,0.78);
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.nav-container{
  position:relative;
  width:min(var(--container), calc(100% - 32px));
  height:var(--header-h);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.logo{
  display:flex;
  align-items:center;
  position:relative;
  z-index:2002;
}

.logo-img{
  height:58px;
  width:auto;
  object-fit:contain;
  display:block;
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-menu a{
  padding:10px 14px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  transition:all .22s ease;
}

.nav-menu a:hover,
.nav-menu a.active{
  color:var(--text);
  background:rgba(255,255,255,0.08);
}

.btn-whatsapp{
  background:linear-gradient(135deg,#20df8e,#0ebf74);
  color:white !important;
  box-shadow:0 8px 24px rgba(14,191,116,0.28);
}

.burger{
  display:none;
  width:46px;
  height:46px;
  border:none;
  border-radius:14px;
  background:rgba(255,255,255,0.05);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.burger span{
  width:20px;
  height:2px;
  border-radius:2px;
  background:#f1f5ff;
  display:block;
}

/* HERO */

.hero-tech,
.page-hero{
  position:relative;
  padding:78px 0 52px;
  overflow:hidden;
}

.hero-tech::before,
.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 10%, rgba(24,214,163,0.12), transparent 20%),
    radial-gradient(circle at 85% 10%, rgba(87,166,255,0.10), transparent 18%);
  pointer-events:none;
}

.hero-tech-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  color:var(--accent);
  font-size:.84rem;
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase;
}

.hero-tech h1,
.page-hero h1{
  margin:20px 0 16px;
  font-size:clamp(2rem,4vw,4rem);
  line-height:1.04;
  letter-spacing:-.03em;
  font-weight:800;
}

.hero-text{
  margin:0;
  max-width:760px;
  font-size:1.08rem;
  color:var(--muted);
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:28px 0 22px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 24px;
  border-radius:18px;
  font-weight:700;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.whatsapp-button{
  background:linear-gradient(135deg,#20df8e,#0ebf74);
  color:white;
  box-shadow:0 16px 36px rgba(14,191,116,0.28);
}

.secondary-button{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  color:var(--text);
}

.hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.hero-tags span{
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
  color:var(--muted);
  font-size:.92rem;
  font-weight:600;
}

.hero-visual-card{
  padding:26px;
  background:linear-gradient(180deg, rgba(19,36,59,0.96), rgba(13,28,48,0.92));
  border:1px solid rgba(255,255,255,0.08);
  border-radius:26px;
  box-shadow:var(--shadow);
}

.hero-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}

.metric-card{
  padding:16px;
  border-radius:16px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
}

.metric-label{
  color:var(--muted);
  font-size:.86rem;
  margin-bottom:6px;
}

.metric-value{
  font-size:1.2rem;
  font-weight:800;
}

.hero-linechart{
  margin-bottom:18px;
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
}

.chart-title{
  margin-bottom:10px;
  font-weight:700;
}

.chart-svg{
  width:100%;
  height:auto;
}

.chart-svg polyline{
  fill:none;
  stroke:#18d6a3;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.hero-panel-mini{
  display:grid;
  gap:8px;
  color:var(--muted);
}

/* COMMON */

section{
  position:relative;
}

.section-heading{
  margin-bottom:26px;
  max-width:860px;
}

.section-heading h2{
  margin:14px 0 12px;
  font-size:clamp(1.6rem,3vw,2.5rem);
  line-height:1.15;
  letter-spacing:-.02em;
}

.section-text{
  margin:0;
  color:var(--muted);
  font-size:1rem;
}

.info-strip,
.advantages-section,
.gallery-section,
.seo-article-section,
.cta{
  padding:64px 0 10px;
}

.info-strip-grid,
.grid,
.gallery-grid{
  display:grid;
  gap:18px;
}

.info-strip-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.gallery-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.info-box,
.card,
.project-card,
.seo-article{
  background:linear-gradient(180deg, rgba(19,36,59,0.92), rgba(13,28,48,0.92));
  border:1px solid rgba(255,255,255,0.08);
  border-radius:22px;
  box-shadow:var(--shadow-soft);
}

.info-box,
.card{
  padding:24px;
}

.info-box h3,
.card h3{
  margin:0 0 10px;
}

.info-box p,
.card p{
  margin:0;
  color:var(--muted);
}

.project-card{
  overflow:hidden;
}

.project-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  cursor:zoom-in;
}

.project-card-body{
  padding:22px;
}

.project-card-body h3{
  margin:0 0 10px;
}

.project-card-body p{
  margin:0;
  color:var(--muted);
}

.project-tag{
  display:inline-block;
  margin-bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  color:var(--accent);
  background:rgba(24,214,163,0.08);
  border:1px solid rgba(24,214,163,0.16);
}

.seo-article{
  padding:36px;
}

.seo-article h2{
  margin:0 0 20px;
  font-size:clamp(1.55rem,2.6vw,2.3rem);
}

.seo-article h3{
  margin:34px 0 14px;
  font-size:1.2rem;
}

.seo-article p{
  margin:0 0 16px;
  color:var(--muted);
  text-align:justify;
}

.seo-note{
  margin-top:26px !important;
  padding:18px 20px;
  border-radius:18px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
  color:#bdd0ea !important;
  font-size:.96rem !important;
}

/* CTA */

.cta-card{
  padding:34px;
  border-radius:26px;
  background:
    radial-gradient(circle at 18% 20%, rgba(24,214,163,0.20), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(87,166,255,0.18), transparent 26%),
    linear-gradient(135deg,#0c6d58 0%, #123a71 100%);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:var(--shadow);
}

.cta-card h2{
  margin:0 0 12px;
  font-size:clamp(1.6rem,3vw,2.4rem);
}

.cta-card p{
  max-width:860px;
  margin:0 0 22px;
  color:#e6f0ff;
}

/* FOOTER */

.site-footer{
  border-top:1px solid rgba(255,255,255,0.06);
  background:rgba(5,13,24,0.65);
}

.footer-inner{
  padding:28px 0 34px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.footer-contact{
  display:flex;
  flex-wrap:wrap;
  gap:14px 18px;
}

.footer-contact a{
  color:var(--muted);
}

/* LIGHTBOX */

.lightbox{
  position:fixed;
  inset:0;
  z-index:3000;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(2,8,16,0.94);
  backdrop-filter:blur(8px);
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease, visibility .22s ease;
}

.lightbox.active{
  opacity:1;
  visibility:visible;
}

#lightbox-img{
  max-width:min(94vw, 1500px);
  max-height:90vh;
  border-radius:18px;
  box-shadow:0 24px 80px rgba(0,0,0,0.5);
  border:1px solid rgba(255,255,255,0.08);
  user-select:none;
  -webkit-user-drag:none;
}

.lightbox-close,
.lightbox-nav{
  position:absolute;
  width:56px;
  height:56px;
  border:none;
  border-radius:50%;
  background:rgba(16,30,49,0.86);
  color:#fff;
  font-size:1.8rem;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.lightbox-close{
  top:20px;
  right:20px;
}

.lightbox-prev{
  left:20px;
  top:50%;
  transform:translateY(-50%);
}

.lightbox-next{
  right:20px;
  top:50%;
  transform:translateY(-50%);
}

/* MOBILE */

@media (max-width: 980px){
  .hero-tech-grid,
  .grid,
  .info-strip-grid,
  .gallery-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 860px){
  :root{
    --header-h:74px;
  }

  .logo-img{
    height:46px;
  }

  .burger{
    display:flex;
    position:relative;
    z-index:2002;
  }

  .nav-menu{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    left:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:14px;
    border-radius:20px;
    background:rgba(10,20,34,0.98);
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 24px 60px rgba(0,0,0,0.4);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transition:opacity .22s ease, visibility .22s ease, transform .22s ease;
    z-index:2001;
  }

  .nav-menu.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }

  .nav-menu a{
    width:100%;
    padding:12px 14px;
    border-radius:14px;
  }

  .btn-whatsapp{
    text-align:center;
  }
}

@media (max-width: 640px){
  .container{
    width:min(var(--container), calc(100% - 20px));
  }

  .hero-tech,
  .page-hero{
    padding:58px 0 30px;
  }

  .hero-tech h1,
  .page-hero h1{
    font-size:2rem;
  }

  .hero-text,
  .section-text,
  .seo-article p,
  .card p,
  .info-box p{
    font-size:.96rem;
  }

  .hero-visual-card,
  .card,
  .info-box,
  .seo-article,
  .cta-card{
    padding:20px;
  }

  .hero-actions{
    flex-direction:column;
  }

  .button{
    width:100%;
  }

  .project-card img{
    height:220px;
  }

  .lightbox-close,
  .lightbox-nav{
    width:48px;
    height:48px;
    font-size:1.5rem;
  }

  .lightbox-close{
    top:12px;
    right:12px;
  }

  .lightbox-prev{
    left:10px;
  }

  .lightbox-next{
    right:10px;
  }

  #lightbox-img{
    max-width:100vw;
    max-height:100vh;
    border-radius:0;
  }
}
