/** Footer responsive rules. */
@media (max-width: 1180px) {
	.brandina-footer-main { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
	.brandina-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
	.brandina-footer-services { gap: 8px; }
	.brandina-footer-service { flex-direction: column; gap: 7px; text-align: center; }
}

@media (max-width: 767px) {
	.brandina-footer-desktop { display: none; }
	.brandina-footer-mobile { display: block; }
	.brandina-footer-inner { width: min(calc(100% - 20px), var(--brandina-footer-width)); }

	.brandina-footer-mobile-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 12px;
		padding-bottom: 10px;
		border-bottom: 1px solid var(--brandina-footer-border);
	}
	.brandina-footer-mobile-top > a { display: inline-flex; align-items: center; gap: 4px; color: var(--brandina-footer-heading); text-decoration: none; }
	.brandina-footer-mobile-top .brandina-icon { width: 14px; height: 14px; transform: rotate(180deg); }

	.brandina-footer-mobile-contact { display: grid; gap: 8px; margin-bottom: 14px; }
	.brandina-footer-mobile-contact a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 11px 12px;
		color: var(--brandina-footer-text);
		background: #fafafa;
		border: 1px solid var(--brandina-footer-border);
		border-radius: 11px;
		text-decoration: none;
	}
	.brandina-footer-mobile-contact a > span { min-width: 0; display: inline-flex; align-items: center; gap: 8px; }
	.brandina-footer-mobile-contact a > span > span { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
	.brandina-footer-mobile-contact a small { color: #9a9fab; line-height: 1.45; }
	.brandina-footer-mobile-contact .brandina-icon { width: 19px; height: 19px; flex: 0 0 auto; color: var(--brandina-footer-accent); }
	.brandina-footer-mobile-contact b { flex: 0 0 auto; color: var(--brandina-footer-heading); font-size: 10px; }

	.brandina-footer-mobile-accordions { display: grid; gap: var(--brandina-footer-mobile-gap); }
	.brandina-footer-accordion { overflow: hidden; background: #fff; border: 1px solid var(--brandina-footer-border); }
	.brandina-footer-accordion > button {
		width: 100%;
		min-height: 46px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 8px 12px;
		color: var(--brandina-footer-heading);
		background: transparent;
		border: 0;
		font-weight: 750;
		text-align: right;
		cursor: pointer;
	}
	.brandina-footer-accordion > button .brandina-icon { width: 16px; height: 16px; transition: transform .2s ease; }
	.brandina-footer-accordion.is-open > button .brandina-icon { transform: rotate(180deg); }
	.brandina-footer-accordion-content { padding: 0 12px 12px; }
	.brandina-footer-accordion-content[hidden] { display: none; }
	.brandina-footer-menu { gap: 7px; }

	.brandina-footer-newsletter { margin-top: 16px; }
	.brandina-newsletter-placeholder { grid-template-columns: minmax(0, 1fr) 58px; }
	.brandina-newsletter-placeholder input { min-height: 42px; }
	.brandina-footer-socials { margin-top: 18px; }
	.brandina-footer-socials > div { justify-content: center; }
	.brandina-footer-socials > strong { text-align: center; }
	.brandina-footer-socials a,
	.brandina-footer-socials .is-placeholder { width: 36px; height: 36px; }
	.brandina-footer-about-mobile { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--brandina-footer-border); }
	.brandina-footer-about-mobile p { margin: 6px 0 0; line-height: 2; }
	.brandina-footer-copyright { margin: 14px 0 0; text-align: center; }
	.brandina-back-to-top { left: 14px; bottom: 18px; width: 40px; height: 40px; }
}

/* Brandina v1.8 footer responsive corrections. */
@media (max-width: 1180px) and (min-width: 768px) {
	.brandina-footer-main {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 24px;
	}
	.brandina-footer-engagement {
		grid-template-columns: 1fr;
	}
}

/* Brandina v1.18.7 — polished and compact mobile footer. */
@media (max-width: 767px) {
  .brandina-footer-mobile {
    position: relative;
    overflow: hidden;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .brandina-footer-mobile .brandina-footer-inner {
    width: min(calc(100% - 24px), var(--brandina-footer-width));
    padding-block: 18px 12px;
  }

  .brandina-footer-mobile-top {
    margin-bottom: 14px;
    padding: 0 2px 12px;
  }

  .brandina-footer-mobile-top > strong {
    min-width: 0;
    overflow: hidden;
    color: var(--brandina-footer-heading);
    font-size: 13px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brandina-footer-mobile-top > a {
    flex: 0 0 auto;
    padding: 6px 9px;
    background: color-mix(in srgb, var(--brandina-footer-accent) 7%, #fff);
    border: 1px solid color-mix(in srgb, var(--brandina-footer-accent) 14%, var(--brandina-footer-border));
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
  }

  .brandina-footer-mobile-contact {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 16px;
  }

  .brandina-footer-mobile-contact a {
    min-height: 58px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--brandina-footer-accent) 3%, #fff) 100%);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(22, 34, 66, .045);
  }

  .brandina-footer-mobile-contact a small {
    font-size: 9px;
  }

  .brandina-footer-mobile-contact b {
    max-width: 44%;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brandina-footer-mobile-accordions {
    gap: 8px;
  }

  .brandina-footer-accordion {
    position: relative;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid color-mix(in srgb, var(--brandina-footer-border) 88%, transparent) !important;
    border-radius: max(12px, var(--brandina-footer-accordion-radius)) !important;
    box-shadow: 0 7px 22px rgba(20, 34, 68, .035);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
  }

  .brandina-footer-accordion.is-open {
    border-color: color-mix(in srgb, var(--brandina-footer-accent) 30%, var(--brandina-footer-border)) !important;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--brandina-footer-accent) 9%, transparent);
  }

  .brandina-footer-accordion > button {
    position: relative;
    min-height: 48px;
    gap: 10px;
    padding: 9px 12px 9px 11px;
    background: #fff !important;
    border-radius: inherit;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.55;
    transition: color .2s ease, background .2s ease;
  }

  .brandina-footer-accordion > button::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    margin-inline-end: 1px;
    background: color-mix(in srgb, var(--brandina-footer-accent) 48%, #fff);
    border-radius: 50%;
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--brandina-footer-accent) 8%, transparent);
  }

  .brandina-footer-accordion.is-open > button {
    color: var(--brandina-footer-accent) !important;
    background: linear-gradient(90deg, color-mix(in srgb, var(--brandina-footer-accent) 8%, #fff), #fff) !important;
  }

  .brandina-footer-accordion > button .brandina-icon {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-inline-start: auto;
    color: color-mix(in srgb, var(--brandina-footer-heading) 58%, transparent);
    transition: transform .25s cubic-bezier(.2,.75,.2,1), color .2s ease;
  }

  .brandina-footer-accordion.is-open > button .brandina-icon {
    color: var(--brandina-footer-accent);
    transform: rotate(180deg);
  }

  .brandina-footer-accordion-content {
    overflow: hidden;
    padding: 2px 14px 13px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--brandina-footer-accent) 3%, #fff), #fff 34%);
    border-top: 1px dashed color-mix(in srgb, var(--brandina-footer-border) 80%, transparent);
  }

  .brandina-footer-menu {
    gap: 2px;
    padding-top: 7px;
  }

  .brandina-footer-menu a {
    position: relative;
    width: 100%;
    min-height: 33px;
    align-items: center;
    padding: 5px 13px 5px 7px;
    border-radius: 9px;
    font-size: 10.5px !important;
    line-height: 1.65;
  }

  .brandina-footer-menu a::before {
    content: "";
    position: absolute;
    right: 2px;
    width: 4px;
    height: 4px;
    background: color-mix(in srgb, var(--brandina-footer-accent) 42%, #fff);
    border-radius: 50%;
  }

  .brandina-footer-menu a:hover,
  .brandina-footer-menu a:focus-visible {
    color: var(--brandina-footer-accent);
    background: color-mix(in srgb, var(--brandina-footer-accent) 6%, #fff);
    transform: none;
  }

  .brandina-footer-newsletter {
    gap: 9px;
    margin-top: 16px;
    padding: 13px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brandina-footer-accent) 7%, #fff), #fff 72%);
    border: 1px solid color-mix(in srgb, var(--brandina-footer-accent) 15%, var(--brandina-footer-border));
    border-radius: 14px;
  }

  .brandina-footer-newsletter > strong {
    color: var(--brandina-footer-heading);
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.8;
    text-align: center;
  }

  .brandina-newsletter-placeholder {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 7px;
    width: 100%;
  }

  .brandina-newsletter-placeholder input,
  .brandina-newsletter-placeholder button {
    min-width: 0;
    min-height: 43px;
    border-radius: 11px;
    font-size: 11px;
  }

  .brandina-newsletter-placeholder input {
    width: 100%;
    padding-inline: 11px;
    background: #fff;
    border-color: var(--brandina-footer-border);
  }

  .brandina-newsletter-placeholder button {
    padding-inline: 8px;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--brandina-footer-accent) 20%, transparent);
  }

  .brandina-footer-socials {
    gap: 10px;
    margin-top: 16px;
  }

  .brandina-footer-socials a,
  .brandina-footer-socials .is-placeholder {
    width: 38px;
    height: 38px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(20, 34, 68, .06);
  }

  .brandina-footer-about-mobile {
    margin-top: 16px;
    padding: 14px 13px 0;
    border-top: 1px solid var(--brandina-footer-border);
    text-align: center;
  }

  .brandina-footer-about-mobile p {
    font-size: 10px;
    line-height: 1.95;
  }

  .brandina-footer-copyright {
    margin-top: 12px;
    font-size: 9px;
    line-height: 1.8;
  }
}

@media (max-width: 380px) {
  .brandina-footer-mobile .brandina-footer-inner {
    width: min(calc(100% - 16px), var(--brandina-footer-width));
  }

  .brandina-footer-accordion > button {
    min-height: 46px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .brandina-newsletter-placeholder {
    grid-template-columns: minmax(0, 1fr) 62px;
  }

  .brandina-newsletter-placeholder input,
  .brandina-newsletter-placeholder button {
    font-size: 10px;
  }
}
