/* Content pages (control-de-asistencia/, recursos/). Lightweight, no Bootstrap. */

:root{
  --ink: #243640;
  --muted: #53636b;
  --brand: #0a9a8d;
  --brand-dark: #087f74;
  --line: #e3eceb;
  --soft: #f3f7f7;
  --paper: #ffffff;
}

*{
  box-sizing: border-box;
}

html{
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img{
  max-width: 100%;
  height: auto;
}

a{
  color: var(--brand-dark);
}

a:hover{
  color: var(--ink);
}

.wrap{
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.narrow{
  max-width: 760px;
}

/* Header */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
}

.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.site-header .brand img{
  display: block;
  width: 160px;
  height: 32px;
}

.site-nav{
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a{
  color: #d7efec;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover{
  color: #fff;
}

.site-nav .nav-cta{
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.site-nav .nav-cta:hover{
  background: var(--brand-dark);
}

@media (max-width: 640px){
  .site-nav .nav-secondary{
    display: none;
  }
}

/* Hero */

.page-hero{
  padding: 2.5rem 0 2.75rem;
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.breadcrumb{
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumb li + li:before{
  content: '/';
  margin-right: 0.4rem;
  color: #9fb1b0;
}

.breadcrumb a{
  color: var(--muted);
}

.eyebrow{
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--brand);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3{
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  line-height: 1.2;
}

h1{
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4.6vw, 2.75rem);
  font-weight: 700;
}

.lead{
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

/* Body */

.page-body{
  padding: 2.5rem 0 1rem;
}

.page-body h2{
  margin: 2.4rem 0 0.8rem;
  font-size: 1.5rem;
}

.page-body h3{
  margin: 1.6rem 0 0.5rem;
  font-size: 1.15rem;
}

.page-body p,
.page-body ul,
.page-body ol{
  margin: 0 0 1rem;
}

.page-body li{
  margin-bottom: 0.45rem;
}

.check-list{
  padding: 0;
  list-style: none;
}

.check-list li{
  position: relative;
  padding-left: 1.9rem;
}

.check-list li:before{
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.6L12 5.5'/%3E%3C/svg%3E") center/80% no-repeat;
}

.note{
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.95rem;
}

.table-wrap{
  margin: 1rem 0 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

table{
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td{
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th{
  background: var(--soft);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
}

tr:last-child td{
  border-bottom: 0;
}

.example{
  padding: 1rem 1.2rem;
  border: 1px dashed #b9d3d0;
  border-radius: 10px;
  background: #fbfdfd;
}

.download-button{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.5rem 0 1.25rem;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.download-button:hover{
  background: var(--brand-dark);
  color: #fff;
}

/* CTA */

.cta-box{
  margin: 2.5rem 0;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.cta-box h2{
  margin: 0 0 0.6rem;
  color: #fff;
  font-size: 1.55rem;
}

.cta-box p{
  margin: 0 auto 1.25rem;
  max-width: 560px;
  color: #d7efec;
}

.store-badges{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.store-badges img{
  display: block;
  width: 160px;
  height: auto;
}

.cta-secondary{
  display: inline-block;
  margin-top: 1rem;
  color: #fff;
  font-weight: 600;
}

.cta-secondary:hover{
  color: #d7efec;
}

/* Cards */

.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}

.card{
  display: block;
  height: 100%;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover{
  border-color: var(--brand);
  color: var(--ink);
  transform: translateY(-2px);
}

.card strong{
  display: block;
  margin-bottom: 0.3rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

.card span{
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* FAQ */

.faq-item{
  border-bottom: 1px solid var(--line);
}

.faq-item summary{
  padding: 1rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.faq-item p{
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Footer */

.site-footer{
  margin-top: 3rem;
  padding: 2.5rem 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.footer-links a{
  color: var(--ink);
}

/* Floating WhatsApp */

.whatsapp-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

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

a:focus-visible,
summary:focus-visible{
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media print{
  .site-header,
  .whatsapp-float,
  .cta-box{
    display: none;
  }
}
