/* Footer */
.footer{
  background: #0f2a18;
  color: rgba(233,226,205,.86);
  padding: 66px 0 26px;
  position: relative;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr .8fr .9fr 1fr;
  gap: 34px;
  align-items:start;
}
.footer .brand{
  min-width: unset;
}
.footer .brand__name{ font-size: 24px; }
.footer .brand__mark{
  background: rgba(220,196,122,.08) url("/static/img/logo_bright.png") center/60% no-repeat !important;
  border: 1px solid rgba(220,196,122,.6) !important;
  box-shadow: 0 8px 18px rgba(10,25,15,.10), 0 0 10px rgba(220,196,122,.18) !important;
  backdrop-filter: blur(6px);
  color: transparent !important;
}
.footer p{
  margin: 14px 0 18px;
  color: rgba(233,226,205,.75);
  line-height: 1.9;
  font-size: 13px;
  max-width: 320px;
}
.footer .icon{
  width: 18px;
  height: 18px;
  display: inline-block;
}
.footer .social{
  display:flex;
  gap: 12px;
}
.footer .social a{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(220,196,122,.10);
  border: 1px solid rgba(220,196,122,.18);
  color: rgba(220,196,122,.92);
}
.footer h4{
  margin: 6px 0 14px;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  color: rgba(220,196,122,.92);
  font-size: 18px;
}
.footer ul{
  margin: 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
}
.footer a.link{
  color: rgba(233,226,205,.76);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
}
.footer a.link:hover{ color: rgba(233,226,205,.95); }
.contact-list{
  display:grid;
  gap: 14px;
}
.contact-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  color: rgba(233,226,205,.78);
  font-size: 13px;
  line-height: 1.7;
}
.contact-item strong{
  transition: transform .18s ease, text-shadow .18s ease;
  display: inline-block;
}
.contact-item:hover strong{
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(220,196,122,.35);
}
.contact-item strong{
  display:block;
  color: rgba(233,226,205,.92);
  font-weight: 800;
  margin-top: 4px;
}
.footer-divider{
  margin: 34px 0 18px;
  height: 1px;
  background: rgba(255,255,255,.10);
  border: none;
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  color: rgba(233,226,205,.62);
  font-size: 12px;
  flex-wrap:wrap;
}
.footer-bottom a{
  color: rgba(233,226,205,.62);
  font-weight: 700;
  margin-left: 16px;
}
.footer-bottom a:hover{ color: rgba(233,226,205,.85); }

/* Footer spacer (for matching last screenshot edge) */
.footer-bar{
  height: 60px;
  background: linear-gradient(180deg, #163a21 0%, #14361f 100%);
}

/* Modal (shared) */
body.modal-open{
  overflow: hidden;
}
.modal{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 18, 12, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 50;
}
.modal.show{
  opacity: 1;
  pointer-events: auto;
}
.modal-card{
  width: min(520px, calc(100% - 36px));
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f0 100%);
  border-radius: 20px;
  padding: 32px 28px 26px;
  border: 1px solid rgba(183,143,60,.28);
  box-shadow: 0 30px 80px rgba(0,0,0,.26);
  position: relative;
  text-align: center;
}
.modal-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height: 110px;
  background:
    radial-gradient(360px 120px at 50% 0%, rgba(202,162,74,.22), transparent 70%),
    linear-gradient(180deg, rgba(183,143,60,.12), transparent 75%);
  pointer-events:none;
}
.modal-icon{
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f7e6b6, #caa24a);
  color: #14321f;
  display:grid;
  place-items:center;
  box-shadow: 0 16px 30px rgba(120, 90, 40, .35), inset 0 0 0 6px rgba(255,255,255,.45);
}
.modal-title{
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  color: #1f2f25;
}
.modal-text{
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(32,44,36,.72);
}
.modal-close{
  margin-top: 16px;
  border: 1px solid rgba(183,143,60,.55);
  background: linear-gradient(135deg, #f7e3a2, #caa24a);
  color: #2a2f25;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(120, 90, 40, .25);
  transition: transform .18s ease, box-shadow .22s ease, filter .2s ease;
}
.modal-close:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(120, 90, 40, .35), 0 0 14px rgba(202,162,74,.35);
  filter: brightness(1.02);
}
.modal-close--outline{
  background: transparent;
  color: #2a2f25;
  box-shadow: none;
}
.modal-close--outline:hover{
  background: linear-gradient(135deg, #f7e3a2, #caa24a);
  box-shadow: 0 18px 36px rgba(120, 90, 40, .35), 0 0 14px rgba(202,162,74,.35);
  transform: translateY(-2px);
  filter: brightness(1.02);
}

@media (max-width: 980px){
  .footer{
    padding: 56px 0 24px;
    background: #0f2a18;
  }
  .footer .footer-grid{
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer .footer-grid > div{
    min-width: 0;
    padding: 14px 2px 16px;
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(220,196,122,.38);
    background: transparent;
    box-shadow: none;
  }
  .footer .footer-grid > div:first-child{
    border-top: 0;
    padding-top: 0;
  }
  .footer p{
    margin: 10px 0 14px;
    max-width: none;
    font-size: 13px;
    line-height: 1.65;
  }
  .footer h4{
    margin: 0 0 10px;
    font-size: 17px;
  }
  .footer ul{
    gap: 8px;
  }
  .footer a.link{
    font-size: 13px;
    line-height: 1.5;
  }
  .footer .social{
    gap: 10px;
    flex-wrap: wrap;
  }
  .footer .social a{
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .footer .contact-list{
    gap: 10px;
  }
  .footer .contact-item{
    gap: 10px;
    line-height: 1.55;
  }
  .footer .contact-item strong{
    margin-top: 2px;
  }
  .footer-divider{
    margin: 20px 0 14px;
  }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-bottom > div:last-child{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .footer-bottom a{
    margin: 0;
  }
}

@media (max-width: 640px){
  .footer{
    padding: 48px 0 22px;
  }
  .footer .footer-grid{
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer .footer-grid > div{
    padding: 13px 0 14px;
  }
  .footer .brand__name{
    font-size: 22px;
  }
  .footer h4{
    font-size: 16px;
  }
  .footer-bottom{
    align-items: center;
    text-align: center;
  }
  .footer-bottom > div:last-child{
    justify-content: center;
  }
}
