:root{
  --blue:#022c4e;
  --blueLight:#b7e0f7;
  --bg:#fafafa;
  --white:#ffffff;
  --text:#101828;
  --muted:#667085;
  --line:#d0d5dd;
  --radius:16px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
}

.page{
  min-height:100%;
  padding: 18px 12px 28px;
  display:flex;
  justify-content:center;
}

.card{
  width: min(980px, 100%);
  background: var(--white);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
}

.header{
  padding: 18px 16px;
  border-bottom:1px solid var(--line);
  background: var(--white);
  text-align:center;
}

.logoRow{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
}

.logo{
  width: 240px;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}


.brandName{
  margin: 6px 0 6px;
  color: var(--blue);
  font-size: 20px;
  line-height:1.2;
}

.brandTagline{
  margin: 0 auto 12px;
  max-width: 72ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height:1.35;
}

.quickActions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}

.section{
  padding: 16px;
  border-bottom:1px solid var(--line);
}

.sectionTitle{
  margin:0 0 12px;
  font-size: 14px;
  color: var(--blue);
  display:flex;
  align-items:center;
  gap:8px;
}

.services{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.serviceItem{
  border:1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  background: var(--white);
  color: var(--text);
  font-weight: 600;
}

.serviceItem i{
  color: var(--blue);
  font-size: 18px;
}

.linkGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}

.linkCard{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 12px;
  border:1px solid var(--line);
  border-radius: 12px;
  text-decoration:none;
  color: inherit;
  background: var(--white);
}

.linkIcon{
  width:38px;
  height:38px;
  border-radius: 10px;
  background: var(--blueLight);
  color: var(--blue);
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  flex: 0 0 auto;
}

.linkText{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.linkLabel{
  font-size: 12px;
  color: var(--muted);
}

.linkValue{
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.cols{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}

.panel{
  border:1px solid var(--line);
  border-radius: 12px;
  overflow:hidden;
  background: var(--white);
}

.panelTitle{
  padding: 12px;
  background: var(--blueLight);
  color: var(--blue);
  font-weight: 800;
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:1px solid var(--line);
}

.list{
  display:flex;
  flex-direction:column;
}

.listItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 12px;
  border-bottom:1px solid var(--line);
  text-decoration:none;
  color: inherit;
}

.listItem:last-child{ border-bottom:none; }

.itemLeft{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.pill{
  width: fit-content;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: var(--white);
  color: var(--blue);
}

.itemMain{
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  word-break: break-word;
}

.itemSub{
  font-size: 12px;
  color: var(--muted);
}

.itemArrow{
  color: var(--muted);
  flex: 0 0 auto;
}

.ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 12px;
}

.btn{
  border:1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}

.btnPrimary{
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btnOutline{
  background: var(--white);
  color: var(--blue);
}

.note{
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  display:flex;
  align-items:flex-start;
  gap:8px;
}

.note i{ margin-top:2px; }

.footer{
  padding: 12px 16px;
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 720px){
  .section{ padding: 18px 18px; }
  .services{ grid-template-columns: 1fr 1fr; }
  .linkGrid{ grid-template-columns: 1fr 1fr; }
  .cols{ grid-template-columns: 1fr 1fr; }
  .brandName{ font-size: 22px; }
}


/* 1) Centrar SOLO los títulos (Teléfonos / Correos) en móvil */
@media (max-width: 719px){
  .panelTitle{
    justify-content: center;
    text-align: center;
  }
}

/* 2) Centrar botones finales (Enviar correo / Copiar link) */
.ctaRow{
  justify-content: center;
}

.footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.devBy{
  color: var(--muted);
}

.devLink{
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

a{
  text-decoration: none;
}

@media (max-width: 719px){
  .panelTitle{
    justify-content: center;
    text-align: center;
  }
}