
:root {
  --navy: #14304a;
  --navy-2: #1d3f5e;
  --cream: #fbf6ec;
  --cream-2: #f5ecd8;
  --sand: #f0e5cf;
  --sky: #6ba7d1;
  --sky-soft: #a3c8e3;
  --red: #d52b1e;
  --red-dark: #a81f14;
  --gold: #c8a349;
  --ink: #14304a;
  --muted: #6a7a88;
  --line: #d8cdb5;
  --line-strong: #14304a;
  --radius: 8px;
  --radius-sm: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.55rem; }
h4 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-dark); }

img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 30px; }

/* ---------- Header ---------- */
header {
  background: var(--navy);
  color: var(--cream);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--red);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 12px;
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--red);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-size: 0.72rem;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
}

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--cream);
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.02em;
  position: relative; padding-bottom: 3px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--cream); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--red);
  transition: width 0.28s;
}
.nav-links a:hover::after { width: 100%; }

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(251, 246, 236, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch button {
  background: none; border: none; cursor: pointer;
  padding: 7px 13px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.lang-switch button.active {
  background: var(--red);
  color: var(--cream);
  opacity: 1;
}

.cart-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cream);
  font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s;
}
.cart-count {
  background: var(--red);
  color: var(--cream);
  font-size: 0.7rem; border-radius: 50%;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  transition: background 0.3s, transform 0.3s;
}

.cart-link.pulse .cart-count {
  background: var(--gold);
  animation: cartPulse 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-link.pulse svg { animation: cartBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes cartPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.7); }
  100% { transform: scale(1); }
}
@keyframes cartBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.burger {
  display: none; background: none; border: none;
  font-size: 1.4rem; cursor: pointer; color: var(--cream);
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Subtle postcard perforation top & bottom */
.hero::before, .hero::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 10px;
  background:
    radial-gradient(circle at 5px 5px, var(--cream) 4px, transparent 5px) 0 0 / 10px 10px repeat-x;
  pointer-events: none;
}
.hero::before { top: 0; }
.hero::after { bottom: 0; }

.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 70px; align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red);
  font-weight: 600; margin-bottom: 24px;
  padding: 6px 14px;
  border: 1.5px solid var(--red);
  border-radius: var(--radius);
  background: rgba(213, 43, 30, 0.05);
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: italic;
  color: var(--red);
}
.hero p {
  color: var(--muted); font-size: 1.05rem;
  margin-bottom: 34px; max-width: 520px;
}

.hero-img {
  background: var(--sand);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
}
.hero-img::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1.5px dashed var(--navy);
  border-radius: var(--radius);
  opacity: 0.22;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--cream);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213, 43, 30, 0.22);
}
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy); color: var(--cream);
  box-shadow: 0 8px 24px rgba(20, 48, 74, 0.22);
}

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--muted); font-size: 1rem; }

/* ---------- Stamp frame (postcard motif) ---------- */
.stamp-frame {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--sand);
  border-radius: var(--radius);
}
.stamp-frame::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1.5px dashed var(--navy);
  border-radius: 4px;
  opacity: 0.22;
  pointer-events: none;
}

/* ---------- Product card ---------- */
.product-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  background: var(--sand);
  padding: 50px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.product-img {
  background: var(--cream);
  padding: 30px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.product-info h3 { font-size: 2rem; margin-bottom: 10px; }
.price {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem; color: var(--red);
  margin: 20px 0 28px;
  font-weight: 600;
}
.price small {
  font-size: 0.85rem; color: var(--muted);
  font-family: 'Work Sans', sans-serif;
  margin-left: 10px;
  letter-spacing: 0.06em;
}

/* ---------- Features ---------- */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(20, 48, 74, 0.10);
}
.feature-stamp {
  display: inline-block;
  width: 46px; height: 46px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.feature h4 { margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  border-top: 4px solid var(--red);
}
.review p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.5;
}
.review-author {
  font-weight: 600;
  color: var(--red);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Forms ---------- */
.form-card {
  max-width: 580px; margin: 0 auto;
  background: var(--sand);
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-size: 0.74rem; font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213, 43, 30, 0.12);
}
.form-group select option { background: var(--cream); }

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 34px; }
.cart-table th, .cart-table td {
  padding: 18px 14px; text-align: left;
  border-bottom: 1px solid var(--line);
}
.cart-table th {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid var(--navy);
}
.cart-total {
  text-align: right; font-size: 1.05rem;
  margin-bottom: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}
