/* ============================================
   AYRAH — Styles
   Velas decorativas premium | Landing Page
   ============================================ */

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

/* ── Design Tokens ── */
:root {
  /* Brand Colors */
  --beige-claro:  #F3EDE7;
  --arena:        #D8C2AE;
  --taupe:        #A98E79;
  --cafe-medio:   #6F5241;
  --cafe-oscuro:  #3E2A20;
  --dorado:       #C6A27B;

  /* Functional aliases */
  --bg-primary:    var(--beige-claro);
  --bg-secondary:  #FAF7F4;
  --text-primary:  var(--cafe-oscuro);
  --text-secondary:var(--cafe-medio);
  --accent:        var(--dorado);
  --surface:       var(--arena);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Transitions */
  --ease-elegant: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration:     0.6s;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-elegant), transform 0.8s var(--ease-elegant);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ── Decorative Elements ── */
.star {
  display: inline-block;
  color: var(--dorado);
  font-size: 1.2rem;
  animation: float 3s ease-in-out infinite;
}

.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  margin: var(--space-md) auto;
}

.gold-line-long {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  margin: var(--space-sm) auto;
}

/* ── Section Common ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ════════════════════════════════════════════
   HEADER & NAV
   ════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(243, 237, 231, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--duration) var(--ease-elegant),
              box-shadow var(--duration) var(--ease-elegant);
}

.site-header.scrolled {
  background: rgba(243, 237, 231, 0.95);
  box-shadow: 0 1px 30px rgba(62, 42, 32, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo img {
  height: 50px;
  width: auto;
  transition: transform var(--duration) var(--ease-elegant);
}

.header-logo:hover img {
  transform: scale(1.03);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--dorado);
  transition: width var(--duration) var(--ease-elegant);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--cafe-oscuro);
  padding: 10px 24px;
  border-radius: 2px;
  transition: all var(--duration) var(--ease-elegant);
}

.nav-cta:hover {
  background: var(--dorado);
  color: white;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cafe-oscuro);
  transition: all 0.3s var(--ease-elegant);
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(243, 237, 231, 0.3) 0%,
    rgba(243, 237, 231, 0.15) 40%,
    rgba(62, 42, 32, 0.4) 100%
  );
}

.hero-overlay--light {
  background: linear-gradient(
    180deg,
    rgba(243, 237, 231, 0.0) 0%,
    rgba(243, 237, 231, 0.0) 55%,
    rgba(62, 42, 32, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 700px;
  padding: var(--space-md);
  animation: fadeInUp 1.2s var(--ease-elegant);
}

.hero-content--bottom {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: fadeInUp 1.4s 0.3s var(--ease-elegant) both;
}

.hero-star {
  font-size: 1.5rem;
  color: var(--dorado);
  margin-bottom: var(--space-sm);
  animation: float 3s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 30px rgba(62, 42, 32, 0.2);
  letter-spacing: 0.03em;
}

.hero-title span {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.5em;
  color: var(--arena);
  margin-top: var(--space-xs);
  letter-spacing: 0.08em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cafe-oscuro);
  background: rgba(255,255,255,0.92);
  padding: 16px 40px;
  border-radius: 2px;
  transition: all var(--duration) var(--ease-elegant);
  backdrop-filter: blur(8px);
}

.hero-cta:hover {
  background: var(--dorado);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(198, 162, 123, 0.3);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1.5s 1s var(--ease-elegant) both;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--dorado), transparent);
  animation: shimmer 2s linear infinite;
}

/* ════════════════════════════════════════════
   ABOUT / NOSOTROS
   ════════════════════════════════════════════ */

.about {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  text-align: center;
}

.about-intro {
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  padding: var(--space-lg) var(--space-md);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(198, 162, 123, 0.15);
  border-radius: 4px;
  transition: all var(--duration) var(--ease-elegant);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(62, 42, 32, 0.06);
  border-color: rgba(198, 162, 123, 0.35);
}

