/*
Theme Name: Shiner
Theme URI: https://moccasin-barracuda-325663.hostingersite.com/
Author: Shiner Grupo de Emprendimiento
Author URI: https://moccasin-barracuda-325663.hostingersite.com/
Description: Tema oficial de Shiner - Grupo de Emprendimiento Valencia. Diseño elegante en negro y dorado con tipografía editorial.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shiner
Tags: business, entrepreneurship, dark, gold, elegant, one-page
*/

/* === CSS VARIABLES === */
:root {
  --sh-900: #1A1A1A;
  --sh-800: #2C2C2C;
  --sh-700: #3D3D3D;
  --sh-600: #5A5A5A;
  --sh-400: #8C8C8C;
  --sh-200: #C8C8C8;
  --sh-100: #E8E6E1;
  --sh-50:  #F5F4F1;
  --sh-gold: #B89A6A;
  --sh-gold-light: #D4B98A;
  --sh-gold-50: #F5EFE4;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Josefin Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--sh-50);
  color: var(--sh-900);
  overflow-x: hidden;
  font-weight: 300;
  letter-spacing: 0.02em;
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

p { line-height: 1.9; }

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

/* === NAVBAR === */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(184,154,106,0.2);
  transition: background 0.3s;
}

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

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.site-logo .logo-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.04em;
}
.site-logo .logo-tag {
  font-family: var(--font-body);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.22em;
  color: var(--sh-gold);
  text-transform: uppercase;
  margin-top: 3px;
}

/* === NAV MENU === */
#site-navigation { display: flex; align-items: center; }
#site-navigation ul {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
}
#site-navigation ul li a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sh-200);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
#site-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--sh-gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
#site-navigation ul li a:hover { color: #fff; }
#site-navigation ul li a:hover::after { transform: scaleX(1); }
#site-navigation ul li.current-menu-item a { color: var(--sh-gold-light); }
#site-navigation ul li.current-menu-item a::after { transform: scaleX(1); }

/* CTA nav item */
#site-navigation ul li.menu-item-cta a {
  border: 0.5px solid var(--sh-gold);
  color: var(--sh-gold);
  padding: 8px 20px;
  border-radius: 2px;
}
#site-navigation ul li.menu-item-cta a:hover {
  background: var(--sh-gold);
  color: #fff;
}
#site-navigation ul li.menu-item-cta a::after { display: none; }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 0.5px solid var(--sh-600);
  color: var(--sh-200);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 2px;
  font-family: var(--font-body);
}

/* === BUTTONS === */
.btn-primary {
  background: var(--sh-gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 36px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--sh-gold-light);
  transform: translateY(-1px);
  color: #fff;
}

.btn-secondary {
  color: var(--sh-600);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--sh-900); }

.btn-outline {
  border: 0.5px solid var(--sh-600);
  color: var(--sh-200);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover {
  border-color: var(--sh-200);
  color: #fff;
}

/* === SECTION SHARED === */
.section-pad {
  padding: 160px 0 120px;
}

.section-tag {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sh-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--sh-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--sh-900);
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  color: var(--sh-gold);
}
.section-title.light { color: #fff; }

/* === HERO === */
#hero {
  min-height: 100vh;
  background: var(--sh-900);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(184,154,106,0.08) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.82) 65%, rgba(26,26,26,1) 100%);
  z-index: 1;
}

#hero .hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-lines {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  z-index: 1;
  overflow: hidden;
  opacity: 0.12;
}
.hero-lines svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 140px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sh-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 0.5px;
  background: var(--sh-gold);
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-title-main em {
  font-style: italic;
  color: var(--sh-gold-light);
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--sh-400);
  max-width: 420px;
  line-height: 2;
  margin-bottom: 48px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 140px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-indicator span {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sh-600);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-line {
  width: 0.5px; height: 60px;
  background: linear-gradient(to bottom, var(--sh-600), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* Hero stats bar */
.hero-stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(44,44,44,0.7);
  backdrop-filter: blur(8px);
  border-top: 0.5px solid rgba(184,154,106,0.15);
  animation: fadeUp 0.8s 0.5s ease both;
}
.hero-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 28px 0 28px 40px;
  border-right: 0.5px solid rgba(255,255,255,0.06);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: #fff;
}
.stat-num span { color: var(--sh-gold); }
.stat-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sh-600);
}

/* === ABOUT / NOSOTROS === */
#nosotros { background: var(--sh-50); }
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-stack {
  position: relative;
  height: 520px;
}
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%; height: 85%;
  background: var(--sh-800);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.12);
}
.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-img-main .img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--sh-700), var(--sh-900));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 42px;
  color: rgba(184,154,106,0.3);
}
.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%; height: 55%;
  background: var(--sh-100);
  border: 0.5px solid var(--sh-200);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.accent-number {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--sh-900);
  line-height: 1;
}
.accent-number span { color: var(--sh-gold); }
.accent-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sh-600);
  text-align: center;
  max-width: 100px;
}
.frame-deco {
  position: absolute;
  top: -16px; right: 30%;
  width: calc(75% + 16px);
  height: calc(85% + 16px);
  border: 0.5px solid rgba(184,154,106,0.3);
  border-radius: 2px;
  pointer-events: none;
}

.about-body p {
  font-size: 14px;
  line-height: 2;
  color: var(--sh-600);
  margin-bottom: 20px;
}
.about-quote {
  margin: 32px 0;
  padding: 24px 0 24px 24px;
  border-left: 2px solid var(--sh-gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--sh-800);
  line-height: 1.6;
}

