:root {
  --tf-primary: #2E7D32;
  --tf-primary-light: #66BB6A;
  --tf-primary-dark: #1B5E20;
  --tf-secondary: #FFA726;
  --tf-bg: #FAF8F5;
  --tf-bg-gray: #F0EDE8;
  --tf-card: #FFFFFF;
  --tf-text: #212121;
  --tf-text-secondary: #757575;
  --tf-text-white: #FFFFFF;
  --tf-border: #E0E0E0;
  --tf-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  --tf-shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.12);
  --tf-radius: 14px;
  --tf-radius-sm: 8px;
  --tf-radius-pill: 999px;
}

/* =========================
   Shared container
   ========================= */
.tf-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* =========================
   Tennis brand color band
   ========================= */
.tf-band {
  display: flex;
  height: 6px;
  width: 100%;
}
.tf-band__stripe {
  flex: 1;
  display: block;
}
.tf-band__stripe:nth-child(1) { background: var(--tf-primary-dark); }
.tf-band__stripe:nth-child(2) { background: var(--tf-primary); }
.tf-band__stripe:nth-child(3) { background: var(--tf-primary-light); }
.tf-band__stripe:nth-child(4) { background: var(--tf-secondary); }
.tf-band__stripe:nth-child(5) { background: var(--tf-primary-dark); }

/* =========================
   Footer base
   ========================= */
.tf-footer {
  background: var(--tf-bg);
  color: var(--tf-text);
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding-top: 24px;
  margin-top: 40px;
  border-top: 1px solid var(--tf-border);
}

/* =========================
   Top bar (logo / secure / call)
   ========================= */
.tf-topbar {
  padding: 20px 0;
  border-bottom: 1px solid var(--tf-border);
}
.tf-topbar__grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.tf-topbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.tf-topbar__logo img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}
.tf-topbar__logo-text {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--tf-primary-dark);
  line-height: 1;
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.tf-topbar__secure img {
  height: 40px;
  width: auto;
  opacity: 0.85;
}
.tf-topbar__call {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.tf-topbar__call-label {
  font-size: 12px;
  color: var(--tf-text-secondary);
  font-weight: 500;
}
.tf-topbar__call-phone {
  font-size: 22px;
  font-weight: 700;
  color: var(--tf-primary-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 180ms;
}
.tf-topbar__call-phone:hover { color: var(--tf-primary); }
.tf-topbar__call-phone i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tf-primary);
  color: var(--tf-text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* =========================
   Guarantees
   ========================= */
.tf-guarantees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px 0;
}
.tf-guarantee {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--tf-card);
  padding: 18px;
  border-radius: var(--tf-radius);
  border: 1px solid var(--tf-border);
  transition: transform 220ms, box-shadow 220ms, border-color 220ms;
}
.tf-guarantee:hover {
  transform: translateY(-3px);
  box-shadow: var(--tf-shadow);
  border-color: var(--tf-primary-light);
}
.tf-guarantee__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tf-primary) 0%, var(--tf-primary-dark) 100%);
  color: var(--tf-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}
.tf-guarantee__text h4 {
  margin: 4px 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--tf-text);
}
.tf-guarantee__sub {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--tf-secondary);
  background: rgba(255, 167, 38, 0.12);
  padding: 2px 8px;
  border-radius: var(--tf-radius-pill);
  font-weight: 700;
}
.tf-guarantee__text p {
  margin: 0;
  font-size: 12px;
  color: var(--tf-text-secondary);
  line-height: 1.4;
}

/* =========================
   Tagline
   ========================= */
.tf-tagline {
  text-align: center;
  padding: 18px 20px;
  color: var(--tf-text-secondary);
  font-size: 14px;
  font-style: italic;
  border-top: 1px dashed var(--tf-border);
  border-bottom: 1px dashed var(--tf-border);
  margin: 12px auto 24px;
}

/* =========================
   Main link columns
   ========================= */
