:root{
  /* Colores Base */
  --bg:#cfd0d1;
  --bg2:#eef2f6;
  --card:rgba(255,255,255,.82);
  --stroke:rgba(15,23,42,.10);
  --text:#0f172a;
  --muted:#475569;

  /* Colores Tono Azul */
  --brand:#2b6cb0;
  --brand2:#1e3a8a;

  /* Colores Footer */
  --navy:#0b1b33;
  --navy2:#0f2a4a;
  --nav-text:rgba(255,255,255,.92);
  --nav-muted:rgba(255,255,255,.72);
  --nav-stroke:rgba(255,255,255,.16);

  --radius:18px;
  --max:1140px;
  --shadow:0 14px 45px rgba(15,23,42,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(43,108,176,.10), transparent 55%),
    radial-gradient(900px 520px at 85% 20%, rgba(30,58,138,.06), transparent 55%),
    linear-gradient(180deg, var(--bg), #f3f5f8);
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* =========================
   TOPBAR
========================= */
.topbar{
  position:sticky;top:0;z-index:50;
  background:linear-gradient(180deg, var(--navy), var(--navy2));
  border-bottom:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 30px rgba(2,6,23,.25);
}

.topbar__inner{
  position:relative; 
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:12px 0;
}

.brand{display:flex;align-items:center;gap:12px}
.brand__mark{
  width:44px;height:44px;
  border-radius:12px;
  object-fit:contain;
  background:rgba(255,255,255,.95);
  padding:6px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 10px 24px rgba(2,6,23,.25);
}

.brand__text{display:flex;flex-direction:column;line-height:1.1}
.brand__text strong{
  font-weight:850;letter-spacing:.2px;
  color:var(--nav-text);
}
.brand__text span{
  font-size:12px;
  color:var(--nav-muted);
}

/* Menú desktop */
.nav{display:flex;gap:12px;align-items:center}
.nav a{
  padding:10px 10px;
  border-radius:12px;
  color:var(--nav-muted);
}
.nav a:hover{
  color:var(--nav-text);
  background:rgba(255,255,255,.10);
}
.nav a.active{
  color:var(--nav-text);
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
}

/* Botones en topbar */
.topbar .btn--ghost{
  background:rgba(255,255,255,.12);
  color:var(--nav-text);
  border:1px solid rgba(255,255,255,.20);
}
.topbar .btn--ghost:hover{background:rgba(255,255,255,.16)}

/* Botón hamburguesa  */
.nav-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
  color:var(--nav-text);
  font-size:20px;
  line-height:1;
  cursor:pointer;
  padding:10px 12px;
  border-radius:12px;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:999px;font-weight:800;
  background:linear-gradient(135deg, var(--brand), #4f95d7);
  color:#ffffff;border:none;
  box-shadow:0 14px 30px rgba(43,108,176,.22);
  transition:transform .12s ease, filter .12s ease;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px);filter:brightness(.98)}
.btn.is-active{
  filter:brightness(.92);
  box-shadow:0 16px 34px rgba(0,0,0,.25);
  outline:1px solid rgba(255,255,255,.22);
}

.btn--ghost{
  background:rgba(255,255,255,.75);
  color:var(--text);
  border:1px solid rgba(15,23,42,.12);
  box-shadow:none;
}
.btn--ghost:hover{background:rgba(255,255,255,.92)}
.btn--small{padding:10px 14px;font-size:14px}

.pill{
  display:inline-flex;gap:8px;align-items:center;
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(43,108,176,.16);
  background:rgba(43,108,176,.08);
  color:var(--brand2);
  font-size:13px;
  font-weight:700;
}

/*HERO (BASE PARA TODAS LAS PÁGINAS)*/
.hero{
  position:relative;
  padding:70px 0 36px;
  background:url("../img/hero.jpg") center/cover no-repeat;
  border-bottom:1px solid rgba(15,23,42,.10);
}

.hero::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(
    90deg,
    rgba(246,247,249,.94) 0%,
    rgba(246,247,249,.80) 48%,
    rgba(246,247,249,.55) 100%
  );
  pointer-events:none;
}

