*,*::before,*::after{box-sizing:border-box}

:root{
  --bg:#ffffff;
  --fg:#000000;
  --muted:#666;
  --surface:#f5f5f5;
  --accent:#0D3B66;
  --ring: rgba(13,59,102,.2);
}

html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.6;
}

.wrap{max-width:1100px;margin:0 auto;padding:16px}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
}
.brand{font-weight:800;letter-spacing:.4px}
.tag{font-size:.9rem;color:var(--muted)}

.hero{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:center;
  padding:32px 0;
}
.hero h1{
  font-family:"Playfair Display",serif;
  font-size:clamp(2rem,4.5vw,3.5rem);
  line-height:1.1;
  margin:0;
}
.hero p{font-size:1.1rem;color:var(--muted);margin:8px 0 0}

.hero-cta{
  display:flex;
  gap:8px;
  margin-top:16px;
  flex-wrap:wrap;
}
input[type=email]{
  flex:1;
  min-width:220px;
  padding:14px 16px;
  border:1px solid #ddd;
  border-radius:10px;
  font-size:1rem;
  outline:none;
}
input[type=email]:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 6px var(--ring);
}
button{
  padding:14px 18px;
  border:none;
  border-radius:10px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
button:disabled{opacity:.5;cursor:not-allowed}

/* ✅ Imagen visible sin depender de JS ni de dominios externos */
.img-hero{
  border-radius:16px;
  overflow:hidden;
  background:var(--surface);
  min-height:clamp(260px, 42vw, 520px);
}
.img-hero img{
  width:100%;
  height:100%;
  object-fit:cover;   /* recorta manteniendo proporción */
  display:block;
}

@media(min-width:900px){
  .hero{grid-template-columns:1.1fr .9fr}
}

.benefits{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin:36px 0;
}
@media(min-width:800px){
  .benefits{grid-template-columns:repeat(3,1fr)}
}
.card{
  background:var(--surface);
  padding:18px;
  border-radius:14px;
}
.card h3{margin:.2rem 0}

.soon{
  padding:48px 16px;
  margin:24px 0;
  background:linear-gradient(180deg,#fff, #f7f7f7);
  border-radius:12px;
}
.soon h2{font-family:"Playfair Display",serif;margin:0 0 6px}

footer{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  padding:24px 0;
  color:var(--muted);
  flex-wrap:wrap;
  border-top:1px solid #eee;
  margin-top:24px;
}

.notice{font-size:.9rem;color:var(--muted);margin-top:8px}
.sr-only{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* Mensaje cuando JS está desactivado */
.noscript{
  max-width:1100px;
  margin:1rem auto;
  padding:1rem;
  color:#444;
  border:1px solid #eee;
  border-radius:8px;
  background:#fffced;
}
