:root{
  --bg1:#0b1d33;
  --bg2:#020712;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.04);
  --border:rgba(255,255,255,.12);
  --text:#ffffff;
  --muted:rgba(255,255,255,.72);
  --accent:#3b82f6;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background: radial-gradient(circle at top, var(--bg1), var(--bg2));
}

/* shared */
.container{ width:min(1100px, 92%); margin-inline:auto; }
.muted{ color:var(--muted); }
a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.9; }

.header{
  width:min(1200px, 94%);
  margin: 18px auto 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand__logo{ width:46px; height:auto; }
.brand__name{ display:block; letter-spacing:.2px; }
.brand__tagline{ display:block; font-size:.88rem; color:var(--muted); }

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  color:rgba(255,255,255,.82);
}
.nav__cta{
  padding:10px 14px;
  border-radius:999px;
  background:var(--accent);
  color:white;
  font-weight:600;
}

/* hero */
.hero{
  width:min(1200px, 94%);
  margin: 26px auto 0;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:start;
  padding: 18px 0 10px;
}

.hero__left h1{
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height:1.02;
  margin-bottom: 14px;
}
.hero__left p{
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 620px;
}

.hero__badges{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.badge{
  background: var(--card2);
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
}
.badge__big{ font-weight:800; font-size:1.2rem; }
.badge__small{ color:var(--muted); font-size:.9rem; margin-top:4px; }

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(8px);
}
.card h2{ font-size:1.45rem; margin-bottom:8px; }
.card .muted{ margin-bottom: 14px; }

/* form */
.form{ display:block; }
.field{ display:block; margin-bottom: 14px; }
.field span{ display:block; font-weight:600; margin-bottom:6px; color:rgba(255,255,255,.9); }

input, textarea{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:white;
  padding:12px 12px;
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(59,130,246,.65);
}

.fieldset{
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding: 12px;
  margin: 10px 0 14px;
}
.fieldset legend{
  padding: 0 8px;
  color: rgba(255,255,255,.9);
  font-weight:700;
}
.check{
  display:flex;
  gap:10px;
  align-items:center;
  padding:6px 4px;
  color: rgba(255,255,255,.92);
}
.check input{
  width:18px;
  height:18px;
  accent-color: var(--accent);
}

.btn{
  width:100%;
  padding:12px 14px;
  border-radius: 12px;
  border:none;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  cursor:pointer;
}
.btn:hover{ filter: brightness(1.05); }

.fineprint{
  margin-top:10px;
  font-size: .88rem;
  color: rgba(255,255,255,.62);
}

/* sections */
.section{
  padding: 64px 0;
}
.section__head{
  margin-bottom: 20px;
}
.section__head h2{
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.service-card{
  background: var(--card2);
  border:1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  font-weight: 700;
}

/* gallery */
.section--dark{
  background: #020712;
}
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.gallery img{
  width:100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
}

/* footer */
.footer{
  padding: 30px 0 44px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.footer__logo{ width:42px; height:auto; }
.footer__links{
  display:flex;
  gap: 16px;
  color: rgba(255,255,255,.82);
}
.footer__copy{ opacity:.75; }

/* responsive */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .hero__badges{ grid-template-columns: 1fr; }
  .nav{ flex-wrap:wrap; justify-content:flex-end; }
}
/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}
/* Emergency banner */
.emergency {
  margin: 18px 0 0;
  padding: 18px 0;
}

.emergency__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(0,0,0,0.1));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.emergency__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.emergency__text h2 {
  margin: 10px 0 8px;
}

.emergency__note {
  margin-top: 10px;
  opacity: 0.85;
  font-size: 0.95rem;
}

.emergency__actions {
  display: grid;
  gap: 10px;
  align-content: start;
}

.emergency__hours {
  margin-top: 6px;
  font-size: 0.95rem;
  opacity: 0.9;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

@media (max-width: 900px) {
  .emergency__inner {
    grid-template-columns: 1fr;
  }
}
.emergency-link {
  color: #ff6b6b;
  font-weight: 600;
}

.emergency-link:hover {
  color: #ff8787;
}
/* SMS floating button */
.sms-float {
  position: fixed;
  bottom: 92px; /* queda arriba del WhatsApp */
  right: 22px;
  width: 58px;
  height: 58px;
  background: #3b82f6; /* azul SMS */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sms-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
}

.sms-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
