:root {
  --footer-bg: #e9d8c9;
  /* švelni smėlio */
  --footer-text: #5b4c40;
  /* tamsus tekstas */
  --footer-muted: #5b4c40;
  --footer-line: rgba(43, 35, 32, 0.18);

  --footer-accent: #7a5b46;
  /* ruda CTA */
  --footer-accent-hover: #6b4f3d;

  --footer-pill-bg: #faf4ef;
  /* input bg */
  --footer-white: #ffffff;

  --container: 1200px;
  --radius: 999px;
}

/* Reset tik footerio ribose */
.site-footer-custom * {
  box-sizing: border-box;
}

.site-footer-custom a {
  color: #5b4c40;
  text-decoration: none;
}

.site-footer-custom a:hover {
  text-decoration: underline;
}

.site-footer-custom {
  background: #eeddcc;
  color: #5b4c40;
  padding: 80px 20px 40px 20px;
}
@media (max-width: 768px) {
  .site-footer-custom {
    padding: 32px 20px 16px;
  }
}

.site-footer__container {
  max-width: 1440px;
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.3fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 44px;
}

.footer-brand {
  min-width: 0;
}

.footer-subscribe,
.footer-col {
  min-width: 0;
}

/* Kairė: logo + CTA + kontaktai */
.footer-brand__logo {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 28px;
  max-width: 100%;
}

.footer-brand__logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.footer-brand__logo .mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -1px;
}

.footer-brand__logo .dot {
  font-size: 34px;
  line-height: 1;
  opacity: 0.8;
  transform: translateY(-2px);
}

.footer-brand__logo .suffix {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
  opacity: 0.95;
  transform: translateY(2px);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8b6749;
  color: #fff !important;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    background 0.15s ease,
    transform 0.15s ease;
  min-width: 210px;
}

.footer-cta:hover {
  background: #8b6749;
  box-shadow: 4px 4px 15px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
  text-decoration: none;
}

.footer-contact {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  font-size: 16px;
  color: #5b4c40;
}

.footer-contact__row {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.footer-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  opacity: 0.8;
}

.footer-contact a {
  color: var(--footer-muted);
}

/* Linkų stulpeliai */
.footer-col__title {
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  letter-spacing: 1.2px;
  color: #1b130d;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--footer-muted);
  font-size: 14px !important;
}
.footer-links li a {
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

/* Subscribe */
.footer-subscribe__text {
  color: var(--footer-muted);
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.footer-form {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--footer-pill-bg);
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(43, 35, 32, 0.1);
  max-width: 420px;
  width: 100%;
  min-width: 0;
}

.footer-form input[type="email"] {
  flex: 1;
  border: 0;
  outline: none;
  background: var(--footer-pill-bg);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--footer-text);
  min-width: 0;
}

.footer-form button {
  border: 0;
  cursor: pointer;
  background: var(--footer-accent);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-form button:hover {
  background: var(--footer-accent-hover);
  transform: translateY(-1px);
}

.footer-subscribe__small {
  margin-top: 10px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.footer-subscribe__small a {
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  text-decoration: none;
}

/* Bottom bar */
.site-footer__bottom {
  margin-top: 22px;
  background-color: #fff;
  padding: 18px 24px 18px 24px;
  border-radius: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom__left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #5b4c40;
  font-size: 14px;
}

.footer-bottom__left a,
.footer-bottom__left span {
  color: #5b4c40;
  font-size: 14px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-payments {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.footer-payments img {
  display: block;
  max-width: 100%;
  height: auto;
}
@media (min-width: 1025px) {
  .site-footer__bottom--mobile {
    display: none;
  }
}
/* Responsive */
@media (max-width: 1024px) {
  .site-footer__bottom--desktop {
    display: none;
  }
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-subscribe {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .site-footer__bottom {
    border-radius: 32px;
    padding: 20px;
    justify-content: center;
  }

  .footer-bottom__left {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-footer-custom {
    padding: 46px 16px 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-brand,
  .footer-subscribe {
    grid-column: 1 / -1;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-cta {
    width: 100%;
  }

  .footer-form {
    padding: 8px;
    gap: 8px;
    border-radius: 24px;
  }

  .footer-form button {
    min-width: 108px;
    padding-inline: 20px;
  }

  .site-footer__bottom {
    margin-top: 28px;
    padding: 18px 16px;
    border-radius: 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-social,
  .footer-payments {
    width: 100%;
  }

  .footer-bottom__left {
    order: 3;
    justify-content: center;
    gap: 10px 18px;
  }
  .footer-bottom__left span {
    order: 3;
  }

  .footer-social {
    order: 1;
    justify-content: center;
  }

  .footer-payments {
    order: 2;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .site-footer__top {
    gap: 22px;
  }

  .site-footer-custom {
    padding-inline: 14px;
  }

  .footer-contact {
    gap: 12px;
    font-size: 15px;
  }

  .footer-contact__row {
    align-items: flex-start;
  }

  .footer-subscribe__text,
  .footer-subscribe__small,
  .footer-bottom__left,
  .footer-subscribe,
  .footer-form {
    max-width: 100%;
  }

  .site-footer__bottom {
    padding: 16px 14px;
  }
}

@media (max-width: 360px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .footer-col,
  .footer-brand,
  .footer-subscribe {
    grid-column: auto;
  }

  .footer-cta {
    min-width: 0;
  }
}
