:root {
  --navy: #1F3A5F;
  --navy-deep: #142943;
  --gold: #B08D57;
  --gold-soft: #D8C4A0;
  --cream: #EDE3D3;
  --cream-deep: #DDD0B8;
  --wine: #7A2E2E;
  --ink: #2A241E;
  --paper: #FAF6EF;

  --display: "Fraunces", Georgia, serif;
  --body: "Lora", Georgia, serif;
  --label: "Inter", -apple-system, sans-serif;

  --max-w: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(31, 58, 95, 0.1);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; }

.brand span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
}

nav.main-nav { display: flex; gap: 32px; }
nav.main-nav a { margin-right: 32px; }
nav.main-nav a:last-child { margin-right: 0; }

nav.main-nav a {
  font-family: var(--label);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s;
}
nav.main-nav a:hover { opacity: 1; color: var(--wine); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 2px;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn-primary { background: var(--wine); color: var(--paper); }
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(176,141,87,0.16), transparent 55%),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.06;
  color: var(--navy);
  margin: 0 0 22px;
  font-weight: 600;
}

.hero p.lead {
  font-size: 19px;
  color: var(--ink);
  max-width: 46ch;
  margin: 0 0 32px;
  opacity: 0.85;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Signature heart: layered reveal */
.heart-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.heart-wrap svg { width: min(100%, 340px); height: auto; }
.stripe {
  transform-origin: center;
  opacity: 0;
  animation: layerIn 0.6s cubic-bezier(.2,.7,.3,1) forwards;
}
.stripe:nth-child(1){animation-delay:.05s}
.stripe:nth-child(2){animation-delay:.15s}
.stripe:nth-child(3){animation-delay:.25s}
.stripe:nth-child(4){animation-delay:.35s}
.stripe:nth-child(5){animation-delay:.45s}
.stripe:nth-child(6){animation-delay:.55s}
.stripe:nth-child(7){animation-delay:.65s}
.stripe:nth-child(8){animation-delay:.75s}
@keyframes layerIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .stripe { animation: none; opacity: 1; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }

.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy);
  margin: 0 0 14px;
  font-weight: 600;
}
.section-head p { opacity: 0.78; margin: 0; }

/* Product lines grid */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.line-card {
  background: var(--paper);
  border: 1px solid rgba(31,58,95,0.12);
  padding: 36px 28px;
  border-radius: 3px;
}
.line-card .num {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.line-card h3 {
  font-family: var(--display);
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 12px;
}
.line-card p { margin: 0; opacity: 0.8; font-size: 16px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .step-num {
  font-family: var(--display);
  font-size: 46px;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-family: var(--display); color: var(--navy); font-size: 20px; margin: 0 0 8px; }
.step p { margin: 0; opacity: 0.8; font-size: 16px; }

/* Fé index */
.saints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.saint-card {
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(31,58,95,0.12);
  overflow: hidden;
  border-radius: 3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.saint-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31,58,95,0.12); }
.saint-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.saint-card .saint-body { padding: 20px; }
.saint-card h3 { font-family: var(--display); color: var(--navy); font-size: 19px; margin: 0 0 4px; }
.saint-card span { font-family: var(--label); font-size: 12px; color: var(--wine); letter-spacing: 0.05em; }

/* Prayer page */
.prayer-hero {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.prayer-hero img { border-radius: 4px; box-shadow: 0 20px 50px rgba(20,41,67,0.25); }
.prayer-hero .eyebrow { margin-bottom: 10px; }
.prayer-hero h1 { font-family: var(--display); font-size: clamp(32px,4vw,46px); color: var(--navy); margin: 0 0 18px; }

.prayer-box {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  padding: 40px 44px;
  margin: 0 0 40px;
}
.prayer-box p {
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.75;
  color: var(--navy-deep);
  margin: 0 0 18px;
}
.prayer-box p:last-child { margin-bottom: 0; }

.bio-block { max-width: 62ch; }
.bio-block h2 { font-family: var(--display); color: var(--navy); font-size: 24px; }

/* Como pedir - pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.price-card {
  background: var(--paper);
  border: 1px solid rgba(31,58,95,0.12);
  padding: 36px;
  border-radius: 3px;
  text-align: center;
}
.price-card .size { font-family: var(--label); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wine); }
.price-card .value { font-family: var(--display); font-size: 40px; color: var(--navy); margin: 10px 0; }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.info-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(31,58,95,0.12);
}
.info-list .label { font-family: var(--label); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.info-list .val { font-family: var(--display); font-size: 19px; color: var(--navy); }

/* Footer */
footer { background: var(--navy); color: var(--cream); padding: 56px 0 32px; }
footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
footer .brand span { color: var(--cream); }
footer .foot-links { display: flex; gap: 40px; }
footer .foot-links a { text-decoration: none; color: var(--cream); opacity: 0.85; font-family: var(--label); font-size: 14px; }
footer .foot-note { font-family: var(--label); font-size: 12px; opacity: 0.5; margin-top: 40px; }

/* Mobile */
@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .site-header .wrap { height: auto; padding-top: 16px; padding-bottom: 16px; }
  .brand span { font-size: 18px; }
  .brand img { width: 32px; height: 32px; }
  .site-header .btn { padding: 10px 16px; font-size: 13px; white-space: nowrap; }
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .lines-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .prayer-hero { grid-template-columns: 1fr; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
}
