/* Blattas Control de Plagas JCR
   Archivo: css/style.css
*/
:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e6e8ee;
  --soft:#f6f7fb;
  --soft2:#f2f4f8;
  --shadow: 0 20px 60px rgba(15,23,42,.08);
  --shadow2: 0 10px 28px rgba(15,23,42,.10);
  --radius: 18px;
  --radius2: 26px;
  --accent:#111827;          /* negro elegante */
  --accent2:#e11d48;         /* rojo (detalle) */
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
.container{width:min(1120px, 92%); margin:0 auto}
.reveal{opacity:0; transform: translateY(12px); transition: .7s ease}
.reveal.is-visible{opacity:1; transform:none}

/* Topbar */
.topbar{
  border-bottom:1px solid var(--line);
  background:#fff;
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  gap:12px;
}
.topbar__left{display:flex; gap:8px; flex-wrap:wrap}
.pill{
  border:1px solid var(--line);
  background:linear-gradient(180deg, #fff, var(--soft));
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:var(--muted);
}
.topbar__link{font-size:13px; color:var(--muted)}
.topbar__link:hover{color:var(--text)}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(230,232,238,.8);
}
.header__inner{
  display:flex; align-items:center; gap:16px;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px; min-width: 280px}
.brand__logo{
  width:52px; height:52px; object-fit:contain;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow: 0 10px 18px rgba(2,6,23,.06);
  padding:6px;
}
.brand__name{font-weight:800; letter-spacing:.4px}
.brand__sub{font-size:12px; color:var(--muted); margin-top:2px}

.nav{display:flex; gap:16px; margin-left:auto}
.nav__link{
  font-size:14px;
  color:var(--muted);
  padding:10px 10px;
  border-radius:999px;
}
.nav__link:hover{background:var(--soft); color:var(--text)}
.header__ctas{display:flex; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:600;
  font-size:14px;
  transition:.2s ease;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px); box-shadow: var(--shadow2)}
.btn--primary{
  background: linear-gradient(135deg, var(--accent), #0b1224);
  color:#fff;
  border-color: rgba(2,6,23,.25);
}
.btn--soft{
  background: linear-gradient(180deg, #fff, var(--soft));
}
.btn--ghost{
  background:transparent;
  border-color: rgba(230,232,238,.9);
  color:var(--text);
}
.w100{width:100%}

/* Burger */
.burger{
  display:none;
  margin-left:auto;
  width:46px; height:46px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow: 0 10px 18px rgba(2,6,23,.06);
  padding:10px;
}
.burger span{
  display:block; height:2px; background:var(--text);
  margin:6px 0;
  border-radius:2px;
}
.mobile{
  display:none;
  border-top:1px solid var(--line);
  padding:12px 0 16px;
}
.mobile__link{
  display:block;
  padding:12px 0;
  color:var(--muted);
}
.mobile__link:hover{color:var(--text)}
.mobile__ctas{display:grid; gap:10px; margin-top:10px}

/* Hero */
.hero{padding:46px 0 28px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:34px;
  align-items:center;
}
h1{
  font-size: clamp(28px, 3.4vw, 44px);
  line-height:1.08;
  margin: 0 0 14px;
  letter-spacing:-.4px;
}
.slogan{font-weight:700; margin:0 0 10px; letter-spacing:.2px}
.lead{color:var(--muted); font-size:16px; margin:0 0 18px}
.hero__bullets{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin: 18px 0 18px;
}
.mini{
  border:1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--soft));
  border-radius: var(--radius);
  padding:12px 12px;
}
.mini__k{font-size:12px; color:var(--muted); margin-bottom:2px}
.mini__v{font-weight:600}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:10px}
.hero__contact{margin-top:14px; color:var(--muted); font-size:14px}
.dot{padding:0 8px}

