/* DH Aquarium — home page */

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(17, 131, 155, 0.55), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(111, 227, 210, 0.18), transparent 60%),
    linear-gradient(150deg, var(--c-dark) 0%, var(--c-dark-2) 75%, #14495f 100%);
  color: #d9ecef;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}

.hero-grid > *,
.hero-copy,
.hero-figure {
  min-width: 0;
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.45em;
}
.hero .eyebrow { color: var(--c-aqua); }
.hero .lead {
  font-size: 1.08rem;
  max-width: 54ch;
  color: #c4dde2;
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin: 40px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-stats div { margin: 0; }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
}
.hero-stats dd {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: #9fc2c9;
}

.hero-figure {
  margin: 0;
  justify-self: end;
  max-width: 440px;
  position: relative;
}
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid rgba(111, 227, 210, 0.35);
  border-radius: var(--radius-l);
  pointer-events: none;
}
.hero-figure img {
  border-radius: var(--radius-l);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  width: 100%;
}
.hero-figure figcaption {
  margin-top: 26px;
  font-size: 0.82rem;
  color: #9fc2c9;
}

/* ---------- brand strip ---------- */

.brand-strip {
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}
.brand-strip-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 18px;
  flex-wrap: wrap;
}
.brand-strip p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-faint);
  flex: 0 0 auto;
}
.brand-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
}
.brand-strip li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-ink);
  opacity: 0.75;
}

/* ---------- category tiles ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  padding: 14px 18px 14px 14px;
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.category-tile:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
  border-color: transparent;
}

.tile-media {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-mist);
  display: grid;
  place-items: center;
}
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

.tile-body { display: flex; flex-direction: column; gap: 2px; }
.tile-body strong {
  font-size: 1rem;
  color: var(--c-ink);
  line-height: 1.3;
}
.tile-body span { font-size: 0.82rem; color: var(--c-faint); }
.category-tile:hover .tile-body strong { color: var(--c-brand-deep); }

/* ---------- services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--c-sand);
  border-radius: var(--radius-m);
  padding: 30px 28px;
}
.service-card h3 { margin-bottom: 0.5em; }
.service-card p { font-size: 0.95rem; }
.service-card a { font-weight: 600; }

/* ---------- visit band ---------- */

.home-visit {
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(17, 131, 155, 0.4), transparent 60%),
    linear-gradient(150deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  color: #c4dde2;
}
.home-visit h2 { color: #fff; }
.home-visit .eyebrow { color: var(--c-aqua); }
.visit-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.visit-copy p { max-width: 50ch; }
.visit-copy .hero-actions { margin-top: 24px; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { justify-self: start; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-grid {
    padding-block: 40px;
    width: 100%;
    max-width: 100%;
  }
  .hero-copy,
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero-actions,
  .hero-stats,
  .hero-figure {
    width: 280px !important;
    max-width: 280px !important;
  }
  .hero .eyebrow {
    font-size: 0.7rem;
    line-height: 1.45;
  }
  .hero h1 {
    font-size: 1.68rem;
    line-height: 1.05;
  }
  .hero .lead {
    font-size: 0.94rem;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 280px !important;
    max-width: 280px !important;
  }
  .hero-figure {
    max-width: 100%;
  }
  .hero-figure::before {
    inset: 10px;
    border-radius: 16px;
  }
  .hero-figure figcaption {
    margin-top: 12px;
  }
  .brand-strip-inner {
    gap: 12px;
  }
  .brand-strip ul {
    gap: 8px 16px;
  }
  .category-grid { grid-template-columns: 1fr; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
