@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

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

body {
  font-family: "Libre Franklin", sans-serif;
  background: #fffefb;
  color: #1a1a1a;
  line-height: 1.6;
}

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

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

/* HERO */

.hero {
  padding: 80px 0 60px;
  background:
    linear-gradient(to bottom, rgba(242, 251, 253, 0.7), #fffefb), #fffefb;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  color: #1b748c;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 1.2;
  margin-bottom: 28px;
  max-width: 900px;
}

.hero-intro {
  max-width: 760px;
  color: #555555;
  font-size: 20px;
  line-height: 1.5;
}

/* ACCORDION */

.accordion {
  padding: 20px 0 80px;
}

.accordion-item {
  border: 1px solid #1b748c;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #ffffff;
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  color: #1a1a1a;
  padding: 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.accordion-header h2 {
  font-size: 28px;
  line-height: 1.2;
  max-width: 90%;
  color: #1b748c;
}

.accordion-icon {
  font-size: 42px;
  color: #1b748c;
  transition: transform 0.3s ease;
}

.accordion-icon:hover {
  color: #f59e0b;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}

.accordion-inner {
  padding: 0 28px 32px;
}

.accordion-inner p {
  font-size: 18px;
  color: #444444;
  width: 90%;
}

/* VISUAL BLOCKS */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.info-card {
  background: #fafafa;
  border: 1px solid #dddddd;
  border-radius: 22px;
  padding: 24px;
}

.info-card small {
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

.info-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
  color: #f59e0b;
}

.info-card p {
  font-size: 15px;
  color: #666666;
}

/* TIMELINE */

.timeline {
  margin-top: 40px;
  border-left: 2px solid #333;
  padding-left: 30px;
  margin-left: 10px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e3062d;
  position: absolute;
  left: -38px;
  top: 5px;
}

.timeline-year {
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 20px;
  line-height: 1.4;
}

/* SHIP */

.ship-graphic {
  margin: 36px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dddddd;
  background: #ffffff;
  width: 60%;
}

.ship-graphic img {
  width: 100%;
  height: auto;
  display: block;
}

/* SYMPTOMS */

.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.symptom-card {
  background: #fafafa;
  border: 1px solid #dddddd;
  border-radius: 22px;
  padding: 22px;
}

.symptom-card small {
  color: #888;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.symptom-card h3 {
  font-size: 22px;
  line-height: 1.3;
}

/* PREVENTION */

.prevention-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prevention-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  font-size: 18px;
  line-height: 1.5;

  padding-bottom: 18px;
  border-bottom: 1px solid #e3e3e3;
}

.prevention-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.check {
  color: #f59e0b;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

/* KNOW */

.know-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 20px 0 80px;
}

.know-card {
  background: #ffffff;
  border: 1px solid #1b748c;
  border-radius: 24px;
  padding: 28px;
}

.know-card h3 {
  margin-bottom: 20px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.know-card ul {
  list-style: none;
}

.know-card li {
  margin-bottom: 12px;
  color: #444444;
}

.green {
  color: #00a36c;
}

.yellow {
  color: #f59e0b;
  font-weight: 500;
}

.red {
  color: #e3062d;
}

.credits {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: 1em;
  color: #555555;
  font-size: 1em;
}

.credits p a {
  color: #555555;
  text-decoration: none;
}

.credits p a:hover {
  color: #1b748c;
}

/* MOBILE */

@media (max-width: 900px) {
  .stats,
  .grid-2,
  .symptoms-grid,
  .know-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .accordion-header {
    padding: 22px;
  }

  .accordion-header h2 {
    font-size: 24px;
  }

  .accordion-inner {
    padding: 0 22px 28px;
  }

  .accordion-inner p {
    font-size: 17px;
  }

  .timeline-text {
    font-size: 19px;
  }

  .ship-graphic {
    margin: 20px auto;
    width: 100%;
  }

  .credits {
    flex-direction: column;
  }

  .credits p a {
    color: #1b748c;
  }
}
