:root {
  --ink: #142b3a;
  --muted: #647987;
  --blue: #006cae;
  --blue-deep: #06476f;
  --cyan: #55c4dc;
  --mint: #dff7f2;
  --paper: #f7fbfc;
  --white: #ffffff;
  --line: rgba(20, 43, 58, 0.12);
  --shadow: 0 28px 80px rgba(6, 71, 111, 0.18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 86% 8%, rgba(85, 196, 220, 0.34), transparent 28rem),
    linear-gradient(135deg, #eef8fb 0%, #ffffff 46%, #eaf8f4 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: url("../img/laromed-lines.png");
  background-position: top right;
  background-repeat: no-repeat;
  background-size: min(58rem, 90vw);
  opacity: 0.23;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(247, 251, 252, 0.78);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 11rem;
}

.nav {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 6vw, 7rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.3rem, 8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
}

h2 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.8vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  box-shadow: 0 18px 40px rgba(0, 108, 174, 0.26);
}

.button--ghost {
  color: var(--blue-deep);
  border: 1px solid rgba(0, 108, 174, 0.22);
  background: rgba(255, 255, 255, 0.62);
}

.hero__visual {
  position: relative;
  min-height: clamp(27rem, 46vw, 44rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 42px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(223, 247, 242, 0.58)),
    radial-gradient(circle at 20% 20%, rgba(85, 196, 220, 0.32), transparent 20rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__visual::before {
  position: absolute;
  inset: 9%;
  content: "";
  border: 1px solid rgba(0, 108, 174, 0.12);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.product {
  position: absolute;
  filter: drop-shadow(0 26px 38px rgba(6, 71, 111, 0.18));
}

.product--back {
  right: 4%;
  bottom: 7%;
  width: 62%;
  opacity: 0.82;
  transform: rotate(5deg);
}

.product--front {
  left: 8%;
  top: 13%;
  width: 72%;
  transform: rotate(-7deg);
}

.status-card {
  position: absolute;
  right: 7%;
  top: 10%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(20, 43, 58, 0.12);
  color: var(--blue-deep);
  font-weight: 800;
}

.status-card__dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: #21b475;
  box-shadow: 0 0 0 7px rgba(33, 180, 117, 0.16);
}

.problem {
  margin: 0 clamp(1.25rem, 6vw, 7rem);
  padding: clamp(3rem, 7vw, 6rem);
  border-radius: 42px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 71, 111, 0.96), rgba(0, 108, 174, 0.78)),
    url("../img/care-action.jpg") center / cover;
  background-blend-mode: multiply;
}

.problem p {
  max-width: 48rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.2rem;
  line-height: 1.65;
}

.problem .section-kicker {
  color: var(--mint);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 6vw, 7rem);
}

.feature,
.audience article {
  padding: clamp(1.3rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 60px rgba(20, 43, 58, 0.06);
}

.feature p,
.audience p,
.function p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.function {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 0 clamp(1.25rem, 6vw, 7rem) clamp(3rem, 7vw, 6rem);
}

.function__image img {
  width: 100%;
  min-height: 28rem;
  object-fit: cover;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.function ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.function li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.function li::before {
  position: absolute;
  left: 1rem;
  color: var(--blue);
  content: "✓";
}

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 clamp(1.25rem, 6vw, 7rem) clamp(3rem, 7vw, 6rem);
}

.audience span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 clamp(1.25rem, 6vw, 7rem) clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 42px;
  background:
    radial-gradient(circle at 20% 10%, rgba(85, 196, 220, 0.28), transparent 18rem),
    linear-gradient(135deg, #ffffff, #eaf8f4);
  box-shadow: var(--shadow);
}

.contact h2 {
  max-width: 15ch;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 6vw, 7rem);
  color: rgba(255, 255, 255, 0.76);
  background: var(--blue-deep);
}

.site-footer img {
  width: 10rem;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .function,
  .audience,
  .features {
    grid-template-columns: 1fr;
  }

  .features {
    padding-top: 1rem;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .hero__visual {
    min-height: 28rem;
    border-radius: 30px;
  }

  .problem,
  .contact {
    border-radius: 30px;
  }

  .status-card {
    right: 1rem;
    top: 1rem;
    font-size: 0.85rem;
  }
}
