@font-face {
  font-family: ekamai;
  src: url(../fonts/Ekamai-Regular.woff) format("woff");
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #252046;
  background: #fff7df;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "ekamai", system-ui, sans-serif;
  font-weight: 400;
  color: #252046;
  font-size: 2.5rem;
}

section {
  width: 100%;
}

a {
  color: inherit;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
}

.header {
  background: #fff7df;
  padding: 1.75rem 7vw 0.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 5rem;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #5b5775;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 0.125rem;
  background: #4ab3e9;
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  padding: 3.25rem 7vw 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
  background: #fff7df;
}
.hero-text {
  position: relative;
  z-index: 3;
}

.hero-text h1,
.hero h1 {
  font-size: 4rem;
  line-height: 1.2;
  color: #0b2a66 !important;
  margin-top: -2rem;
  margin-bottom: 5rem;
}
.btn {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.85rem 1.9rem;
  background: #0b2a66;
  color: #ffffff;
  text-decoration: none;
  border-radius: 62rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0.75rem 1.5rem rgba(11, 42, 102, 0.28);
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-0.06rem);
  box-shadow: 0 1.125rem 1.875rem rgba(11, 42, 102, 0.34);
}
 
.btn:hover {
  transform: translateY(-0.0625rem);
  box-shadow: 0 1.125rem 1.875rem rgba(74, 179, 233, 0.42);
}

.btn-primary {
  background: #0b2a66;
  box-shadow: 0 0.75rem 1.5rem rgba(11, 42, 102, 0.32);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-img {
  max-width: 40rem;
  width: 100%;
  max-height: 37.5rem;
  height: auto;
  display: block;
  object-fit: contain;
  transform: rotate(-10deg) translateY(-3.125rem);
}

.intro-band {
  padding: 5rem 0 4rem;
  margin-top: -5rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, #fff7df 0%, #fff7df 50%, #ffffff 50%, #ffffff 100%);
}

.intro-card {
  background: #7b4e7c;
  color: #ffffff;
  border-radius: 2rem;
  padding: 2.75rem 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.08);
  position: relative;
}

.intro-card h2 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.intro-card p {
  font-size: 0.98rem;
}

.intro-cookie {
  width: 14.0625rem;
  height: 14.0625rem;
  margin-left: auto;
  margin-top: -1.25rem;
  margin-bottom: -1.25rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.intro-cookie img {
  width: 18.75rem;
  height: 18.75rem;
  min-width: 18.75rem;
  min-height: 18.75rem;
  object-fit: contain;
  object-position: center;
}

.features {
  padding: 4rem 7vw 4.5rem;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 50%, #ffffff 50%, #ffffff 100%);
}

.features-title {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #0b2a66;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #ffe2f1);
  border: 0.25rem solid #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.feature-title {
  font-weight: 400;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
  font-family: "Nunito", sans-serif;
}

.feature-text {
  font-size: 0.9rem;
  color: #5b5775;
}

.fact-band {
  padding: 0 0 4.5rem;
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 50%, #7b4e7c 50%, #7b4e7c 100%);
  position: relative;
}

.fact-card {
  background: #ffeab5;
  border-radius: 2rem;
  padding: 2.75rem 3.5rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.08);
  position: relative;
}

.fact-text h2 {
  margin-bottom: 0.75rem;
  text-align: center;
  color: #0b2a66;
  font-size: 2.5rem;
}

.fact-text p {
  font-size: 0.95rem;
  color: #5b5775;
}

.fact-text p + p {
  margin-top: 0.75rem;
}

.fact-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fact-illustration img {
  width: auto;
  height: 21.875rem;
  max-height: 25rem;
  object-fit: contain;
}

.fact-stars {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
}

.fact-stars img {
  max-height: 6.25rem;
  width: auto;
}

.whale-body {
  width: 11.875rem;
  height: 11.875rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #f9e3ff, #7b4e7c);
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
}

.about-band {
  padding: 4.5rem 0;
  background: #7b4e7c;
  position: relative;
}

.about-band-wrapper {
  max-width: 75rem;
  margin: 0 auto;
  background: #7b4e7c;
  padding: 2.75rem 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;

  color: #ffffff;
}

