/* Idla — Luxury Italian Skincare */

:root {
  --blush: #f5e6e8;
  --blush-deep: #e8cdd2;
  --lavender: #e8e4f0;
  --lavender-deep: #c9c0dc;
  --sage: #e5ede5;
  --sage-deep: #b8cdb8;
  --cream: #faf7f2;
  --champagne: #d4c4a8;
  --gold: #b8956a;
  --text: #3d3530;
  --text-soft: #6b5f58;
  --white: #ffffff;
  --shadow: rgba(61, 53, 48, 0.08);
  --shadow-deep: rgba(61, 53, 48, 0.15);
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

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

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.4s var(--ease);
}

.header.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--shadow);
  padding: 0.85rem 2rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav a.active {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  position: absolute;
  left: 0;
  right: 0;
  transition: transform 0.3s var(--ease);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* ── Hero Carousel ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 247, 242, 0.15) 0%,
    rgba(250, 247, 242, 0.45) 50%,
    rgba(250, 247, 242, 0.85) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 2;
}

.hero-tag {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease-out) 0.7s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid var(--text);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.9s forwards;
}

.hero-cta:hover {
  background: var(--text);
  color: var(--cream);
}

.hero-dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--text);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  padding: 0;
}

.hero-dot.active {
  background: var(--text);
  transform: scale(1.2);
}

.scroll-hint {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-soft);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Sections ── */
.section {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-wide {
  max-width: 1400px;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 4rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Philosophy strip ── */
.philosophy {
  background: linear-gradient(135deg, var(--blush) 0%, var(--lavender) 50%, var(--sage) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.philosophy blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.philosophy cite {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--text-soft);
}

/* ── Collection banner ── */
.collection-section {
  padding-bottom: 2rem;
}

.collection-products {
  padding: 2.5rem 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.collection-banner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: clamp(320px, 42vw, 480px);
  overflow: hidden;
}

.collection-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.collection-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(250, 247, 242, 0.92) 0%,
    rgba(245, 230, 232, 0.75) 35%,
    rgba(250, 247, 242, 0.25) 70%,
    transparent 100%
  );
}

.collection-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(2rem, 8vw, 6rem);
  max-width: 560px;
}

.collection-banner-content .section-label,
.collection-banner-content .section-title {
  text-align: left;
}

.collection-banner-desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-top: 0.5rem;
}

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-deep);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--blush);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(250, 247, 242, 0.9);
  padding: 0.35rem 0.75rem;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-info {
  padding: 1.75rem;
  text-align: center;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.product-type {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.product-price {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-buy {
  flex: 1;
  min-width: 120px;
  padding: 0.85rem 1.25rem;
  background: var(--text);
  color: var(--cream);
  border: none;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-buy:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.btn-details {
  padding: 0.85rem 1rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--blush-deep);
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-details:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.product-image-wrap {
  cursor: pointer;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.modal-actions .btn-primary,
.modal-actions .btn-buy {
  flex: 1;
  margin-top: 0;
}

/* ── Order modal ── */
.order-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 53, 48, 0.55);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.order-overlay.open {
  opacity: 1;
  visibility: visible;
}

.order-modal {
  background: var(--cream);
  max-width: 640px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  border-radius: 2px;
  transform: scale(0.96) translateY(16px);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 24px 80px var(--shadow-deep);
}

.order-overlay.open .order-modal {
  transform: scale(1) translateY(0);
}

.order-header {
  padding: 2rem 2.5rem 1rem;
  border-bottom: 1px solid var(--blush-deep);
  background: linear-gradient(135deg, var(--blush) 0%, var(--lavender) 100%);
}

.order-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 0.35rem;
}

.order-header p {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.order-product-preview {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
}

.order-product-preview img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  background: var(--blush);
}

.order-product-preview .order-product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.order-product-preview .order-product-price {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.order-form {
  padding: 2rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.order-form label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--blush-deep);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.3s var(--ease);
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.order-form textarea {
  min-height: 80px;
  resize: vertical;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--blush-deep);
  margin-top: 0.5rem;
}

.order-total span:first-child {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.order-total-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.order-submit {
  width: 100%;
  padding: 1.15rem;
  margin-top: 0.5rem;
}

.order-note {
  font-size: 0.75rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: 0.5rem;
}

.order-success {
  padding: 4rem 2.5rem;
  text-align: center;
  display: none;
}

.order-success.show {
  display: block;
}

.order-success .success-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--gold);
}

.order-success h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.order-form.hidden {
  display: none;
}

/* ── Product Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 53, 48, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--cream);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s var(--ease-out);
  position: relative;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-image {
  background: var(--blush);
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.modal-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.modal-ingredients {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--blush);
  font-size: 0.85rem;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--text);
  color: var(--cream);
  border: none;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease);
  margin-top: 1rem;
  text-align: center;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--cream);
}

/* ── Stories ── */
.stories-section {
  background: var(--white);
  padding: 7rem 0;
}

.stories-track {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  align-items: center;
}

.story-block:nth-child(even) {
  direction: rtl;
}

.story-block:nth-child(even) > * {
  direction: ltr;
}

.story-visual {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.story-block.visible .story-visual img {
  transform: scale(1.02);
}

.story-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--white) 100%);
}