.cart-total strong {
  color: var(--red);
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  margin-left: 12px;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item.open {
  border-color: var(--navy);
  box-shadow: 0 12px 36px rgba(20, 48, 74, 0.10);
}
.faq-q {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 24px 28px;
  font-family: 'Fraunces', serif;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
}
.faq-q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--red);
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-q::after {
  content: "\2212";
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
  color: var(--muted);
}
.faq-item.open .faq-a { max-height: 520px; padding-bottom: 26px; }

/* ---------- Legal ---------- */
.legal-content { max-width: 840px; margin: 0 auto; }
.legal-content h2 {
  margin-top: 46px; margin-bottom: 14px;
  font-size: 1.4rem; color: var(--navy);
}
.legal-content p { margin-bottom: 16px; color: var(--muted); line-height: 1.75; }
.legal-content ul { margin: 0 0 18px 24px; color: var(--muted); }
.legal-content li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 0 0;
  margin-top: 0;
  border-top: 4px solid var(--red);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 55px;
}
.footer-grid h4 {
  color: var(--sky-soft);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  margin-bottom: 22px;
  font-weight: 600;
}
.footer-grid p, .footer-grid a, .footer-grid li {
  color: #cfd8e0;
  font-size: 0.9rem;
  line-height: 1.95;
}
.footer-grid a:hover { color: var(--cream); }
.footer-grid ul { list-style: none; }
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  color: var(--cream);
  margin-bottom: 14px;
  font-weight: 600;
}
.cert-badges { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.cert-badges span {
  font-size: 0.66rem;
  padding: 5px 12px;
  border: 1px solid rgba(163, 200, 227, 0.35);
  border-radius: var(--radius);
  color: var(--sky-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.cert-badges span.cl-red {
  border-color: var(--red);
  color: #ff9b90;
}
.footer-bottom {
  border-top: 1px solid rgba(163, 200, 227, 0.18);
  padding: 26px 0;
  text-align: center;
  font-size: 0.72rem;
  color: #93a4b3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Thank you ---------- */
.thanks { text-align: center; padding: 120px 0; max-width: 700px; margin: 0 auto; }
.thanks .check {
  width: 96px; height: 96px;
  background: var(--red);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
  margin: 0 auto 36px;
}
.thanks h1 { margin-bottom: 24px; }
.thanks p { color: var(--muted); font-size: 1.05rem; margin-bottom: 14px; }

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 9999;
  pointer-events: none;
}
.toast {
  background: var(--navy);
  color: var(--cream);
  padding: 16px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 44px rgba(20, 48, 74, 0.28);
  animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex; align-items: center; gap: 12px;
  max-width: 340px;
}
.toast.hide { animation: toastOut 0.35s forwards; }
.toast-icon {
  width: 24px; height: 24px;
  background: var(--red);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; flex-shrink: 0;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(30px, 30px) scale(0.9); }
  to   { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translate(30px, 30px) scale(0.9); }
}

/* ---------- Flying image ---------- */
.flying-img {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(20, 48, 74, 0.35);
  transition: all 0.85s cubic-bezier(0.55, -0.2, 0.4, 1.3);
  will-change: left, top, width, height, opacity, transform;
}

.burst-ring {
  position: fixed;
  z-index: 9997;
  border-radius: 50%;
  border: 2px solid var(--red);
  pointer-events: none;
  animation: burst 0.7s ease-out forwards;
}
@keyframes burst {
  0%   { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .product-card { grid-template-columns: 1fr; gap: 40px; }
  .features, .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 24px;
    border-bottom: 3px solid var(--red);
    gap: 18px;
  }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .form-card { padding: 28px; }
  .product-card { padding: 28px; }
  .hero { padding: 60px 0 40px; }
  h1 { font-size: 2.2rem; }
  .toast-container { bottom: 16px; right: 16px; left: 16px; }
  .toast { max-width: 100%; }
}