.hero--compact{padding:48px 0 26px}

.hero__grid{
  position:relative;
  display:grid;
  grid-template-columns:1.18fr .82fr;
  gap:18px;
  align-items:stretch;
}

/* Tarjeta */
.hero__grid > :first-child{
  background: rgba(255, 255, 255, 0.555);
  border:1px solid rgba(15,23,42,.10);
  border-top:3px solid rgba(43,108,176,.30);
  border-bottom:3px solid rgba(43,108,176,.18);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero h1{
  margin:12px 0 12px;
  font-size:clamp(2.1rem, 3.8vw, 3.15rem);
  line-height:1.06;
  letter-spacing:-.6px;
}
.hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:17px;
}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 18px}
.hero__badges{display:flex;flex-wrap:wrap;gap:10px}

.hero__media{
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.55);
  min-height:340px;
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero__media::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(246,247,249,.00), rgba(246,247,249,.18));
}
.hero__tag{
  position:absolute;
  left:16px;bottom:16px;
  z-index:2;
  max-width:88%;
}

/* =========================
   HERO EMPRESA (VISIÓN)
========================= */

.hero--vision .hero__grid{
  grid-template-columns: 1fr !important;
  justify-items: center;
}
.hero--vision .hero__grid > :first-child{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.hero--vision .hero__content--glass{
  width: min(980px, 100%);
  padding: 20px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  font-weight: 500;
}

.hero--vision .hero__content--glass::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255, 255, 255, 0.555);
  pointer-events:none;
  z-index:0;
  border: 1px solid rgba(15,23,42,.10);
  border-top: 3px solid rgba(43,108,176,.30);
  border-bottom: 3px solid rgba(43,108,176,.18);
  box-shadow: var(--shadow);
  font-weight: 500;
}


.hero--vision .hero__content--glass > *{
  position: relative;
  z-index: 1;
}

.hero--vision .vision-block{
  padding: 0;
  background: transparent;
  border: 0;
}

.hero--vision .vision-title{
  margin: 12px 0 12px;
  text-align: center;
  font-weight: 900;
  letter-spacing: .2px;
}

.hero--vision .vision-text{
  margin: 0 auto 12px;
  max-width: 860px;
  color: rgb(15, 23, 42);
  line-height: 1.75;
  text-align: justify;
  font-weight: 500;
}

.hero--vision .vision-sep{
  border: 0;
  height: 1px;
  background: rgba(15,23,42,.10);
  margin: 12px auto;
  max-width: 860px;
}

.hero--vision .vision-list{
  margin: 12px auto 0;
  max-width: 860px;
  color: rgba(15,23,42,.72);
  padding-left: 18px;
  padding-bottom: 60px;
}

.hero--vision .vision-list li{
  margin: 10px 0;
  line-height: 1.2;
  
}

.hero--vision .vision-sign{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  font-weight: 900;
  letter-spacing: .3px;
  color: rgba(15,23,42,.82);
  margin: 0;
}

/* Mobile */
@media (max-width: 900px){
  .hero--vision .hero__content--glass{
    padding: 18px;
    padding-bottom: 64px;
  }
  .hero--vision .vision-text{ text-align: left; }
}


/* HERO SLIDER COMO FOND */
.hero--slider{ overflow:hidden; }
.hero--slider .hero__slides{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
}
.hero--slider .hero__slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .9s ease, transform 1.4s ease;
  pointer-events:none;
}
.hero--slider .hero__slide.is-active{
  opacity:1;
  transform:scale(1);
}
.hero--slider .container{
  position:relative;
  z-index:2;
}

/* =========================
   HOME HERO (Index) 
========================= */
#home-hero{
  position:relative;
  overflow:hidden;
}

#home-hero::before{
  content:"";
  position:absolute; inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(1100px 650px at 70% 45%, rgba(255,255,255,.10), transparent 62%),
    linear-gradient(90deg,
      rgba(6,10,18,.82) 0%,
      rgba(6,10,18,.62) 38%,
      rgba(6,10,18,.26) 72%,
      rgba(6,10,18,.10) 100%);
}

