/* ============================================================
   AMIE·sIII — Korean Skincare Brands · Landing page
   Estética: editorial premium · crema / ámbar · Framer style
   ============================================================ */

:root {
  --bg: #FBF4EC;
  --bg-sand: #F5EDE3;
  --ink: #33302D;
  --muted: #6B6560;
  --faint: #A39A92;
  --line: #E5D9C9;
  --gold: #B8865E;
  --gold-dark: #A3734A;
  --gold-hover: #A3734A;
  --terracotta: #B07A63;
  --champagne: #F0D9BE;
  --dark: #1A1816;
  --dark-2: #2D2A27;
  --white: #FFFFFF;
  --shadow-soft: 0 2px 20px -6px rgba(51, 48, 45, 0.06);
  --shadow-hover: 0 8px 40px -12px rgba(51, 48, 45, 0.12);
  --shadow-big: 0 20px 60px -20px rgba(51, 48, 45, 0.15);
  --shadow-dark: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Inter', 'Helvetica Neue', sans-serif;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

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

::selection { background: rgba(184, 134, 94, 0.2); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #D4C4B4; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Layout helpers ---------- */
.page { min-height: 100vh; }

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.container.narrow { max-width: 800px; }

.section { padding: 96px 0; position: relative; }
.section-lg { padding: 96px 0; }
.section-sand { background: var(--bg-sand); position: relative; }
.section-dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px 80px; align-items: center; }
.items-center { align-items: center; }

.center { text-align: center; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }

.order-1 { order: 1; }
.order-2 { order: 2; }

/* ---------- Typography ---------- */
.italic { font-style: italic; }
.text-gold { color: var(--champagne); }
.text-terracotta { color: var(--terracotta); }
.text-white { color: #fff; }
.light-text { color: rgba(255, 255, 255, 0.5); }

.eyebrow {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.eyebrow-light { color: rgba(240, 217, 190, 0.8); }

.h2 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.body-text {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}

.body-text.small { font-size: 0.875rem; margin-bottom: 24px; }

@media (min-width: 768px) {
  .h2 { font-size: 3rem; }
  .section, .section-lg { padding: 128px 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 999px;
  text-align: center;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 20px -6px rgba(184, 134, 94, 0.4);
}
.btn-primary:hover { background: var(--gold-hover); box-shadow: 0 8px 30px -8px rgba(184, 134, 94, 0.5); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.4); }

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

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); }

.btn-sm { padding: 10px 20px; font-size: 0.75rem; }
.btn-lg { padding: 16px 28px; }
.btn-block { display: block; width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.5s;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 100%);
}

.nav.scrolled {
  background: rgba(251, 244, 236, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 30px -8px rgba(51, 48, 45, 0.08);
}

.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-img { height: 20px; width: auto; transition: all 0.3s; }
.nav:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }
.logo-invert { filter: brightness(0) invert(1); }

.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-links { display: none; align-items: center; gap: 24px; }

.nav-link {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; }
.nav.scrolled .nav-link { color: var(--muted); }
.nav.scrolled .nav-link:hover { color: var(--ink); }

.nav-cta { display: none; margin-left: 12px; }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.hamburger-line { display: block; width: 20px; height: 1px; background: #fff; transition: all 0.3s; }
.nav.scrolled .hamburger-line { background: var(--ink); }
.hamburger.open .hamburger-line:nth-child(1) { transform: rotate(45deg) translateY(3px); background: var(--ink); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translateY(-3px); background: var(--ink); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: rgba(251, 244, 236, 0.95);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }

.mobile-link {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  padding: 6px 0;
  text-align: left;
  transition: color 0.3s;
}
.mobile-link:hover { color: var(--ink); }

.btn-full { display: block; width: 100%; text-align: center; margin-top: 8px; }

@media (min-width: 768px) {
  .nav-inner { height: 80px; }
  .logo-img { height: 24px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-block; }
  .hamburger { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A1816 0%, #2D2A27 20%, #4A3E33 40%, #7A6248 55%, #B8865E 70%, #F0D9BE 100%);
  will-change: transform;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(184,134,94,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(240,217,190,0.08) 0%, transparent 50%);
  animation: ambientPulse 8s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1152px;
  margin: 0 auto;
  padding: 112px 24px;
  width: 100%;
}

.hero-title {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 800px;
  margin-bottom: 24px;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.01em;
  max-width: 560px;
  margin-bottom: 40px;
}

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

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
  .hero-sub { font-size: 1.125rem; }
  .hero-content { padding: 128px 24px; }
}

/* ---------- Section divider ---------- */
.section-divider {
  height: 1px;
  margin: 0 24px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,134,94,0.2) 20%, rgba(184,134,94,0.3) 50%, rgba(184,134,94,0.2) 80%, transparent 100%);
}

.footer-divider {
  height: 1px;
  margin: 40px 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
}

/* ---------- Trust bar ---------- */
.trust-bar { padding: 56px 0 64px; }

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  justify-content: center;
  text-align: center;
}

.trust-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(184, 134, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-text {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.6;
}

.trust-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  max-width: 560px;
  margin-bottom: 12px;
}

.trust-sub {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.02em;
  max-width: 448px;
}

@media (min-width: 768px) {
  .trust-bar { padding: 64px 0; }
  .trust-inner { flex-direction: row; text-align: left; gap: 48px; }
  .trust-badge { width: 96px; height: 96px; }
  .trust-title { font-size: 2rem; }
}

