/*
Theme Name: Nodal Circle
Theme URI: https://nodalcircle.com
Description: Tema de WordPress profesional para Nodal Circle
Version: 1.0.0
Author: Manus AI
Author URI: https://manus.im
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nodal-circle
*/

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

:root {
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dark:   #9A7530;
  --black:       #0A0A0A;
  --dark:        #111111;
  --dark-mid:    #1A1A1A;
  --dark-card:   #161616;
  --white:       #F5F0E8;
  --white-soft:  #D8D0C0;
  --text-muted:  #8A8070;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}

/* ── ORNAMENTAL LINES ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 0 auto;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.ornament::after {
  background: linear-gradient(to left, transparent, var(--gold));
}
.ornament-diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── HEADER ── */
header {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #1e1500 0%, var(--black) 65%);
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

header::after {
  content: '';
  position: absolute;
  top: 24px; left: 24px; right: 24px; bottom: 24px;
  border: 1px solid rgba(201,168,76,.15);
  pointer-events: none;
}

.header-corner {
  position: absolute;
  width: 40px; height: 40px;
  border-color: var(--gold);
  border-style: solid;
  opacity: .6;
}
.header-corner.tl { top: 24px; left: 24px; border-width: 1px 0 0 1px; }
.header-corner.tr { top: 24px; right: 24px; border-width: 1px 1px 0 0; }
.header-corner.bl { bottom: 24px; left: 24px; border-width: 0 0 1px 1px; }
.header-corner.br { bottom: 24px; right: 24px; border-width: 0 1px 1px 0; }

.logo-wrap {
  position: relative;
  margin-bottom: 40px;
}

.logo-circle {
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 40px;
  position: relative;
  filter: drop-shadow(0 0 50px rgba(201,168,76,.3)) drop-shadow(0 0 100px rgba(201,168,76,.15));
}
.logo-circle::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.logo-circle img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: brightness(1.15) contrast(1.25) saturate(1.3) drop-shadow(0 0 30px rgba(201,168,76,.6));
  mix-blend-mode: color-dodge;
  position: relative;
  z-index: 1;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  opacity: 0.95;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: lowercase;
  line-height: 1.1;
}
.brand-name span {
  color: var(--gold);
}

.tagline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(.65rem, 1.4vw, .8rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 14px;
}

.header-divider {
  width: 180px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 32px auto;
}

.header-intro {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white-soft);
  max-width: 560px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .45;
}
.scroll-hint span {
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ── SECTION BASE ── */
section {
  padding: 100px 24px;
  position: relative;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  text-align: center;
  color: var(--white);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: lowercase;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 50px;
}

/* ── ESENCIA ── */
#esencia {
  background: var(--dark);
}
#esencia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,.04) 0%, transparent 70%);
  pointer-events: none;
}

.esencia-quote {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white-soft);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.9;
  position: relative;
  padding: 40px 48px;
  letter-spacing: 0.01em;
}
.esencia-quote::before,
.esencia-quote::after {
  content: '"';
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: .25;
  position: absolute;
  line-height: 1;
  font-weight: 300;
}
.esencia-quote::before { top: 0; left: 8px; }
.esencia-quote::after  { content: '"'; bottom: -20px; right: 8px; }

/* ── PILARES ── */
#pilares {
  background: var(--black);
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 0;
}

.pilar-card {
  background: var(--dark-card);
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  transition: background .3s ease;
}
.pilar-card:hover {
  background: #1c1c1c;
}
.pilar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.pilar-card:hover::before { opacity: 1; }

.pilar-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(201,168,76,.1);
  line-height: 1;
  margin-bottom: 16px;
  transition: color .3s ease;
  letter-spacing: 0.05em;
}
.pilar-card:hover .pilar-number {
  color: rgba(201,168,76,.2);
}

.pilar-icon {
  width: 36px; height: 36px;
  margin-bottom: 20px;
  color: var(--gold);
}

.pilar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.pilar-text {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ── BENEFICIOS ── */
#beneficios {
  background: var(--dark);
}
#beneficios::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,.03) 0%, transparent 60%);
  pointer-events: none;
}

.beneficios-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 760px;
  margin: 0 auto;
}

.beneficio-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 40px;
  background: var(--dark-card);
  transition: background .3s ease;
}
.beneficio-item:hover { background: #1c1c1c; }

.beneficio-icon-wrap {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 1px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.beneficio-icon-wrap svg { width: 20px; height: 20px; }

.beneficio-content {}
.beneficio-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.beneficio-text {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* ── CTA ── */
#acceso {
  background: var(--black);
  text-align: center;
}
#acceso::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,168,76,.06) 0%, transparent 60%);
  pointer-events: none;
}

.acceso-box {
  border: 1px solid rgba(201,168,76,.2);
  padding: 70px 48px;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(201,168,76,.03) 0%, transparent 50%);
}
.acceso-box::before,
.acceso-box::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border-color: var(--gold);
  border-style: solid;
  opacity: .5;
}
.acceso-box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.acceso-box::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.acceso-quote {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--white-soft);
  line-height: 1.9;
  margin-bottom: 48px;
  letter-spacing: 0.01em;
}

.acceso-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
}

.acceso-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.acceso-detail-label {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
}
.acceso-detail-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.05em;
  font-weight: 400;
}

.acceso-divider {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,.25);
  align-self: center;
}

.btn-primary {
  display: inline-block;
  padding: 16px 52px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color .35s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform .35s ease;
  z-index: 0;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { color: var(--black); }
.btn-primary span { position: relative; z-index: 1; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(201,168,76,.1);
  padding: 40px 24px;
  text-align: center;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: lowercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: .6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 400;
}
.footer-note {
  font-size: .65rem;
  color: rgba(138,128,112,.4);
  letter-spacing: 0.1em;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .esencia-quote { padding: 32px 24px; }
  .acceso-box { padding: 48px 24px; }
  .beneficio-item { padding: 28px 24px; }
  .pilar-card { padding: 36px 24px; }
  .acceso-divider { display: none; }
  .logo-circle { width: 200px; height: 200px; }
}
