/* GUILÉA — Skincare Premium */

:root {
  /* Premium Natural Palette */
  --bg:        #F3EDE3;   /* Hueso — warm cream base */
  --bg-2:      #F9F6F0;   /* softer cream for sections */
  --bg-3:      #F3EDE3;   /* card background */

  /* Text: sophisticated dark */
  --cream:     #1F1D1A;   /* Tinta — dark text */
  --cream-2:   #52504B;   /* secondary text */
  --cream-3:   #8B8883;   /* muted text */

  /* Accents: natural earth tones */
  --sage:      #C98F76;   /* Barro — warm brown primary accent */
  --sage-2:    #B8805F;   /* hover darker brown */
  --gold:      #E2A33C;   /* Yuja — golden yellow secondary */
  --gold-2:    #D4941F;   /* deeper gold accent */

  /* Utilities */
  --line:      rgba(31,29,26,0.1);
  --shadow:    rgba(31,29,26,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "SOFT" 100;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 500; margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; font-weight: 500; }

em {
  font-style: italic;
  color: var(--sage);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* NAVIGATION */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-2);
  letter-spacing: 0.1em;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.nav-menu a {
  color: var(--cream-2);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width 0.3s;
}

.nav-menu a:hover {
  color: var(--cream);
}

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

.nav-toggle {
  display: none !important;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block !important;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cream);
    cursor: pointer;
    padding: 0.5rem;
  }
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 98;
  transition: background 0.3s;
}