#home-hero::after{
  content:"";
  position:absolute;
  left:10%;
  top:52%;
  transform:translateY(-50%);
  width:min(520px, 46vw);
  height:min(520px, 46vw);
  background:url("../logo.png") center/contain no-repeat;
  opacity:.18;
  filter:grayscale(80%) blur(0.2px);
  pointer-events:none;
  z-index:2;
}

#home-hero .hero__grid{
  position:relative;
  z-index:3;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  min-height:clamp(520px, 72vh, 860px);
}

#home-hero .hero__grid > :first-child{
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
}

#home-hero .hero__content{
  width:min(680px, 92%);
  padding:28px;
  border-radius:18px;
  background:rgba(10,14,22,.38);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
  box-shadow:0 26px 80px rgba(0,0,0,.38);
}

#home-hero .hero__content h1{
  color:#fff;
  text-shadow:none;
}
#home-hero .hero__content p,
#home-hero .hero__content .lead{
  color:rgba(255,255,255,.88);
}
#home-hero .hero__content strong{
  color:rgba(255,255,255,.96);
}

#home-hero .pill{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.14);
  color:rgba(255,255,255,.92);
}
#home-hero .hero__content > .pill{
  background:rgba(47,111,237,.18);
  border-color:rgba(47,111,237,.38);
}

#home-hero .btn--ghost{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
}
#home-hero .btn--ghost:hover{
  background:rgba(255,255,255,.14);
}

/* =========================
   SECTIONS
========================= */
.section{padding:54px 0}
.section--alt{
  background:rgba(255,255,255,.70);
  border-top:1px solid rgba(15,23,42,.10);
  border-bottom:1px solid rgba(15,23,42,.10);
}
h2{font-size:32px;margin:0 0 10px;letter-spacing:-.3px}
.lead{margin:0 0 18px;color:var(--muted)}

/* =========================
   STRIP
========================= */
.strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  padding:18px 0;
}
.strip__item{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  padding:14px 14px;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}
.strip__k{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.6px}
.strip__v{font-weight:800}
.strip__list{
  margin:8px 0 0;
  padding-left:18px;
  color:var(--muted);
}
.strip__list li{
  margin:4px 0;
  font-weight:700;
  color:var(--text);
}

/* =========================
   CARDS + GRIDS
========================= */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}

.card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 25px rgba(15,23,42,.08);
}
.card h3{margin:8px 0 6px}
.card p{margin:0;color:var(--muted)}
.card ul{margin:12px 0 0;padding-left:18px;color:var(--muted)}

.kicker{
  color:var(--brand2);
  font-weight:900;
  font-size:12px;
  letter-spacing:.8px;
  text-transform:uppercase;
}

a.card, a.card--link{
  color:inherit;
  text-decoration:none;
  display:block;
  transition:transform .12s ease, border-color .12s ease;
}
@media (hover:hover){
  a.card:hover, a.card--link:hover{
    transform:translateY(-2px);
    border-color:rgba(43,108,176,.25);
  }
}
.card--link:hover{border-color:rgba(43,108,176,.28)}

.cta-row{margin-top:16px}

/* =========================
   GALLERY (Home)
========================= */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tile{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255, 255, 255, 0.356);
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}
.tile__img{
  height:180px;
  background:rgba(15,23,42,.04);
  display:grid;
  place-items:center;
  color:rgba(15,23,42,.55);
}
.tile__cap{padding:12px 14px}
.tile__cap span{display:block;color:var(--muted);font-size:13px}

/* =========================
   CONTACTO
========================= */
.contact-list{display:grid;gap:12px;margin-top:14px}
.contact-item{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.75);
}
.contact-label{color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:.6px}
.contact-value{font-weight:800}
.link{color:var(--text); border-bottom:1px solid rgba(43,108,176,.35)}
.link:hover{border-bottom-color: rgba(43,108,176,.55)}

.map-box{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.70);
  height:260px;
  display:grid;place-items:center;
}
.map-ph{color:rgba(15,23,42,.55)}

