/* Símbolo sin texto y nombre real para conservar nitidez a cualquier tamaño. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  letter-spacing: 0;
}
.brand .brand-symbol {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 48px;
  mix-blend-mode: normal;
}
.brand .brand-name {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 3.8px;
  font-weight: 400;
  text-transform: uppercase;
}
body:not([data-page]) footer {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1100px) {
  .brand {
    gap: 8px;
  }
  .brand .brand-symbol {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .brand .brand-name {
    font-size: 24px;
    letter-spacing: 3px;
  }
}
@media (max-width: 760px) {
  .brand .brand-symbol {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .brand .brand-name {
    font-size: 23px;
    letter-spacing: 2.5px;
  }
  body:not([data-page]) footer {
    grid-template-columns: 1fr;
  }
}

/* Footer: identity, three compact link columns and a shared credit. */
body:not([data-page]) footer.site-footer {
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 72px);
  row-gap: 24px;
  padding-top: 32px;
  padding-bottom: 24px;
}
.site-footer .footer-links {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: stretch;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.site-footer .footer-heading {
  font: 600 14px/1.5 var(--sans);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--olive);
}
.site-footer .footer-links a {
  font-size: 16px;
  line-height: 1.65;
}
.site-footer .footer-links a:hover {
  color: var(--olive);
  text-decoration: underline;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 14px/1.5 var(--sans);
  white-space: nowrap;
}
footer .footer-credit a {
  color: #fdd200;
  background: #343c30;
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 14px;
  font-weight: 600;
}
footer .footer-credit a:hover {
  color: #fdd200;
  background: #20271d;
  text-decoration: underline;
}
footer > .footer-credit {
  grid-column: 1 / -1;
  order: 2;
}
.blog-footer > .footer-credit {
  flex-basis: 100%;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
@media (max-width: 1000px) and (min-width: 761px) {
  body:not([data-page]) footer.site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-footer .footer-identity {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  body:not([data-page]) footer.site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .site-footer .footer-identity {
    grid-column: 1 / -1;
  }
  .site-footer .footer-bottom {
    gap: 18px;
  }
  .site-footer .footer-links a {
    font-size: 15px;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 380px) {
  body:not([data-page]) footer.site-footer {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Center the legal line and studio credit at every viewport width. */
.site-footer .footer-bottom {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px 28px;
  padding-top: 18px;
}
.site-footer .footer-bottom .footer-credit {
  justify-content: center;
}

/* Studio credit without a badge. */
footer .footer-credit a,
footer .footer-credit a:hover {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: #fdd200;
}

/* Clear, bold studio credit on the light footer. */
footer .footer-credit a,
footer .footer-credit a:hover {
  color: #000;
  font-weight: 700;
}

/* WhatsApp shortcut: fixed outside the flow; native dialogs stay above it. */
footer .whatsapp-floating {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--olive);
  color: white;
  box-shadow: 0 4px 16px #26311f26;
  text-decoration: none;
}
footer .whatsapp-floating:hover {
  background: #414c34;
}
footer .whatsapp-floating img {
  width: 30px;
  height: 30px;
  filter: invert(1);
  mix-blend-mode: normal;
}
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--ink);
  color: white;
  white-space: nowrap;
  font: 14px/1.5 var(--sans);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.whatsapp-floating:focus-visible .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}
@media (hover: hover) {
  .whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 760px) {
  footer .whatsapp-floating {
    width: 52px;
    height: 52px;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  footer .whatsapp-floating img {
    width: 27px;
    height: 27px;
  }
}

.editorial-main {
  max-width: 1200px;
  margin: auto;
}
.editorial-main .editorial-title {
  padding-bottom: 0;
}
.editorial-main .editorial-title h1 {
  font-size: clamp(46px, 6vw, 80px);
  overflow-wrap: anywhere;
}
.editorial-main .armonia {
  text-align: left;
}
.blog-related {
  margin-top: 38px;
  padding: 28px;
  background: #eaeade;
}
.blog-related a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-facts {
  padding: 24px;
  margin-bottom: 30px;
  background: #eaeade;
}
.service-facts h2 {
  font-size: clamp(28px, 3vw, 38px);
}
.service-facts dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 20px;
}
.service-facts dt {
  font-weight: 600;
}
.service-facts dd {
  margin: 0;
}
.service-facts p {
  margin: 18px 0 0;
}

/* Keep the identity beside navigation on desktop without crowding the columns. */
@media (min-width: 1001px) {
  .site-footer .brand .brand-name {
    font-size: clamp(19px, 1.8vw, 26px);
    letter-spacing: 2px;
  }
  .site-footer .brand .brand-symbol {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}
.site-footer .footer-identity p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .site-footer .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* Account footer: one compact identity/navigation row and a centered credit. */
body:not([data-page]) footer.account-footer {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 32px;
  padding: 28px 8% 20px;
}
.account-footer > .brand {
  min-width: 0;
  justify-self: start;
}
.account-footer .brand .brand-name {
  font-size: clamp(19px, 2vw, 26px);
  letter-spacing: 2px;
}
.account-footer .brand .brand-symbol {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}
.account-footer .account-footer-links {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 12px 28px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.account-footer .account-footer-links a {
  font-size: 16px;
  line-height: 1.6;
}
.account-footer > .footer-credit {
  grid-column: 1 / -1;
  justify-self: stretch;
  justify-content: center;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) {
  body:not([data-page]) footer.account-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 24px 6% 18px;
  }
  .account-footer > .brand {
    justify-self: center;
  }
  .account-footer .account-footer-links {
    justify-self: center;
    justify-content: center;
    gap: 12px 24px;
  }
  .account-footer .brand .brand-name {
    font-size: 21px;
    letter-spacing: 1.5px;
  }
}

/* A.R.M.O.N.I.A.: a readable closing invitation with both actions grouped below. */
.armonia .armonia-bottom {
  display: block;
  padding-top: 28px;
  margin-top: 28px;
}
.armonia .armonia-cta-copy {
  max-width: 780px;
}
.armonia .armonia-cta-copy p {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.armonia .armonia-cta-copy .armonia-cta-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  margin-bottom: 20px;
}
.armonia .armonia-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}
.armonia .armonia-actions .button {
  min-height: 56px;
  font-size: 17px;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--paper);
}
.armonia .armonia-actions .light {
  background: var(--paper);
  color: var(--ink);
}
.armonia .armonia-actions .armonia-contact {
  background: transparent;
  color: var(--paper);
}
.armonia .armonia-actions .button:hover {
  background: #e5e7d9;
  color: var(--ink);
}
@media (max-width: 600px) {
  .armonia .armonia-actions {
    flex-direction: column;
    gap: 12px;
  }
  .armonia .armonia-actions .button {
    width: 100%;
    padding: 16px 20px;
  }
}

.armonia .armonia-cta-copy {
  max-width: 100%;
}