.nav-overlay.active {
  background: rgba(0, 0, 0, 0.3);
  display: block;
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem;
  }

  .nav-container {
    padding: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-logo {
    font-size: 1.2rem;
    text-align: center;
    flex: 1;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #F3EDE3 0%, #F9F6F0 100%);
    flex-direction: column;
    gap: 0;
    padding: 6rem 0 2rem 0;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 99;
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-menu li {
    border-bottom: 1px solid var(--line);
    animation: slideIn 0.5s ease-out forwards;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .nav-menu li:nth-child(1) { animation-delay: 0.05s; }
  .nav-menu li:nth-child(2) { animation-delay: 0.1s; }
  .nav-menu li:nth-child(3) { animation-delay: 0.15s; }
  .nav-menu li:nth-child(4) { animation-delay: 0.2s; }
  .nav-menu li:nth-child(5) { animation-delay: 0.25s; }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--cream);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 98;
    transition: background 0.5s;
    display: none;
  }

  .nav-overlay.active {
    background: rgba(0, 0, 0, 0.4);
    display: block;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
  .nav-menu {
    display: none;
  }
  .nav-cta {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

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

@media (max-width: 480px) {
  .hero {
    height: auto;
    min-height: 80vh;
    padding: 2rem 0;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F3EDE3 0%, #FAF8F4 50%, #F9F6F0 100%);
  z-index: 0;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 800px at 20% 30%, rgba(201, 143, 118, 0.1) 0%, transparent 50%),
    radial-gradient(circle 600px at 80% 70%, rgba(226, 163, 60, 0.08) 0%, transparent 50%);
  filter: blur(60px);
  animation: meshDrift 25s ease-in-out infinite;
  z-index: 1;
}

@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1rem;
  }
}

.hero-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-title {
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--cream-2);
  margin-bottom: 3rem;
  line-height: 1.7;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.btn-primary:hover {
  background: var(--sage-2);
  border-color: var(--sage-2);
  box-shadow: 0 12px 35px rgba(107, 142, 35, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream-3);
}

.btn-secondary:hover {
  background: rgba(242, 235, 218, 0.08);
  border-color: var(--cream);
  color: var(--cream);
}

/* SECTIONS */
section {
  padding: 6rem 0;
  position: relative;
}

@media (max-width: 480px) {
  section {
    padding: 3rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

@media (max-width: 480px) {
  .section-header {
    margin-bottom: 2rem;
  }
}

.section-header p {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--cream-2);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* BENEFICIOS */
.beneficios {
  background: linear-gradient(135deg, #F9F6F0 0%, #F3EDE3 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.benefit-card {
  background: #FFFFFF;
  padding: 2.5rem 2rem;
  border: 2px solid #E8DDD1;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(201, 143, 118, 0.08);
}

@media (max-width: 480px) {
  .benefit-card {
    padding: 1.5rem 1.25rem;
  }
}

.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 143, 118, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.benefit-card:hover {
  border-color: var(--sage);
  box-shadow: 0 20px 50px rgba(201, 143, 118, 0.15);
  transform: translateY(-8px);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-card h3 {
  margin-bottom: 1rem;
  color: var(--cream);
}

.benefit-card p {
  color: var(--cream-2);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.benefit-link {
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  display: inline-block;
}

.benefit-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width 0.3s;
}

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

/* INGREDIENTES */
.ingredientes {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-top: 5rem;
}

.ingredientes h2 {
  text-align: center;
  margin-bottom: 3.5rem;
}

.ingredientes-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.ingrediente-card {
  text-align: center;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.ingrediente-card:nth-child(1) { animation-delay: 0.1s; }
.ingrediente-card:nth-child(2) { animation-delay: 0.2s; }
.ingrediente-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ingrediente-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
  .ingrediente-img {
    width: 80px;
    height: 80px;
  }
}

.ingrediente-card h3 {
  color: var(--cream);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.ingrediente-card p {
  color: var(--cream-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* RITUAL */
.ritual {
  background: linear-gradient(135deg, #F3EDE3 0%, #F9F6F0 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ritual-steps {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.ritual-step {
  flex: 1;
  min-width: 220px;
  max-width: 240px;
  background: #FFFFFF;
  padding: 2rem 1.5rem;
  border: 2px solid #E8DDD1;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s;
  box-shadow: 0 4px 12px rgba(226, 163, 60, 0.08);
}

@media (max-width: 480px) {
  .ritual-step {
    padding: 1.25rem 1rem;
    min-width: 150px;
  }
}

.ritual-step:hover {
  border-color: var(--sage);
  box-shadow: 0 15px 40px rgba(201, 143, 118, 0.15);
  transform: translateY(-4px);
}

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
  .step-number {
    font-size: 1.8rem;
  }
}

.ritual-step h3 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.ritual-step p {
  color: var(--cream-2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-product {
  color: var(--sage);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1.2rem;
}

.ritual-divider {
  font-size: 1.5rem;
  color: var(--gold);
  display: none;
}

@media (min-width: 1024px) {
  .ritual-divider {
    display: block;
  }
}

.ritual-note {
  background: #F9F6F0;
  border-left: 4px solid var(--sage);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  color: var(--cream-2);
  text-align: left;
}

/* TESTIMONIOS */
.testimonios {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonio-card {
  background: #FFFFFF;
  padding: 2rem;
  border: 2px solid #E8DDD1;
  border-radius: 12px;
  transition: all 0.4s;
  box-shadow: 0 4px 12px rgba(201, 143, 118, 0.08);
}

@media (max-width: 480px) {
  .testimonio-card {
    padding: 1.25rem;
  }
}

.testimonio-card:hover {
  border-color: var(--sage);
  box-shadow: 0 15px 40px rgba(201, 143, 118, 0.15);
}

.testimonio-rating {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.testimonio-text {
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonio-author {
  color: var(--cream-2);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.testimonio-label {
  color: var(--cream-3);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* FAQ */
.faq {
  background: linear-gradient(135deg, #F3EDE3 0%, #F9F6F0 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .faq-item summary {
    font-size: 1rem;
  }
  .faq-item {
    padding: 1rem 0;
  }
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream);
  font-weight: 500;
  font-size: 1.05rem;
  user-select: none;
  transition: color 0.3s;
}

.faq-item summary:hover {
  color: var(--sage);
}

.faq-item summary::after {
  content: '+';
  color: var(--sage);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--cream-2);
  line-height: 1.7;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* CONTACTO */
.contacto {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.contacto-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contacto-content h2 {
  margin-bottom: 1rem;
}

.contacto-content > p:first-of-type {
  color: var(--cream-2);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contacto-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contacto-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.5rem;
  background: #FFFFFF;
  border: 2px solid #E8DDD1;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s;
  border-radius: 8px;
}

.contacto-form input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(201, 143, 118, 0.1);
}

.contacto-form input::placeholder {
  color: var(--cream-3);
}

.contacto-note {
  color: var(--cream-2);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.chat-link {
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  position: relative;
  font-size: 0.95rem;
}

.chat-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width 0.3s;
}

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

/* FOOTER */
.footer {
  background: #F8F6F3;
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  color: var(--cream-2);
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer {
    padding: 2rem 0 1rem;
  }
}

.footer-brand h3 {
  color: var(--gold-2);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.footer-brand p {
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--cream-2);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--sage);
}

.footer-credit {
  text-align: center;
  color: var(--cream-3);
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .ritual-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .ritual-step {
    max-width: none;
  }

  .ritual-divider {
    transform: rotate(90deg);
    margin: 0 -0.5rem;
  }

  .contacto-form {
    flex-direction: column;
  }

  .contacto-form input,
  .btn {
    width: 100%;
  }
}
