/* ============================================
   FOOTER STYLES - PRIMEROSE MEDICAL
   ============================================ */

:root {
  --footer-bg: #7F8D98;
  --footer-cream: #EAE7E7;
  --footer-dark: #4A5660;
  --footer-white: #ffffff;
  --footer-radius-lg: 60px;
  --footer-radius-xl: 140px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 0px;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

/* 1. Tarjeta principal */
.hero-card {
  padding: 10px;
  height: 100vh;
  width: 100%;
}

.hero-card__inner {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: var(--footer-radius-xl);
  overflow: hidden;
  background: var(--footer-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: hard-light;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.hero-card__logo {
  position: relative;
  z-index: 1;
  color: var(--footer-white);
  font-size: clamp(60px, 14vw, 220px);
  letter-spacing: -0.04em;
  font-weight: 700;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
}

.hero-card__bottom {
  position: absolute;
  inset: auto 40px 40px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--footer-white);
  z-index: 2;
}

.hero-card__title {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-card__sub {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  text-align: right;
}

/* 2. Reserva + marquee */
.footer-reserve {
  margin-top: 240px;
}

.footer-reserve__caption {
  padding: 0 40px;
  font-size: 18px;
  font-weight: 600;
  color: var(--footer-white);
  margin-bottom: 40px;
}

.footer-marquee {
  position: relative;
  overflow: hidden;
  height: 270px;
  display: flex;
  align-items: center;
}

.footer-marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  padding: 40px 30px;
  will-change: transform;
  color: var(--footer-white);
  font-size: clamp(80px, 18vw, 230px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 400;
}

/* 3. Info + menú */
.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 140px 40px 20px;
}

.footer-info__left p {
  color: white;
  font-size: clamp(22px, 2.4vw, 22px);
  line-height: 1.15;
  max-width: 360px;
  margin-bottom: 0px;
}

.footer-info__left p + p {
  margin-top: 30px;
  color: white;
}

.footer-link {
  color: var(--footer-white);
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 0.5;
}

.footer-info__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.footer-menu-link {
    position: relative;
    display: block;
    height: 1.2em;
    overflow: hidden;
    font-size: clamp(22px, 2.4vw, 22px);
    line-height: 1.2;
    color: var(--footer-white);
    font-weight: 500;
    margin-bottom: 5px;
}

.footer-menu-link span {
  display: block;
  transition: transform 0.4s cubic-bezier(0.6, 0.2, 0.1, 1);
}

.footer-menu-link span:nth-child(2) {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(100%);
}

.footer-menu-link:hover span:nth-child(1) {
  transform: translateY(-100%);
}

.footer-menu-link:hover span:nth-child(2) {
  transform: translateY(0);
}

/* 4. Redes sociales */
.footer-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px 80px;
  gap: 40px;
}

.footer-social__icons {
  display: flex;
  gap: 10px;
}

.footer-bubble {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px white;
  display: grid;
  place-items: center;
  color: white;
  overflow: hidden;
  transition: color 0.3s;
}

.footer-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.6, 0.2, 0.1, 1);
}

.footer-bubble svg {
  position: relative;
  z-index: 1;
}

.footer-bubble:hover {
  color: var(--footer-bg);
}

.footer-bubble:hover::before {
  transform: scale(1);
}

.footer-social__claim {
  text-align: right;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

/* 5. Divider + legal */
.footer-divider {
  border: 0;
  height: 1px;
  background: white;
width: calc(100% - 80px);
    margin: auto;
    opacity: 1 !important;
}

.footer-legal {
  display: flex;
  align-items: center;
  padding: 80px 40px;
  font-size: 18px;
  font-weight: 500;
}

.footer-legal p {
  flex: 1;
  color: white;
}

.footer-legal p:nth-child(2) {
  text-align: center;
}

.footer-legal p:nth-child(3) {
  text-align: right;
}

.footer-legal .strong {
  color: var(--footer-white);
}

.footer-underline-link {
  color: var(--footer-white);
  text-decoration: underline;
}

.footer-underline-link:hover {
  opacity: 0.5;
}

/* 6. Palabra gigante final */
.footer-bigword {
  display: flex;
  width: calc(100% - 80px);
margin: auto;
padding-bottom: 40px;
}

.footer-bigword svg {
  width: 100%;
  height: 454px;
  color: white;
}

/* responsive */
@media (max-width: 720px) {
  .footer-info {
    flex-direction: column;
    padding: 80px 20px;
  }

  .footer-info__menu {
    align-items: flex-start;
  }

  .footer-social {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 0 20px 40px;
  }

  .footer-social__claim {
    text-align: left;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
    text-align: left;
    padding: 40px 20px;
  }

  .footer-legal p,
  .footer-legal p:nth-child(2),
  .footer-legal p:nth-child(3) {
    text-align: left;
  }

  .hero-card__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-card__sub {
    text-align: left;
  }
}
