/* ============================================================
   SayPaper — main.css
   Master stylesheet
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400&family=Cinzel:wght@400;500;600&display=swap');


/* ── CSS Reset ────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* Restore markers for unclassed (prose / content) lists */
ul:not([class]),
ol:not([class]) {
  list-style: revert;
  padding-left: 1.5rem;
}

table {
  border-collapse: collapse;
}

fieldset {
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}


/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Colors */
  --color-primary:    #5A1B2E;
  --color-secondary:  #20392B;
  --color-navy:       #1F2A44;
  --color-gold:       #B08D57;
  --color-bg:         #F7F3EC;
  --color-bg-alt:     #FBFAF6;
  --color-text:       #2B2622;
  --color-muted:      #6B6258;
  --color-border:     #DAD2C4;

  /* Font families */
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'EB Garamond', Georgia, serif;
  --font-label:     'Cinzel', Georgia, serif;

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  40px;
  --space-8:  48px;
  --space-9:  64px;
  --space-10: 80px;

  /* Container */
  --container-max: 1200px;
  --container-pad: 40px;

  /* Section padding */
  --section-pad: 80px;

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;
}


/* ── Base ─────────────────────────────────────────────────── */
html {
  font-size: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad);
}

/* Section background / context modifiers */
.section--alt,
.section--ivory-alt,
.section--guide,
.section--reviews {
  background: var(--color-bg-alt);
}

.section--related {
  background: var(--color-bg);
}

/* Utilities */
.text-center {
  text-align: center;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}


/* ── Typography ───────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.35;
}

h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
}

h6 {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

p {
  max-width: 68ch;
  line-height: 1.75;
}

p + p {
  margin-top: 1em;
}

strong {
  font-weight: 500;
}

em {
  font-style: italic;
}

small {
  font-size: 0.85em;
}


/* ── Links ────────────────────────────────────────────────── */
a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color var(--transition-base), text-decoration-color var(--transition-base);
}

a:hover {
  color: var(--color-primary);
  text-decoration-color: currentColor;
}


/* ── Utility Classes ──────────────────────────────────────── */
.kicker {
  display: block;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.ornament-rule {
  display: block;
  width: 60px;
  height: 0;
  border-top: 1px solid var(--color-gold);
  margin: 1.5rem auto;
}

.ornament-double-rule {
  display: block;
  width: 80px;
  height: 3px;
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  margin: 1.5rem auto;
}

.fleuron {
  display: block;
  text-align: center;
  color: var(--color-gold);
  font-size: 1.2rem;
  margin: 1rem 0;
  line-height: 1;
}


/* ── Announcement Bar ─────────────────────────────────────── */
.announcement-bar {
  background: var(--color-secondary);
  color: #F7F3EC;
  padding: 8px 0;
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--color-gold);
}

/* Keep the announcement on one line (override base p max-width clamp) */
.announcement-bar p {
  max-width: none;
  margin: 0 auto;
}

.announcement-bar a {
  color: var(--color-gold);
  text-decoration: none;
}

.announcement-bar a:hover {
  text-decoration: underline;
}


/* ── Site Header ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(43, 38, 34, 0.08);
}

/* Header layout — HTML uses .header-inner > (.logo-block + .nav-row).
   Desktop: centered logo on top, horizontal nav below, icons at right. */
.header-inner {
  padding-block: 0;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-top: 1px solid var(--color-border);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-icons {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Dropdown opened via JS (hover, keyboard focus, mobile tap) */
.nav-dropdown.is-open {
  display: block;
}

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


/* ── Logo ─────────────────────────────────────────────────── */
.logo-block {
  text-align: center;
  padding: 18px 0;
  flex: 1;
}

.logo-name {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--color-primary);
  text-decoration: none;
  line-height: 1.2;
}

.logo-name:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.logo-fleuron {
  display: inline;
  color: var(--color-gold);
  margin: 0 0.35em;
}

.logo-tagline {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}


/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.site-nav a {
  display: block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  padding: 14px 18px;
  position: relative;
  transition: color var(--transition-base);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav a:hover {
  color: var(--color-primary);
}

.site-nav a:hover::after,
.site-nav .nav-item.active > a::after {
  transform: scaleX(1);
}

.site-nav .nav-item.active > a {
  color: var(--color-primary);
}


/* ── Nav Dropdown ─────────────────────────────────────────── */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold);
  min-width: 200px;
  padding: 8px 0;
  z-index: 200;
  white-space: nowrap;
}

