@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --ink: #1a1612;
  --gold: #b8975a;
  --gold-light: #d4b47a;
  --ivory: #f7f3ee;
  --sand: #c8b89a;
  --warm: #2c2218;
  --muted: #7a6a58;
  --border: #e8e0d4;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
}

.nav-logo span {
  font-style: italic;
  color: var(--sand);
}

.nav-logo img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sand);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ivory); }

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 8px 20px;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ink) !important;
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--sand);
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  height: 100vh;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(44,34,24,0.8) 0%, rgba(10,8,6,0.95) 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 4px;
  line-height: 1.05;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--sand);
}

.hero-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.7s forwards;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--sand);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-origin {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(247,243,238,0.62);
  opacity: 0;
  animation: fadeIn 0.8s ease 1.0s forwards;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border: none;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--ink); }

.btn-dark {
  border: 1px solid var(--ivory);
  color: var(--ivory);
  background: transparent;
}
.btn-dark:hover { background: var(--ivory); color: var(--ink); }

/* ─── SECTION HEADERS ─── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
}

.section-title-light { color: var(--ivory); }

.section-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ─── PRODUCT CARDS ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--warm);
}

.product-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s ease;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1612 0%, #2c2218 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.product-placeholder-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(184,151,90,1) 10px,
    rgba(184,151,90,1) 11px
  );
}

.product-placeholder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--sand);
  text-align: center;
  position: relative;
  z-index: 1;
}

.product-info {
  padding: 20px 0;
  background: var(--ivory);
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

.product-detail {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

.product-price {
  font-size: 14px;
  color: var(--gold);
  margin-top: 8px;
}

/* ─── SECTIONS ─── */
.section { padding: 96px 48px; }
.section-alt { background: var(--white); }
.section-dark { background: var(--ink); }
.section-warm { background: var(--warm); }

.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

/* ─── STORY SECTION ─── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-image {
  aspect-ratio: 3/4;
  background: var(--warm);
  position: relative;
  overflow: hidden;
}

.story-image img { width: 100%; height: 100%; object-fit: cover; }

.story-content { padding: 0 16px; }

.story-label {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.story-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 24px;
}

.story-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.story-text:last-of-type { margin-bottom: 32px; }

/* ─── PILLARS ─── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--ivory);
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 12px;
  color: rgba(247,243,238,0.58);
  line-height: 1.8;
}

/* ─── FORM STYLES ─── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

input, select, textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 14px;
  border-left: 2px solid var(--gold);
  background: rgba(184,151,90,0.05);
}

/* ─── TABLE ─── */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background: var(--warm);
  color: var(--sand);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  font-weight: 400;
}

.data-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.data-table td:first-child { color: var(--ink); font-weight: 500; }
.data-table tr:last-child td { border-bottom: none; }

/* ─── FOOTER ─── */
.footer {
  background: var(--warm);
  padding: 64px 48px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--sand);
  margin-bottom: 20px;
}

.footer-origin {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247,243,238,0.58);
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 12px;
  color: rgba(247,243,238,0.68);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--sand); }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 10px;
  color: rgba(247,243,238,0.58);
  letter-spacing: 1px;
}

.footer-social { display: flex; gap: 20px; }
.footer-social a {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247,243,238,0.58);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold); }

/* ─── WHATSAPP BUTTON ─── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,0,0,0.35); }
.whatsapp-float svg { width: 26px; height: 26px; fill: white; }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--ink);
  padding: 140px 48px 80px;
  text-align: center;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(247,243,238,0.62);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── CONTACT INFO BOXES ─── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.contact-card {
  background: var(--white);
  padding: 32px 28px;
  border-top: 2px solid var(--gold);
}

.contact-icon {
  font-size: 24px;
  margin-bottom: 16px;
}

.contact-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-detail {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── CARE STEPS ─── */
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
}

.care-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--ivory);
  border-bottom: 2px solid var(--gold);
}

.care-symbol {
  font-size: 36px;
  margin-bottom: 16px;
}

.care-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
}

.care-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── DIVIDER ─── */
.divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 48px 0;
}
.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--gold);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--ink);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .section { padding: 64px 24px; }
  .page-hero { padding: 120px 24px 56px; }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .custom-order-layout,
  .measure-grid,
  .returns-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hero-title { font-size: 48px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
