
.as-footer{
  --asf-dark:#123e2b;
  --asf-green:#287536;
  --asf-mint:#e8f4e9;
  position:relative;
  isolation:isolate;
  padding-top:1px;
  background:linear-gradient(#fff 58px,var(--asf-dark) 58px);
  color:#fff;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:15px;
  line-height:1.85;
}

.as-footer *,
.as-footer *::before,
.as-footer *::after{
  box-sizing:border-box;
}

.as-footer p,
.as-footer ul,
.as-footer address{
  margin:0;
}

.as-footer a{
  color:inherit;
  text-underline-offset:4px;
}

.as-footer a:focus-visible,
.as-footer input:focus-visible,
.as-footer button:focus-visible{
  outline:3px solid #cae9bd;
  outline-offset:5px;
}

.as-footer .asf-wrap{
  position:relative;
  width:min(1200px,calc(100% - 48px));
  margin-inline:auto;
}

.as-footer .asf-top{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  align-items:stretch;
  gap:30px;
}

.as-footer .asf-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:124px;
  padding:25px 30px;
  border-radius:9px;
  background:var(--asf-green);
}

.as-footer .asf-brand img{
  display:block;
  width:210px;
  max-width:100%;
  height:auto;
  filter:brightness(0) invert(1);
}

.as-footer .asf-contact-bar{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1.1fr) minmax(0,.7fr);
  align-items:center;
  gap:25px;
  padding:28px 32px;
  border-radius:9px;
  background:var(--asf-mint);
  color:var(--asf-dark);
}

.as-footer .asf-contact-item{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  font-size:.82rem;
  font-style:normal;
  line-height:1.8;
}

.as-footer .asf-contact-item + .asf-contact-item{
  padding-left:23px;
  border-left:1px solid #aaca9d;
}

.as-footer .asf-contact-item > svg{
  width:23px;
  height:23px;
  flex:none;
  color:var(--asf-green);
}

.as-footer .asf-contact-item a{
  overflow-wrap:anywhere;
  text-decoration:underline;
}

.as-footer .asf-body{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:80px 0 0;
}

.as-footer .asf-leaf{
  position:absolute;
  z-index:-1;
  width:220px;
  height:290px;
  color:#5a9e4e;
  opacity:.45;
  pointer-events:none;
}

.as-footer .asf-leaf-left{
  top:155px;
  left:-100px;
  transform:rotate(-27deg);
}

.as-footer .asf-leaf-right{
  top:0;
  right:-75px;
  transform:rotate(155deg);
}

.as-footer .asf-body::after{
  content:"";
  position:absolute;
  z-index:-1;
  bottom:-340px;
  left:-100px;
  width:900px;
  height:380px;
  border:1px solid #68a75160;
  border-radius:50%;
  pointer-events:none;
}

.as-footer .asf-grid{
  display:grid;
  grid-template-columns:1.15fr .75fr 1fr 1.2fr;
  gap:45px;
  padding-bottom:70px;
}

.as-footer .asf-label{
  margin:0 0 35px;
  color:#fff;
  font-size:1.04rem;
  font-weight:750;
  line-height:1.5;
}

.as-footer .asf-copy{
  color:#e4eee0;
  font-size:.88rem;
  line-height:1.95;
}

.as-footer .asf-links{
  display:grid;
  gap:12px;
  padding:0;
  list-style:none;
}

.as-footer .asf-links li{
  position:relative;
  padding-left:17px;
}

.as-footer .asf-links li::before{
  content:"";
  position:absolute;
  top:13px;
  left:0;
  width:4px;
  height:4px;
  background:#a3c391;
}

.as-footer .asf-links a{
  display:inline-block;
  padding-block:2px;
  color:#e4eee0;
  font-size:.88rem;
  text-decoration:none;
}

.as-footer .asf-links a:hover{
  color:#fff;
  text-decoration:underline;
}

/* NUEVOS ESTILOS PARA EL BOTÓN "VER TODO" */
.as-footer .asf-more-item {
  margin-top: 12px;
  padding-left: 0 !important;
}

.as-footer .asf-more-item::before {
  content: none !important;
}

.as-footer .asf-btn {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--asf-green);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none !important;
  border-radius: 6px;
  transition: background-color 150ms ease;
}

.as-footer .asf-btn:hover {
  background-color: #1d652b;
}

.as-footer .asf-reading-link{
  display:block;
  margin-top:17px;
  color:#fff;
  font-size:.86rem;
  font-weight:650;
  text-decoration:underline;
}

.as-footer .asf-reading-icon{
  display:inline-block;
  margin-bottom:13px;
  color:#b9dba7;
}

.as-footer .asf-reading-icon svg{
  display:block;
  width:29px;
  height:29px;
}

.as-footer .asf-newsletter{
  margin-top:22px;
}

.as-footer .asf-email-label{
  display:block;
  margin-bottom:9px;
  color:#e4eee0;
  font-size:.8rem;
}

.as-footer .asf-email-row{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:58px;
  padding:5px;
  border:1px solid #b8cdb0;
  border-radius:99px;
}

