/* Artífice — artificeia.mx */

/* ========================
   Design Tokens
   ======================== */
:root {
  --negro: #1A1A1A;
  --negro-light: #222222;
  --bronce: #B87333;
  --bronce-glow: rgba(184, 115, 51, 0.15);
  --blanco: #FFFFFF;
  --gris: #A0A0A0;
  --gris-warm: #8A8078;
  --font-serif: Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  --max-width: 800px;
  --section-padding: 10vh 2rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-serif);
  background-color: var(--negro);
  color: var(--blanco);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--bronce);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ========================
   Layout
   ======================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================
   Hero
   ======================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.hero-content {
  text-align: center;
}

.wordmark {
  max-width: 400px;
  width: 80vw;
  margin: 0 auto 3rem;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--gris);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  border-right: 1.5px solid var(--gris-warm);
  border-bottom: 1.5px solid var(--gris-warm);
  transform: rotate(45deg);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: rotate(45deg) translateY(0); }
  50%      { opacity: 0.8; transform: rotate(45deg) translateY(6px); }
}

/* ========================
   Hook
   ======================== */
.hook {
  padding: var(--section-padding);
}

.hook .container {
  max-width: 700px;
}

.hook-line {
  font-size: 1.35rem;
  color: var(--gris);
  margin-bottom: 2rem;
  text-align: center;
}

.hook-line--final {
  color: var(--blanco);
  font-size: 1.5rem;
  line-height: 1.8;
}

.hook-line--final em {
  color: var(--bronce);
  font-style: normal;
}

/* ========================
   Pillars
   ======================== */
.pillars {
  padding: var(--section-padding);
}

.pillar {
  margin-bottom: 6rem;
  position: relative;
  padding-left: 0;
}

.pillar:last-child {
  margin-bottom: 0;
}

.pillar::before {
  content: '';
  display: block;
  width: 3rem;
  height: 1.5px;
  background-color: var(--bronce);
  margin-bottom: 2rem;
}

.pillar-title {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  color: var(--blanco);
}

.pillar-text {
  font-size: 1.15rem;
  color: var(--gris);
  line-height: 1.8;
  max-width: 650px;
}

/* ========================
   Promise
   ======================== */
.promise {
  padding: 12vh 2rem;
}

.promise-text {
  font-size: 1.2rem;
  color: var(--gris);
  line-height: 1.9;
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.promise-words {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.promise-word {
  font-size: 1.75rem;
  color: var(--bronce);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ========================
   Diferenciador
   ======================== */
.diferenciador {
  padding: var(--section-padding);
}

.diferenciador .container {
  max-width: 700px;
}

.diferenciador-line {
  font-size: 1.2rem;
  color: var(--gris);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.diferenciador-line--final {
  color: var(--blanco);
  font-size: 1.35rem;
  font-weight: 400;
}

/* ========================
   Footer
   ======================== */
.footer {
  padding: 8vh 2rem 4vh;
  border-top: 1px solid rgba(184, 115, 51, 0.2);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-icon {
  width: 3rem;
  height: auto;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 1rem;
  color: var(--gris);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--bronce);
  opacity: 1;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gris-warm);
  letter-spacing: 0.03em;
}

/* ========================
   Reveal animations
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========================
   Responsive
   ======================== */
@media (max-width: 600px) {
  :root {
    --section-padding: 8vh 1.5rem;
  }

  .wordmark {
    max-width: 280px;
    margin-bottom: 2rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .hook-line {
    font-size: 1.15rem;
  }

  .hook-line--final {
    font-size: 1.25rem;
  }

  .pillar {
    margin-bottom: 4rem;
  }

  .pillar-title {
    font-size: 1.6rem;
  }

  .pillar-text {
    font-size: 1.05rem;
  }

  .promise-text {
    font-size: 1.05rem;
  }

  .promise-words {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .promise-word {
    font-size: 1.4rem;
  }

  .diferenciador-line {
    font-size: 1.05rem;
  }

  .diferenciador-line--final {
    font-size: 1.15rem;
  }
}

@media (min-width: 1200px) {
  .wordmark {
    max-width: 480px;
  }

  .hero-tagline {
    font-size: 1.4rem;
  }

  .pillar-title {
    font-size: 2.25rem;
  }

  .promise-word {
    font-size: 2rem;
  }
}
