/* ───── Reset & Base ───── */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #B07D62;
  --text: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --green: #B07D62;
  --green-dark: #8F6247;
  --sand: #C4A882;
  --cream: #F0EBE3;
  --light-green: #F0E6DF;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

/* ───── Entrance animation ───── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ───── Layout ───── */

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  padding: 5rem 1.5rem 3rem;
  animation: fadeUp 0.8s ease-out;
}

/* ───── Header ───── */

.header {
  text-align: center;
  margin-bottom: 4rem;
}

.logo {
  margin-bottom: 1.5rem;
}

.logo svg {
  display: inline-block;
}

.header h1 {
  font-family: 'Poiret One', sans-serif;
  font-weight: 400;
  font-size: 3.6rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* ───── Cards ───── */

.cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 2rem 2rem 1.75rem;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.card-icon {
  margin-bottom: 1rem;
  text-align: center;
}

.card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.card h2 {
  font-family: 'Poiret One', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.card:hover .card-link {
  color: var(--white);
}

/* ───── Footer ───── */

.footer {
  margin-top: 4rem;
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ───── Responsive ───── */

@media (min-width: 600px) {
  .cards {
    flex-direction: row;
  }

  .card {
    flex: 1;
  }
}

@media (min-width: 900px) {
  .header h1 {
    font-size: 4.5rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 3rem 1.25rem 2rem;
  }

  .header {
    margin-bottom: 3rem;
  }

  .header h1 {
    font-size: 2.8rem;
  }

  .card {
    padding: 1.5rem;
  }
}
