/*
 * Shared footer (S3/S4), reproduced from the public components 2801d6_203aa6ab… (inner pages) and
 * 2801d6_9f2e20e6… (homepage). Loaded after site.css; every rule is scoped to footer.site-footer so
 * it replaces the earlier footer styles there.
 */
footer.site-footer {
  --footer-bg: #01282e;
  --footer-text: #dbece9;
  --footer-accent: #62b455;
  --footer-gold: #eaad26;
  --footer-border: rgba(255, 255, 255, .15);
  padding: 70px 0 20px;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .5px;
}
/* Hello Elementor adds 10px side padding below 576px; the inner container already holds the gutter. */
footer.site-footer:not(.dynamic-footer) { padding-inline: 0; }
footer.site-footer .site-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
footer.site-footer .site-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.5fr .5fr;
  gap: 30px;
  max-width: none;
  margin: 0;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--footer-border);
}
footer.site-footer a { color: var(--footer-text); text-decoration: none; }
footer.site-footer a:hover { text-decoration: none; }
footer.site-footer a:focus-visible,
footer.site-footer .site-footer-toggle:focus-visible { outline: 2px solid var(--footer-accent); outline-offset: 3px; }

footer.site-footer .site-footer-brand img { display: block; width: auto; max-width: 180px; height: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }
footer.site-footer .site-footer-brand p { max-width: 300px; margin: 0; font-size: 13px; opacity: .9; }

footer.site-footer .site-footer-title {
  position: relative;
  width: auto;
  margin: 0 0 25px;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 2px;
  text-transform: uppercase;
}
footer.site-footer .site-footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  display: block;
  width: 30px;
  height: 2px;
  margin: 0;
  background: var(--footer-accent);
}
footer.site-footer .site-footer-title .site-footer-icon-chevron { width: 1em; height: 1em; margin-left: .25em; vertical-align: -.14em; }
footer.site-footer .site-footer-toggle { display: none; }

footer.site-footer .site-footer-contact-list,
footer.site-footer .site-footer-services-list,
footer.site-footer .site-footer-menu ul { margin: 0; padding: 0; list-style: none; }
footer.site-footer .site-footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 15px; font-size: 13px; }
footer.site-footer .site-footer-contact-list .site-footer-icon { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 4px; color: var(--footer-gold); }
footer.site-footer .site-footer-contact-list address,
footer.site-footer .site-footer-contact-list p { max-width: none; margin: 0; font-style: normal; }
footer.site-footer .site-footer-contact-list a:hover { text-decoration: underline; }

footer.site-footer .site-footer-services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; columns: auto; }
footer.site-footer .site-footer-services-list li,
footer.site-footer .site-footer-menu li { margin: 0; }
footer.site-footer .site-footer-menu li { margin-bottom: 10px; }
footer.site-footer .site-footer-services-list a,
footer.site-footer .site-footer-menu a { display: inline-block; max-width: 100%; transition: all .3s ease; }
footer.site-footer .site-footer-services-list a { font-size: 13px; word-break: break-word; }
footer.site-footer .site-footer-services-list a:hover,
footer.site-footer .site-footer-menu a:hover { padding-left: 5px; color: var(--footer-accent); }

footer.site-footer .site-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  margin: 0;
  padding-top: 30px;
  border-top: 0;
  text-align: center;
}
footer.site-footer .site-footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
footer.site-footer .site-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: 18px;
  transition: all .3s ease;
}
footer.site-footer .site-footer-social-link .site-footer-icon { width: 1em; height: 1em; }
footer.site-footer .site-footer-social-link:hover { background: var(--footer-accent); color: var(--footer-bg); transform: translateY(-3px); }
footer.site-footer .site-footer-copyright { margin: 0; color: var(--footer-text); font-size: 12px; opacity: .6; }
footer.site-footer .site-footer-terms { margin-left: 10px; }