.nav-item.has-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base);
}

.nav-dropdown a::after {
  display: none;
}

.nav-dropdown a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}


/* ── Nav Icons ────────────────────────────────────────────── */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 8px;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-base);
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-icon-btn:hover {
  color: var(--color-primary);
}

.nav-icon-btn svg,
.nav-icon-btn i {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.nav-icon-btn .cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  color: #F7F3EC;
  font-family: var(--font-label);
  font-size: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}


/* ── Mobile Hamburger ─────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 32px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  line-height: 1;
}

.btn-primary {
  background: var(--color-primary);
  color: #F7F3EC;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #F7F3EC;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #F7F3EC;
}

.btn-secondary {
  background: var(--color-secondary);
  color: #F7F3EC;
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background: #162a1f;
  border-color: #162a1f;
  color: #F7F3EC;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-sm {
  padding: 9px 22px;
  font-size: 0.68rem;
}

.btn-full {
  width: 100%;
  text-align: center;
  display: block;
}


/* ── Section Heading Component ────────────────────────────── */
.section-heading {
  text-align: center;
}

.section-heading .kicker {
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  margin-bottom: 0.5rem;
}

.section-heading .subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

.section-heading .ornament-rule {
  margin-top: 1.5rem;
}


/* ── Page Hero Banner ─────────────────────────────────────── */
.page-hero {
  background: var(--color-primary);
  color: #F7F3EC;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: #F7F3EC;
  line-height: 1.1;
}

.page-hero p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(247, 243, 236, 0.8);
  max-width: 52ch;
  margin: 1rem auto 0;
  line-height: 1.65;
}


/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 2rem;
  gap: 0;
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb-sep {
  color: var(--color-gold);
  margin: 0 8px;
  font-size: 0.65rem;
}

.breadcrumb li:last-child,
.breadcrumb [aria-current] {
  color: var(--color-text);
}

/* BEM breadcrumb variant used on legal pages (<ol class="breadcrumb__list">) */
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
  content: '\00B7';
  color: var(--color-gold);
  margin-left: 8px;
}

.breadcrumb__item--current {
  color: var(--color-text);
}


/* ── Image Frame ──────────────────────────────────────────── */
.img-frame {
  position: relative;
  display: block;
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--color-gold);
  pointer-events: none;
  z-index: 1;
}


/* ── Badges ───────────────────────────────────────────────── */
.badge {
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
  display: inline-block;
  line-height: 1.4;
}

.badge--refillable {
  color: var(--color-secondary);
}

.badge--fsc {
  color: var(--color-navy);
}

.badge--limited {
  color: var(--color-primary);
}

.badge--new {
  color: var(--color-gold);
}


/* ── Testimonial ──────────────────────────────────────────── */
.testimonial {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text);
  position: relative;
  padding: 0 2rem;
  line-height: 1.6;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  color: var(--color-gold);
  line-height: 0;
  position: absolute;
  top: 10px;
  left: 0;
  font-style: normal;
}

.testimonial-author {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  color: var(--color-muted);
}


/* ── Newsletter Section ───────────────────────────────────── */
.newsletter-section {
  background: var(--color-secondary);
  color: #F7F3EC;
  padding: 64px 0;
  text-align: center;
}

.newsletter-section h2 {
  color: #F7F3EC;
}

.newsletter-section .kicker {
  color: rgba(176, 141, 87, 0.9);
}

.newsletter-section .subtitle {
  color: rgba(247, 243, 236, 0.75);
}

.newsletter-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(247, 243, 236, 0.75);
  max-width: 52ch;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

/* Markup wraps the email input + button in a .newsletter-form-row */
.newsletter-form-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  border: 1px solid rgba(247, 243, 236, 0.4);
  background: transparent;
  color: #F7F3EC;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 12px 20px;
  width: 280px;
  outline: none;
  transition: border-color var(--transition-base);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(247, 243, 236, 0.5);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--color-gold);
}

.newsletter-form .btn {
  flex-shrink: 0;
}

.newsletter-privacy {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(247, 243, 236, 0.5);
}

.newsletter-success {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F7F3EC;
  border: 1px solid rgba(176, 141, 87, 0.6);
  padding: 16px 32px;
  display: inline-block;
  margin-top: 8px;
}


