@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;
  --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;
}

a {
  text-decoration: none;
}

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  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 {
  width: min(1200px, 92%);
  height: 80px;
  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: 68px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

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

/* =========================================
   HERO CON IMAGEN DE FONDO PUNTO DE VENTA
========================================= */

.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://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=1920&q=80');
  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;
  text-align:center;
  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);
}

/* Párrafo */
.hero p {
  margin: 0 0 40px 0;
  color: rgba(255, 255, 255, 0.95);
  text-align:center;
  font-size: clamp(18px, 2.5vw, 22px);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 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 / SISTEMAS POS
========================================= */

.servicios {
  width: min(1200px, 92%);
  margin: auto;
  padding: 80px 0;
}

.servicios h3 {
  text-align: center;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--textSoft);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.serv-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .98));
  border-radius: 28px;
  display: grid;
  grid-template-columns: 40% 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.serv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadowHover);
}

.serv-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.serv-img img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.serv-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-flex;
  padding: 6px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  width: fit-content;
}

.serv-card h4 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.serv-card p {
  color: var(--textSoft);
  margin-bottom: 16px;
  font-size: 13px;
}

.serv-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.serv-card ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
  color: #334155;
  font-size: 12px;
}

.serv-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 12px;
}

.serv-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 40px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  width: fit-content;
}

.serv-price:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================
   HARDWARE GRID
========================================= */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.hardware-grid {
  margin-top: 20px;
}

.benefit-item {
  padding: 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadowHover);
}

.benefit-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
}

.benefit-item p {
  color: var(--textSoft);
  font-size: 14px;
  line-height: 1.6;
}

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

.ubicacion-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ubicacion-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ubicacion-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
}

.ubicacion-item p {
  color: var(--textSoft);
  font-size: 14px;
  line-height: 1.5;
}

.ubicacion-mapa {
  min-height: 400px;
}

.ubicacion-mapa iframe {
  width: 100%;
  height: 100%;
}

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

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99999;
  padding: 80px 16px 16px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 32px;
  max-width: 700px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #94a3b8;
  line-height: 1;
  transition: color .15s;
}

.modal-close:hover {
  color: #0f3460;
}

.modal h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f3460;
  margin: 0 0 4px;
}

.modal .subtitle {
  color: #64748b;
  font-size: .875rem;
  margin: 0 0 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.form-group input,
.form-group select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 13px;
  background: #0f3460;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: background .15s, transform .1s;
}

.btn-submit:hover:not(:disabled) {
  background: #1a4a80;
}

.btn-submit:active:not(:disabled) {
  transform: scale(.98);
}

.btn-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

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

/* =========================================
   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;
}