/* Public mobile layout (≤768px): centred brand, accordions for CONTACTO and SERVICIOS. */
@media (max-width: 768px) {
  footer.site-footer { padding: 40px 0 20px; }
  footer.site-footer .site-footer-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 30px; }
  footer.site-footer .site-footer-brand { margin-bottom: 15px; text-align: center; }
  footer.site-footer .site-footer-brand img { max-width: 140px; margin: 0 auto 15px; }
  footer.site-footer .site-footer-brand p { max-width: 100%; padding: 0 10px; font-size: 12px; opacity: .8; }
  footer.site-footer .site-footer-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid var(--footer-border);
    font-size: 14px;
    letter-spacing: 1px;
  }
  footer.site-footer .site-footer-title::after { display: none; }
  footer.site-footer.has-accordions .site-footer-title.is-accordion { padding: 0; }
  footer.site-footer.has-accordions .site-footer-title.is-accordion > .site-footer-title-text,
  footer.site-footer.has-accordions .site-footer-title.is-accordion > .site-footer-icon-chevron { display: none; }
  footer.site-footer.has-accordions .site-footer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 15px 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    text-transform: inherit;
    cursor: pointer;
  }
  /* The public arrow is an 18px icon-font glyph in a 1.6 line box, which makes the row 54px tall at 320px. */
  footer.site-footer .site-footer-toggle .site-footer-icon-chevron { width: 18px; height: 18px; margin-block: 5.4px; color: var(--footer-accent); transition: transform .3s ease; }
  footer.site-footer .site-footer-widget.is-open .site-footer-toggle .site-footer-icon-chevron { transform: rotate(180deg); }
  footer.site-footer.has-accordions .site-footer-panel { max-height: 0; overflow: hidden; transition: max-height .4s ease-out; }
  footer.site-footer.has-accordions .site-footer-widget.is-open .site-footer-panel { max-height: 600px; padding-bottom: 10px; }
  footer.site-footer .site-footer-contact-list li { margin-bottom: 10px; font-size: 12px; }
  footer.site-footer .site-footer-contact-list .site-footer-icon { width: 14px; height: 14px; margin-top: 4px; }
  footer.site-footer .site-footer-services-list { grid-template-columns: 1fr; gap: 6px 0; }
  footer.site-footer .site-footer-services-list a { font-size: 12px; }
  footer.site-footer .site-footer-menu li { margin-bottom: 8px; }
  footer.site-footer .site-footer-menu a { font-size: 13px; }
  footer.site-footer .site-footer-social { gap: 8px; margin-bottom: 25px; }
  footer.site-footer .site-footer-social-link { width: 40px; height: 40px; font-size: 18px; }
  footer.site-footer .site-footer-copyright { font-size: 11px; line-height: 1.6; }
  footer.site-footer .site-footer-terms { display: inline; margin-left: 5px; }
}

/*
 * Phones: Wix shows the public mobile site at a 320px layout width scaled to the screen, so these
 * are the public values at 320px (its ≤480px and ≤360px rules) times --eiatec-m from header.css.
 */
@media (max-width: 480px) {
  footer.site-footer { padding: calc(40 * var(--eiatec-m)) 0 calc(20 * var(--eiatec-m)); font-size: calc(14 * var(--eiatec-m)); letter-spacing: calc(.5 * var(--eiatec-m)); }
  footer.site-footer .site-footer-inner { padding: 0 calc(12 * var(--eiatec-m)); }
  footer.site-footer .site-footer-grid { padding-bottom: calc(30 * var(--eiatec-m)); }
  footer.site-footer .site-footer-brand { margin-bottom: calc(15 * var(--eiatec-m)); }
  footer.site-footer .site-footer-brand img { max-width: calc(120 * var(--eiatec-m)); margin-bottom: calc(15 * var(--eiatec-m)); }
  footer.site-footer .site-footer-brand p { padding: 0 calc(10 * var(--eiatec-m)); font-size: calc(12 * var(--eiatec-m)); }
  footer.site-footer .site-footer-title { padding: calc(12 * var(--eiatec-m)) 0; font-size: calc(13 * var(--eiatec-m)); }
  footer.site-footer.has-accordions .site-footer-toggle { padding: calc(12 * var(--eiatec-m)) 0; }
  footer.site-footer .site-footer-toggle .site-footer-icon-chevron { width: calc(18 * var(--eiatec-m)); height: calc(18 * var(--eiatec-m)); margin-block: calc(5.4 * var(--eiatec-m)); }
  footer.site-footer .site-footer-contact-list li { margin-bottom: calc(10 * var(--eiatec-m)); font-size: calc(11 * var(--eiatec-m)); gap: calc(12 * var(--eiatec-m)); }
  footer.site-footer .site-footer-contact-list .site-footer-icon { width: calc(14 * var(--eiatec-m)); height: calc(14 * var(--eiatec-m)); }
  footer.site-footer .site-footer-services-list { gap: calc(6 * var(--eiatec-m)) 0; }
  footer.site-footer .site-footer-services-list a { font-size: calc(11 * var(--eiatec-m)); }
  footer.site-footer .site-footer-menu li { margin-bottom: calc(8 * var(--eiatec-m)); }
  footer.site-footer .site-footer-menu a { font-size: calc(12 * var(--eiatec-m)); }
  footer.site-footer .site-footer-bottom { padding-top: calc(30 * var(--eiatec-m)); }
  footer.site-footer .site-footer-social { gap: calc(8 * var(--eiatec-m)); margin-bottom: calc(25 * var(--eiatec-m)); }
  footer.site-footer .site-footer-social-link { width: calc(32 * var(--eiatec-m)); height: calc(32 * var(--eiatec-m)); font-size: calc(15 * var(--eiatec-m)); }
  footer.site-footer .site-footer-copyright { font-size: calc(10 * var(--eiatec-m)); }
  footer.site-footer .site-footer-terms { margin-left: calc(5 * var(--eiatec-m)); }
}
@media (prefers-reduced-motion: reduce) {
  footer.site-footer *, footer.site-footer *::before, footer.site-footer *::after { transition-duration: .01ms !important; }
}
