:root{
  --red:#C5162E;         /* rojo principal */
  --red-600:#A11224;     /* rojo oscuro para hover */
  --ink:#1B1B1F;         /* texto primario */
  --muted:#5B5B63;       /* texto secundario */
  --bg:#ffffff;
  --bg-alt:#faf7f8;      /* suave con tinte rosado */
  --line:#ecebed;
  --ring:rgba(197,22,46,.35);
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.65;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

a{color:var(--red);text-decoration:none}
a:focus-visible,
button:focus-visible,
input:focus-visible{outline:3px solid var(--ring); outline-offset:2px; border-radius:10px}

/* Container */
.container{max-width:1080px;margin:0 auto;padding:0 20px}

/* Topbar */
.topbar{
  background:linear-gradient(90deg, var(--red) 0%, #e1364a 60%, var(--red) 100%);
  color:#fff;font-size:14px;position:relative;z-index:40
}
.topbar .container{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:8px 20px}
.pill{
  background:rgba(255,255,255,.15);padding:6px 10px;border-radius:999px;
  backdrop-filter:saturate(120%) blur(2px)
}

/* Header */
.header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.85);
  border-bottom:1px solid var(--line);backdrop-filter:saturate(140%) blur(8px)
}
.nav{display:flex;align-items:center;justify-content:space-between;min-height:66px;gap:14px}
.brand{font-weight:900;font-size:20px;letter-spacing:.2px}
.accent{color:var(--red)}
.links{display:flex;gap:20px;align-items:center}
.links a{color:var(--ink)}
.dark {color: #000;}
.links a:hover{color:var(--red)}
.btn{
  border:1px solid var(--red);padding:10px 16px;border-radius:999px;transition:.2s ease;
}
.btn:hover{background:var(--red);color:#fff;transform:translateY(-1px)}
.btn-primary{background:var(--red);color:#fff;border-color:var(--red)}
.btn-primary:hover{background:var(--red-600);border-color:var(--red-600)}
.btn-ghost{border:none;color:var(--red)}
.nav-toggle{display:none}
.hamburger{display:none;font-size:26px;cursor:pointer;user-select:none}

/* Hero */
.hero{
  position:relative; padding:0px 0 20px; text-align:center; color:var(--ink);
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(197,22,46,.08), transparent 60%),
    var(--bg);
}
.hero h1{font-size:clamp(28px,4vw,40px); line-height:1.15; letter-spacing:.2px; margin-bottom:14px}
.hero p{color:var(--muted);max-width:760px;margin:0 auto 12px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:18px 0}
.hero-note{font-size:14px;color:#6b6b73}

.hero-wave{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:22px;
  background: radial-gradient(60px 20px at 30px 0, transparent 75%, var(--bg-alt) 76%) repeat-x;
  background-size:60px 22px;
}

/* Sections */
.section{padding:80px 0; background:var(--bg)}
.section.alt{background:var(--bg-alt)}
.section-title{font-size:0; text-align:center; margin-bottom:22px}
.section-title span{
  font-size:clamp(22px,2.8vw,30px); font-weight:800; position:relative; display:inline-block; padding-bottom:10px;
}
.section-title span:after{
  content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:0;
  width:72px; height:4px; border-radius:4px; background:linear-gradient(90deg, var(--red), #ff6a7a);
}
.section-intro{max-width:820px;margin:0 auto 24px;color:var(--muted);font-size:1.05rem}

/* Grid & Cards */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:10px}
.card{
  background:rgba(255,255,255,.9);
  border:1px solid var(--line); border-radius:16px; padding:20px;
  box-shadow:0 6px 20px rgba(0,0,0,.04);
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{transform:translateY(-2px); box-shadow:0 10px 28px rgba(0,0,0,.06)}
.card h3{margin-bottom:8px; font-size:18px}
.bullets{padding-left:18px}
.bullets li{margin:6px 0}

/* Lists */
.lead{text-align:center;color:var(--muted);margin-bottom:18px}
.services, .list-simple{list-style:none;padding-left:0;max-width:900px;margin:0 auto}
.services li, .list-simple li{
  margin:12px 0; padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:#fff;
}
.services li{position:relative; padding-left:44px}
.services li::before{
  content:"◆"; position:absolute; left:14px; top:14px; font-size:14px; color:var(--red);
}

/* Timeline style for eventos */
.timeline li{position:relative;padding-left:36px}
.timeline li::before{
  content:""; position:absolute; left:14px; top:18px; width:8px; height:8px; border-radius:50%;
  background:var(--red)
}
.timeline li + li{margin-top:10px}

/* Contact */
.contact-list{list-style:none;padding-left:0;max-width:640px;margin:0 auto 16px}
.contact-list li{margin:8px 0}
.contact-list a:hover{text-decoration:underline}

.contact-inline{
  display:flex; gap:10px; max-width:520px; margin:18px auto 0;
}
.contact-inline input{
  flex:1; padding:10px 12px; border:1px solid var(--line); border-radius:12px;
}

/* Footer */
.footer{border-top:1px solid var(--line);background:#fff}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px;padding:34px 20px}
.brand-footer{font-weight:900;font-size:18px;margin-bottom:8px}
.small{color:var(--muted)}
.footer h4{font-size:14px;margin-bottom:10px;color:#3a3a41;letter-spacing:.2px}
.footlinks{list-style:none;padding:0;margin:0}
.footlinks li{margin:6px 0}
.subscribe{display:flex;gap:8px}
.subscribe input{flex:1;padding:10px;border:1px solid var(--line);border-radius:12px}
.tiny{text-align:center;padding:12px 0;color:#8a8a93;border-top:1px solid var(--line)}

/* Motion */
@media (prefers-reduced-motion:no-preference){
  .hero h1, .hero p, .cta-row, .hero-note {animation:fadeUp .5s ease both}
  .hero p{animation-delay:.05s}
  .cta-row{animation-delay:.1s}
  .hero-note{animation-delay:.15s}
}
@keyframes fadeUp{
  from{opacity:0; transform:translateY(8px)}
  to{opacity:1; transform:translateY(0)}
}

/* Responsive */
@media(max-width:900px){
  .grid-2{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:820px){
  .links{display:none}
  .hamburger{display:block}
  .nav{position:relative}
  .nav-toggle:checked ~ .links{
    display:flex; flex-direction:column; position:absolute; top:66px; left:0; right:0;
    background:#fff; padding:12px 20px; border-bottom:1px solid var(--line); gap:10px;
  }
  .links a{padding:8px 0}
  .btn{align-self:flex-start}
}

/* Nice details */
::selection{background:rgba(197,22,46,.18)}

/* --- SLIDER --- */
.slider {
  position: relative;
  width: 100%;
  height: 85vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 35%, rgba(0,0,0,0.3) 70%);
}

.text {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 560px;
  z-index: 2;
}

.text h1 {
  font-size: clamp(28px, 5vw, 46px);
  margin-bottom: 10px;
  line-height: 1.2;
}

.text p {
  font-size: clamp(16px, 2vw, 20px);
  color: #f1f1f1;
}

/* Botones de navegación */
.nav-buttons {
  position: absolute;
  bottom: 20px;
  right: 40px;
  display: flex;
  gap: 12px;
  z-index: 3;
}

.nav-buttons span {
  cursor: pointer;
  font-size: 30px;
  color: white;
  user-select: none;
  transition: 0.3s;
}

.nav-buttons span:hover {
  color: var(--red);
}

/* Responsive */
@media (max-width: 768px) {
  .text {
    left: 6%;
    right: 6%;
  }
  .text h1 {
    font-size: 28px;
  }
  .text p {
    font-size: 15px;
  }
}

/* --- LOGO --- */
.logo{
  height:60px;           /* alto en desktop */
  width:auto;
  display:block;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:20px;
  letter-spacing:.2px;
}

.brand-text{line-height:1}

/* Footer brand con logo */
.brand-footer{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:18px;
  margin-bottom:8px;
}

.logo-footer{
  height:34px;           /* un poco más pequeño en el footer */
}

/* Responsivo */
@media (max-width: 768px){
  .logo{height:34px}
  .logo-footer{height:30px}
}