.as-footer .asf-email-row input{
  width:100%;
  min-width:0;
  min-height:44px;
  padding:10px 0 10px 15px;
  border:0;
  border-radius:99px;
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:16px;
  line-height:1.5;
}

.as-footer .asf-email-row input::placeholder{
  color:#d9e5d5;
  opacity:1;
}

.as-footer .asf-email-row button{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:none;
  padding:0;
  border:0;
  border-radius:50%;
  background:var(--asf-green);
  color:#fff;
  cursor:pointer;
  transition:background-color 150ms ease;
}

.as-footer .asf-email-row button:hover{
  background:#1d652b;
}

.as-footer .asf-email-row button svg{
  width:21px;
  height:21px;
}

.as-footer .asf-consent{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:14px;
  color:#dce8d7;
  font-size:.72rem;
  line-height:1.6;
}

.as-footer .asf-consent input{
  width:16px;
  height:16px;
  flex:none;
  margin:3px 0 0;
  accent-color:#9fcd89;
}

.as-footer .asf-bottom{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100px;
  padding:26px 60px;
  border-top:1px solid #ffffff24;
  color:#e0ebdc;
  font-size:.8rem;
  text-align:center;
}

.as-footer .asf-back-top{
  position:absolute;
  right:0;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--asf-green);
  color:#fff;
  text-decoration:none;
}

.as-footer .asf-back-top svg{
  width:20px;
  height:20px;
}

@media(max-width:1100px){
  .as-footer .asf-top{
    grid-template-columns:230px minmax(0,1fr);
    gap:22px;
  }

  .as-footer .asf-contact-bar{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    padding:24px;
    gap:15px 22px;
  }

  .as-footer .asf-contact-item:last-child{
    grid-column:1 / -1;
    padding-left:0;
    border-left:0;
  }

  .as-footer .asf-contact-item + .asf-contact-item{
    padding-left:18px;
  }

  .as-footer .asf-contact-item:last-child{
    padding-left:0;
  }

  .as-footer .asf-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:40px;
  }

  .as-footer .asf-label{
    margin-bottom:23px;
  }
}

@media(max-width:760px){
  .as-footer .asf-top{
    grid-template-columns:1fr;
    gap:16px;
  }

  .as-footer .asf-brand{
    justify-content:flex-start;
    min-height:104px;
  }

  .as-footer .asf-brand img{
    width:180px;
  }

  .as-footer .asf-body{
    padding-top:48px;
  }

  .as-footer .asf-contact-bar{
    grid-template-columns:1fr;
    gap:20px;
  }

  .as-footer .asf-contact-item + .asf-contact-item{
    padding:0;
    border:0;
  }

  .as-footer .asf-contact-item:last-child{
    grid-column:auto;
  }
}

@media(max-width:520px){
  .as-footer .asf-wrap{
    width:calc(100% - 36px);
  }

  .as-footer .asf-grid{
    grid-template-columns:1fr;
    gap:35px;
    padding-bottom:40px;
  }

  .as-footer .asf-label{
    margin-bottom:17px;
  }

  .as-footer .asf-newsletter{
    max-width:360px;
  }

  .as-footer .asf-leaf{
    width:155px;
    opacity:.25;
  }

  .as-footer .asf-bottom{
    justify-content:flex-start;
    padding:24px 55px 24px 0;
    text-align:left;
  }
}

@media(prefers-reduced-motion:reduce){
  .as-footer .asf-email-row button{
    transition:none;
  }
}

@media(max-width:760px){
  .as-footer .asf-grid{
    grid-template-columns:1fr;
    gap:32px;
    text-align:center;
  }

  .as-footer .asf-brand{
    justify-content:center;
  }

  .as-footer .asf-contact-item{
    flex-direction:column;
    justify-content:center;
    gap:8px;
    text-align:center;
  }

  .as-footer .asf-copy{
    max-width:420px;
    margin-inline:auto;
    text-align:center;
  }

  .as-footer .asf-label,
  .as-footer .asf-reading-link{
    text-align:center;
  }

  .as-footer .asf-links{
    justify-items:center;
  }

  .as-footer .asf-links li{
    padding-left:0;
  }

  .as-footer .asf-links li::before{
    content:none;
  }

  .as-footer .asf-links a{
    text-align:center;
    overflow-wrap:anywhere;
  }
  
  /* Ajuste móvil para el botón */
  .as-footer .asf-more-item {
    margin-top: 10px;
  }
  .as-footer .asf-btn {
    width: 100%;
    max-width: 250px;
  }

  .as-footer .asf-bottom{
    flex-direction:column;
    justify-content:center;
    gap:18px;
    padding:24px 0;
    text-align:center;
  }

  .as-footer .asf-back-top{
    position:static;
  }
}

.as-footer .asf-bottom-info{
  display:grid;
  gap:12px;
  min-width:0;
}

.as-footer .asf-legal{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 22px;
}

.as-footer .asf-legal a{
  padding-block:5px;
  color:#e4eee0;
  line-height:1.6;
  text-decoration:underline;
}

.as-footer .asf-legal a:hover{
  color:#fff;
}

@media(max-width:760px){
  .as-footer .asf-legal{
    flex-direction:column;
    align-items:center;
    gap:6px;
  }
}
