@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Raleway:wght@200;300;400&display=swap');

/* ===========================
   VARIABLES
=========================== */
:root {
  --black:       #080808;
  --black-soft:  #111111;
  --black-mid:   #1a1a1a;
  --titanium:    #D0D0D0;
  --white:       #F8F8F8;
  --muted:       #555555;
  --border:      rgba(208, 208, 208, 0.1);

  --font-serif:  'Cormorant Garamond', serif;
  --font-sans:   'Raleway', sans-serif;

  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --duration:    0.7s;
}

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

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

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

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

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: none;
}

/* ===========================
   CURSOR
=========================== */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor-follower {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(208, 208, 208, 0.35);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* ===========================
   NAVIGATION
=========================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding var(--duration) var(--ease),
              background var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  padding: 1.5rem 4rem;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.nav-logo span {
  font-style: italic;
  color: var(--titanium);
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--titanium);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

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

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 0.9rem 1.8rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
  background: var(--titanium);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
}

.burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.35s ease;
  transform-origin: center;
}

.burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.05;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

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

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  padding: 1.2rem 2.4rem;
  transition: background 0.3s ease, gap 0.3s ease;
}

.btn-primary:hover {
  background: var(--titanium);
  gap: 1.25rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(208, 208, 208, 0.5);
  padding: 1.2rem 2.4rem;
  transition: border-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--titanium);
  color: var(--titanium);
  gap: 1.25rem;
}

/* ===========================
   LABELS DE SECTION
=========================== */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--titanium);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--muted);
}

/* ===========================
   CONTAINER
=========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===========================
   ANIMATIONS REVEAL
=========================== */
.reveal-fade,
.reveal-up {
  opacity: 0;
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.reveal-fade {
  transform: none;
}

.reveal-up {
  transform: translateY(36px);
}

.reveal-fade.visible,
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===========================
   FOOTER
=========================== */
footer {
  padding: 2.5rem 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
}

.footer-logo span {
  font-style: italic;
  color: var(--titanium);
}

.footer-copy {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

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

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  nav { padding: 1.5rem 2.5rem; }
  nav.scrolled { padding: 1rem 2.5rem; }
  footer { padding: 2rem 2.5rem; }
}

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

  .nav-links,
  .nav-cta { display: none; }

  .burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--black);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }

  .nav-links.open a {
    font-size: 1rem;
    letter-spacing: 0.15em;
  }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}