/* ================================================================
   ANDEX MEDIA — style.css
   Diseño inspirado en webdesignbrasil.org, paleta azul #1A56FF
   ================================================================ */

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

:root {
  --blue:       #1A56FF;
  --blue-dk:    #1240CC;
  --blue-a:     rgba(26,86,255,0.12);
  --bg-dark:    #060D1F;
  --bg-dark2:   #0B1530;
  --bg-light:   #F2F5FF;
  --bg-light2:  #E8EEFF;
  --white:      #ffffff;
  --text:       #0D1228;
  --text-body:  #475569;
  --wa:         #25D366;
  --display:    'Inter', sans-serif;
  --sans:       'Inter', sans-serif;
  --r:          14px;
  --w:          1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Utility ── */
.container { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

.s-label {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px; display: block;
}

.accent { color: var(--blue); }

.section-head { margin-bottom: 60px; }

.s-title {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800; color: var(--white);
  line-height: 1.1; letter-spacing: -.02em;
}

.s-title-dk {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800; color: var(--text);
  line-height: 1.1; letter-spacing: -.02em;
}

/* ── Reveal (GSAP initial state) ── */
.reveal { opacity: 0; transform: translateY(28px); }

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px 12px;
  transition: background .3s, box-shadow .3s;
}

.nav-inner {
  max-width: var(--w); margin: 0 auto;
  display: flex; align-items: center; gap: 28px; height: 68px;
}

.nav-logo { flex: 0 0 auto; line-height: 0; }
.nav-logo-img { height: 64px; filter: brightness(0) invert(1); display: block; margin-top: 8px; }

.nav.scrolled {
  background: rgba(6,13,31,.95);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin-left: auto;
}

.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.62); text-decoration: none;
  padding: 6px 12px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 10px;
  white-space: nowrap; flex-shrink: 0;
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .88; }
.nav-cta-icon { width: 15px; height: 15px; flex-shrink: 0; }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s;
}

.nav-mobile {
  display: none; flex-direction: column; gap: 2px;
  background: rgba(6,13,31,.97);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 12px 24px 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: 15px; font-weight: 500;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile-cta {
  background: var(--wa) !important; color: #fff !important;
  text-align: center; padding: 13px !important;
  border-radius: 10px; margin-top: 8px; border-bottom: none !important;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: var(--bg-dark);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-giant {
  position: absolute;
  font-family: var(--display);
  font-size: clamp(180px, 34vw, 500px);
  font-weight: 800;
  color: rgba(255,255,255,.04);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none; user-select: none;
  letter-spacing: -.04em; line-height: 1; z-index: 0;
}

.hero-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: 840px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; padding: 7px 18px;
  font-size: 13px; color: rgba(255,255,255,.72);
  margin-bottom: 36px; font-weight: 500;
}
.hero-badge-stars { color: #FFC107; letter-spacing: 1px; }

.hero-title {
  font-family: var(--display);
  font-size: clamp(42px, 8vw, 84px);
  font-weight: 800; color: var(--white);
  line-height: 1.06; letter-spacing: -.03em;
  margin: 0 0 28px;
}
.hero-accent { color: var(--blue); }

.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.48);
  max-width: 500px; line-height: 1.7;
  margin: 0 0 44px;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--wa); color: #fff; text-decoration: none;
  border-radius: var(--r); padding: 18px 32px; margin-bottom: 52px;
  box-shadow: 0 8px 32px rgba(37,211,102,.25);
  transition: transform .2s, box-shadow .2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,211,102,.35); }
.hero-cta-icon { width: 26px; height: 26px; flex-shrink: 0; }
.hero-cta strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.hero-cta small  { display: block; font-size: 12px; opacity: .78; margin-top: 2px; }

.hero-tags {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.36); font-weight: 500;
}
.hero-tag-dot { color: var(--blue); opacity: .5; }

/* ================================================================
   TICKER
   ================================================================ */
.ticker-wrap {
  overflow: hidden;
  background: rgba(255,255,255,.025);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 14px 0; white-space: nowrap;
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 24px;
  animation: ticker 28s linear infinite;
  font-size: 12px; color: rgba(255,255,255,.36);
  font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
.t-dot { color: var(--blue); font-size: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================================================================
   SERVICIOS
   ================================================================ */
.servicios { background: var(--bg-dark); padding: 100px 0; }

.srv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}

.srv-card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r); padding: 32px;
  transition: background .25s, border-color .25s, transform .25s;
}
.srv-card:hover {
  background: rgba(26,86,255,.07);
  border-color: rgba(26,86,255,.22);
  transform: translateY(-4px);
}
.srv-icon { font-size: 30px; margin-bottom: 20px; line-height: 1; }
.srv-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.srv-card p  { font-size: 14px; color: rgba(255,255,255,.47); line-height: 1.65; margin-bottom: 20px; }
.srv-link { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; transition: opacity .2s; }
.srv-link:hover { opacity: .7; }

