﻿:root {
  --white: #ffffff;
  --acid: #ddff00;
  --mint: rgba(152, 214, 160, 0.86);
  --mint-border: rgba(255, 255, 255, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--white);
  background: #55c9d8;
}

a {
  color: inherit;
}

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background-image: url("assets/FondoViveRioja.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(33, 111, 132, 0.2) 0%,
      rgba(33, 111, 132, 0.04) 43%,
      rgba(38, 190, 207, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(31, 170, 190, 0) 0%,
      rgba(31, 170, 190, 0.08) 60%,
      rgba(118, 22, 82, 0.16) 100%
    );
}

.content {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(220px, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  padding: clamp(2rem, 5.9vw, 5rem) clamp(1.5rem, 7.7vw, 6.75rem);
}

.brand {
  align-self: start;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(10.75rem, 15vw, 13.2rem);
  height: auto;
}

.hero {
  grid-column: 1;
  align-self: start;
  margin-top: clamp(4.8rem, 11vh, 6.6rem);
}

h1 {
  margin: 0;
  max-width: 32rem;
  color: var(--white);
  font-size: clamp(2.15rem, 4.35vw, 3.35rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 strong {
  display: block;
  margin-top: 0.15em;
  color: var(--acid);
  font-size: clamp(2.3rem, 4.55vw, 3.45rem);
  font-weight: 800;
  line-height: 0.98;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.55rem);
  min-height: 3.9rem;
  margin-top: clamp(1.6rem, 3.3vh, 2rem);
  padding: 0.65rem 1rem 0.65rem 1.35rem;
  border: 2px solid var(--mint-border);
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 1.25rem 3rem rgba(38, 83, 74, 0.16);
  backdrop-filter: blur(3px);
}

.social span {
  color: var(--white);
  font-size: clamp(0.95rem, 1.45vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: #93d29d;
  font-size: 1.15rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: #7fc28b;
  background: var(--acid);
  transform: translateY(-2px);
  outline: none;
}

.status {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: end;
  width: min(100%, 360px);
  margin: clamp(4.8rem, 11vh, 6.6rem) clamp(1rem, 4vw, 3.25rem) 0 0;
}

.status p {
  margin: 0;
  font-size: clamp(0.72rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.3;
  text-transform: uppercase;
}

.status::after {
  content: "";
  display: block;
  width: clamp(3.2rem, 6vw, 4.2rem);
  height: 2px;
  margin-top: 1.05rem;
  background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
  .page {
    background-position: 57% center;
  }

  .content {
    grid-template-columns: 1fr;
    padding: 2.2rem clamp(1.25rem, 6vw, 3rem);
  }

  .hero {
    max-width: 31rem;
    margin-top: 16svh;
    transform: none;
  }

  .status {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    align-self: start;
    width: auto;
    margin: clamp(2rem, 7vh, 4rem) 0 0;
  }
}

@media (max-width: 560px) {
  .page {
    min-height: 100dvh;
    background-position: 55% center;
  }

  .page::after {
    background:
      linear-gradient(
        90deg,
        rgba(28, 115, 136, 0.28) 0%,
        rgba(28, 115, 136, 0.1) 100%
      ),
      linear-gradient(
        180deg,
        rgba(29, 165, 188, 0.04) 0%,
        rgba(114, 25, 82, 0.28) 100%
      );
  }

  .content {
    min-height: 100dvh;
    padding-top: 1.6rem;
    padding-bottom: 2rem;
  }

  .brand img {
    width: clamp(8.6rem, 38vw, 11rem);
  }

  .hero {
    align-self: end;
    margin-top: 0;
    padding-top: 20svh;
  }

  h1 {
    max-width: 20rem;
    font-size: clamp(2rem, 10.6vw, 3rem);
  }

  h1 strong {
    font-size: clamp(2.1rem, 11.2vw, 3.15rem);
  }

  .social {
    width: min(100%, 19rem);
    min-height: 3.4rem;
    gap: 0.8rem;
    justify-content: space-between;
    margin-top: 1.4rem;
    padding: 0.55rem 0.75rem 0.55rem 1.1rem;
  }

  .social span {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
  }

  .social-links {
    gap: 0.55rem;
  }

  .social-link {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 1rem;
  }

  .status {
    margin-top: 1.6rem;
  }
}

@media (max-width: 380px) {
  .content {
    padding-inline: 1rem;
  }

  .social {
    width: 100%;
  }
}
