/* =========================================
   TECNOLOGIASIE — PREMIUM EXECUTIVE UI
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{

  --bg:#eef2f7;
  --white:#ffffff;

  --primary:#0f172a;
  --primary2:#1e3a5f;

  --accent:#2563eb;

  --text:#0f172a;
  --textSoft:#475569;
  --text-muted:#64748b;

  --border:#dbe3ee;

  --shadow:
  0 10px 30px rgba(15,23,42,.05);

  --shadowHover:
  0 24px 60px rgba(15,23,42,.10);

  --radius:28px;

  --transition:.35s cubic-bezier(.4,0,.2,1);
}

/* ========================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{

  font-family:'Inter',sans-serif;

  background:
  linear-gradient(
    to bottom,
    #f8fafc 0%,
    #eef2f7 100%
  );

  color:var(--text);

  overflow-x:hidden;

  line-height:1.7;
}

/* =========================================
   GLOBAL
========================================= */

a{
  text-decoration:none;
}

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

/* =========================================
   HEADER
========================================= */

header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:9999;
  background:rgb(255, 255, 255);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(15,23,42,.04);
  box-shadow:0 4px 20px rgba(15,23,42,.03);
}

header::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,transparent,rgba(37,99,235,.55),transparent);
}

/* =========================================
   TOPBAR
========================================= */

.topbar{
  width:min(1200px,92%);
  height:92px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  height: 78px;
  width: auto;
  object-fit: contain;
}

.brand-text h1{
  font-size:18px;
  font-weight:700;
  color:#0f172a;
}

.brand-text p{
  font-size:13px;
  color:#64748b;
  font-weight:500;
}

nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  margin-left:auto;
}

nav a{
  height:46px;
  padding:0 20px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#334155;
  font-size:14px;
  font-weight:600;
  transition:all .3s ease;
  text-decoration:none;
}

nav a:hover{
  background:#f1f5f9;
  color:#0f172a;
}

.admin-link{
  background:linear-gradient(135deg,#0f172a,#1e3a5f);
  color:#fff !important;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
}

/* RESPONSIVE NAVBAR */

@media(max-width:768px){
  .topbar{
    height:78px;
  }
  .brand-logo{
    width:145px;
  }
  nav a{
    padding:0 14px;
    height:40px;
    font-size:13px;
  }
}

/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  padding: 160px 20px 140px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Capa de imagen de fondo - PUNTO DE VENTA */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://concordsecurity.com.pa/wp-content/uploads/2022/09/2641X1204_Tipos-de-Camaras-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  opacity: 0.5;
}

/* Degradado superpuesto */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(7, 17, 31, 0.88) 0%,
    rgba(20, 40, 77, 0.82) 30%,
    rgba(37, 99, 235, 0.7) 70%,
    rgba(30, 64, 175, 0.85) 100%
  );
  z-index: -1;
}

/* Efecto de brillo radial */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, 
    transparent 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* Contenedor del contenido centrado */
.hero-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Contenido centrado */
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Badge centrado */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  color: #dbeafe;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Título principal */
.hero h2 {
  margin: 0 0 20px 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  justify-content: center;

}

