/* ============================================
   SÍSIFO STUDIO — Estilos principales
   Versión 1.0
   ============================================ */

/* --- Variables & Reset --- */
*{margin:0;padding:0;box-sizing:border-box}

:root {
  --bg:       #0f0f0d;
  --bg2:      #161614;
  --bg3:      #1e1e1b;
  --bg4:      #252521;
  --gold:     #d4a853;
  --gold2:    #e8c070;
  --text:     #f0ede6;
  --text2:    #c8c4bc;
  --text3:    #9a9690;
  --muted:    #706c64;
  --border:   rgba(212,168,83,0.2);
  --border2:  rgba(240,237,230,0.1);
  --font-display: 'Cormorant Garamond', serif;
  --font-mono:    'DM Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  overflow-x: hidden;
}

/* --- Navegación --- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15,15,13,0.97);
  border-bottom: 1px solid var(--border2);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 120px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text3);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

.nav-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text3);
  font-size: 22px;
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1674027444485-cec3da58eef4?w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(30%) brightness(0.22);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,168,83,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,83,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -10%; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,168,83,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.7s 0.1s both;
}

.hero-title {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.3s both;
  color: var(--text);
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-subtitle {
  max-width: 560px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 52px;
  animation: fadeUp 0.7s 0.5s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeUp 0.7s 0.7s both;
}

.hero-domain {
  position: absolute;
  right: 48px; bottom: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* --- Botones --- */
.btn-primary {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 32px;
  background: var(--gold);
  color: #0f0f0d;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 400;
  transition: background 0.25s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold2); }

.btn-ghost {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 32px;
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* --- Filosofía --- */
.filosofia {
  padding: 88px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  border-bottom: 1px solid var(--border2);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.fil-quote {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 300;
  line-height: 1.35;
  font-style: italic;
  color: var(--text);
}
.fil-quote span { color: var(--gold); }

.fil-author {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text3);
  margin-top: 18px;
  letter-spacing: 0.06em;
}

.fil-right {
  padding-left: 48px;
  border-left: 1px solid var(--border2);
}

.fil-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text2);
  font-weight: 300;
  margin-bottom: 18px;
}

/* --- Servicios --- */
.servicios {
  padding: 88px 48px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border2);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--gold); }

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.1em;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border2);
}

.servicio {
  background: var(--bg2);
  padding: 44px 40px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.servicio::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.servicio:hover { background: var(--bg3); }
.servicio:hover::after { transform: scaleX(1); }

.serv-img {
  height: 150px;
  background-size: cover;
  background-position: center;
  margin: -44px -40px 28px;
  filter: brightness(0.5) saturate(0.6);
  transition: filter 0.35s;
}
.servicio:hover .serv-img { filter: brightness(0.65) saturate(0.8); }

.serv-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.serv-icon {
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}

.serv-title {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--text);
}

.serv-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text2);
  font-weight: 300;
  font-family: var(--font-mono);
}

.serv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.serv-result {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.serv-result-stat {
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.serv-result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--text3);
  letter-spacing: 0.04em;
}
.serv-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--text3);
  text-transform: uppercase;
}

/* --- Método --- */
.metodo {
  padding: 88px 48px;
  border-bottom: 1px solid var(--border2);
  position: relative;
  overflow: hidden;
}

.metodo-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&q=80');
  background-size: cover;
  background-position: center;
  filter: grayscale(60%) brightness(0.12);
  pointer-events: none;
}

.metodo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.metodo-steps::before {
  content: '';
  position: absolute;
  top: 27px; left: 12%; right: 12%;
  height: 1px;
  background: var(--border2);
  z-index: 0;
}

.step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }

.step-circle {
  width: 54px; height: 54px;
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  transition: background 0.3s, border-color 0.3s;
}
.step:hover .step-circle {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.step-title { font-size: 16px; font-weight: 400; margin-bottom: 12px; color: var(--text); }
.step-desc { font-size: 12px; line-height: 1.75; color: var(--text2); font-family: var(--font-mono); }

/* --- Contacto --- */
.contacto {
  padding: 88px 48px;
  background: var(--bg2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  border-left: 1px solid var(--border2);
  padding-left: 72px;
}

.cta-question {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
}

.cta-question em {
  color: var(--gold);
  font-style: italic;
}

.cta-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text3);
  line-height: 1.8;
}

.contact-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text2);
  font-weight: 300;
  margin: 20px 0 36px;
}

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
}
.contact-item i { color: var(--gold); font-size: 15px; flex-shrink: 0; }


/* --- Footer --- */
footer {
  padding: 36px 48px;
  border-top: 1px solid var(--border2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}

.footer-logo {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.08em;
}

/* --- Showcase --- */
.showcase {
  padding: 88px 48px;
  border-bottom: 1px solid var(--border2);
}

.showcase-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text3);
  margin-bottom: 40px;
  max-width: 480px;
}

.showcase-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border2);
  height: 32rem;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.9) saturate(0.85);
}

/* --- Casos --- */
.casos {
  padding: 88px 48px;
  border-bottom: 1px solid var(--border2);
}

.casos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border2);
  margin-top: 0;
}

.caso {
  background: var(--bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.3s;
}
.caso:hover { background: var(--bg2); }

.caso-sector {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.caso-title {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}

.caso-bloque {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--text2);
}
.caso-bloque strong { color: var(--text3); font-weight: 400; }

.caso-metrica {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.casos-nota {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.06em;
  text-align: center;
}
.casos-nota a { color: var(--gold); text-decoration: none; }
.casos-nota a:hover { text-decoration: underline; }

/* --- Contact CTA buttons --- */
.contact-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Animaciones --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-menu { display: block; }

  .hero { padding: 80px 24px 60px; min-height: auto; }
  .hero-domain { display: none; }

  .filosofia {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }
  .fil-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border2);
    padding-top: 36px;
  }

  .showcase { padding: 60px 24px; }
  .showcase-card { height: 16rem; }

  .servicios { padding: 60px 24px; }
  .servicios-grid { grid-template-columns: 1fr; }

  .metodo { padding: 60px 24px; }
  .metodo-steps { grid-template-columns: 1fr 1fr; gap: 36px; }
  .metodo-steps::before { display: none; }

  .casos { padding: 60px 24px; }
  .casos-grid { grid-template-columns: 1fr; }

  .contacto {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
  }
  .cta-question { font-size: 22px; }
  .contact-cta { border-left: none; padding-left: 0; border-top: 1px solid var(--border2); padding-top: 36px; }

  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 28px 24px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }
}

/* --- WhatsApp flotante --- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  z-index: 999;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