.form label{display:block;margin:10px 0;color:var(--muted);font-size:14px}
.form label span{display:block;margin-bottom:6px}
input, textarea, select{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.85);
  padding:11px 12px;
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus, select:focus{border-color: rgba(43,108,176,.55)}
.contact-item--two .contact-label{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-kicker{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(15,23,42,.75);
}

.contact-sub{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(15,23,42,.55);
}

.contact-value--stack{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-phone{
  font-weight: 900;
}

.contact-email{
  font-size: 14px;
  opacity: .85;
}

/* =========================
   PORTAFOLIO
========================= */
.filters{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 18px}
.filter{
  cursor:pointer;
  border-radius:999px;
  padding:10px 14px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.72);
  color:var(--muted);
  font-weight:800;
}
.filter:hover{color:var(--text)}
.filter.is-active{
  color:#ffffff;
  border-color:transparent;
  background:linear-gradient(135deg, var(--brand), #4f95d7);
}

.gallery--pro{grid-template-columns:repeat(3,1fr)}
.work{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.70);
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}
.work__img{
  height:210px;
  background:rgba(15,23,42,.04);
  display:grid;
  place-items:center;
  color:rgba(15,23,42,.55);
}
.work__cap{padding:12px 14px}
.work__cap span{display:block;color:var(--muted);font-size:13px}

/* =========================
   STEPS (Empresa)
========================= */
.steps{display:grid;gap:10px;margin-top:12px}
.step{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:10px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.75);
}
.step__n{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  font-weight:900;
  color:#ffffff;
  background:linear-gradient(135deg, var(--brand), #4f95d7);
}
.step__t span{display:block;color:var(--muted);font-size:13px;margin-top:2px}

/* =========================
   FOOTER (AZUL ELEGANTE)
========================= */
.footer{
  padding:24px 0;
  background:linear-gradient(180deg, var(--navy2), var(--navy));
  border-top:1px solid rgba(255,255,255,.10);
}

.footer__inner{
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:18px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  color:var(--nav-text);
}
.footer .muted{color:var(--nav-muted)}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp{
  position:fixed;right:18px;bottom:18px;z-index:80;
  width:54px;height:54px;border-radius:999px;
  display:grid;place-items:center;
  background:#25D366;
  box-shadow:0 16px 40px rgba(15,23,42,.20);
  transition:transform .12s ease;
}
.whatsapp:hover{transform:translateY(-2px)}
.whatsapp svg{width:26px;height:26px;fill:#0b1222}

/* =========================
   MODAL (POPUP) - SOBRIO
========================= */
.modal[aria-hidden="true"]{display:none}
.modal{
  position:fixed; inset:0;
  z-index:120;
}

.modal__backdrop{
  position:absolute; inset:0;
  background:rgba(15,23,42,.55);
  backdrop-filter: blur(6px);
}

.modal__panel{
  position:relative;
  width:min(760px, calc(100% - 28px));
  margin:8vh auto;
  border-radius:18px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.14);
  box-shadow:0 24px 70px rgba(15,23,42,.28);
  overflow:hidden;
}

.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  background:linear-gradient(180deg, rgba(30,58,138,.10), rgba(255,255,255,0));
  border-bottom:1px solid rgba(15,23,42,.10);
}

.modal__title{margin:0; font-size:18px; font-weight:900; letter-spacing:.2px}

.modal__close{
  width:38px;height:38px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.75);
  cursor:pointer;
  font-weight:900;
}
.modal__close:hover{background:rgba(255,255,255,.92)}

.modal__body{
  padding:16px 16px 18px;
  color:var(--muted);
}

