/* GUATEBYTE Landing — simple, profesional, listo para publicar
   Paleta: Blanco (#ffffff), Negro (#0b0d10), Rojo (#d61f2a)
*/
.brand { 
  display: flex; 
  align-items: center; 
}

/* Logo: nunca se sale de control */
.brand-logo{
  height: 40px;       /* tamaño ideal desktop */
  width: auto;
  max-width: 180px;   /* evita que se vuelva enorme */
  object-fit: contain;
  display: block;
}

/* En móviles un poco más pequeño */
@media (max-width: 480px){
  .brand-logo{
    height: 34px;
    max-width: 150px;
  }
}

:root{
  --bg:#ffffff;
  --text:#0b0d10;
  --muted:#5b616a;
  --line:#e6e8ec;
  --shadow: 0 18px 40px rgba(11,13,16,.10);
  --red:#d61f2a;
  --redDark:#b8151f;
  --soft:#f6f7f9;
  --radius:16px;
  --radius2:22px;
  --max:1120px;
}
*{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.5;
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.skip-link{
  position:absolute; left:-9999px; top:10px;
  background:var(--text); color:#fff; padding:10px 14px; border-radius:10px;
}
.skip-link:focus{left:10px; z-index:9999}
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  min-height:72px; gap:14px;
}
.brand{display:flex; align-items:center; gap:12px}
.brand.small .brand-name{font-size:16px}
.brand.small .brand-tagline{font-size:12px}
.brand-mark{
  width:38px; height:38px; border-radius:12px;
  background:linear-gradient(135deg, var(--text), #151a22);
  position:relative;
  box-shadow: 0 10px 22px rgba(11,13,16,.14);
}
.brand-mark::after{
  content:"";
  position:absolute; inset:9px 12px 9px 12px;
  border-left:4px solid var(--red);
  border-right:4px solid transparent;
  transform:skewX(-10deg);
}
.brand-name{
  font-weight:800; letter-spacing:.06em;
  font-size:18px;
}
.brand-accent{color:var(--red)}
.brand-tagline{color:var(--muted); font-size:12px; margin-top:2px}

.nav{display:flex; align-items:center; gap:10px; position:relative}
.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  font-weight:600;
  cursor:pointer;
  gap:10px;
  align-items:center;
}
.nav-toggle-lines{
  width:18px; height:12px; display:inline-block; position:relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:""; position:absolute; left:0; right:0; height:2px; background:var(--text); border-radius:2px;
}
.nav-toggle-lines::before{top:0}
.nav-toggle-lines::after{bottom:0}
.nav-links{display:flex; gap:14px; align-items:center}
.nav-links a{
  color:var(--muted);
  font-weight:600;
  padding:10px 10px;
  border-radius:12px;
}
.nav-links a:hover{background:var(--soft); color:var(--text)}
.nav-cta{background:var(--text); color:#fff !important}
.nav-cta:hover{background:#000}

.hero{
  padding:56px 0 26px;
  background:
    radial-gradient(1000px 420px at 20% 0%, rgba(214,31,42,.10), transparent 60%),
    radial-gradient(900px 420px at 80% 10%, rgba(11,13,16,.08), transparent 55%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:center;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background:#fff; border:1px solid var(--line);
  color:var(--muted); font-weight:600; width:fit-content;
}
h1{
  margin:14px 0 12px;
  font-size:44px; line-height:1.1; letter-spacing:-.02em;
}
.underline{background:linear-gradient(180deg, transparent 62%, rgba(214,31,42,.22) 0)}
.hero-sub{color:var(--muted); font-size:16px; max-width:54ch}
.hero-actions{display:flex; gap:12px; margin:18px 0 16px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:14px;
  font-weight:700; border:1px solid transparent; cursor:pointer;
  transition: transform .08s ease, background .12s ease, border .12s ease;
  user-select:none;
}
.btn:active{transform: translateY(1px)}
.btn-primary{background:var(--red); color:#fff; box-shadow: 0 14px 30px rgba(214,31,42,.20)}
.btn-primary:hover{background:var(--redDark)}
.btn-ghost{background:#fff; border-color:var(--line); color:var(--text)}
.btn-ghost:hover{background:var(--soft)}
.btn-block{width:100%}
.btn-whatsapp{background:#1faa5b; color:#fff}
.btn-whatsapp:hover{filter:brightness(.95)}

.hero-bullets{margin:0; padding-left:18px; color:var(--muted)}
.hero-card{
  border:1px solid var(--line);
  border-radius:var(--radius2);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow);
}
.mock-top{
  display:flex; align-items:center; gap:8px;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, #fff, #fbfbfd);
}
.dot{width:10px; height:10px; border-radius:999px; background:#d9dde4}
.mock-url{margin-left:6px; color:var(--muted); font-size:12px}
.mock-body{padding:14px}
.mock-hero{
  height:122px; border-radius:14px;
  background:linear-gradient(135deg, rgba(11,13,16,.08), rgba(214,31,42,.10));
  margin-bottom:12px;
}
.mock-row{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:12px}
.mock-box{height:58px; border-radius:14px; background:rgba(11,13,16,.06)}
.mock-lines>div{height:10px; border-radius:999px; background:rgba(11,13,16,.06); margin:10px 0}
.mock-lines>div:nth-child(2){width:86%}
.mock-lines>div:nth-child(3){width:72%}
.mock-cta{height:44px; border-radius:14px; background:rgba(214,31,42,.18); margin-top:14px}

.section{padding:56px 0}
.section-muted{background:var(--soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section-head{margin-bottom:18px}
.section-head h2{margin:0 0 6px; font-size:28px; letter-spacing:-.02em}
.section-head p{margin:0; color:var(--muted)}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}

.checklist{margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:10px}
.checklist li{position:relative; padding-left:28px; color:var(--text)}
.checklist li::before{
  content:""; width:16px; height:16px; position:absolute; left:0; top:4px;
  border-radius:6px; background:rgba(214,31,42,.14); border:1px solid rgba(214,31,42,.25);
}
.checklist li::after{
  content:""; position:absolute; left:5px; top:8px; width:7px; height:4px;
  border-left:2px solid var(--red); border-bottom:2px solid var(--red); transform:rotate(-45deg);
}

.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:16px; box-shadow: 0 14px 34px rgba(11,13,16,.06);
}
.card h3{margin:0 0 8px}
.card p{margin:0 0 10px; color:var(--muted)}
.card ul{margin:0; padding-left:18px; color:var(--muted)}

.pricing{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; align-items:stretch}
.pricing.maintenance{grid-template-columns:repeat(2,1fr); max-width:860px}
.price-card{
  position:relative; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius2); overflow:hidden; box-shadow: var(--shadow);
  display:flex; flex-direction:column;
}
.price-card.featured{
  border-color:rgba(214,31,42,.42);
  box-shadow: 0 22px 60px rgba(214,31,42,.14);
}
.badge{
  position:absolute; top:14px; right:14px;
  background:rgba(214,31,42,.10); color:var(--red);
  border:1px solid rgba(214,31,42,.30);
  padding:6px 10px; border-radius:999px; font-weight:800; font-size:12px;
}
.price-top{padding:18px 18px 8px}
.price-desc{margin:0; color:var(--muted)}
.price{font-size:34px; font-weight:900; margin:8px 0 2px; letter-spacing:-.02em}
.currency{font-size:16px; margin-right:4px; color:var(--muted); font-weight:700}
.per{font-size:14px; color:var(--muted); font-weight:700; margin-left:6px}
.price-note{margin:0; color:var(--muted); font-size:12px}
.price-list{
  margin:0; padding:0 18px; list-style:none;
  display:flex; flex-direction:column; gap:10px; color:var(--muted);
}
.price-list li{padding-left:16px; position:relative}
.price-list li::before{content:"•"; position:absolute; left:0; top:0; color:var(--red); font-weight:900}
.price-footer{margin-top:auto; padding:14px 18px 18px}
.fine{margin:10px 0 0; color:var(--muted); font-size:12px}
.tiny{margin:10px 0 0; color:var(--muted); font-size:12px}

.note{
  margin-top:16px; padding:14px 16px; border-radius:16px;
  background:#fff; border:1px solid var(--line); color:var(--muted);
}
.panel{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:16px; box-shadow: 0 14px 34px rgba(11,13,16,.06);
}
.panel h3{margin:0 0 8px}
.panel p{margin:0; color:var(--muted)}
.panel.highlight{
  border-color:rgba(214,31,42,.28);
  background:linear-gradient(180deg, #fff, rgba(214,31,42,.04));
}

.contact-grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:14px; align-items:start}
.form{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius2);
  padding:16px; box-shadow: var(--shadow);
}
label{display:block; font-weight:700; font-size:13px; margin:10px 0 6px}
input, textarea{
  width:100%; padding:12px 12px; border-radius:14px; border:1px solid var(--line);
  outline:none; font:inherit;
}
input:focus, textarea:focus{
  border-color:rgba(214,31,42,.45);
  box-shadow: 0 0 0 4px rgba(214,31,42,.10);
}

.site-footer{border-top:1px solid var(--line); padding:22px 0; background:#fff}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap}
.footer-meta{color:var(--muted)}
.footer-meta p{margin:0}

.wa-float{
  position:fixed; right:16px; bottom:16px;
  width:54px; height:54px; border-radius:18px;
  display:flex; align-items:center; justify-content:center;
  background:#1faa5b; color:#fff; font-weight:900;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  z-index:300;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; gap:18px}
  h1{font-size:36px}
  .cards{grid-template-columns:1fr}
  .pricing{grid-template-columns:1fr}
  .pricing.maintenance{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .nav-toggle{display:inline-flex}
  .nav-links{
    display:none;
    position:absolute;
    right:18px; top:72px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:10px;
    box-shadow: var(--shadow);
    flex-direction:column;
    min-width:220px;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:10px 12px}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
}
