:root {
  --bg: #f2f4f7;
  --ink: #12263a;
  --muted: #45617a;
  --accent: #0f9d8a;
  --accent-strong: #0a7f70;
  --line: #d7dee6;
  --card: #ffffff;
  --shadow: 0 20px 40px rgba(20, 36, 58, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  font-family: "Archivo", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 10%, #ffffff 0, #f2f4f7 42%, #e8edf2 100%);
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

.background-glow-left {
  background: #6ad4c5;
  top: -120px;
  left: -100px;
}

.background-glow-right {
  background: #f7bf6b;
  bottom: -120px;
  right: -100px;
}

.page {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 2.5rem auto 3rem;
  display: grid;
  gap: 1.1rem;
}

.hero,
.panel {
  background: color-mix(in srgb, var(--card) 86%, #f7fafc 14%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.4rem;
  padding: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.74rem;
  margin: 0 0 0.6rem;
  color: var(--accent-strong);
}

h1 {
  margin: 0;
  font-family: "Literata", Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
  line-height: 1.08;
}

.lead {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.72rem;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.64rem 1.05rem;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 140ms ease, background-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #f8fffe;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: #bdd5db;
}

.hero-photo-wrap {
  justify-self: center;
  width: min(330px, 100%);
  padding: 0.55rem;
  border-radius: 22px;
  background: linear-gradient(145deg, #c7efe9, #fce5c0);
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.panel {
  padding: 1.35rem;
}

h2 {
  margin: 0;
  font-family: "Literata", Georgia, serif;
  font-size: 1.35rem;
}

.panel p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.card {
  background: #f8fbfd;
  border: 1px solid #dbe5ef;
  border-radius: var(--radius-md);
  padding: 0.95rem;
}

.card h3 {
  margin: 0;
  font-size: 1rem;
}

.card p {
  margin-top: 0.4rem;
  font-size: 0.93rem;
}

.contact-row {
  font-weight: 600;
  color: #1d3c5b;
}

.reveal {
  animation: reveal-up 620ms cubic-bezier(0.18, 0.68, 0.26, 1) both;
}

.reveal-delay-1 {
  animation-delay: 100ms;
}

.reveal-delay-2 {
  animation-delay: 180ms;
}

.reveal-delay-3 {
  animation-delay: 260ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap {
    width: min(320px, 90%);
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .page {
    width: min(1080px, calc(100% - 1.2rem));
    margin-top: 1.1rem;
  }

  .hero,
  .panel {
    border-radius: 18px;
  }

  .hero {
    padding: 1.2rem;
  }

  .panel {
    padding: 1.05rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
