.alliances-theme {
  --alliances-ink: #171614;
  --alliances-muted: #6d675f;
  --alliances-gold: #daa520;
  --alliances-ivory: #f8f3ea;
  --alliances-white: #fffdf8;
  --alliances-line: rgba(23, 22, 20, 0.13);
  background: var(--alliances-ivory);
  color: var(--alliances-ink);
}

.alliances-theme .alliances-page {
  background: var(--alliances-ivory);
  color: var(--alliances-ink);
}

.alliances-theme .alliances-page-hero {
  min-height: 700px;
  padding: 88px 0 0;
  background: var(--alliances-ivory);
  color: var(--alliances-ink);
  display: block;
  position: relative;
  overflow: hidden;
}

.alliances-theme .alliances-page-hero::before {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(248, 243, 234, 0.92) 0%, rgba(248, 243, 234, 0.75) 42%, rgba(248, 243, 234, 0.34) 72%, rgba(248, 243, 234, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.06), rgba(248, 243, 234, 0.55));
  position: absolute;
  inset: 88px 0 0;
}

.alliances-theme .alliances-page-hero::after {
  display: none;
}

.alliances-theme .alliances-hero-background {
  z-index: -2;
  position: absolute;
  inset: 88px 0 0;
}

.alliances-theme .alliances-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 52%;
}

.alliances-theme .alliances-page-hero > .alliances-hero-layout {
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  min-height: 612px;
  margin-inline: auto;
  padding-block: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(290px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  position: relative;
}

.alliances-theme .alliances-hero-content {
  max-width: 720px;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--alliances-line);
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.86), rgba(248, 243, 234, 0.68));
  box-shadow: 0 24px 60px rgba(23, 22, 20, 0.12);
  backdrop-filter: blur(16px) saturate(1.08);
}

.alliances-theme .alliances-page-hero .kicker,
.alliances-theme .alliances-proof-banner .kicker,
.alliances-theme .alliances-page .kicker {
  color: var(--alliances-gold);
}

.alliances-theme .alliances-page-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--alliances-ink);
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  line-height: 0.96;
}

.alliances-theme .alliances-page-hero h1 span {
  color: var(--alliances-gold);
}

.alliances-theme .alliances-hero-content > p:not(.kicker) {
  max-width: 590px;
  margin: 24px 0 28px;
  color: rgba(23, 22, 20, 0.7);
  font-size: 1rem;
  line-height: 1.68;
}

.alliances-theme .alliances-page-hero address {
  margin-top: 26px;
  padding-left: 15px;
  border-left: 2px solid var(--alliances-gold);
  color: rgba(23, 22, 20, 0.65);
}

.alliances-theme .alliances-page-hero address strong {
  color: var(--alliances-ink);
}

.alliances-theme .alliances-hero-highlights {
  margin: 0;
  padding: 24px 30px;
  border: 1px solid var(--alliances-line);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 20px 50px rgba(23, 22, 20, 0.1);
  backdrop-filter: blur(14px);
}

.alliances-theme .alliances-hero-highlights li,
.alliances-theme .alliances-hero-highlights li:last-child {
  padding: 20px 0;
  border-color: rgba(23, 22, 20, 0.13);
}

.alliances-theme .alliances-hero-highlights span {
  color: var(--alliances-gold);
}

.alliances-theme .alliances-hero-highlights strong {
  color: var(--alliances-ink);
}

.alliances-theme a[href*="wa.me"].button,
.alliances-theme .header-cta,
.alliances-theme .mobile-nav-cta {
  border-color: #25d366;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(21, 126, 62, 0.24);
}

.alliances-theme a[href*="wa.me"].button:hover,
.alliances-theme .header-cta:hover,
.alliances-theme .mobile-nav-cta:hover {
  border-color: #1fbd59;
  background: #1fbd59;
  color: #fff;
}

.alliances-theme .alliances-directions-link {
  color: #3f342d;
  border-bottom: 1px solid #3f342d;
}

.alliances-theme .alliances-proof-banner {
  min-height: 300px;
  margin-block: 46px;
  padding: clamp(32px, 4vw, 52px);
  color: var(--alliances-ink);
  border: 1px solid var(--alliances-line);
  box-shadow: 0 22px 58px rgba(23, 22, 20, 0.11);
}

.alliances-theme .alliances-proof-banner::before {
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0%, rgba(248, 243, 234, 0.88) 49%, rgba(248, 243, 234, 0.26) 100%);
}

.alliances-theme .alliances-proof-background img {
  object-position: 68% 55%;
}

.alliances-theme .alliances-proof-banner h2 {
  max-width: 610px;
  color: var(--alliances-ink);
  font-size: clamp(2.25rem, 4vw, 3.8rem);
}

