/* ===========================================
   Angelical - Core Styles
   =========================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-cream: #F5F1E8;
  --color-gold: #C9A961;
  --color-dark-gold: #A88B4A;
  --color-brown: #4A3828;
  --color-light-pink: #F5E5E0;
  --color-white: #FFFFFF;
  --color-light-cream: #E8DCC8;
  --color-dark-brown: #3A2A1A;

  --font-serif: 'Cormorant', Georgia, serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;
  --font-logo: 'Pinyon Script', 'Cormorant', cursive;

  --shadow-soft: 0 4px 20px rgba(74, 56, 40, 0.08);
  --shadow-medium: 0 8px 40px rgba(74, 56, 40, 0.12);
  --shadow-dramatic: 0 20px 60px rgba(74, 56, 40, 0.2);
  --shadow-gold: 0 4px 30px rgba(201, 169, 97, 0.25);

  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-pill: 50px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-brown);
  background-color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-smooth);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-style: italic;
  color: var(--color-gold);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  color: var(--color-brown);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--color-brown);
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-brown);
  opacity: 0.85;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ===========================================
   HEADER
   =========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  transition: all var(--transition-smooth);
}

.header.scrolled {
  background: rgba(245, 241, 232, 0.95);
  box-shadow: 0 2px 20px rgba(74, 56, 40, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-logo);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-gold);
  letter-spacing: 0.01em;
  line-height: 1;
}

.logo-wings {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo svg {
  width: 28px;
  height: 28px;
  fill: var(--color-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-smooth);
  color: var(--color-brown);
}

.header-btn:hover {
  background: rgba(201, 169, 97, 0.12);
  color: var(--color-gold);
}

.header-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-cream);
  z-index: 2000;
  padding: 80px 40px 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(74, 56, 40, 0.15);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 56, 40, 0.4);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-smooth);
  color: var(--color-brown);
}

.mobile-nav-close:hover {
  background: rgba(201, 169, 97, 0.12);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-links a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  padding: 12px 0;
  color: var(--color-brown);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  transition: all var(--transition-smooth);
}

.mobile-nav-links a:hover {
  color: var(--color-gold);
  padding-left: 12px;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 97, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(245, 229, 224, 0.4) 0%, transparent 50%),
    var(--color-cream);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  max-width: 520px;
}

.hero-content h1 {
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(201, 169, 97, 0.15);
}

.hero-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.hero-content p:last-of-type {
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-dark-gold));
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(201, 169, 97, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.hero-image {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dramatic);
  transform: rotateY(-5deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* ===========================================
   HOW TO USE ("Como Usarlas")
   =========================================== */
.how-to-use {
  background: var(--color-white);
  position: relative;
}

.how-to-use::before {
  content: '✦';
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--color-gold);
  opacity: 0.4;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--color-gold);
  margin-bottom: 8px;
}

.section-header p {
  max-width: 500px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-dark-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

.step-card h3 {
  font-style: italic;
  color: var(--color-brown);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================================
   CARD CATEGORIES
   =========================================== */
.categories {
  background: var(--color-light-pink);
  position: relative;
  overflow: hidden;
}

.categories::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

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

.category-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.category-card-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.category-card-content {
  padding: 20px;
  text-align: center;
}

.category-card-content h3 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-gold);
  font-size: 1.3rem;
}

/* --- Showcase Grid (Real Images) --- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.showcase-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-smooth);
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-dramatic);
}

.showcase-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===========================================
   BENEFITS ("Por qué amarás tus cartas")
   =========================================== */
.benefits {
  background: var(--color-light-pink);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefits-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.benefits-content h2 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: 36px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-dark-gold));
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 500;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.benefit-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-gold);
}

.benefit-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===========================================
   PRODUCT DETAILS
   =========================================== */
.product-details {
  background: var(--color-cream);
}

.product-details-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-image-wrapper {
  display: flex;
  justify-content: center;
}

.product-image-wrapper img {
  max-width: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.product-info h2 {
  color: var(--color-gold);
  margin-bottom: 28px;
}

.product-features {
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 1.05rem;
  color: var(--color-brown);
}

.product-features li::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.85rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.product-info p {
  font-size: 1rem;
  line-height: 1.9;
}

/* ===========================================
   INSTAGRAM FEED
   =========================================== */
.instagram {
  background: var(--color-white);
}

.instagram .section-header {
  margin-bottom: 16px;
}

.instagram-handle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  display: block;
  transition: all var(--transition-smooth);
}

.instagram-handle:hover {
  color: var(--color-dark-gold);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.instagram-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.2), rgba(74, 56, 40, 0.3));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.instagram-item:hover img {
  transform: scale(1.08);
}

.instagram-item:hover::after {
  opacity: 1;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--color-brown);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-wings {
  width: 80px;
  height: auto;
  margin: 0 auto 20px;
}

.footer-wings svg {
  fill: var(--color-gold);
  opacity: 0.6;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.footer-slogan {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-light-cream);
  opacity: 0.6;
  margin-bottom: 28px;
}

.slogan {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.7;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.footer-social a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(232, 220, 200, 0.2);
  color: var(--color-light-cream);
  transition: all var(--transition-smooth);
}

.footer-social a:hover {
  background: rgba(201, 169, 97, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--color-light-cream);
  opacity: 0.6;
  font-weight: 300;
}