/* Footer styles (moved out of base.html so they are cached across pages). */
.tf-footer { background: var(--gradient-dark); color: rgba(255,255,255,.8); padding: 0; }
.tf-wrap { width: 100%; max-width: 1200px; margin: 0 auto; box-sizing: border-box; padding-left: 28px; padding-right: 28px; }

.tf-script { font-family: 'Caveat', var(--font-script), cursive; font-weight: 700; color: var(--orange-light); line-height: 1.05; text-transform: none; letter-spacing: 0; }

/* Newsletter */
.tf-news { padding: 56px 0 44px; border-bottom: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.tf-news-text { flex: 1 1 340px; min-width: 0; }
.tf-news .tf-news-title { font-size: clamp(2.2rem, 5vw, 3rem); margin: 0 0 8px; }
.tf-news p { color: rgba(255,255,255,.85); font-size: 1.02rem; margin: 0; max-width: 460px; }
.tf-news p.tf-script { color: var(--orange-light); max-width: none; }
.tf-form { flex: 1 1 400px; min-width: 0; max-width: 520px; display: flex; align-items: center; gap: 6px; padding: 6px; box-sizing: border-box; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; transition: border-color .2s, background .2s; }
.tf-form:focus-within { border-color: var(--orange); background: rgba(255,255,255,.18); }
.tf-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font-family: var(--font-body); font-size: 1rem; padding: 13px 20px; }
.tf-form input::placeholder { color: rgba(255,255,255,.68); }
.tf-form button { flex-shrink: 0; border: 0; cursor: pointer; border-radius: 999px; padding: 14px 30px; background: var(--gradient-cta); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .95rem; box-shadow: 0 8px 20px rgba(242,107,33,.35); transition: transform .2s, background .2s; }
.tf-form button:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* Main grid */
.tf-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 44px 40px; padding: 48px 0; text-align: left; }
.tf-brand img { height: 84px; width: auto; max-width: 100%; margin-bottom: 8px; }
.tf-tagline { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 6px 0 22px; max-width: 360px; }
.tf-social-title { font-size: 1.9rem; margin: 0 0 10px; }
.tf-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.tf-socials a { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; transition: background .2s, transform .2s; }
.tf-socials a:hover { background: var(--orange); transform: translateY(-3px); }

.tf-col { min-width: 0; }
.tf-col h4 { color: #fff; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: 1.1rem; margin: 0 0 18px; padding-bottom: 12px; position: relative; }
.tf-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
.tf-col h4.tf-mt { margin-top: 28px; }
.tf-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tf-col ul a { color: rgba(255,255,255,.85); font-size: .98rem; transition: color .2s; }
.tf-col ul a:hover { color: var(--orange-light); }
.tf-contact a { display: inline-flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 8px 0; overflow-wrap: anywhere; }
.tf-contact i { color: var(--orange-light); margin-top: 3px; }

.tf-bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 24px 0; font-size: .88rem; text-align: left; }
.tf-bottom .tf-closing { font-size: 1.7rem; margin: 0 0 6px; }
.tf-bottom p { margin: 0; }

@media (max-width: 992px) {
    .tf-news { flex-direction: column; align-items: stretch; gap: 22px; }
    .tf-form { max-width: none; flex: 0 0 auto; }
    .tf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tf-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .tf-wrap { padding-left: 28px; padding-right: 24px; }
    .tf-news { padding: 44px 0 36px; }
}
@media (max-width: 520px) {
    .tf-wrap { padding-left: 30px; padding-right: 24px; }
    .tf-form { flex-direction: column; align-items: stretch; border-radius: 26px; padding: 8px; }
    .tf-form input { width: 100%; }
    .tf-form button { width: 100%; }
    .tf-grid { grid-template-columns: 1fr; }
}