/* =========================================================
   YES I CAN ROOFING & EXTERIORS
   BLOCK 10 — FINAL CTA + FOOTER
   ========================================================= */

.final-cta,
.site-footer {
  --footer-navy: #04172a;
  --footer-deep: #021221;
  --footer-red: #e3131b;
  --footer-line: rgba(255, 255, 255, 0.14);
}

.final-cta {
  width: 100%;
  background: var(--footer-deep);
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,.06);
}

.final-cta__inner {
  min-height: 292px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  background: var(--footer-deep);
}

.final-cta__copy {
  position: relative;
  z-index: 2;
  padding: 36px 42px 34px max(42px, calc((100vw - var(--content-max-width)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(
      90deg,
      #021221 0%,
      #03172a 70%,
      rgba(3,23,42,.94) 100%
    );
}

.final-cta__eyebrow {
  margin-bottom: 10px;
  color: var(--footer-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.final-cta__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 4vw, 68px);
  font-weight: 950;
  line-height: .96;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.final-cta__text {
  max-width: 610px;
  margin: 19px 0 26px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.final-cta__button {
  width: fit-content;
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 7px;
  background: #ffffff;
  color: #07182b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
}

.final-cta__button-icon {
  font-size: 23px;
  line-height: 1;
}

.final-cta__visual {
  position: relative;
  min-height: 292px;
  background:
    linear-gradient(
      90deg,
      rgba(3,23,42,.94) 0%,
      rgba(3,23,42,.22) 22%,
      rgba(3,23,42,.01) 58%
    ),
    url("../../imagenes/footer-cta-house.webp") center 56% / cover no-repeat;
}

.site-footer {
  width: 100%;
  background:
    radial-gradient(circle at 88% 22%, rgba(13,45,72,.32) 0%, transparent 28%),
    linear-gradient(180deg, #04172a 0%, #021221 100%);
  color: #ffffff;
}

.site-footer__inner {
  width: min(calc(100% - 72px), var(--content-max-width));
  margin: 0 auto;
}

.site-footer__grid {
  padding: 24px 0 22px;
  display: grid;
  grid-template-columns: 1.08fr .92fr .78fr 1.22fr;
  gap: 0;
  align-items: start;
}

.site-footer__brand,
.site-footer__column {
  min-width: 0;
  padding: 0 26px;
}

.site-footer__brand {
  padding-left: 0;
}

.site-footer__column {
  border-left: 1px solid var(--footer-line);
}

.site-footer__logo {
  width: min(100%, 275px);
  height: auto;
  display: block;
  margin: 0 0 14px;
}

.site-footer__brand p {
  max-width: 285px;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.site-footer__socials {
  margin-top: 16px;
  display: flex;
  gap: 9px;
}

.site-footer__socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  transition: border-color 150ms ease, background 150ms ease;
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
  border-color: var(--footer-red);
  background: rgba(227,19,27,.12);
}

.site-footer__column h3 {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer__accent {
  width: 34px;
  height: 2px;
  margin: 9px 0 15px;
  background: var(--footer-red);
}

.site-footer__contact ul,
.site-footer__area-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__contact li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 12px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.site-footer__contact-icon {
  color: var(--footer-red);
  font-size: 17px;
  line-height: 1;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
}

.site-footer__links a {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  font-weight: 650;
}

.site-footer__links a:last-child {
  border-bottom: 0;
}

.site-footer__links a span:last-child {
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
}

.site-footer__area-intro {
  max-width: 330px;
  margin: 0 0 12px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.site-footer__area-layout {
  display: grid;
  gap: 10px 22px;
  align-items: start;
}

.site-footer__area-layout--cities {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer__area-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  color: rgba(255,255,255,.84);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
}

.site-footer__area-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--footer-red);
  font-weight: 950;
}

.site-footer__area-note {
  margin: 5px 0 0;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
}

.site-footer__bottom {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--footer-line);
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 600;
}

.site-footer__canadian {
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 700;
}

.site-footer__legal {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.site-footer__legal a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}

.site-footer__legal i {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.2);
}

@media (max-width: 1100px) {
  .final-cta__copy {
    padding-left: 36px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }

  .site-footer__brand,
  .site-footer__column {
    padding: 0 24px;
  }

  .site-footer__brand {
    padding-left: 0;
  }

  .site-footer__column:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .final-cta__copy {
    padding: 38px 24px 34px;
  }

  .final-cta__visual {
    min-height: 230px;
    order: -1;
    background:
      linear-gradient(0deg, rgba(3,23,42,.2), rgba(3,23,42,.2)),
      url("../../imagenes/footer-cta-house.webp") center / cover no-repeat;
  }

  .final-cta__title {
    font-size: clamp(34px, 10vw, 50px);
  }

  .final-cta__text {
    font-size: 14px;
  }

  .site-footer__inner {
    width: min(calc(100% - 30px), var(--content-max-width));
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 0 20px;
  }

  .site-footer__brand,
  .site-footer__column {
    padding: 0 0 24px;
    margin-bottom: 24px;
    border-left: 0;
    border-bottom: 1px solid var(--footer-line);
  }

  .site-footer__area-layout--cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom {
    padding: 18px 0;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .site-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .site-footer__area-layout--cities {
    grid-template-columns: 1fr;
  }

  .final-cta__button {
    width: 100%;
  }
}


.site-footer__social-icon {
  width: 19px;
  height: 19px;
  display: block;
}

.site-footer__social-icon--facebook {
  fill: #1877f2;
}

.site-footer__social-icon--instagram {
  fill: #ffffff;
}

.site-footer__social-icon--google path:nth-child(1) {
  fill: #4285f4;
}

.site-footer__social-icon--google path:nth-child(2) {
  fill: #34a853;
}

.site-footer__social-icon--google path:nth-child(3) {
  fill: #fbbc05;
}

.site-footer__social-icon--google path:nth-child(4) {
  fill: #ea4335;
}

.site-footer__social-icon--whatsapp {
  fill: #25d366;
}

.site-footer__socials a:hover .site-footer__social-icon,
.site-footer__socials a:focus-visible .site-footer__social-icon {
  transform: scale(1.08);
}

.site-footer__social-icon {
  transition: transform 150ms ease;
}


/* =========================================================
   V22 — PREMIUM FOOTER ALIGNMENT
   ========================================================= */

.site-footer__brand,
.site-footer__column {
  align-self: start;
}

.site-footer__brand {
  padding-top: 0;
}

.site-footer__column {
  padding-top: 0;
}

.site-footer__grid > * {
  min-height: 0;
}

.site-footer__column h3 {
  font-size: 14px;
  letter-spacing: .02em;
}

.site-footer__area-layout--cities {
  column-gap: 20px;
}

.site-footer__bottom {
  padding: 0 2px;
}

.final-cta__copy::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 0;
  bottom: 0;
  width: 54px;
  background: linear-gradient(90deg, rgba(3,23,42,.7), rgba(3,23,42,0));
  pointer-events: none;
}

@media (min-width: 1101px) {
  .site-footer__grid {
    min-height: 248px;
  }

  .site-footer__service-area {
    padding-right: 0;
  }
}


/* =========================================================
   V23 — BRAND TEXT / LOWER FOOTER POLISH
   ========================================================= */
.site-footer__grid {
  padding: 18px 0 18px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.site-footer__logo {
  width: min(100%, 292px);
  margin: 0 0 12px;
}

.site-footer__brand p {
  max-width: 340px;
  margin: 2px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.62;
}

.site-footer__socials {
  margin-top: 18px;
}

.site-footer__bottom {
  min-height: 48px;
  padding: 10px 2px 0;
  color: rgba(255,255,255,.76);
  font-size: 11.5px;
}

.site-footer__canadian,
.site-footer__legal a {
  font-size: 11.5px;
}

@media (min-width: 1101px) {
  .site-footer__brand {
    padding-right: 32px;
  }
}


/* =========================================================
   V26 — TIGHTER FOOTER BRAND STACK
   ========================================================= */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.site-footer__logo {
  width: min(100%, 286px);
  height: auto;
  display: block;
  margin: 0 0 6px !important;
  transform: none !important;
}

.site-footer__brand p {
  margin: 0 !important;
  max-width: 320px;
  line-height: 1.5;
}

.site-footer__socials {
  margin-top: 12px !important;
}

@media (min-width: 761px) {
  .site-footer__grid {
    padding-top: 20px;
  }

  .site-footer__brand {
    margin-top: 0 !important;
    padding-right: 30px;
  }
}


/* =========================================================
   V27 — TRUE ALPHA-CROPPED FOOTER LOGO
   ========================================================= */
.site-footer__logo {
  width: min(100%, 286px);
  height: auto;
  margin: 0 0 8px !important;
  transform: none !important;
}

.site-footer__brand p {
  margin: 0 !important;
}

.site-footer__socials {
  margin-top: 12px !important;
}
