:root {
  --bg-deep: #045764;
  --bg-soft: #f5dfd4;
  --bg-rose: #f2cbc2;
  --surface: #fff5f0;
  --text-dark: #152226;
  --text-light: #eef6f7;
  --accent: #0a7c8e;
  --accent-strong: #045764;
  --shadow: 0 18px 42px rgba(4, 87, 100, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", Avenir, "Segoe UI", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: linear-gradient(180deg, var(--bg-soft) 0%, #f9ede7 100%);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  background: radial-gradient(circle at 20% 20%, #0a7384 0%, var(--bg-deep) 52%, #034450 100%);
  color: var(--text-light);
  padding: 88px 0 72px;
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

h1 {
  margin: 10px 0 14px;
  line-height: 1.1;
  font-size: clamp(2rem, 4.3vw, 3.25rem);
}

.lead {
  margin: 0;
  font-size: clamp(1.02rem, 1.9vw, 1.3rem);
  max-width: 62ch;
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button--primary {
  background: #ffffff;
  color: var(--accent-strong);
}

.button--primary:hover {
  background: #e9f6f8;
}

.button--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

main {
  padding: 56px 0 24px;
}

h2 {
  margin: 0 0 20px;
  line-height: 1.15;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #10343b;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(9, 95, 109, 0.12);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

.card p {
  margin: 0;
  color: #284046;
}

.gallery {
  margin-top: 52px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

figure {
  margin: 0;
  background: var(--bg-rose);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
}

figcaption {
  padding: 14px 14px 16px;
  font-weight: 600;
  color: #1e363c;
}

.footer {
  margin-top: 40px;
  background: #083f48;
  color: #ddedef;
}

.footer__content {
  padding: 18px 0 24px;
}

.footer a {
  color: #f6ffff;
}

@media (max-width: 880px) {
  .features__grid,
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 68px;
    padding-bottom: 58px;
  }
}
