:root{
  --ay-bg:#fff8f3;
  --ay-card:#ffffff;
  --ay-text:#172033;
  --ay-muted:#667085;
  --ay-line:#eadfd5;
  --ay-soft:#fff2e8;
  --ay-accent:#ef6a22;
  --ay-accent-dark:#c94f14;
  --ay-ink:#111827;
  --ay-radius:22px;
  --ay-shadow:0 18px 50px rgba(23,32,51,.08);
}

*{box-sizing:border-box}

body.ay-guides-page{
  margin:0;
  background:linear-gradient(180deg,#fff8f3 0%,#fff 42%,#fff 100%);
  color:var(--ay-text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.ay-guides-header{
  max-width:1180px;
  margin:0 auto;
  padding:20px 18px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
}

.ay-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--ay-ink);
  text-decoration:none;
  font-weight:800;
  letter-spacing:-.02em;
}

.ay-brand-mark{
  width:34px;
  height:34px;
  border-radius:12px;
  display:inline-grid;
  place-items:center;
  background:var(--ay-accent);
  color:#fff;
  box-shadow:0 10px 26px rgba(239,106,34,.22);
}

.ay-nav{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:flex-end;
}

.ay-nav a{
  color:#3b4354;
  text-decoration:none;
  font-size:14px;
  font-weight:650;
}

.ay-nav a[aria-current="page"]{color:var(--ay-accent-dark)}

main{
  max-width:1180px;
  margin:0 auto;
  padding:0 18px 52px;
}

.ay-guides-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:24px;
  align-items:stretch;
  padding:42px 0 28px;
}

.ay-hero-copy,
.ay-hero-card,
.ay-search-panel,
.ay-bottom-cta{
  border:1px solid rgba(234,223,213,.88);
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(12px);
  border-radius:var(--ay-radius);
  box-shadow:var(--ay-shadow);
}

.ay-hero-copy{padding:34px}
.ay-hero-card{padding:28px;display:flex;flex-direction:column;justify-content:center;gap:14px}

.ay-kicker{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:7px 11px;
  border-radius:999px;
  background:var(--ay-soft);
  color:var(--ay-accent-dark);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.ay-guides-hero h1{
  margin:16px 0 14px;
  font-size:clamp(34px,5vw,62px);
  line-height:.98;
  letter-spacing:-.055em;
  color:#111827;
}

.ay-guides-hero p,
.ay-bottom-cta p{
  color:var(--ay-muted);
  font-size:17px;
  line-height:1.72;
  margin:0;
}

.ay-hero-card strong{
  font-size:23px;
  line-height:1.18;
  letter-spacing:-.03em;
}

.ay-mini-tags,
.ay-card-tags,
.ay-quick-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.ay-mini-tags span,
.ay-card-tags span{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #edf0f4;
  color:#4b5563;
  font-size:12px;
  font-weight:650;
}

.ay-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}

.ay-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:44px;
  padding:11px 16px;
  border-radius:14px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
}