/* ── Reveal Animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.45s; }
.stagger-5 { transition-delay: 0.6s; }


/* ── Page Load Animation ──────────────────────────────────── */
.hero-animate {
  animation: heroFadeUp 0.8s ease forwards;
}

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


/* ── Form Styles ──────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea,
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]),
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 16px;
  outline: none;
  transition: border-color var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-navy);
}

textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6258' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-check label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}


/* ── Alert Boxes ──────────────────────────────────────────── */
.alert-success {
  background: #F0F7F2;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  padding: 16px 20px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alert-error {
  background: #FBF0F0;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 16px 20px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ── Honeypot ─────────────────────────────────────────────── */
.hidden-honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}


/* ── Site Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--color-secondary);
  color: rgba(247, 243, 236, 0.85);
  border-top: 2px solid var(--color-gold);
  padding: 64px 0 40px;
}

.footer-fleuron {
  text-align: center;
  color: var(--color-gold);
  font-size: 1.4rem;
  margin: 24px 0;
  line-height: 1;
}

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

.footer-col {
  min-width: 0;
}

.footer-heading {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F7F3EC;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(247, 243, 236, 0.7);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: #F7F3EC;
}

.footer-contact p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(247, 243, 236, 0.75);
  line-height: 1.6;
  max-width: none;
}

.footer-contact a {
  color: rgba(247, 243, 236, 0.75);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #F7F3EC;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(176, 141, 87, 0.4);
  color: rgba(247, 243, 236, 0.7);
  text-decoration: none;
  transition: border-color var(--transition-base), color var(--transition-base);
  font-size: 14px;
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(176, 141, 87, 0.3);
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
  line-height: 1.8;
}

.footer-bottom a {
  color: rgba(247, 243, 236, 0.5);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

.footer-bottom-divider {
  margin: 0 12px;
  color: rgba(176, 141, 87, 0.4);
}


/* ── Visually Hidden ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-primary);
  color: #F7F3EC;
  padding: 8px 16px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  z-index: 999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 8px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── ≤ 1200px ─────────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root {
    --container-pad: 32px;
  }
}

/* ── ≤ 992px ──────────────────────────────────────────────── */
@media (max-width: 992px) {
  :root {
    --section-pad: 56px;
    --container-pad: 28px;
  }

  h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ── ≤ 768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: 40px;
    --container-pad: 20px;
  }

  .nav-header-row {
    position: relative;
  }

  /* Mobile: one row — logo left, toggle + icons right; nav becomes a drawer */
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-row {
    border-top: none;
    justify-content: flex-end;
    gap: 4px;
  }

  .nav-icons {
    position: static;
    transform: none;
  }

  .logo-block {
    flex: 1;
    text-align: left;
    padding: 14px 0;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    z-index: 150;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .site-nav.open,
  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav a::after {
    display: none;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    border: none;
    border-top: 1px solid var(--color-border);
    display: none;
    min-width: 0;
    width: 100%;
    padding: 0;
  }

  .nav-item.has-dropdown:hover .nav-dropdown {
    display: none;
  }

  .nav-item.has-dropdown.open .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    padding: 10px 32px;
  }

  .nav-toggle {
    display: flex;
  }

  .page-hero {
    padding: 48px 0;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
    max-width: 320px;
  }
}

/* ── ≤ 576px ──────────────────────────────────────────────── */
@media (max-width: 576px) {
  :root {
    --container-pad: 16px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 12px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    margin-top: 32px;
  }
}


/* ── Ornamental Section Divider (home) ───────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 0;
}

.ornament-double-rule {
  width: 90px;
  max-width: 18vw;
  height: 0;
  border-top: 1px solid var(--color-border);
}

.section-divider .fleuron,
.ornament-rule .fleuron {
  color: var(--color-gold);
  font-size: 1.25rem;
  line-height: 1;
}


/* ── Legal / Long-form Content Pages ─────────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  color: var(--color-text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  font-family: var(--font-body);
  color: var(--color-muted);
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: 1.1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--color-gold);
}

.legal-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.legal-content .spec-table {
  margin: 1.5rem 0 2rem;
}


/* ── Steps Grid (spedizioni-resi return procedure) ───────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 40px;
}

.step {
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding: 28px 24px;
}

.step__icon {
  font-size: 28px;
  color: var(--color-gold);
  margin-bottom: 14px;
  line-height: 1;
}

.step__body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.step__body p {
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.92rem;
  max-width: none;
}

.step__body a {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