/* =========================
   RESPONSIVE + MENÚ MÓVIL (unificado)
========================= */
@media (max-width: 900px){
  .hero__grid{grid-template-columns:1fr}
  .hero h1{font-size:36px}
  .grid3,.grid2,.gallery,.strip{grid-template-columns:1fr}
  .hero__media{min-height:220px}
  .gallery--pro{grid-template-columns:1fr}

  .hero::before{
    background:linear-gradient(
      180deg,
      rgba(246,247,249,.94) 0%,
      rgba(246,247,249,.86) 55%,
      rgba(246,247,249,.72) 100%
    );
  }

  /* Home hero: centrado y un poco más compacto */
  #home-hero .hero__grid{
    justify-content:center;
    min-height:auto;
    padding:18px 0;
  }

  /* Menú móvil */
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .nav{
    display:none;
    position:absolute;
    right:18px;
    top:65px;
    flex-direction:column;
    gap:10px;
    padding:12px;
    border-radius:16px;
    background:linear-gradient(180deg, rgba(11,27,51,.98), rgba(15,42,74,.98));
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 18px 50px rgba(2,6,23,.35);
    width:min(280px, calc(100vw - 36px));
    max-height:calc(100vh - 110px);
    overflow:auto;
    z-index:9999;
  }

  .nav.is-open{ display:flex; }

  .nav a{
    width:100%;
    padding:12px 14px;
    border-radius:14px;
    color:var(--nav-text);
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
  }

  .nav a:hover{
    background:rgba(255,255,255,.10);
    border-color:rgba(255,255,255,.14);
  }

  .nav a.active{
    background:rgba(255,255,255,.16);
    border-color:rgba(255,255,255,.22);
  }

  .nav .btn{
    width:100%;
    justify-content:center;
    box-shadow:none;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.22);
    color:var(--nav-text);
  }

  .footer__inner{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }

  /* visión */
  .hero--vision .hero__content--glass{ padding:16px; }
  .hero--vision .vision-text{ text-align:left; }
}

/* =========================
   POPUP Página en construcción 
========================= */
.pc-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:99999;
}

.pc-modal.is-open{ display:block; }

.pc-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pc-panel{
  position:relative;
  width:min(680px, calc(100% - 28px));
  margin:10vh auto;
  border-radius:18px;
  overflow:hidden;

  background:rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.14);
  box-shadow:0 28px 80px rgba(0,0,0,.35);
}

.pc-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  background:linear-gradient(180deg, rgba(43,108,176,.10), rgba(255,255,255,0));
  border-bottom:1px solid rgba(15,23,42,.10);
}

.pc-title{
  margin:0;
  font-size:18px;
  font-weight:900;
  letter-spacing:.2px;
  color:var(--text);
}

.pc-close{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.75);
  cursor:pointer;
  font-weight:900;
}

.pc-close:hover{ background:rgba(255,255,255,.92); }

.pc-body{
  padding:16px 16px 18px;
  color:var(--muted);
}

.pc-body p{ margin:0 0 12px; }

.pc-list{
  margin:0 0 14px;
  padding-left:18px;
}

.pc-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:14px 0 12px;
}

.pc-check{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:var(--muted);
}

@media (max-width: 900px){
  .pc-panel{ margin:12vh auto; }
}

/* =========================
   WhatsApp selector 
========================= */
.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
}

.wa-btn{
  width:54px;height:54px;border-radius:999px;
  display:grid;place-items:center;
  border:none;
  cursor:pointer;
  background:#25D366;
  box-shadow:0 16px 40px rgba(15,23,42,.20);
  transition:transform .12s ease;
}
.wa-btn:hover{transform:translateY(-2px)}
.wa-btn svg{width:26px;height:26px;fill:#0b1222}

.wa-menu{
  position:absolute;
  right:0;
  bottom:66px;
  width:min(320px, calc(100vw - 36px));
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.12);
  box-shadow:0 22px 70px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display:none;
}

.wa-float.is-open .wa-menu{ display:block; }

.wa-menu__title{
  font-weight:900;
  color:var(--text);
  margin:2px 2px 10px;
  letter-spacing:.2px;
}

.wa-item{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(15,23,42,.03);
  border:1px solid rgba(15,23,42,.08);
  margin-bottom:10px;
  color:var(--text);
  text-decoration:none;
  font-weight:900;
}

.wa-item span{
  font-weight:700;
  color:var(--muted);
  font-size:12.5px;
}