/* ================================================================
   SOBRE MÍ
   ================================================================ */
.sobre { background: var(--bg-light); padding: 100px 0; }
.sobre .s-label { color: var(--blue); }

.sobre-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.sobre-foto-wrap {
  aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  background: var(--bg-light2);
}
.sobre-foto-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sobre-location {
  margin-top: 14px; font-size: 13px; font-weight: 500;
  color: var(--text-body); text-align: center;
}

.sobre-title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; color: var(--text);
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 24px;
}
.sobre-title .accent { color: var(--blue); }

.sobre-text { font-size: 16px; color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }

.sobre-stats {
  display: flex; gap: 40px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid rgba(0,0,0,.08);
}
.stat-n {
  display: block; font-family: var(--display);
  font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 4px;
}
.stat-l {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-body);
}

/* ================================================================
   PROCESO
   ================================================================ */
.proceso { background: var(--bg-dark2); padding: 100px 0; }

.proceso-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.p-step {
  padding: 34px 28px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  transition: border-color .25s;
}
.p-step:hover { border-color: rgba(26,86,255,.25); }
.p-num {
  display: block; font-family: var(--display);
  font-size: 38px; font-weight: 800; color: var(--blue);
  opacity: .28; line-height: 1; margin-bottom: 20px;
}
.p-step h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.p-step p  { font-size: 14px; color: rgba(255,255,255,.47); line-height: 1.65; }

/* ================================================================
   PORTFOLIO
   ================================================================ */
.portfolio { background: var(--bg-dark); padding: 100px 0; }

.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.port-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r); overflow: hidden; transition: transform .25s;
}
.port-card:hover { transform: translateY(-4px); }

.port-img {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: rgba(255,255,255,.05);
}
.port-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.port-card:hover .port-img img { transform: scale(1.04); }

.port-overlay {
  position: absolute; inset: 0;
  background: rgba(6,13,31,.72);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.port-card:hover .port-overlay { opacity: 1; }
.port-overlay a {
  background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 10px 22px; border-radius: 8px; text-decoration: none;
  transition: transform .2s;
}
.port-overlay a:hover { transform: scale(1.05); }

.port-img--empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,.26);
  background: rgba(26,86,255,.05);
  border: 2px dashed rgba(26,86,255,.18);
}

.port-meta { padding: 18px 22px; }
.port-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--blue); display: block; margin-bottom: 6px;
}
.port-meta h3 { font-size: 15px; font-weight: 700; color: var(--white); }

/* ================================================================
   TESTIMONIOS
   ================================================================ */
.testimonios { background: var(--bg-dark2); padding: 100px 0; }

.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.test-card {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r); padding: 30px; transition: border-color .25s;
}
.test-card:hover { border-color: rgba(26,86,255,.25); }
.test-stars { font-size: 15px; color: #FFC107; letter-spacing: 2px; margin-bottom: 18px; }
.test-quote  { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; font-style: italic; margin-bottom: 22px; }
.test-name   { display: block; font-size: 14px; font-weight: 700; color: var(--white); }
.test-biz    { font-size: 12px; color: rgba(255,255,255,.36); margin-top: 3px; display: block; }

/* ================================================================
   PRECIOS
   ================================================================ */
.precios { background: var(--bg-light); padding: 100px 0; }
.precios .s-label { color: var(--blue); }

.precio-card {
  max-width: 560px; margin: 0 auto;
  background: var(--white); border-radius: 20px; padding: 48px;
  box-shadow: 0 4px 40px rgba(26,86,255,.08);
  border: 1.5px solid rgba(26,86,255,.1);
}
.pc-badge {
  display: inline-block;
  background: var(--blue-a); color: var(--blue);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
}
.pc-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
.pc-num {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 58px);
  font-weight: 800; color: var(--text); letter-spacing: -.03em; line-height: 1;
}
.pc-per { font-size: 18px; color: var(--text-body); font-weight: 500; }
.pc-note { font-size: 14px; color: var(--text-body); line-height: 1.6; margin-bottom: 28px; }

.pc-list { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 11px; }
.pc-list li { font-size: 15px; color: var(--text); font-weight: 500; }

