/* Lưu ý: các biến màu (--navy, --green, --gold...) đã khai báo trong header.css.
   File này giả định header.css luôn được load trước (đúng thứ tự get_header() -> nội dung -> get_footer()). */

footer{position:relative;background:var(--forest-deep);color:#cfe0d3;overflow:visible;}

/* Ảnh núi + hoa thật ở đầu footer — rìa trên/dưới tan mềm bằng gradient, không cắt cứng bằng shape */
.footer-photo{
  position:relative;height:440px;
  background-image:url('../img/footer-mountain.webp');
  background-size:cover;background-position:center 55%;
}
.footer-photo::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 24%);
  pointer-events:none;
}
.footer-photo::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom, rgba(7,40,26,0) 68%, var(--forest-deep) 100%);
  pointer-events:none;
}
@media (max-width:760px){ .footer-photo{height:280px;} }

footer .wrap{padding-top:48px;}

.newsletter{background:linear-gradient(90deg,#dff5e9,#e9f6ea);border-radius:var(--radius);padding:20px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:56px;color:var(--navy);}
.newsletter form{display:flex;align-items:center;gap:10px;flex:1;min-width:260px;}
.newsletter input{flex:1;padding:11px 16px;border-radius:100px;border:1px solid #cfe6d4;min-width:180px;font-family:inherit;background:#fff;}
.newsletter .submit-link{background:none;border:none;cursor:pointer;font-family:inherit;font-size:14px;font-weight:700;color:var(--green-dark);white-space:nowrap;padding:8px 4px;}
.trust-badges{display:flex;gap:22px;flex-wrap:wrap;}
.trust-badges span{display:flex;align-items:center;gap:7px;font-size:13.5px;color:var(--navy);font-weight:500;}
.trust-badges svg{flex-shrink:0;}

.footer-cols{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;padding-bottom:36px;}
@media (max-width:760px){.footer-cols{grid-template-columns:1fr;}}
.footer-cols h4{color:#fff;font-size:13px;letter-spacing:1px;margin-bottom:16px;}
.footer-cols ul,.footer-menu-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:13.5px;color:#cfe0d3;}
.footer-contact-info{margin-top:14px;}
.footer-menu-list li{list-style:none;margin:0;padding:0;}
.footer-cols a:hover{color:#fff;}
.footer-cols a,.footer-menu-list a{color:#cfe0d3 !important;text-decoration:none !important;}
.footer-cols a:hover,.footer-menu-list a:hover{color:#fff !important;}
.footer-logo{height:100px;width:auto;margin-top:18px;}
@media (max-width:600px){ .footer-logo{height:60px;} }
.social-row{display:flex;gap:12px;margin-top:18px;}
.social-row a{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;transition:background .2s ease;}
.social-row a:hover{background:var(--green);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;font-size:12.5px;text-align:center;color:#9fb8a5;}