/* Gold divider */
.gold-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.gold-divider-line {
  height: 0.5px;
  background: linear-gradient(to right, transparent, var(--sh-gold), transparent);
  opacity: 0.3;
}

/* === SERVICIOS === */
#servicios {
  background: var(--sh-900);
  padding: 0;
}
.services-inner { padding: 200px 0 120px; }
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.services-header .section-title { color: #fff; }
.services-header p {
  font-size: 14px;
  line-height: 2;
  color: var(--sh-400);
  align-self: end;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.service-card {
  background: rgba(44,44,44,0.6);
  padding: 48px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--sh-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover { background: rgba(61,61,61,0.6); }
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--sh-gold);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.service-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  color: var(--sh-gold);
}
.service-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: #fff;
  margin-bottom: 16px;
}
.service-desc {
  font-size: 13px;
  line-height: 2;
  color: var(--sh-400);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sh-gold);
  text-decoration: none;
  transition: gap 0.2s;
}
.service-link:hover { gap: 14px; }

/* === STEPS === */
#como-funciona { background: var(--sh-50); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  background: var(--sh-200);
  border-radius: 2px;
  overflow: hidden;
}
.step {
  background: var(--sh-50);
  padding: 48px 36px;
  position: relative;
  transition: background 0.2s;
}
.step:hover { background: #fff; }
.step-dot {
  position: absolute;
  top: 48px; right: 36px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sh-100);
  transition: background 0.3s;
}
.step:hover .step-dot { background: var(--sh-gold); }
.step-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--sh-100);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}
.step:hover .step-num { color: rgba(184,154,106,0.2); }
.step-title {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sh-900);
  margin-bottom: 12px;
}
.step-desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--sh-600);
}

/* === EVENTS === */
#eventos { background: var(--sh-50); }
.events-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--sh-200);
  border-radius: 2px;
  overflow: hidden;
}
.event-item {
  background: #fff;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 100px 1px 1fr auto;
  align-items: center;
  gap: 40px;
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.event-item:hover { background: var(--sh-50); }
.event-date { display: flex; flex-direction: column; align-items: center; }
.event-day {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--sh-900);
  line-height: 1;
}
.event-month {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sh-400);
}
.event-divider-v { width: 0.5px; height: 40px; background: var(--sh-200); }
.event-info { flex: 1; }
.event-tag {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sh-gold);
  margin-bottom: 6px;
}
.event-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--sh-900);
  margin-bottom: 4px;
}
.event-location {
  font-size: 12px;
  color: var(--sh-400);
  letter-spacing: 0.04em;
}
.event-arrow {
  color: var(--sh-200);
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.event-item:hover .event-arrow { color: var(--sh-gold); transform: translateX(4px); }

/* === CTA === */
#unirse {
  background: var(--sh-900);
  position: relative;
  overflow: hidden;
}
.cta-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 200px;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
}
.cta-inner {
  padding: 200px 0 120px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner .section-tag { justify-content: center; }
.cta-inner .section-title { color: #fff; max-width: 600px; margin: 0 auto 16px; }
.cta-inner p {
  font-size: 14px;
  line-height: 2;
  color: var(--sh-400);
  max-width: 480px;
  margin: 0 auto 48px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
#colophon {
  background: #111;
  border-top: 0.5px solid rgba(184,154,106,0.12);
  padding: 64px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand .brand-sub {
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sh-gold);
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--sh-600);
  max-width: 240px;
}
.footer-col h4 {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sh-400);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 12px;
  color: var(--sh-600);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.footer-col ul li a:hover { color: var(--sh-gold-light); }
.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 11px; color: var(--sh-600); letter-spacing: 0.04em; }
.footer-gold-line { width: 32px; height: 0.5px; background: var(--sh-gold); opacity: 0.5; }

/* WordPress default classes */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--sh-400); margin-top: 8px; }
.sticky { border-left: 2px solid var(--sh-gold); padding-left: 20px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.aligncenter { margin: 0 auto; display: block; }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  /* Reservar espacio para el nav fijo (96px) en tablet */
  #hero { padding-top: 96px; }
  .about-wrap { grid-template-columns: 1fr; gap: 60px; }
  .about-image-stack { height: 360px; }
  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-pad { padding: 140px 0 110px; }
  .services-inner { padding: 140px 0 110px; }
  .cta-inner { padding: 140px 0 110px; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; }
  .menu-toggle { display: block; }
  #site-navigation { display: none; width: 100%; }
  #site-navigation.open {
    display: flex;
    position: absolute;
    top: 96px; left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    padding: 24px 32px;
    border-top: 0.5px solid rgba(184,154,106,0.2);
  }
  #site-navigation.open ul {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  /* Reservar espacio para el nav fijo (96px) en móvil */
  #hero { padding-top: 96px; }
  .hero-content { padding: 0 32px 80px; }
  .container { padding: 0 32px; }
  .hero-stats-inner { grid-template-columns: 1fr; }
  .stat-item { padding: 16px 24px; border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.06); }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .events-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .event-item { grid-template-columns: 80px 1px 1fr; gap: 20px; padding: 24px 32px; }
  .event-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-bg-text { font-size: 80px; }
  .section-pad { padding: 110px 0 90px; }
  .services-inner { padding: 110px 0 90px; }
  .cta-inner { padding: 110px 0 90px; }
  .hero-eyebrow { padding: 0 32px 80px; }
}
