/* === Base / Reset === */
*,
*::before,
*::after { box-sizing: border-box; }

html:focus-within { scroll-behavior: smooth; }

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #ffffff;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Noto Sans, Arial, sans-serif;
  font-optical-sizing: auto;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

:root{
  --font-family: 'Inter', sans-serif;
  --beige: #bf9f7a;
  --beige-600: #b68657;
  --white: #fff;
  --text: #e8e8e8;
  --container: 1290px;
  --radius: 40px;
  --muted: #7a8086;
  --manif-bg: #8a644d;
  --brown-cta: #8a644d;
}

/* Containers */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* === Hero === */
.hero{
  position: relative;
  padding: 0;
  background: transparent;
  border-bottom: none;
}
.hero-img{
  width: 100%;
  height: auto;
  display: block;
}


#manifesto { scroll-margin-top: 80px; }

.manifesto{
  display: flex;
  align-items: center;
}

.manifesto:not(.manifesto--alt){
  background: var(--manif-bg);
  color: #fff;
}


.manifesto--compact .manifesto__wrap{
  padding-block: 42px; 
}

.manifesto__wrap{
  text-align: center;
  max-width: 960px;
  margin-inline: auto;
}


.manif-text{
  margin: 0;
  color: inherit;
  font-weight: 400;
  line-height: 1.25;
  font-size: clamp(16px, 2.2vw, 26px);
}
.manif-text strong{
  font-weight: 800;
}

/* CTA debajo */
.manif-cta{ margin-top: 14px; }

/* Botones base */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.05rem;
  border-radius: var(--radius);
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .08s ease, background .2s ease, box-shadow .2s ease;
}
.btn:focus-visible{ outline: none; box-shadow: 0 0 0 .25rem rgba(197, 157, 115, .35); }
.btn:hover{ transform: translateY(-1px); }

.btn-beige{ background: var(--beige); color: var(--white); }
.btn-beige:hover{ background: var(--beige-600); }

/* CTA blanco de manifesto */
.btn-outline{
  background: #fff;
  color: var(--manif-bg);
  border-color: #fff;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
}

/* === Manifesto alterno  */
.manifesto--alt{
  background: #d9cfc5;
  color: #4d250b;
  border-top: 1px solid #4d250b;
  border-bottom: 1px solid #4d250b;
}
.manifesto--alt .manifesto__wrap{ padding-block: 42px; }
.manif-headline--alt{
  color: #4d250b;
  font-weight: 800;
}
.manif-accent--alt{
  color: #4d250b;
  font-weight: 400;
}

/* === Sección Pesquisa === */
.pesquisa{
  background: #f4f1ef;
  color: #000;
}
.pesquisa__wrap{
  text-align: center;
  padding-block: 44px; 
}
.pesquisa__img{
  margin-inline: auto;
}
.pesquisa__img--top{
  max-width: 400px;  
  width: 96%;
}
.pesquisa__img--bottom{
  max-width: 860px;  /* más ancha */
  width: 98%;
  margin-top: 18px;
}
.pesquisa__cta{
  margin-top: 22px;
}

/* Botón marrón para CTA final de la nueva sección */
.btn-brown{
  background: var(--brown-cta);
  color: #fff;
  border-color: var(--brown-cta);
}
.btn-brown:hover{
  filter: brightness(0.95);
}

/* === Footer === */
.footer-banner{
  padding: 0;
  background: transparent;
}
.footer-link{ display: block; line-height: 0; }
.footer-img{
  display: block;
  width: 100%;
  height: auto;
}

/* utilidades */
.visually-hidden{
  position:absolute!important; width:1px!important; height:1px!important; padding:0!important;
  margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important;
}

/* === Responsive === */
@media (max-width: 480px){
  .manifesto--compact .manifesto__wrap{
    padding-block: 32px; 
  }

  
  .manif-text{
    font-size: 13px;
    line-height: 1.28;
  }

  /* CTA más pequeño en mobile */
  .manif-cta{ margin-top: 8px; }
  .btn-outline{
    padding: .65rem .95rem;
    font-size: 0.9rem;
  }

 
  .pesquisa__img--top{ max-width: 640px; width: 98%; }
  .pesquisa__img--bottom{ max-width: 780px; width: 100%; }
}

@media (max-width:270px){
  html{ font-size:12px; }
  .container{ width: calc(100% - .8rem); }
}