/* ---------- Media frames ---------- */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-big); }
.frame-4x5 { aspect-ratio: 4/5; }
.frame-square { aspect-ratio: 1/1; }
.frame-3x4 { aspect-ratio: 3/4; }
.frame-4x3 { aspect-ratio: 4/3; }
.media-frame img, .media-frame video, .video-fill { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Features ---------- */
.feature-list { display: flex; flex-direction: column; gap: 20px; }

.feature { display: flex; gap: 16px; }

.check {
  color: var(--gold);
  font-size: 18px;
  line-height: 1.2;
  margin-top: 2px;
}

.feature-title { font-size: 0.875rem; font-weight: 300; margin-bottom: 2px; }
.feature-desc { font-size: 0.75rem; color: var(--muted); font-weight: 300; margin-top: 2px; }

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 896px;
  margin: 0 auto;
}

.benefit-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease);
  border: none;
  text-align: left;
  width: 100%;
  display: block;
  height: 100%;
}
.benefit-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 16px;
  transition: transform 0.3s;
}
.benefit-card:hover .benefit-icon { transform: scale(1.1); }

.benefit-title { font-size: 1rem; font-weight: 300; margin-bottom: 6px; }
.benefit-desc { font-size: 0.75rem; color: var(--muted); font-weight: 300; line-height: 1.7; }
.benefit-detail {
  display: none;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1.7;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.benefit-card.open .benefit-detail { display: block; }
.benefit-card.open .benefit-icon { transform: scale(1.1); }

@media (min-width: 640px) {
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-card { padding: 28px; }
}
@media (min-width: 1024px) {
  .benefit-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 48px;
}

.step { text-align: center; }
.step .media-frame { margin-bottom: 24px; transition: transform 0.5s var(--ease); }
.step:hover .media-frame { transform: scale(1.02); }

.step-number { color: var(--gold); font-family: var(--font-serif); font-size: 1.875rem; font-weight: 300; }
.step-title { font-size: 1rem; font-weight: 300; margin-top: 12px; margin-bottom: 8px; letter-spacing: 0.02em; }
.step-desc { font-size: 0.75rem; color: var(--muted); font-weight: 300; line-height: 1.7; max-width: 320px; margin: 0 auto; }

@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Ingredients ---------- */
.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.ingredient { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.ingredient-name { font-size: 0.75rem; font-weight: 500; color: var(--ink); }
.ingredient-desc { font-size: 0.625rem; font-weight: 300; color: var(--muted); margin-top: 2px; }

.ingredients-note { font-size: 0.625rem; font-weight: 300; color: var(--faint); margin-top: 20px; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease);
  height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow-hover); }

.testimonial-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--line);
  color: var(--gold);
  font-weight: 300;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name { font-size: 0.875rem; font-weight: 300; }
.testimonial-meta { font-size: 0.75rem; color: var(--muted); font-weight: 300; }
.testimonial-text { font-size: 0.875rem; color: var(--muted); font-weight: 300; line-height: 1.8; font-style: italic; }

@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Pricing ---------- */
.glow-price {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,134,94,0.08), transparent 60%);
  pointer-events: none;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 864px;
  margin: 0 auto;
}

.price-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-dark);
  text-align: left;
}

.price-card .media-frame { margin-bottom: 24px; box-shadow: 0 8px 30px -10px rgba(0,0,0,0.3); }

.price-label {
  color: rgba(240, 217, 190, 0.8);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.price-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 300; margin-bottom: 4px; }
.price-desc { color: rgba(255,255,255,0.5); font-size: 0.875rem; font-weight: 300; margin-bottom: 20px; }

.price-value { font-family: var(--font-serif); font-size: 1.875rem; font-weight: 300; margin-bottom: 4px; }
.price-currency { font-family: var(--font-sans); font-size: 0.875rem; color: rgba(255,255,255,0.3); font-weight: 300; }
.price-tax { font-size: 0.75rem; color: rgba(255,255,255,0.3); font-weight: 300; margin-bottom: 24px; }

@media (min-width: 768px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Booking ---------- */
.booking-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: var(--shadow-big);
  border: 1px solid rgba(229, 217, 201, 0.6);
  max-width: 512px;
  margin: 0 auto;
  text-align: left;
}

.field { margin-bottom: 20px; }

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.875rem;
  font-weight: 300;
  font-family: var(--font-sans);
  color: var(--ink);
  transition: border-color 0.3s;
  outline: none;
  appearance: none;
}
.field-input:focus { border-color: var(--gold); }
.field-input::placeholder { color: rgba(163, 154, 146, 0.6); }

.book-note { font-size: 0.75rem; text-align: center; color: rgba(163,154,146,0.6); font-weight: 300; margin-top: 12px; }

.book-success {
  text-align: center;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 300;
  padding: 8px 0 0;
}

/* ---------- Hostess ---------- */
.hostess-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 896px;
  margin: 0 auto;
}

.hostess-text { text-align: center; }

@media (min-width: 768px) {
  .hostess-grid { grid-template-columns: 1fr 1fr; }
  .hostess-text { text-align: left; }
}

/* ---------- Glows ---------- */
.glow-top, .glow-bottom, .glow-mid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glow-top { background: radial-gradient(ellipse at 50% 0%, rgba(184,134,94,0.06), transparent 60%); }
.glow-bottom { background: radial-gradient(ellipse at 50% 100%, rgba(184,134,94,0.06), transparent 60%); }
.glow-mid { background: radial-gradient(ellipse at 50% 50%, rgba(184,134,94,0.05), transparent 60%); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.5); padding: 56px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-text { font-size: 0.75rem; font-weight: 300; line-height: 1.8; color: rgba(255, 255, 255, 0.4); margin-top: 16px; }
.footer-heading { font-size: 11px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
}
.footer-copy { font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,0.3); }
.footer-legal { font-size: 0.625rem; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.25); max-width: 512px; text-align: center; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; }
  .footer-legal { text-align: right; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal.delay-200 { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-gradient::before, .scroll-hint { animation: none; }
}