/* Collage */
.collage{
  position:relative;
  border-radius: var(--radius2);
  background: radial-gradient(100% 60% at 70% 15%, rgba(225,29,72,.10), transparent 55%),
              radial-gradient(80% 70% at 25% 75%, rgba(2,6,23,.08), transparent 55%),
              linear-gradient(180deg, #fff, var(--soft));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  padding:22px;
  min-height: 420px;
  overflow:hidden;
}
.shot{
  position:absolute;
  width: 56%;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(230,232,238,.9);
  box-shadow: 0 22px 40px rgba(2,6,23,.14);
  transform: rotate(var(--r));
}
.shot img{width:100%; height:100%; object-fit:cover}
.shot--a{left:18px; top:22px; width:58%}
.shot--b{right:18px; top:46px; width:48%}
.shot--c{left:46px; bottom:18px; width:52%}
.shot--d{right:36px; bottom:26px; width:42%}

.collage__badge{
  position:absolute;
  left:22px; top:22px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(230,232,238,.9);
  border-radius: 14px;
  padding:10px 12px;
  backdrop-filter: blur(10px);
}
.collage__badgeTitle{font-weight:800; letter-spacing:.3px}
.collage__badgeSub{font-size:12px; color:var(--muted)}

/* Sections */
.section{padding:54px 0}
.section--soft{background: linear-gradient(180deg, var(--soft), #fff)}
.section--dark{
  background: radial-gradient(70% 70% at 15% 15%, rgba(225,29,72,.18), transparent 55%),
              radial-gradient(70% 70% at 90% 10%, rgba(2,6,23,.18), transparent 55%),
              linear-gradient(180deg, #0b1224, #050814);
  color:#fff;
}
.section__head{max-width: 760px; margin-bottom: 20px}
.section__head h2{margin:0 0 10px; font-size: clamp(22px, 2.2vw, 32px)}
.section__head p{margin:0; color:var(--muted)}
.section--dark .section__head p{color: rgba(255,255,255,.75)}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top: 18px;
}
.card{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:18px 16px;
  background: linear-gradient(180deg, #fff, var(--soft));
  box-shadow: 0 10px 30px rgba(2,6,23,.05);
}
.card__icon{font-size:22px}
.card h3{margin:10px 0 8px}
.card p{margin:0 0 10px; color:var(--muted)}
.link{color:var(--accent2); font-weight:700}
.link:hover{text-decoration:underline}

.banner{
  margin-top: 14px;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, #fff, var(--soft));
  padding:14px 14px;
  display:flex; gap:10px; align-items:flex-start;
}
.banner__icon{
  width:32px; height:32px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background:#fff;
  border:1px solid var(--line);
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  margin-top:18px;
}
.step{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, #fff, var(--soft));
  padding:16px 14px;
}
.step__num{
  font-weight:800;
  color: rgba(225,29,72,.85);
  letter-spacing:.4px;
}
.step h3{margin:10px 0 6px}
.step p{margin:0; color:var(--muted)}

.split{
  margin-top:18px;
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:14px;
  align-items:stretch;
}
.focus{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background:#fff;
  padding:18px 16px;
  box-shadow: 0 10px 30px rgba(2,6,23,.05);
}
.focus h3{margin:0 0 10px}
.focus ul{margin:0; padding-left: 18px}
.focus li{margin:8px 0}

.masonry{
  column-count: 2;
  column-gap: 12px;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, #fff, var(--soft));
  padding:12px;
  overflow:hidden;
}
.masonry img{
  width:100%;
  margin:0 0 12px;
  border-radius: 16px;
  break-inside: avoid;
  border: 1px solid rgba(230,232,238,.9);
  box-shadow: 0 18px 34px rgba(2,6,23,.10);
}

/* Hours */
.hours{
  max-width: 720px;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, #fff, var(--soft));
  padding:12px;
  box-shadow: 0 10px 30px rgba(2,6,23,.05);
}
.hours__row{
  display:flex; justify-content:space-between; gap:12px;
  padding:14px 12px;
  border-radius: 16px;
}
.hours__row + .hours__row{border-top:1px solid var(--line)}
.hours__k{color:var(--muted); font-weight:600}
.hours__v{font-weight:800}

/* Contact */
.contact{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  padding:22px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.contact__head h2{margin:0 0 8px}
.contact__head p{margin:0; color: rgba(255,255,255,.78)}
.contact__grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.contactCard{
  display:flex; align-items:center; gap:12px;
  padding:14px 14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  transition:.2s ease;
}
.contactCard:hover{transform: translateY(-1px); background: rgba(255,255,255,.12)}
.contactCard__icon{
  width:40px; height:40px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.12);
}
.contactCard__k{font-size:12px; color: rgba(255,255,255,.72)}
.contactCard__v{font-weight:800}
.contactCard__cta{
  margin-left:auto;
  font-weight:800;
  color: rgba(255,255,255,.82);
}
.contactCard--wide{grid-column: 1 / -1}
.contact__note{
  margin-top: 14px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:18px 0 76px; /* deja espacio para callbar en móvil */
  background:#fff;
}
.footer__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}
.footer__brand{display:flex; align-items:center; gap:10px}
.footer__brand img{
  width:44px; height:44px; object-fit:contain;
  border-radius: 14px;
  border:1px solid var(--line);
  padding:6px;
}
.footer__name{font-weight:800}
.footer__meta{font-size:12px; color:var(--muted)}
.footer__links{display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end}
.footer__links a{color:var(--muted); font-size:13px}
.footer__links a:hover{color:var(--text)}

/* Callbar (mobile) */
.callbar{
  position:fixed;
  left:0; right:0; bottom:0;
  display:none;
  gap:10px;
  padding:10px 12px;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-top:1px solid rgba(230,232,238,.9);
}
.callbar__btn{
  flex:1;
  padding:12px 10px;
  border-radius: 14px;
  border:1px solid var(--line);
  background:#fff;
  text-align:center;
  font-weight:800;
}
.callbar__btn--primary{
  background: linear-gradient(135deg, var(--accent), #0b1224);
  color:#fff;
  border-color: rgba(2,6,23,.25);
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:22px}
  .brand{min-width:auto}
  .header__ctas{display:none}
  .nav{display:none}
  .burger{display:block}
  .collage{min-height: 380px}
  .cards{grid-template-columns: 1fr}
  .steps{grid-template-columns: 1fr 1fr}
  .split{grid-template-columns: 1fr}
  .callbar{display:flex}
}
@media (max-width: 520px){
  .hero{padding-top:28px}
  .hero__bullets{grid-template-columns: 1fr}
  .steps{grid-template-columns: 1fr}
  .masonry{column-count: 1}
  .collage{min-height: 340px}
  .shot--a{width:70%}
  .shot--b{width:60%}
  .shot--c{width:62%}
  .shot--d{width:54%}
}