/* ══════════════════════════════════════
   NEXO BRANDS AGENCY — styles.css
   ══════════════════════════════════════ */

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

:root {
  --black:    #0a0a0a;
  --dark:     #111111;
  --dark2:    #1a1a1a;
  --gold:     #c9a96e;
  --gold-lt:  #dfc08a;
  --gold-dim: rgba(201,169,110,.18);
  --offwhite: #f7f4ef;
  --warm:     #ece8e1;
  --text:     #1a1a1a;
  --muted:    #7a7a7a;
  --border:   rgba(201,169,110,.22);
  --border2:  rgba(201,169,110,.08);
}

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

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--offwhite);
  color: var(--text);
  overflow-x: hidden;
}

/* ══ NAV ══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 80px;
  background: transparent;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(10,10,10,.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(14px);
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex; gap: 2.4rem; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold-lt); }

.nav-cta {
  color: var(--gold);
  border: 1px solid var(--border);
  padding: .55rem 1.5rem;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: background .2s, color .2s;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.burger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.burger span {
  display: block; width: 24px; height: 1.5px;
  background: rgba(255,255,255,.85); border-radius: 1px;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 80px; left: 0; right: 0;
    background: rgba(10,10,10,.98);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 5vw 2rem;
  }
  .nav-links.open li a { padding: .85rem 0; display: block; }
}

/* ══ HERO ══════════════════════════════ */
#inicio {
  position: relative;
  width: 100%; height: 100vh; min-height: 620px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('banquete.png') center center / cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.25) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 5vw 10vh;
  display: flex; flex-direction: column; align-items: flex-start;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  opacity: 0; animation: fadeUp .8s .2s forwards;
}
.hero-tag::before {
  content: '';
  display: block; width: 28px; height: 1px;
  background: var(--gold);
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  max-width: 700px;
  opacity: 0; animation: fadeUp .9s .35s forwards;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-content p {
  font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,.68);
  line-height: 1.8; max-width: 500px;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp .9s .5s forwards;
}

.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s .65s forwards;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  padding: .9rem 2.2rem;
  font-size: .82rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-radius: 1px;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-ghost {
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.3);
  padding: .9rem 2.2rem;
  font-size: .82rem; font-weight: 300;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-radius: 1px;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }

/* scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2.5rem; right: 5vw; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: fadeIn 1s 1.2s forwards;
}
.hero-scroll span {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.4); writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: lineDown 2s 1.5s infinite;
}
@keyframes lineDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-scroll { display: none; }
}

/* ══ SECTION BASE ══════════════════════ */
section { padding: 110px 5vw; }

.section-label {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: 1rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-sub {
  color: var(--muted); font-size: .95rem;
  font-weight: 300; line-height: 1.8;
  max-width: 560px;
}

.title-block { margin-bottom: 5rem; }

/* ══ NOSOTROS ══════════════════════════ */
#nosotros {
  background: var(--black);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
#nosotros .section-title { color: #fff; }
#nosotros .section-sub { color: rgba(255,255,255,.5); }

.about-img-wrap { position: relative; }
.about-img-placeholder {
  width: 100%; padding-bottom: 115%;
  background: var(--dark2);
  border-radius: 2px;
  position: relative; overflow: hidden;
}
.about-img-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .8rem; letter-spacing: .1em;
}
.about-img-placeholder img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.about-accent {
  position: absolute; bottom: -24px; right: -24px;
  width: 160px; padding: 1.8rem 1.5rem;
  background: var(--gold);
  border-radius: 2px;
  text-align: center;
}
.about-accent .big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--black); line-height: 1;
}
.about-accent .small {
  font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--black);
  margin-top: .3rem; opacity: .75;
}

.about-pillars {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2.5rem;
}
.pillar {
  border: 1px solid rgba(201,169,110,.15);
  padding: 1.2rem 1.2rem 1.2rem 1.4rem;
  border-left: 2px solid var(--gold);
  border-radius: 0 2px 2px 0;
}
.pillar h4 {
  font-size: .82rem; font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .06em; margin-bottom: .4rem;
}
.pillar p { font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.55; }

@media (max-width: 860px) {
  #nosotros { grid-template-columns: 1fr; gap: 3rem; padding: 70px 5vw; }
  .about-img-placeholder { padding-bottom: 65%; }
  .about-accent { bottom: -16px; right: -8px; }
}

/* ══ SERVICIOS ══════════════════════════ */
#servicios { background: var(--offwhite); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--offwhite);
  padding: 2.8rem 2.2rem;
  transition: background .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover { background: #fff; }
.service-card:hover::before { transform: scaleX(1); }

.svc-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300;
  color: var(--border); line-height: 1;
  margin-bottom: 1.2rem;
  transition: color .3s;
  user-select: none;
}
.service-card:hover .svc-num { color: rgba(201,169,110,.3); }

.service-card h3 {
  font-size: 1rem; font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: .7rem; color: var(--text);
}
.service-card p {
  font-size: .85rem; color: var(--muted);
  line-height: 1.7; font-weight: 300;
}