.story-block:nth-child(even) .story-visual::after {
  background: linear-gradient(-90deg, transparent 60%, var(--white) 100%);
}

.story-content {
  padding: 4rem 5rem;
}

.story-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--blush-deep);
  line-height: 1;
  margin-bottom: 1rem;
}

.story-name {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.story-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.story-text {
  color: var(--text-soft);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.story-routine {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.routine-step {
  flex: 1;
  min-width: 120px;
  padding: 1.25rem;
  background: var(--cream);
  border-left: 2px solid var(--gold);
}

.routine-step time {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.routine-step p {
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Timeline on stories page */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--blush-deep);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 2rem 0 2rem 55%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s var(--ease-out);
}

.timeline-item:nth-child(even) {
  padding: 2rem 55% 2rem 0;
  text-align: right;
  transform: translateX(-30px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2.5rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 6px var(--cream);
}

.timeline-card {
  background: var(--white);
  padding: 2rem;
  box-shadow: 0 4px 24px var(--shadow);
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

/* ── Banner strip ── */
.banner-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 280px;
}

.banner-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.05) saturate(0.9);
  transition: filter 0.5s var(--ease);
}

.banner-strip img:hover {
  filter: brightness(1.1) saturate(1);
}

/* ── Ritual steps ── */
.ritual-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.ritual-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  transition: transform 0.4s var(--ease-out);
}

.ritual-step:hover {
  transform: translateY(-4px);
}

.ritual-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
}

.ritual-step h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.ritual-step p {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 10rem 2rem 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-soft);
  max-width: 500px;
  margin: 0 auto;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1.75rem;
}

.contact-item label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--blush-deep);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.3s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ── Legal pages ── */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 1.5rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

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

/* ── Footer ── */
.footer {
  background: var(--text);
  color: var(--cream);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 247, 242, 0.15);
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.8;
}

.footer h4 {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.6rem;
}

.footer a {
  font-size: 0.85rem;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 1;
  color: var(--champagne);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 24px var(--shadow);
  padding: 1.5rem 2rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.8rem;
  color: var(--text-soft);
  flex: 1;
}

.cookie-banner a {
  text-decoration: underline;
  color: var(--gold);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-actions button {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--text);
  background: transparent;
  transition: all 0.3s var(--ease);
}

.cookie-actions .accept {
  background: var(--text);
  color: var(--cream);
}

.cookie-actions .accept:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ── Counter animation ── */
.stat-row {
  display: flex;
  justify-content: center;
  gap: 5rem;
  padding: 4rem 2rem;
  background: var(--sage);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--text);
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .story-block:nth-child(even) {
    direction: ltr;
  }

  .story-visual {
    min-height: 350px;
  }

  .story-visual::after {
    background: linear-gradient(to top, var(--white) 0%, transparent 40%) !important;
  }

  .story-content {
    padding: 3rem 2rem;
  }

  .ritual-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .collection-banner {
    height: 280px;
  }

  .collection-banner-overlay {
    background: linear-gradient(
      to top,
      rgba(250, 247, 242, 0.95) 0%,
      rgba(250, 247, 242, 0.6) 50%,
      transparent 100%
    );
  }

  .collection-banner-content {
    justify-content: flex-end;
    padding-bottom: 2rem;
    max-width: 100%;
    text-align: center;
  }

  .collection-banner-content .section-label,
  .collection-banner-content .section-title {
    text-align: center;
  }

  .order-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--cream);
    flex-direction: column;
    padding: 5rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -4px 0 24px var(--shadow);
  }

  .nav.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

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

  .banner-strip {
    grid-template-columns: 1fr;
    height: auto;
  }

  .banner-strip img {
    height: 200px;
  }

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

  .ritual-steps {
    grid-template-columns: 1fr;
  }

  .stat-row {
    flex-direction: column;
    gap: 2rem;
  }

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

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding: 2rem 0 2rem 2rem;
    text-align: left;
    transform: translateY(20px);
  }

  .timeline::before {
    left: 6px;
  }

  .timeline-dot {
    left: 6px;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