/* Párrafo */
.hero p {
  margin: 0 0 40px 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(18px, 2.5vw, 22px);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  text-align-last: center;
}
/* Botón */
.btn-cotizar {
  min-height: 56px;
  padding: 0 42px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-cotizar:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* =========================================
   SERVICIOS
========================================= */

.servicios{

  width:min(1200px,92%);

  margin:auto;

  padding:100px 0;
}

.servicios h3{

  text-align:center;

  font-size:42px;

  letter-spacing:-2px;

  margin-bottom:60px;

  color:#0f172a;
}

/* GRID */

.cards-grid{

  display:flex;

  flex-direction:column;

  gap:38px;

  width:min(980px,100%);

  margin:auto;
}

/* CARD */

.serv-card{

  position:relative;

  background:
  linear-gradient(
    145deg,
    rgba(255,255,255,.98),
    rgba(248,250,252,.98)
  );

  border-radius:34px;

  padding:42px;

  overflow:hidden;

  border:
  1px solid rgba(255,255,255,.9);

  box-shadow:
  0 18px 40px rgba(15,23,42,.06);

  transition:.35s ease;
}

.serv-card::after{

  content:"";

  position:absolute;

  top:0;
  left:0;

  width:100%;
  height:4px;

  background:
  linear-gradient(
    90deg,
    #0f172a,
    #2563eb
  );
}

.serv-card:hover{

  transform:translateY(-6px);

  box-shadow:
  0 26px 60px rgba(15,23,42,.10);
}

.serv-card h4{

  font-size:34px;

  font-weight:800;

  letter-spacing:-1px;

  margin-bottom:10px;

  color:#0f172a;
}

.serv-card p{

  font-size:16px;

  color:#475569;

  margin-bottom:28px;
}

.serv-card ul{

  list-style:none;

  display:grid;

  grid-template-columns:
  repeat(2,minmax(0,1fr));

  gap:16px 26px;

  margin-bottom:34px;
}

.serv-card ul li{

  position:relative;

  padding-left:24px;

  color:#334155;

  font-size:15px;

  line-height:1.7;
}

.serv-card ul li::before{

  content:"";

  position:absolute;

  left:0;
  top:10px;

  width:8px;
  height:8px;

  border-radius:50%;

  background:#2563eb;
}

/* PRECIO */

.serv-price{

  display:inline-flex;

  align-items:center;

  justify-content:center;

  padding:18px 28px;

  border-radius:18px;

  background:
  linear-gradient(
    135deg,
    #0f172a,
    #1e3a5f
  );

  color:#fff;

  font-size:34px;

  font-weight:800;

  letter-spacing:-1px;

  box-shadow:
  0 14px 34px rgba(15,23,42,.14);
}

.serv-price-btn{

  border:none;

  cursor:pointer;

  font-family:inherit;
}

/* =========================================
   UBICACION
========================================= */

.ubicacion-card{

  background:#fff;

  border-radius:34px;

  overflow:hidden;

  display:grid;

  grid-template-columns:
  1fr 1.2fr;

  box-shadow:
  0 16px 40px rgba(15,23,42,.06);
}

.ubicacion-info{

  padding:42px;

  display:flex;

  flex-direction:column;

  gap:30px;
}

.ubicacion-item{

  display:flex;

  gap:18px;
}
.ubicacion-item strong{

  display:block;

  margin-bottom:4px;

  color:#0f172a;
}

.ubicacion-item p{

  color:#475569;

  font-size:14px;
}

.ubicacion-mapa{

  min-height:430px;
}

/* =========================================
   FOOTER
========================================= */

.witrfm_area{

    background:#0f172a;

    color:#fff;

    margin-top:120px;
}

.footer-middle{

    padding:90px 0 60px;
}

.footer-middle .container{

    width:min(1200px,92%);

    margin:auto;
}

.footer-middle .row{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:50px;
}

.footer-box h2{

    font-size:22px;

    margin-bottom:26px;

    position:relative;
}

.footer-box h2::after{

    content:'';

    width:55px;
    height:3px;

    background:#2563eb;

    position:absolute;

    left:0;
    bottom:-10px;

    border-radius:20px;
}

.footer-box p{

    color:rgba(255,255,255,.72);

    line-height:1.9;

    font-size:15px;
}

.social-icons{

    display:flex;

    gap:14px;

    margin-top:24px;
}

.social-icons a{

    width:46px;
    height:46px;

    border-radius:14px;

    background:rgba(255,255,255,.08);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    transition:.3s;
}

.social-icons a:hover{

    background:#2563eb;

    transform:translateY(-4px);
}

.footer-links{

    list-style:none;

    display:flex;

    flex-direction:column;

    gap:14px;
}

.footer-links a{

    color:rgba(255,255,255,.72);

    transition:.3s;
}

.footer-links a:hover{

    color:#60a5fa;

    padding-left:6px;
}

.footer-contact{

    display:flex;

    flex-direction:column;

    gap:20px;
}

.footer-item{

    display:flex;

    gap:14px;

    align-items:flex-start;
}

.footer-item i{

    color:#60a5fa;

    margin-top:4px;
}

.footer-item span{

    color:rgba(255,255,255,.72);

    line-height:1.7;

    font-size:15px;
}

.footer-hours{

    display:flex;

    flex-direction:column;

    gap:18px;
}

.hour-row{

    display:flex;

    justify-content:space-between;

    border-bottom:
    1px solid rgba(255,255,255,.08);

    padding-bottom:10px;

    color:rgba(255,255,255,.72);

    font-size:15px;
}

.footer-bottom{

    border-top:
    1px solid rgba(255,255,255,.08);

    padding:24px 20px;

    text-align:center;
}

.copy-right-text p{

    color:rgba(255,255,255,.6);

    font-size:14px;
}

/* RESPONSIVE */

@media(max-width:1000px){

    .footer-middle .row{

        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:768px){

    .footer-middle .row{

        grid-template-columns:1fr;
    }

    .footer-box{

        text-align:center;
    }

    .footer-box h2::after{

        left:50%;

        transform:translateX(-50%);
    }

    .social-icons{

        justify-content:center;
    }

    .footer-item{

        justify-content:center;
    }

    .hour-row{

        flex-direction:column;

        gap:6px;

        text-align:center;
    }
}

@media(max-width:900px){

  .serv-card{

    grid-template-columns:1fr;

    padding:34px 28px;
  }

  .serv-card ul{

    grid-template-columns:1fr;
  }

  .serv-price{

    width:100%;
  }

  .serv-card h4{

    font-size:28px;
  }
}

/* =========================================
   WHATSAPP
========================================= */

.whatsapp-float{

  position:fixed;

  right:26px;
  bottom:26px;

  width:62px;
  height:62px;

  border-radius:50%;

  background:#25D366;

  color:#fff;

  display:flex;

  align-items:center;

  justify-content:center;

  font-size:30px;

  box-shadow:
  0 16px 34px rgba(37,211,102,.24);

  z-index:999;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:950px){

  .camaras-hero{

    padding:130px 20px 80px;
  }

  .camaras-hero .hero-content{

    align-items:center;

    text-align:center;
  }

  .camaras-hero h2{

    font-size:clamp(42px,10vw,64px);
  }

  .camaras-hero p{

    font-size:18px;
  }

  .serv-card ul{

    grid-template-columns:1fr;
  }

  .ubicacion-card{

    grid-template-columns:1fr;
  }

  .footer-middle .row{

    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:768px){

  .topbar{

    height:78px;
  }

  .brand-logo{

    width:145px;
  }

  nav a{

    padding:0 14px;

    height:40px;

    font-size:13px;
  }

  .servicios h3{

    font-size:34px;
  }

  .serv-card{

    padding:30px 24px;
  }

  .serv-card h4{

    font-size:28px;
  }

  .footer-middle .row{

    grid-template-columns:1fr;
  }
}

/* =========================================
   MODAL
========================================= */

.modal-overlay{

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,.65);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  visibility: hidden;

  z-index: 99999;

  transition: .3s ease;
}

/* CUANDO SE ABRE */

.modal-overlay.active{

  opacity: 1;

  visibility: visible;
}

/* CAJA DEL MODAL */

.modal{

  width: min(500px,90%);

  background: #fff;

  border-radius: 24px;

  padding: 32px;

  position: relative;

  box-shadow:
  0 20px 60px rgba(0,0,0,.25);
}

/* BOTON CERRAR */

.modal-close{

  position: absolute;

  top: 14px;
  right: 14px;

  width: 38px;
  height: 38px;

  border: none;

  border-radius: 12px;

  cursor: pointer;

  font-size: 20px;

  background: #f1f5f9;
}

/* FORM */

.form-group{

  margin-bottom: 18px;
}

.form-group label{

  display: block;

  margin-bottom: 6px;

  font-weight: 600;
}

.form-group input{

  width: 100%;

  height: 50px;

  border: 1px solid #dbe3ee;

  border-radius: 14px;

  padding: 0 14px;

  font-size: 14px;
}

.btn-submit{

  width: 100%;

  height: 54px;

  border: none;

  border-radius: 16px;

  background:
  linear-gradient(135deg,#0f172a,#1e3a5f);

  color: #fff;

  font-weight: 700;

  cursor: pointer;
}