/* ══ METODOLOGÍA ══════════════════════ */
#metodologia { background: var(--dark); }
#metodologia .section-title { color: #fff; }
#metodologia .section-sub { color: rgba(255,255,255,.45); }

.method-track {
  display: flex; gap: 0;
  position: relative;
  margin-top: 1rem;
}
.method-track::before {
  content: '';
  position: absolute; top: 28px; left: 28px; right: 28px;
  height: 1px; background: var(--border);
}

.step {
  flex: 1; padding: 0 1.2rem; text-align: center;
  position: relative;
}
.step-dot {
  width: 56px; height: 56px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  background: var(--dark);
  position: relative; z-index: 1;
  transition: border-color .3s, background .3s;
}
.step:hover .step-dot {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.step-dot span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--gold);
}
.step h4 {
  font-size: .85rem; font-weight: 500;
  color: #fff; letter-spacing: .06em;
  margin-bottom: .5rem;
}
.step p {
  font-size: .78rem; color: rgba(255,255,255,.4);
  line-height: 1.65; font-weight: 300;
}

@media (max-width: 720px) {
  .method-track { flex-direction: column; gap: 2rem; }
  .method-track::before { display: none; }
}

/* ══ TESTIMONIOS ══════════════════════ */
#testimonios { background: var(--warm); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testi-card {
  background: #fff;
  border-radius: 2px;
  padding: 2.5rem;
  border-top: 2px solid var(--gold);
  transition: box-shadow .3s;
}
.testi-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

.testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; line-height: .8;
  color: var(--gold); margin-bottom: 1.2rem;
}

.testi-card p {
  font-size: .9rem; font-style: italic;
  color: var(--muted); line-height: 1.8;
  margin-bottom: 1.8rem; font-weight: 300;
}

.testi-author { display: flex; align-items: center; gap: .9rem; }
.testi-avatar {
  width: 42px; height: 42px;
  background: var(--warm);
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.testi-name { font-size: .88rem; font-weight: 500; }
.testi-role { font-size: .76rem; color: var(--muted); margin-top: .15rem; }

/* ══ CLIENTES ══════════════════════════ */
#clientes {
  background: var(--black);
  padding: 70px 5vw;
  text-align: center;
}
.clients-label {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 3rem;
}
.logos-row {
  display: flex; flex-wrap: wrap;
  gap: 1.5rem; justify-content: center; align-items: center;
}
.logo-pill {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1px;
  padding: .9rem 2rem;
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4); font-weight: 400;
  transition: border-color .2s, color .2s;
}
.logo-pill:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ══ CONTACTO ══════════════════════════ */
#contacto {
  background: var(--offwhite);
  text-align: center;
  padding: 110px 5vw;
}
#contacto .section-label { justify-content: center; }
#contacto .section-label::before { display: none; }
#contacto .section-title { text-align: center; }

.contact-sub {
  color: var(--muted); font-size: .95rem;
  font-weight: 300; line-height: 1.8;
  max-width: 500px; margin: 0 auto 3rem;
}

.contact-options {
  display: flex; flex-wrap: wrap;
  gap: 2rem; justify-content: center;
  max-width: 800px; margin: 0 auto;
}

.contact-option {
  flex: 1; min-width: 200px; max-width: 260px;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .2s;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
}
.contact-option:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.contact-option-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
}
.contact-option-icon svg {
  width: 22px; height: 22px;
  stroke: var(--gold); fill: none; stroke-width: 1.5;
}
.contact-option h4 {
  font-size: .85rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
}
.contact-option p {
  font-size: .82rem; color: var(--muted);
  font-weight: 300; line-height: 1.5;
}

/* ══ FOOTER ══════════════════════════ */
footer {
  background: #070707;
  padding: 3rem 5vw;
  display: flex; flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(201,169,110,.1);
}
.footer-logo img {
  height: 36px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .6;
}
.footer-links {
  display: flex; gap: 1.8rem; list-style: none; flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,.35);
  text-decoration: none; font-size: .78rem;
  letter-spacing: .08em;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-lt); }
.footer-copy {
  color: rgba(255,255,255,.2); font-size: .75rem;
}

/* ══ WHATSAPP ══════════════════════════ */
#wa-btn {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 300;
  width: 52px; height: 52px;
  background: rgba(10,10,10,.6);
  border: 1px solid rgba(37,211,102,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: border-color .25s, background .25s, transform .2s;
}
#wa-btn:hover {
  background: rgba(37,211,102,.12);
  border-color: rgba(37,211,102,.6);
  transform: scale(1.07);
}
#wa-btn svg { width: 24px; height: 24px; fill: rgba(37,211,102,.7); }
#wa-btn:hover svg { fill: #25d366; }

.wa-tooltip {
  position: absolute; right: 60px;
  background: rgba(10,10,10,.92);
  color: rgba(255,255,255,.8);
  font-size: .75rem; letter-spacing: .04em;
  padding: .4rem .9rem;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  border: 1px solid rgba(201,169,110,.2);
}
#wa-btn:hover .wa-tooltip { opacity: 1; }

/* ══ ANIMACIONES ══════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* stagger delay helpers */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
