/* ==========================================================
   IMPLANTOVISUAL — BIO LINKS
   Mobile-first • Navy + Teal + Orange
   ========================================================== */

:root {
  --navy: #061b36;
  --navy-2: #0a2b4b;
  --navy-3: #103f69;

  --teal: #087f8c;
  --teal-dark: #05646f;
  --teal-light: #e8f7f7;

  --orange: #f97316;
  --orange-dark: #c94e08;

  --white: #ffffff;
  --cream: #f7fafb;
  --cream-2: #edf4f6;

  --ink: #061a32;
  --text: #3c5063;
  --muted: #6c7d8d;
  --line: #d8e3e7;

  --radius: 22px;
  --radius-lg: 30px;

  --shadow: 0 12px 34px rgba(6, 27, 54, 0.09);
  --shadow-hover: 0 21px 52px rgba(6, 27, 54, 0.17);

  --page-width: 690px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -5%, rgba(8, 127, 140, 0.19), transparent 28%),
    radial-gradient(circle at 95% 25%, rgba(249, 115, 22, 0.08), transparent 23%),
    linear-gradient(180deg, #fdfefe 0%, var(--cream) 58%, #eef5f7 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(6,27,54,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,27,54,.018) 1px, transparent 1px);
  background-size: 30px 30px;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 42px 18px 28px;
}

/* ==========================================================
   PROFILE
   ========================================================== */

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.profile__logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,.96);
  border-radius: 50%;
  background:
    linear-gradient(145deg, var(--navy), var(--navy-3));
  box-shadow:
    0 0 0 1px rgba(8,127,140,.17),
    0 14px 30px rgba(6,27,54,.15);
}

.profile__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__logo-fallback {
  display: none;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.profile__logo-wrap--fallback .profile__logo-fallback {
  display: block;
}

.profile__eyebrow {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 1.35px;
}

.profile__title {
  margin-bottom: 9px;
  color: var(--navy);
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 7vw, 2.65rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

.profile__title span {
  color: var(--teal);
}

.profile__description {
  max-width: 520px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.profile__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.profile__trust span {
  padding: 7px 10px;
  border: 1px solid rgba(8,127,140,.12);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255,255,255,.78);
  box-shadow: 0 5px 12px rgba(6,27,54,.04);
  font-size: 0.67rem;
  font-weight: 800;
}

/* ==========================================================
   OFFERS
   ========================================================== */

.links {
  display: grid;
  gap: 17px;
}

.offer-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(6,27,54,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.offer-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -85px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,127,140,.07), transparent 67%);
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8,127,140,.25);
  box-shadow: var(--shadow-hover);
}

.offer-card:active {
  transform: scale(.992);
}

.offer-card__link {
  display: block;
}

.offer-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 30%, rgba(8,127,140,.18), transparent 38%),
    linear-gradient(145deg, var(--navy), var(--navy-2));
}

.offer-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(2,16,30,.27), transparent);
  pointer-events: none;
}

.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.offer-card:hover .offer-card__media img {
  transform: scale(1.018);
}

.offer-card__tag {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 13px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(6,27,54,.88);
  backdrop-filter: blur(8px);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: .75px;
}

.offer-card__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1fr) 42px;
  gap: 12px;
  align-items: center;
  padding: 17px 17px 18px;
}

.offer-card__text {
  min-width: 0;
}

.offer-card__text h2 {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.offer-card__text p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.offer-card__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--orange), var(--orange-dark));
  box-shadow: 0 8px 18px rgba(249,115,22,.26);
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform .18s ease;
}

.offer-card:hover .offer-card__arrow {
  transform: translateX(3px);
}

/* ==========================================================
   INFO
   ========================================================== */

.info-box {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 13px;
  align-items: center;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(8,127,140,.14);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal-light), rgba(255,255,255,.93));
}

.info-box__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
  font-weight: 900;
}

.info-box strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 0.81rem;
}

.info-box p {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
  margin-top: 35px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__brand {
  margin-bottom: 5px;
  color: var(--navy);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.91rem;
}

.footer p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.7rem;
}

.footer small {
  color: #8b99a5;
  font-size: 0.62rem;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 520px) {
  .page-shell {
    padding: 30px 13px 22px;
  }

  .profile {
    margin-bottom: 23px;
  }

  .profile__logo-wrap {
    width: 78px;
    height: 78px;
    margin-bottom: 15px;
  }

  .profile__description {
    max-width: 360px;
    margin-bottom: 15px;
    padding: 0 7px;
    font-size: 0.84rem;
  }

  .profile__trust {
    gap: 5px;
  }

  .profile__trust span {
    padding: 6px 8px;
    font-size: 0.59rem;
  }

  .links {
    gap: 14px;
  }

  .offer-card {
    border-radius: 18px;
  }

  .offer-card__media {
    aspect-ratio: 16 / 9.3;
  }

  .offer-card__tag {
    left: 11px;
    bottom: 10px;
    padding: 5px 8px;
    font-size: 0.53rem;
  }

  .offer-card__content {
    grid-template-columns: minmax(0,1fr) 36px;
    padding: 14px 13px 15px;
  }

  .offer-card__text h2 {
    font-size: 0.89rem;
  }

  .offer-card__text p {
    font-size: 0.7rem;
  }

  .offer-card__arrow {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .info-box {
    grid-template-columns: 36px minmax(0,1fr);
    padding: 13px;
  }

  .info-box__icon {
    width: 36px;
    height: 36px;
  }

  .footer {
    margin-top: 29px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .profile__trust span {
    font-size: .55rem;
  }

  .offer-card__text h2 {
    font-size: .84rem;
  }

  .offer-card__text p {
    font-size: .66rem;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .offer-card,
  .offer-card__media img,
  .offer-card__arrow {
    transition: none;
  }
}
