/* =============================================
   SAMMANLY — páginas de regalos (regalos/, regalo-para-mama/, etc.)
   Autónomo: no depende de sammanly.css.
============================================= */
:root {
  --gold:       #D4AF37;
  --gold-dark:  #B8962E;
  --ivory:      #F8F5EF;
  --ivory-dark: #EDE9E1;
  --deep:       #0F172A;
  --navy:       #1a2744;
  --warm-gray:  #6f6762;
  --white:      #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --pad:        clamp(64px, 8vw, 110px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.rg-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

/* ---------- Header ---------- */
.rg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,245,239,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.rg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}
.rg-logo img { height: 40px; width: auto; object-fit: contain; }
.rg-header-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.rg-header-links a.rg-link {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--warm-gray);
  transition: color 0.25s;
}
.rg-header-links a.rg-link:hover { color: var(--deep); }

/* ---------- Botones ---------- */
.rg-btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s, color 0.25s;
  cursor: pointer;
}
.rg-btn-primary { background: var(--gold); color: var(--deep); }
.rg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(212,175,55,0.35); }
.rg-btn-ghost {
  border: 1px solid rgba(248,245,239,0.3);
  color: var(--ivory);
  font-weight: 400;
  padding: 14px 34px;
}
.rg-btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.rg-btn-sm { padding: 10px 22px; font-size: 13px; }

/* ---------- Tipografía base ---------- */
.rg-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.rg-h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.rg-body {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--warm-gray);
  margin-top: 18px;
  max-width: 680px;
}
.rg-body strong { font-weight: 500; color: var(--deep); }

/* ---------- Hero ---------- */
.rg-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 70%);
  color: var(--ivory);
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
}
.rg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(212,175,55,0.17), transparent 55%);
  pointer-events: none;
}
.rg-hero .rg-container { position: relative; }
.rg-crumbs {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(248,245,239,0.5);
  margin-bottom: 26px;
}
.rg-crumbs a:hover { color: var(--gold); }
.rg-crumbs span { margin: 0 8px; opacity: 0.5; }
.rg-h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.015em;
  max-width: 860px;
  margin-top: 18px;
}
.rg-h1 em { color: var(--gold); font-style: italic; }
.rg-lead {
  max-width: 660px;
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(248,245,239,0.78);
}
.rg-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.rg-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(212,175,55,0.22);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,245,239,0.55);
}
.rg-hero-facts span::before { content: '✦'; color: var(--gold); margin-right: 10px; }
.rg-fecha {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

/* ---------- Secciones ---------- */
.rg-section { padding: var(--pad) 0; }
.rg-section.alt { background: var(--ivory-dark); }
.rg-center { text-align: center; }
.rg-center .rg-body { margin-left: auto; margin-right: auto; }

/* Tarjetas con icono */
.rg-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(36px, 5vw, 56px);
}
.rg-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 30px 28px 32px;
  transition: box-shadow 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
}
a.rg-card:hover, .rg-card:hover {
  box-shadow: 0 22px 54px rgba(15,23,42,0.09);
  border-color: rgba(212,175,55,0.3);
}
.rg-icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 18px; display: block; }
.rg-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}
.rg-card p { font-size: 14.5px; font-weight: 300; line-height: 1.75; color: var(--warm-gray); }
.rg-card .rg-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.rg-card .rg-go svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease-out); }
a.rg-card:hover .rg-go svg { transform: translate(3px, -3px); }

/* Pasos */
.rg-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(36px, 5vw, 56px);
  list-style: none;
}
.rg-step { border-top: 1px solid rgba(212,175,55,0.5); padding-top: 22px; }
.rg-step-n {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 12px;
}
.rg-step h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.rg-step p { font-size: 14.5px; font-weight: 300; line-height: 1.75; color: var(--warm-gray); }

/* Listas con rombo */
.rg-list { list-style: none; margin-top: 26px; max-width: 760px; }
.rg-list li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--warm-gray);
}
.rg-list li::before { content: '✦'; position: absolute; left: 0; top: 16px; color: var(--gold); font-size: 13px; }
.rg-list li strong { font-weight: 500; color: var(--deep); }

/* Demo */
.rg-demo {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 75%);
  color: var(--ivory);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 64px);
}
.rg-demo .rg-h2 { color: var(--ivory); }
.rg-demo .rg-body { color: rgba(248,245,239,0.72); }
.rg-demo .rg-body strong { color: var(--ivory); }
.rg-demo-actions { margin-top: 28px; }
.rg-demo-card {
  aspect-ratio: 3/4;
  max-width: 250px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(160deg, #2a1f0a 0%, #1a1408 100%);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
a.rg-demo-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.rg-demo-card .rg-icon { margin: 0; }
.rg-demo-card .t { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.rg-demo-card .l { font-family: var(--font-serif); font-size: 17px; line-height: 1.35; color: var(--ivory); }

/* FAQ */
.rg-faq { margin-top: clamp(30px, 4vw, 48px); max-width: 820px; }
.rg-faq details { border-bottom: 1px solid rgba(15,23,42,0.1); }
.rg-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.3;
}
.rg-faq summary::-webkit-details-marker { display: none; }
.rg-faq summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 24px;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
}
.rg-faq details[open] summary::after { transform: rotate(45deg); }
.rg-faq details p {
  padding: 0 40px 24px 0;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--warm-gray);
}

/* CTA final */
.rg-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep) 75%);
  color: var(--ivory);
  padding: var(--pad) 0;
}
.rg-cta .rg-h2 { color: var(--ivory); max-width: 720px; margin-left: auto; margin-right: auto; }
.rg-cta .rg-h2 em { color: var(--gold); font-style: italic; }
.rg-cta .rg-body { color: rgba(248,245,239,0.7); margin-left: auto; margin-right: auto; }
.rg-cta .rg-btn { margin-top: 32px; }
.rg-cta small { display: block; margin-top: 16px; font-size: 12px; color: rgba(248,245,239,0.45); }

/* Footer */
.rg-footer { background: #0a0f1d; color: rgba(248,245,239,0.55); padding: 44px 0; font-size: 13px; }
.rg-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 36px; align-items: center; }
.rg-footer a:hover { color: var(--gold); }
.rg-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rg-footer strong { color: var(--ivory); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rg-demo { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rg-cards, .rg-steps { grid-template-columns: 1fr; }
  .rg-header-links a.rg-link { display: none; }
  .rg-hero-actions .rg-btn { flex: 1 1 100%; }
  .rg-faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