.tf-main {
  padding: 24px 0 32px;
}
.tf-main__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.tf-col__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tf-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--tf-primary);
  display: inline-block;
}
.tf-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tf-col__list a {
  color: var(--tf-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 160ms, padding-left 160ms;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tf-col__list a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--tf-primary);
  transition: width 180ms;
}
.tf-col__list a:hover {
  color: var(--tf-primary);
}
.tf-col__list a:hover::before { width: 12px; }
.tf-col__text {
  margin: 0 0 14px;
  color: var(--tf-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* Newsletter */
.tf-newsletter {
  display: flex;
  align-items: stretch;
  background: var(--tf-card);
  border: 2px solid var(--tf-border);
  border-radius: var(--tf-radius-pill);
  padding: 0;
  transition: border-color 180ms, box-shadow 180ms;
  margin-bottom: 16px;
  height: 44px;
  box-sizing: border-box;
  overflow: hidden;
}
.tf-newsletter:focus-within {
  border-color: var(--tf-primary);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.12);
}
.tf-newsletter__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 16px;
  margin: 0;
  font-size: 13px;
  line-height: 1;
  color: var(--tf-text);
  font-family: inherit;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  height: 100%;
}
.tf-newsletter__input::placeholder { color: var(--tf-text-secondary); }
.tf-newsletter__btn {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  background: var(--tf-primary);
  color: var(--tf-text-white);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 0 18px;
  margin: 0;
  height: 100%;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 180ms;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.tf-newsletter__btn:hover {
  background: var(--tf-primary-dark);
}
.tf-newsletter__btn:active {
  transform: scale(0.98);
}

/* Social */
.tf-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tf-social__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tf-card);
  border: 1.5px solid var(--tf-border);
  color: var(--tf-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  transition: all 200ms;
}
.tf-social__btn:hover {
  background: var(--tf-primary);
  border-color: var(--tf-primary);
  color: var(--tf-text-white);
  transform: translateY(-3px);
}
.tf-social__btn--wa:hover {
  background: #25D366;
  border-color: #25D366;
}

/* =========================
   Payment methods
   ========================= */
.tf-payment {
  background: var(--tf-bg-gray);
  padding: 28px 0;
  margin-top: 16px;
}
.tf-payment__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.tf-payment__card {
  background: var(--tf-card);
  border-radius: var(--tf-radius);
  padding: 20px;
  border: 1px solid var(--tf-border);
}
.tf-payment__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tf-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.tf-payment__title i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--tf-primary);
  color: var(--tf-text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.tf-payment__head p {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--tf-text-secondary);
  line-height: 1.5;
}
.tf-payment__logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tf-payment__logos img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.1);
  transition: filter 180ms, transform 180ms;
}
.tf-payment__logos img:hover {
  filter: grayscale(0);
  transform: scale(1.06);
}
.tf-payment__logos--banks img { height: 36px; }

/* =========================
   Copyright
   ========================= */
.tf-copy {
  background: linear-gradient(135deg, var(--tf-primary-dark) 0%, var(--tf-primary) 100%);
  color: var(--tf-text-white);
  padding: 18px 0;
}
.tf-copy__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tf-copy__text {
  font-size: 13px;
  opacity: 0.95;
}
.tf-copy__text a {
  color: var(--tf-secondary);
  text-decoration: none;
  font-weight: 600;
}
.tf-copy__text a:hover { text-decoration: underline; }
.tf-copy__logobrand img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--tf-radius-sm);
  padding: 4px 8px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1100px) {
  .tf-main__grid { grid-template-columns: repeat(3, 1fr); }
  .tf-guarantees { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tf-topbar__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .tf-topbar__call { align-items: center; }
  .tf-topbar__logo { display: flex; justify-content: center; }
  .tf-guarantees { grid-template-columns: 1fr; padding: 20px 0; }
  .tf-main__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tf-payment__grid { grid-template-columns: 1fr; }
  .tf-copy__row { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .tf-main__grid { grid-template-columns: 1fr; }
  .tf-topbar__call-phone { font-size: 18px; }
  .tf-container { padding: 0 14px; }
}

/* Hide footer on the sticky mobile toolbar's overlap area */
@media (max-width: 992px) {
  .tf-copy { padding-bottom: 80px; }
}