.ay-btn-primary{background:var(--ay-accent);color:#fff;box-shadow:0 12px 28px rgba(239,106,34,.22)}
.ay-btn-ghost{background:#fff;color:#172033;border-color:#e2e8f0}

.ay-search-panel{padding:18px;margin:10px 0 18px}
.ay-search-main label,
.ay-filters label{
  display:block;
  margin:0 0 7px;
  font-size:13px;
  font-weight:800;
  color:#344054;
}

.ay-search-main input,
.ay-filters select{
  width:100%;
  min-height:46px;
  border:1px solid #ddd6cf;
  border-radius:14px;
  background:#fff;
  color:#111827;
  padding:11px 13px;
  font:inherit;
  outline:none;
}

.ay-search-main input:focus,
.ay-filters select:focus{border-color:rgba(239,106,34,.7);box-shadow:0 0 0 4px rgba(239,106,34,.12)}

.ay-filters{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.ay-quick-chips{margin-top:14px}
.ay-quick-chips button,
.ay-reset{
  border:1px solid #e6ddd3;
  background:#fff;
  color:#344054;
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
  font-weight:750;
  font-size:13px;
}
.ay-quick-chips button:hover,
.ay-reset:hover{border-color:var(--ay-accent);color:var(--ay-accent-dark)}

.ay-results-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  margin:22px 0 14px;
}
.ay-results-head span{font-size:19px;font-weight:850;letter-spacing:-.02em}
.ay-results-head p{margin:5px 0 0;color:var(--ay-muted);font-size:14px}

.ay-guides-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.ay-guide-card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid #ece1d8;
  background:#fff;
  box-shadow:0 12px 34px rgba(23,32,51,.06);
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.ay-guide-card.is-featured::before{
  content:"Destacada";
  position:absolute;
  z-index:2;
  top:12px;
  left:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(17,24,39,.86);
  color:#fff;
  font-size:11px;
  font-weight:850;
}

.ay-card-image{
  height:154px;
  background:linear-gradient(135deg,#ffe3d1,#fff6ed 48%,#f6f7fb);
  background-size:cover;
  background-position:center;
  border-bottom:1px solid #f0e7dd;
}

.ay-card-body{padding:18px;display:flex;flex-direction:column;gap:12px;flex:1}
.ay-card-meta{display:flex;gap:7px;flex-wrap:wrap;color:#667085;font-size:12px;font-weight:750}
.ay-card-meta span{padding:5px 8px;border-radius:999px;background:#f8fafc;border:1px solid #edf0f4}
.ay-guide-card h2{font-size:19px;line-height:1.22;letter-spacing:-.025em;margin:0;color:#111827}
.ay-guide-card p{margin:0;color:#667085;line-height:1.58;font-size:14px}
.ay-card-tags{margin-top:auto}
.ay-card-link{margin-top:4px;width:100%}
.ay-card-link[aria-disabled="true"]{opacity:.55;pointer-events:none}

.ay-empty{
  text-align:center;
  border:1px dashed #e6ddd3;
  border-radius:22px;
  padding:34px;
  background:#fff;
}
.ay-empty h2{margin:0 0 8px;font-size:24px}
.ay-empty p{margin:0;color:var(--ay-muted)}

.ay-bottom-cta{
  margin-top:28px;
  padding:32px;
  text-align:center;
}
.ay-bottom-cta h2{font-size:clamp(28px,4vw,44px);letter-spacing:-.045em;line-height:1.03;margin:14px auto 12px;max-width:760px}
.ay-bottom-cta p{max-width:820px;margin:0 auto 20px}

.ay-guides-footer{max-width:1180px;margin:0 auto;padding:24px 18px 40px;color:#667085;font-size:13px}

@media(max-width:920px){
  .ay-guides-header{align-items:flex-start;flex-direction:column}
  .ay-nav{justify-content:flex-start}
  .ay-guides-hero{grid-template-columns:1fr;padding-top:20px}
  .ay-hero-copy{padding:25px}
  .ay-filters{grid-template-columns:1fr 1fr}
  .ay-guides-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:640px){
  main{padding-inline:14px}
  .ay-guides-header{padding-inline:14px}
  .ay-nav{gap:10px}
  .ay-hero-copy,.ay-hero-card,.ay-search-panel,.ay-bottom-cta{border-radius:18px}
  .ay-guides-hero h1{font-size:37px}
  .ay-filters{grid-template-columns:1fr}
  .ay-results-head{align-items:flex-start;flex-direction:column}
  .ay-guides-grid{grid-template-columns:1fr}
  .ay-card-image{height:168px}
}


.ay-lang-note{
  margin:10px 0 0;
  color:#667085;
  font-size:13px;
  line-height:1.5;
}
.ay-lang-note code{
  background:#f3f4f6;
  border:1px solid #e5e7eb;
  border-radius:7px;
  padding:2px 6px;
  color:#374151;
}


.ay-brand-with-logo{
  gap:12px;
}

.ay-brand-logo{
  display:block;
  width:auto;
  height:42px;
  max-width:190px;
  object-fit:contain;
}

.ay-brand-fallback{
  display:none;
}

.ay-brand-name{
  font-size:0;
  line-height:0;
}

@media(max-width:620px){
  .ay-brand-logo{
    height:36px;
    max-width:160px;
  }
}