.wa-item:hover{
  background:rgba(43,108,176,.08);
  border-color:rgba(43,108,176,.18);
}

.wa-close{
  width:100%;
  border:none;
  cursor:pointer;
  border-radius:14px;
  padding:10px 12px;
  font-weight:900;
  background:rgba(15,23,42,.06);
  color:var(--text);
}
.wa-close:hover{ background:rgba(15,23,42,.09); }

/* =========================
   FORM
========================= */
.form-wrap{
  display:flex;
  justify-content:center;
}

.form-wrap .form{
  width: min(980px, 100%);
}


.form-head{
  padding-bottom:14px;
  margin-bottom:14px;
  border-bottom:1px solid rgba(15,23,42,.10);
}

.form{ padding:22px; }

.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}

.form label{ display:block; margin:0; }
.form label span{
  display:block;
  margin:10px 0 6px;
  color:var(--muted);
  font-size:14px;
}
.form input,
.form textarea,
.form select{
  width:100%;
  display:block;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.85);
  padding:12px 12px;
  color:var(--text);
  outline:none;
}
.form textarea{ resize:vertical; min-height:160px; }

.form input:focus,
.form textarea:focus,
.form select:focus{
  border-color: rgba(43,108,176,.55);
  box-shadow: 0 0 0 4px rgba(43,108,176,.10);
}

.form-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
}

@media (max-width: 900px){
  .form-grid{ grid-template-columns:1fr; }
}

.map-box{
  height:290px;
  overflow:hidden;
  border-radius:var(--radius);
}
.map-box iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.map-box--tight iframe{
  transform: translateY(0px);
  height: calc(100%);
}

/* =========================
   MARTILLO - SLIDER FICHA TÉCNICA
========================= */

html, body{
  max-width: 100%;
  overflow-x: hidden;
}

.card--compact{
  width: 100%;
  max-width: none; 
}

.spec-slider{
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  background:rgba(255,255,255,.65);
  max-width: 100%;
}

.spec-track{
  display:flex;
  transition: transform .35s ease;
  will-change: transform;
}

.spec-slide{
  min-width:100%;
  padding:12px;
  box-sizing:border-box;
  max-width:100%;
}

.spec-slider__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:10px 0 12px;
}

.spec-btn{
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.75);
  border-radius:10px;
  padding:6px 10px;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}

.spec-dots{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  flex:1;
}

.dot{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.25);
  background:transparent;
  cursor:pointer;
}
.dot.is-active{
  background:rgba(15,23,42,.70);
  border-color: rgba(15,23,42,.70);
}

.spec-badge{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.8);
  margin-bottom:10px;
}

.spec-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  table-layout: fixed;
  max-width:100%;
}
.spec-table td{
  padding:9px 10px;
  border-bottom:1px solid rgba(15,23,42,.08);
  vertical-align:top;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.spec-table tr:last-child td{ border-bottom:0; }
.spec-table td:first-child{ width:46%; }


.spec-hint{
  margin-top:10px;
  font-size:12px;
  opacity:.75;
}

@media (max-width: 520px){
  .spec-slider__top{
    flex-wrap: wrap;
    justify-content:center;
    gap:8px;
  }
  .spec-dots{
    width:100%;
    justify-content:center;
    order:1;
  }
  .spec-btn{ order:2; }
}

/* =========================
   PORTAFOLIO - SLIDER LISTADO PROYECTOS
========================= */

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}


.card--portfolio-slider{
  background: linear-gradient(180deg, rgba(15,23,42,.06), rgba(255,255,255,.78));
  border: 1px solid rgba(15,23,42,.12);
}


.portfolio-slider{
  background: rgba(255,255,255,.50);
}

.proj-list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.proj-list li{
  margin: 10px 0;
  line-height: 1.7;
}
.proj-list strong{
  color: var(--text);
  font-weight: 500;
}

.portfolio-slider__cta{
  margin-top: 14px;
  display:flex;
  justify-content:flex-start;
}


@media (max-width: 520px){
  .portfolio-slider__cta .btn{
    width: 100%;
    justify-content: center;
  }
}
