:root {
  --sand: #f8efe0;
  --sun: #f2b84b;
  --reef: #1f6f78;
  --lagoon: #125c66;
  --ink: #1c2329;
  --foam: #f7fbfc;
  --card: #ffffff;
  --danger: #ba3e3e;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(18, 92, 102, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 5%, rgba(242, 184, 75, 0.28), transparent 30%),
    radial-gradient(circle at 12% 12%, rgba(31, 111, 120, 0.2), transparent 30%),
    linear-gradient(160deg, #fdf7ef 0%, #f4fbfd 65%, #e8f6f8 100%);
  min-height: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(18, 92, 102, 0.08);
}

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

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), #ffe4a5);
  color: #613d00;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  opacity: 0.84;
  transition: opacity 180ms ease;
}

.nav-links a:hover {
  opacity: 1;
}

.menu-toggle,
.menu-btn {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 38px;
  padding: 62px 0 46px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  margin: 0.2em 0;
  line-height: 1.1;
}

.hero-copy p {
  line-height: 1.65;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--lagoon);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.hero-points {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 92, 102, 0.15);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
}

.hero-art {
  position: relative;
  min-height: 400px;
  animation: floatIn 900ms ease;
}

.hero-art img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(145deg, rgba(242, 184, 75, 0.5), rgba(242, 184, 75, 0.05));
  top: -16px;
  left: -22px;
  animation: pulse 2.8s infinite;
}

.orb-2 {
  width: 190px;
  height: 190px;
  background: linear-gradient(145deg, rgba(31, 111, 120, 0.35), rgba(31, 111, 120, 0.05));
  right: -24px;
  bottom: -28px;
  animation: pulse 3.2s infinite;
}

.section-title p {
  font-weight: 700;
  color: var(--lagoon);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.section-title h1,
.section-title h2 {
  margin-top: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0 18px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 30px;
}

.journey-grid article {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(232, 246, 248, 0.7));
  border: 1px solid rgba(18, 92, 102, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 30px rgba(18, 92, 102, 0.1);
}

.journey-grid i {
  color: var(--lagoon);
  font-size: 1.3rem;
}

.story-grid article {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(31, 111, 120, 0.12);
  box-shadow: 0 10px 34px rgba(22, 47, 52, 0.08);
}

.story-grid i {
  font-size: 1.5rem;
  color: var(--reef);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 18px 0 48px;
}

.jewel-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(18, 92, 102, 0.15);
  box-shadow: 0 12px 34px rgba(18, 92, 102, 0.11);
  transition: transform 230ms ease, box-shadow 230ms ease;
  display: flex;
  flex-direction: column;
}

.jewel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(18, 92, 102, 0.2);
}

.jewel-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.jewel-card img,
.gallery-slide {
  will-change: transform;
}

.jewel-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jewel-content h3 {
  margin: 5px 0 8px;
}

.tag {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 111, 120, 0.13);
  color: var(--lagoon);
  font-size: 0.76rem;
  font-weight: 700;
}

.desc {
  opacity: 0.85;
  flex: 1;
}

.mini-spec {
  margin: 8px 0 0;
  font-size: 0.86rem;
  opacity: 0.8;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.badge {
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.28);
  color: #6e4a00;
  padding: 6px 10px;
  font-size: 0.73rem;
  font-weight: 700;
}

.btn-secondary {
  background: linear-gradient(140deg, #f2b84b, #f8cf7d);
  color: #5f3e00;
}

.card-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-btn {
  border: 1px solid rgba(18, 92, 102, 0.2);
  background: rgba(255, 255, 255, 0.78);
}

.filter-btn.active {
  background: rgba(18, 92, 102, 0.15);
  border-color: rgba(18, 92, 102, 0.35);
}

.cta-band {
  margin: 28px auto 46px;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(31, 111, 120, 0.12), rgba(242, 184, 75, 0.18)),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 92, 102, 0.14);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.product-page {
  padding: 32px 0 18px;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.product-visual {
  position: relative;
}

.product-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 520px;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  transform: scale(1.01);
}

.gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-visual:hover .gallery-slide.is-active {
  transform: scale(1.04);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(18, 92, 102, 0.24);
  background: rgba(255, 255, 255, 0.84);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
}

.gallery-nav.prev {
  left: 12px;
}

.gallery-nav.next {
  right: 12px;
}

.subtitle {
  font-size: 1.06rem;
  opacity: 0.9;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lagoon);
  margin: 12px 0;
}

.spec-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.spec-list li {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 92, 102, 0.12);
  padding: 10px 12px;
  border-radius: 12px;
}

.editorial-page {
  padding: 30px 0 20px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin: 14px 0 36px;
}

.editorial-grid article,
.guide-steps article {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  border: 1px solid rgba(18, 92, 102, 0.14);
  padding: 22px;
}

.plain-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.review-card {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 184, 75, 0.2), transparent 35%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 92, 102, 0.16);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 36px rgba(18, 92, 102, 0.12);
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(18, 92, 102, 0.08);
}

.review-card span {
  display: block;
  opacity: 0.72;
}

.stars {
  color: #d49a27;
  letter-spacing: 0.08em;
  margin-top: 0;
  font-size: 1.02rem;
}

.review-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
}

.review-card p {
  line-height: 1.6;
}

.plain-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.site-footer {
  margin-top: 42px;
  padding: 34px 0 18px;
  background: linear-gradient(165deg, #16464c, #0f2f35);
  color: #effbfc;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.social-icons {
  display: flex;
  gap: 12px;
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  margin-top: 18px;
  font-size: 0.82rem;
  opacity: 0.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease, filter 150ms ease;
  min-height: 44px;
}

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

.btn-primary {
  background: linear-gradient(140deg, var(--reef), #2e8e99);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(18, 92, 102, 0.25);
  background: rgba(255, 255, 255, 0.7);
}

.error-page {
  text-align: center;
  padding: 90px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatIn {
  from {
    transform: translateY(18px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 960px) {
  .hero,
  .story-grid,
  .journey-grid,
  .guide-steps,
  .editorial-grid,
  .product-hero,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-visual img,
  .gallery-slider {
    height: 380px;
  }

  .menu-btn {
    display: block;
    font-size: 1.2rem;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    right: 4%;
    top: 78px;
    background: white;
    border: 1px solid rgba(18, 92, 102, 0.1);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 14px;
    width: min(240px, 90vw);
    flex-direction: column;
    display: none;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }
}
