@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,.06);
  --shadowHover:0 26px 70px rgba(15,23,42,.12);
  --transition:.35s cubic-bezier(.4,0,.2,1);
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',Arial,sans-serif;
  background:linear-gradient(to bottom,#f8fafc,#eef2f7);
  color:var(--text);
  line-height:1.7;
  overflow-x:hidden;
}

a{
  text-decoration:none;
}

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

.container{
  width:min(1200px,92%);
  margin:auto;
}

/* =========================================
   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: 68px;
  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://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;
  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{
  width:min(1200px,92%);
  margin:auto;
  padding:72px 0;
}

.compact-section{
  padding-top:20px;
}

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

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

.feature-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:30px;
  align-items:stretch;
}

.feature-panel,
.feature-image,
.serv-card,
.step-item,
.ubicacion-card{
  border:1px solid rgba(148,163,184,.28);
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  box-shadow:var(--shadow);
}

.feature-panel{
  padding:36px;
  border-radius:28px;
}

.feature-panel h4{
  margin-bottom:12px;
  color:var(--text);
  font-size:30px;
  line-height:1.14;
  font-weight:800;
}

.feature-panel p{
  margin-bottom:22px;
  color:var(--textSoft);
}

.feature-panel ul{
  list-style:none;
  display:grid;
  gap:12px;
  margin-bottom:28px;
}

.feature-panel li{
  position:relative;
  padding-left:22px;
  color:#334155;
}

.feature-panel li::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
}

.feature-image{
  min-height:430px;
  overflow:hidden;
  border-radius:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.feature-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}

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

.serv-card{
 padding:28px;
    border-radius:24px;
    transition:var(--transition);

    display:flex;
    flex-direction:column;
    align-items:center;
}
.step-item{
    padding:28px;
    border-radius:24px;
    transition:var(--transition);

    display:flex;
    flex-direction:column;
    align-items:center;
}

.serv-card:hover,
.step-item:hover{
  transform:translateY(-5px);
  border-color:rgba(37,99,235,.32);
  box-shadow:var(--shadowHover);
}

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

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

.serv-card p,
.step-item p{
  color:var(--textSoft);
}

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

.ubicacion-card{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  overflow:hidden;
  border-radius:28px;
}

.ubicacion-info{
  padding:38px;
  display:flex;
  flex-direction:column;
  gap:22px;
}

.ubicacion-item strong{
  display:block;
  margin-bottom:6px;
  color:var(--text);
}

.ubicacion-item p{
  color:var(--textSoft);
}

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

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

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