.value-icon {
  font-size: 1.6rem;
  color: var(--dorado);
  margin-bottom: var(--space-sm);
  display: block;
}

.value-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   PRODUCTS / PRODUCTOS
   ════════════════════════════════════════════ */

.products {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  transition: all var(--duration) var(--ease-elegant);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(62, 42, 32, 0.1);
}

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

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

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

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cafe-oscuro);
  background: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}

.product-info {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  text-align: left;
}

.product-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.product-info .product-scent {
  font-size: 0.85rem;
  color: var(--dorado);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   EXPERIENCE / EXPERIENCIA
   ════════════════════════════════════════════ */

.experience {
  padding: var(--space-3xl) 0;
  background: var(--cafe-oscuro);
  color: var(--beige-claro);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.experience::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(198, 162, 123, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.experience .section-label {
  color: var(--dorado);
}

.experience .section-title {
  color: var(--beige-claro);
}

.experience .section-subtitle {
  color: rgba(243, 237, 231, 0.7);
}

.experience-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--dorado);
  max-width: 700px;
  margin: var(--space-2xl) auto 0;
  line-height: 1.5;
  position: relative;
}

.experience-quote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(198, 162, 123, 0.3);
  position: absolute;
  top: -30px;
  left: -10px;
  font-family: var(--font-display);
}

.experience-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  max-width: 900px;
  margin: var(--space-2xl) auto 0;
  position: relative;
  z-index: 1;
}

.exp-feature {
  padding: var(--space-md);
}

.exp-feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.exp-feature h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--beige-claro);
  margin-bottom: var(--space-xs);
}

.exp-feature p {
  font-size: 0.85rem;
  color: rgba(243, 237, 231, 0.6);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   COMING SOON / PRÓXIMAMENTE
   ════════════════════════════════════════════ */

.coming-soon {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  text-align: center;
}

.coming-soon-content {
  max-width: 600px;
  margin: 0 auto;
}

.coming-soon .section-title {
  margin-bottom: var(--space-md);
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cafe-oscuro);
  background: #fff;
  padding: 16px 36px;
  border-radius: 2px;
  margin-top: var(--space-lg);
  transition: all var(--duration) var(--ease-elegant);
  border: 1px solid rgba(198, 162, 123, 0.2);
}

.ig-link:hover {
  background: var(--dorado);
  color: #fff;
  border-color: var(--dorado);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(198, 162, 123, 0.25);
}

.ig-link svg {
  width: 20px;
  height: 20px;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */

.site-footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--cafe-oscuro);
  color: var(--beige-claro);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.footer-logo img {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(0.9);
}

.footer-nav {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 237, 231, 0.6);
  transition: color var(--duration) var(--ease-elegant);
}

.footer-nav a:hover {
  color: var(--dorado);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 237, 231, 0.15);
  border-radius: 50%;
  color: rgba(243, 237, 231, 0.7);
  transition: all var(--duration) var(--ease-elegant);
}

.footer-social a:hover {
  border-color: var(--dorado);
  color: var(--dorado);
  transform: translateY(-3px);
}

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

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(243, 237, 231, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(243, 237, 231, 0.4);
  letter-spacing: 0.08em;
}

.footer-bottom .footer-location {
  margin-top: 6px;
  font-size: 0.72rem;
  color: rgba(243, 237, 231, 0.3);
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  .header-inner {
    height: 70px;
  }

  .header-logo img {
    height: 38px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-2xl);
    transition: right 0.5s var(--ease-elegant);
    box-shadow: -10px 0 40px rgba(62, 42, 32, 0.1);
  }

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

  .menu-toggle {
    display: flex;
    z-index: 1100;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-scroll-indicator {
    display: none;
  }

  .about-values {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .experience-features {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --space-3xl: 5rem;
    --space-2xl: 3.5rem;
  }

  .experience-features {
    grid-template-columns: 1fr;
  }

  .ig-link {
    width: 100%;
    justify-content: center;
  }
}
