/* Colores del logotipo; el verde oscuro aporta contraste al texto y los botones. */
:root {
  color-scheme: light;
  --coral: #ff7c61;
  --pink: #efaaca;
  --mint: #b1e4df;
  --turquoise: #65b2c2;
  --teal: #008b8d;
  --ink: #243e3e;
  --muted: #5f7070;
  --deep-teal: #146b6b;
  --canvas: #f6f8f7;
  --line: #e8eeeb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: min(65vw, 34rem);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

body::before {
  top: -15%;
  left: -16%;
  background: radial-gradient(circle, #b1e4df42, #b1e4df00 70%);
}

body::after {
  right: -18%;
  bottom: -15%;
  background: radial-gradient(circle, #efaaca2e, #efaaca00 70%);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: #b1e4df66;
}

a:focus-visible {
  outline: 3px solid var(--deep-teal);
  outline-offset: 5px;
}

svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.presentation {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: 1.25rem 1rem;
  place-items: center;
}

.card {
  position: relative;
  width: 100%;
  max-width: 45rem;
  overflow: hidden;
  border: 1px solid #e5ece8;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 20px 70px -30px #284c4a24, 0 2px 8px #284c4a03;
  text-align: center;
}

.card::before {
  position: absolute;
  top: 0;
  right: 2rem;
  left: 2rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--coral) 0% 20%, var(--pink) 20% 40%, var(--mint) 40% 60%, var(--turquoise) 60% 80%, var(--teal) 80%);
  content: "";
}

.brand {
  padding: 1.75rem 1.5rem 0;
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location svg {
  width: 0.9375rem;
  height: 0.9375rem;
  color: var(--deep-teal);
}

h1 {
  margin: 0;
  line-height: 1;
}

.logo {
  display: block;
  width: min(100%, 21rem);
  height: auto;
  margin-inline: auto;
}

.descriptor {
  margin: 1.125rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  letter-spacing: 0.025em;
}

.introduction {
  padding: 1.625rem 1.25rem 0;
}

.accent {
  display: block;
  width: 2rem;
  height: 3px;
  margin: 0 auto 1.375rem;
  border-radius: 2px;
  background: var(--mint);
}

h2 {
  margin: 0;
  font-size: clamp(1.6875rem, 5.4vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

h2 span {
  color: var(--deep-teal);
}

.description {
  max-width: 20rem;
  margin: 0.875rem auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.contact {
  padding: 1.625rem 1.5rem 1.5rem;
}

.invitation {
  max-width: 18rem;
  margin: 0 auto 1rem;
  font-size: 0.9375rem;
  text-wrap: pretty;
}

.actions {
  display: grid;
  gap: 0.625rem;
  max-width: 27rem;
  margin: 0 auto;
}

.button {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button-primary {
  background: var(--deep-teal);
  color: #fff;
  box-shadow: 0 4px 12px #146b6b13;
}

.button-secondary {
  border-color: #d8e4df;
  background: #fff;
  color: var(--ink);
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  margin-top: 1.125rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-style: normal;
}

.contact-details a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  text-underline-offset: 4px;
}

.contact-separator {
  display: none;
}

.social-footer {
  padding: 1rem 1.5rem 1.125rem;
  border-top: 1px solid var(--line);
  background: #fafcfb;
}

.social-footer p {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.375rem;
}

.social-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-underline-offset: 4px;
}

.social-links svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--deep-teal);
}

@media (hover: hover) {
  .button-primary:hover {
    background: #0e5555;
    box-shadow: 0 5px 16px #146b6b25;
  }

  .button-secondary:hover {
    border-color: #accdc3;
    background: #f2f8f5;
  }

  .contact-details a:hover,
  .social-links a:hover {
    color: var(--deep-teal);
    text-decoration: underline;
  }
}

@media (min-width: 22rem) {
  .contact-details {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
  }

  .contact-separator {
    display: block;
    width: 1px;
    height: 0.875rem;
    background: #d6e1dc;
  }
}

@media (min-width: 40rem) {
  .presentation {
    padding: 2rem;
  }

  .card {
    border-radius: 2rem;
  }

  .brand {
    padding: 2.125rem 3rem 0;
  }

  .location {
    margin-bottom: 1.75rem;
  }

  .logo {
    width: 22.5rem;
  }

  .descriptor {
    margin-top: 1.125rem;
    font-size: 1rem;
  }

  .introduction {
    padding-top: 1.625rem;
  }

  .description,
  .invitation {
    max-width: none;
  }

  .contact {
    padding: 1.75rem 3rem 1.5rem;
  }

  .actions {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .contact-details {
    gap: 1.25rem;
    margin-top: 0.875rem;
  }

  .social-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0.875rem 2rem;
  }

  .social-footer p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