.about-band-wrapper .about-image,
.about-band-wrapper .about-text {
  padding: 0;
}

.about-band-wrapper h2 {
  color: #ffeab5;
  margin-bottom: 0.75rem;
}

.about-band-wrapper .section-label {
  color: #ffeab5;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.4rem;
}

.about-band-wrapper p {
  font-size: 0.95rem;
}

.about-photo-placeholder {
  width: 100%;
  height: 13.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #ffe2f1, #b08bc3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #5a3458;
}

.about-image img {
  width: 100%;
  max-width: 22.5rem;
  height: auto;
  max-height: 30rem;
  border-radius: 1.5rem;
  object-fit: contain;
}

.cookies-band {
  padding: 4.5rem 0;
  background: linear-gradient(to bottom, #7b4e7c 0%, #7b4e7c 50%, #ffffff 50%, #ffffff 100%);
  position: relative;
}

.other-cookies-inner {
  background: #ffeab5;
  border-radius: 2rem;
  padding: 3rem 3.5rem;
  text-align: center;
  box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.08);
}

.other-cookies-inner .section-label {
  color: #000000;
  margin-bottom: 2rem;
}

.other-cookies-inner h2 {
  color: #0b2a66;
  margin-bottom: 1rem;
  text-align: center;
}

.cookie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.cookie-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem 1.75rem;
  text-decoration: none;
  color: #252046;
  box-shadow: 0 1rem 1.75rem rgba(0, 0, 0, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.14);
}

.cookie-image {
  background: linear-gradient(135deg, #ffe2f1, #b0e5ff);
  width: 6.875rem;
  height: 10.3125rem;
  border-radius: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
  color: #5a3458;
  overflow: hidden;
}

.cookie-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.125rem;
}

.cookie-title {
  font-weight: 400;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.cookie-text {
  font-size: 0.9rem;
  color: #5b5775;
}

.contact-band {
  padding: 4.5rem 0 5rem;
  background: #ffffff;
  color: #252046;
}

.newsletter-inner {
  text-align: center;
}

.newsletter-inner h2 {
  color: #0b2a66;
}

.newsletter-subtitle {
  color: rgba(37, 32, 70, 0.85);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.newsletter-form {
  background: #ffffff;
  border-radius: 2rem;
  padding: 2.25rem 2.5rem 2.5rem;
  box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.08);
  text-align: left;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #252046;
  margin-bottom: 0.35rem;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.75rem;
  border: 0.0625rem solid rgba(0, 0, 0, 0.12);
  font-family: inherit;
  font-size: 0.95rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #5b5775;
  margin-bottom: 1.5rem;
}

.checkbox-row input {
  width: 1rem;
  height: 1rem;
}

.newsletter-form .btn-primary {
  display: inline-block;
  margin-top: 0;
}

.footer {
  background: #7b4e7c;
  color: #ffffff;
  padding: 2.75rem 7vw 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
  position: relative;
}

.footer-logo-img {
  height: auto;
  width: auto;
  max-height: 3.75rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-stars {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.footer-stars-img {
  height: auto;
  width: auto;
  max-height: 7.5rem;
  display: block;
}

.footer-tagline {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-info p {
  font-size: 0.9rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .header {
    padding-inline: 5vw;
  }

  .nav-links {
    gap: 1.2rem;
    font-size: 0.9rem;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-image {
    order: -1;
  }

  .intro-card,
  .fact-card,
  .about-band-wrapper,
  .other-cookies-inner {
    margin-inline: 5vw;
    padding-inline: 2rem;
  }

  .intro-card,
  .fact-card,
  .about-band-wrapper {
    grid-template-columns: 1fr;
  }

  .intro-cookie {
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-stars {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-inline: 6vw;
  }

  .intro-card,
  .fact-card,
  .about-band-wrapper,
  .other-cookies-inner {
    margin-inline: 6vw;
    padding-inline: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 1.75rem;
  }

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

  .newsletter-form {
    padding-inline: 1.5rem;
  }

  .footer {
    padding-inline: 6vw;
  }
}