.btn-blue {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 700;
  padding: 15px 32px; border-radius: var(--r); text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-blue:hover { background: var(--blue-dk); transform: translateY(-1px); }
.btn-full { width: 100%; }

.pc-sub { text-align: center; font-size: 12px; color: var(--text-body); margin-top: 14px; }

.otros-servicios {
  max-width: 560px; margin: 36px auto 0; padding: 26px;
  border: 1px solid rgba(26,86,255,.1); border-radius: var(--r); background: var(--white);
}
.otros-titulo { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; text-align: center; }
.otros-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.otro-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-body); font-weight: 500;
  padding: 10px 12px; background: var(--bg-light); border-radius: 8px;
}
.otros-cta {
  text-align: center; margin-top: 20px;
}

/* ================================================================
   FAQ
   ================================================================ */
.faq {
  background: var(--bg-light); padding: 100px 0;
  border-top: 1px solid rgba(26,86,255,.08);
}
.faq .s-label { color: var(--blue); }

.faq-inner {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start;
}

.faq-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800; color: var(--text);
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px;
}
.faq-title .accent { color: var(--blue); }

.faq-desc { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 28px; }

.faq-cta-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--blue); color: #fff; text-decoration: none;
  padding: 22px; border-radius: var(--r);
  transition: background .2s, transform .2s;
}
.faq-cta-card:hover { background: var(--blue-dk); transform: translateY(-2px); }
.faq-cta-card strong { font-size: 15px; font-weight: 700; }
.faq-cta-card span   { font-size: 13px; opacity: .8; }

.faq-item {
  border: 1.5px solid rgba(26,86,255,.1); border-radius: var(--r);
  background: var(--white); margin-bottom: 10px; overflow: hidden; transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(26,86,255,.28); }

.faq-q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none;
  cursor: pointer; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--text); font-family: var(--sans);
}
.faq-icon {
  font-size: 22px; color: var(--blue); flex-shrink: 0;
  transition: transform .25s; line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 22px; }
.faq-a.open { max-height: 300px; padding: 0 22px 18px; }
.faq-a p { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* ================================================================
   CTA FINAL
   ================================================================ */
.cta-final {
  background: var(--bg-dark); padding: 120px 24px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-giant {
  position: absolute;
  font-family: var(--display);
  font-size: clamp(160px, 28vw, 420px);
  font-weight: 800; color: rgba(255,255,255,.03);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none; user-select: none;
  letter-spacing: -.04em; line-height: 1;
}
.cta-wrap { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.36); margin-bottom: 18px;
}
.cta-title {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 800; color: var(--white);
  line-height: 1.05; letter-spacing: -.03em; margin-bottom: 48px;
}
.accent-dim { color: rgba(255,255,255,.36); }

.cta-btn {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--wa); color: #fff; text-decoration: none;
  border-radius: var(--r); padding: 20px 36px; margin-bottom: 20px;
  box-shadow: 0 8px 40px rgba(37,211,102,.25);
  transition: transform .2s, box-shadow .2s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 48px rgba(37,211,102,.35); }
.cta-btn svg    { width: 28px; height: 28px; flex-shrink: 0; }
.cta-btn strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; }
.cta-btn small  { display: block; font-size: 12px; opacity: .78; margin-top: 3px; }
.cta-fine { font-size: 13px; color: rgba(255,255,255,.3); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.05); padding: 26px 0;
}
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-logo {
  font-family: var(--display); font-size: 13px; font-weight: 800;
  letter-spacing: .09em; color: rgba(255,255,255,.45);
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.26); }

/* ================================================================
   WHATSAPP FLOTANTE
   ================================================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  background: var(--wa); color: #fff;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.wa-float svg { width: 26px; height: 26px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .srv-grid  { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 100px 20px 64px; }

  .srv-grid, .proceso-grid, .test-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }

  .sobre-inner { grid-template-columns: 1fr; gap: 44px; }
  .sobre-foto-wrap { max-width: 320px; margin: 0 auto; aspect-ratio: 1/1; }

  .faq-inner { grid-template-columns: 1fr; gap: 44px; }

  .footer-row { flex-direction: column; text-align: center; gap: 8px; }

  .precio-card { padding: 32px 24px; }
  .otros-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .servicios, .sobre, .proceso, .portfolio, .testimonios, .precios, .faq { padding: 72px 0; }
  .cta-final { padding: 80px 20px; }
  .hero-cta { padding: 16px 22px; }
  .precio-card { padding: 28px 20px; }
}