.alliances-theme .alliances-proof-copy > p:not(.kicker) {
  color: rgba(23, 22, 20, 0.66);
}

.alliances-theme .alliances-category-section,
.alliances-theme .alliances-catalog-section,
.alliances-theme .alliances-reasons-section,
.alliances-theme .units-section {
  background: var(--alliances-ivory);
}

.alliances-theme .section-heading h2,
.alliances-theme .alliances-category-section h3,
.alliances-theme .real-catalog-copy strong,
.alliances-theme .alliances-selection-guide h2,
.alliances-theme .alliances-selection-guide h3,
.alliances-theme .alliances-reasons-section h2,
.alliances-theme .unit-card h3,
.alliances-theme .alliances-final-cta h2 {
  color: var(--alliances-ink);
}

.alliances-theme .section-heading > p:last-child,
.alliances-theme .real-catalog-copy p,
.alliances-theme .alliances-reasons-section p,
.alliances-theme .unit-card li,
.alliances-theme .unit-address {
  color: var(--alliances-muted);
}

.alliances-theme .alliances-category-section .category-grid {
  gap: 14px;
  margin-top: 34px;
}

.alliances-theme .alliances-category-section .category-grid article {
  min-height: 178px;
  border: 1px solid rgba(218, 165, 32, 0.28);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 38px rgba(23, 22, 20, 0.07);
  backdrop-filter: blur(15px) saturate(1.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.alliances-theme .alliances-category-section .category-grid article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 46px rgba(23, 22, 20, 0.11);
}

.alliances-theme .alliances-category-section .category-grid span,
.alliances-theme .alliances-category-section .category-grid a {
  color: var(--alliances-gold);
}

.alliances-theme .alliances-catalog-section {
  padding-top: 54px;
  padding-inline: max(24px, 50vw - 590px);
}

.alliances-theme .real-catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.alliances-theme .real-catalog-card {
  border: 1px solid rgba(218, 165, 32, 0.24);
  background: var(--alliances-white);
  box-shadow: 0 15px 36px rgba(23, 22, 20, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alliances-theme .real-catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(23, 22, 20, 0.11);
}

.alliances-theme .real-catalog-photo {
  aspect-ratio: 1;
  background: #eee5d8;
}

.alliances-theme .real-catalog-copy span {
  color: var(--alliances-gold);
}

.alliances-theme .real-catalog-copy a[href*="wa.me"] {
  color: #168f45;
  border-bottom-color: rgba(22, 143, 69, 0.45);
}

.alliances-theme .catalog-more > summary {
  background: #3f342d;
  color: #fff;
}

.alliances-theme .catalog-more > summary small {
  color: #f0c858;
}

.alliances-theme .catalog-contact-card {
  border: 1px solid rgba(218, 165, 32, 0.3);
  background: linear-gradient(145deg, #fffdf8, #f4ecdf);
  color: var(--alliances-ink);
}

.alliances-theme .catalog-contact-card p {
  color: var(--alliances-muted);
}

.alliances-theme .alliances-selection-guide {
  background: #efe7dc;
  color: var(--alliances-ink);
}

.alliances-theme .alliances-selection-guide li,
.alliances-theme .alliances-selection-guide li:nth-child(3n) {
  border: 1px solid var(--alliances-line);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 14px 34px rgba(23, 22, 20, 0.06);
}

.alliances-theme .alliances-selection-guide li > span {
  background: #3f342d;
  color: #f0c858;
}

.alliances-theme .alliances-selection-guide li p {
  color: var(--alliances-muted);
}

.alliances-theme .alliances-reasons-section .button.primary,
.alliances-theme .unit-card .button.primary,
.alliances-theme .unit-card .button.light {
  border-color: var(--alliances-gold);
  background: var(--alliances-gold);
  color: #201a13;
}

.alliances-theme .alliances-reasons-section .button.primary:hover,
.alliances-theme .unit-card .button.primary:hover,
.alliances-theme .unit-card .button.light:hover {
  border-color: #c59318;
  background: #c59318;
  color: #201a13;
}

.alliances-theme .unit-card,
.alliances-theme .unit-card.featured {
  border: 1px solid rgba(218, 165, 32, 0.28);
  background: rgba(255, 253, 248, 0.88);
  color: var(--alliances-ink);
  box-shadow: 0 16px 38px rgba(23, 22, 20, 0.07);
}

.alliances-theme .unit-card.featured {
  background: linear-gradient(145deg, #fffdf8, #f0e5d4);
}

.alliances-theme .unit-card.featured li,
.alliances-theme .unit-card.featured .unit-address {
  color: var(--alliances-muted);
  border-color: var(--alliances-line);
}

.alliances-theme .unit-card .button.ghost,
.alliances-theme .unit-card .button.outline-light {
  border-color: #3f342d;
  background: transparent;
  color: #3f342d;
  box-shadow: none;
}

.alliances-theme .unit-card .text-action,
.alliances-theme .unit-card .text-action.light {
  color: #8b6410;
}

.alliances-theme .alliances-final-cta {
  margin-top: 90px;
  border-top: 1px solid rgba(218, 165, 32, 0.36);
  border-bottom: 1px solid rgba(218, 165, 32, 0.36);
  background: linear-gradient(135deg, #fffdf8, #efe4d2);
  color: var(--alliances-ink);
}

.alliances-theme .alliances-final-cta p:not(.kicker) {
  color: var(--alliances-muted);
}

.alliances-theme .alliances-final-cta .button.outline-light {
  border-color: #3f342d;
  background: #3f342d;
  color: #fff;
}

.alliances-theme .site-footer a[href*="wa.me"].button {
  border-color: #25d366;
  background: #25d366;
  color: #fff;
}

.alliances-theme .site-footer .footer-brand img {
  width: 108px;
  height: 112px;
  max-width: 108px;
  object-fit: contain;
  object-position: left center;
}

.alliances-theme .site-footer .footer-main {
  align-items: start;
}

.alliances-theme .alliances-models-link {
  border-color: var(--alliances-gold);
  background: var(--alliances-gold);
  color: #201a13;
  box-shadow: 0 13px 28px rgba(174, 123, 10, 0.2);
}

.alliances-theme .alliances-models-link:hover {
  border-color: #c59318;
  background: #c59318;
  color: #201a13;
}

.alliances-theme .alliances-units-section {
  padding: 92px max(32px, calc((100% - 1180px) / 2)) 104px;
  background:
    radial-gradient(circle at 12% 18%, rgba(218, 165, 32, 0.12), transparent 28%),
    linear-gradient(180deg, #fff, #f8f3ea);
  color: var(--alliances-ink);
}

.alliances-theme .alliances-units-section .location-heading {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
}

.alliances-theme .alliances-units-section .location-heading .eyebrow {
  color: #f0c858;
}

.alliances-theme .alliances-units-section .location-heading h2 {
  margin: 12px 0 18px;
  color: var(--alliances-ink);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 0.98;
}

.alliances-theme .alliances-units-section .location-heading > p:last-child {
  max-width: 620px;
  margin-inline: auto;
  color: var(--alliances-muted);
}

.alliances-theme .alliances-units-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 54px auto 0;
}

.alliances-theme .alliances-units-section .location-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(218, 165, 32, 0.34);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 50px rgba(55, 32, 25, 0.1);
  backdrop-filter: blur(18px) saturate(1.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.alliances-theme .alliances-units-section .location-card::after {
  display: none;
}

.alliances-theme .alliances-units-section .location-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 62px rgba(55, 32, 25, 0.16);
}

.alliances-theme .alliances-units-section .location-photo {
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.alliances-theme .alliances-units-section .location-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.alliances-theme .alliances-units-section .location-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.alliances-theme .alliances-units-section .location-card:hover .location-photo img {
  transform: scale(1.035);
}

.alliances-theme .alliances-units-section .location-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 62%, rgba(40, 23, 18, 0.24));
}

.alliances-theme .alliances-units-section .location-content {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 28px;
}

.alliances-theme .alliances-units-section .unit-label {
  color: #f0c858;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.alliances-theme .alliances-units-section .location-content h3 {
  margin: 10px 0 14px;
  color: var(--alliances-ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1.04;
}

.alliances-theme .alliances-units-section .location-content address,
.alliances-theme .alliances-units-section .location-content .hours {
  margin: 0 0 8px;
  color: var(--alliances-muted);
  font-style: normal;
  line-height: 1.65;
}

.alliances-theme .alliances-units-section .location-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 28px;
}

.alliances-theme .alliances-units-section .map-link {
  color: #8b6410;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 100, 16, 0.42);
}

.alliances-theme .alliances-units-section .map-link:hover {
  color: #5f4307;
  border-color: #5f4307;
}

.alliances-theme .alliances-category-section {
  padding-top: 48px;
  padding-bottom: 42px;
  background:
    radial-gradient(circle at 88% 16%, rgba(218, 165, 32, 0.11), transparent 24%),
    var(--alliances-ivory);
}

html.effects-ready .alliances-theme [data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.72s ease, transform 0.78s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.effects-ready .alliances-theme [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.alliances-theme .category-grid article:nth-child(2),
.alliances-theme .real-catalog-grid article:nth-child(3n + 2),
.alliances-theme .alliances-units-grid .location-card:nth-child(2) {
  transition-delay: 0.08s;
}

.alliances-theme .category-grid article:nth-child(3),
.alliances-theme .real-catalog-grid article:nth-child(3n) {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  html.effects-ready .alliances-theme [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 820px) {
  .alliances-theme .alliances-units-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) and (max-width: 900px) {
  .alliances-theme .alliances-units-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alliances-theme .alliances-units-section .location-content {
    min-height: 300px;
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .alliances-theme .real-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .alliances-theme .real-catalog-copy {
    padding: 18px;
  }

  .alliances-theme .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 28px;
    padding-block: 38px 34px;
  }

  .alliances-theme .site-footer .footer-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px 20px;
    align-items: start;
  }

  .alliances-theme .site-footer .footer-brand img {
    grid-row: 1 / 3;
  }

  .alliances-theme .site-footer .footer-brand p {
    max-width: 430px;
  }

  .alliances-theme .site-footer .footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .alliances-theme .site-footer .footer-units {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .alliances-theme .alliances-page-hero > .alliances-hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 42px 54px;
  }

  .alliances-theme .alliances-hero-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .alliances-theme .alliances-hero-highlights li,
  .alliances-theme .alliances-hero-highlights li:last-child {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 9px;
    padding: 16px 12px;
    border-top: 0;
    border-right: 1px solid var(--alliances-line);
  }

  .alliances-theme .alliances-hero-highlights li:last-child {
    border-right: 0;
  }
}

@media (max-width: 600px) {
  .alliances-theme .real-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .alliances-theme .site-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 34px 30px;
  }

  .alliances-theme .site-footer .footer-brand {
    grid-column: auto;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 7px 16px;
  }

  .alliances-theme .site-footer .footer-brand img {
    width: 88px;
    height: 92px;
    max-width: 88px;
  }

  .alliances-theme .site-footer .footer-links,
  .alliances-theme .site-footer .footer-units {
    padding-top: 24px;
    border-top: 1px solid var(--alliances-line);
  }

  .alliances-theme .alliances-page-hero {
    min-height: 0;
    padding-top: 82px;
  }

  .alliances-theme .alliances-page-hero::before,
  .alliances-theme .alliances-hero-background {
    inset: 82px 0 0;
  }

  .alliances-theme .alliances-page-hero::before {
    background: linear-gradient(180deg, rgba(248, 243, 234, 0.16), rgba(248, 243, 234, 0.38) 42%, rgba(248, 243, 234, 0.62));
  }

  .alliances-theme .alliances-hero-background img {
    object-position: 54% 45%;
  }

  .alliances-theme .alliances-page-hero > .alliances-hero-layout {
    width: calc(100% - 32px);
    padding-block: 40px 46px;
  }

  .alliances-theme .alliances-hero-content {
    padding: 26px 20px;
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.62), rgba(248, 243, 234, 0.44));
    box-shadow: 0 24px 58px rgba(23, 22, 20, 0.14);
    backdrop-filter: blur(10px) saturate(1.08);
  }

  .alliances-theme .alliances-page-hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.55rem);
  }

  .alliances-theme .alliances-hero-content > p:not(.kicker) {
    font-size: 0.92rem;
  }

  .alliances-theme .alliances-page-hero .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .alliances-theme .alliances-page-hero .button,
  .alliances-theme .alliances-directions-link {
    width: 100%;
    justify-content: center;
  }

  .alliances-theme .alliances-hero-highlights {
    grid-template-columns: 1fr;
    padding: 8px 18px;
  }

  .alliances-theme .alliances-hero-highlights li,
  .alliances-theme .alliances-hero-highlights li:last-child {
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--alliances-line);
  }

  .alliances-theme .alliances-hero-highlights li:last-child {
    border-bottom: 0;
  }

  .alliances-theme .alliances-proof-banner {
    width: calc(100% - 32px);
    min-height: 270px;
    margin-block: 34px;
    padding: 28px 22px;
  }

  .alliances-theme .alliances-proof-banner::before {
    background: linear-gradient(90deg, rgba(255, 253, 248, 0.94), rgba(248, 243, 234, 0.68));
  }

  .alliances-theme .alliances-final-cta {
    margin-top: 64px;
  }

  .alliances-theme .alliances-units-section {
    padding: 68px 16px 76px;
  }

  .alliances-theme .alliances-units-section .location-photo {
    aspect-ratio: 4 / 3;
  }

  .alliances-theme .alliances-units-grid {
    margin-top: 36px;
  }

  .alliances-theme .alliances-units-section .location-content {
    min-height: 0;
    padding: 24px 20px;
  }

  .alliances-theme .alliances-units-section .location-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 24px;
    text-align: center;
  }
}
