/* =============================================
   RETRO·TECH PORTFOLIO & AGENCY — style.css
   Style System: GCVentures Reference (Minimal Brutalism)
   ============================================= */

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

:root {
  --black:   #000000;
  --cyan:    #7EFFF5;
  --cyan-dim:#4DBDB5;
  --btn-bg:  #00bba6; 
  --btn-hov: #00ebd1; 
  --grey:    #8A8A8A;
  --grey-lt: #b0b0b0;
  
  /* GCV Style Colors */
  --bg-dark: #1e1e1e; /* Card background 1 */
  --bg-base: #111111; /* Card background 2 */
  
  --device:  #141414;
  --screen:  #0a2e2b;
  --screen-lt:#0f3d38;
  --white:   #ffffff;
  
  --font-px: 'Silkscreen', monospace;
  --font-inter: 'Inter', sans-serif;
  --max-w:   1200px; /* Strong containment */
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--grey);
  font-family: var(--font-px);
  min-height: 100vh;
  /* El bloqueo de desbordamiento de pantalla (X) previene scroll horizontal */
  overflow-x: hidden; 
  cursor: none;
}

/* ── HELPERS: TYPOGRAPHY ── */
.inter-font { font-family: var(--font-inter); }

/* ── EFECTOS DE FONDO (Subtle Retro) ── */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: repeating-linear-gradient(to bottom, transparent 0px, transparent 3px, rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px);
  mix-blend-mode: multiply;
}

/* ── CONFINAMIENTO CENTRAL ESTRICTO ── */
.center-constraint {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  padding: 0 2rem;
}
.styled-section {
  padding: 6rem 2rem;
}

/* ── 01. HERO SECTION & AIRE SUPERIOR ── */
/* Incremento masivo del "aire" usando padding-top con vh */
.center-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  justify-content: flex-start; 
  padding-top: 22vh; /* Extra breathing room requested */
  padding-bottom: 5rem;
  gap: 1.5rem; 
  animation: fadeIn 0.8s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.name {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0;
}
.role {
  font-size: clamp(0.7rem, 2.2vw, 1.1rem);
  color: var(--cyan-dim);
  margin-bottom: 0;
}
.role-secondary {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  color: var(--grey-lt);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  line-height: 1.5;
}

/* Typewriter Effect - Cambiado a píxeles como la descripción de la agencia */
.typewriter-container { display: inline-block; }
.city-typewriter {
  font-family: var(--font-px); /* Tipografía de agencia */
  font-weight: 700;
  font-size: clamp(1.4rem, 4.5vw, 2.4rem); /* Bastante más pequeño */
  color: var(--white);
  overflow: hidden; 
  border-right: .15em solid var(--cyan);
  white-space: nowrap; 
  margin: 0 auto;
  letter-spacing: .05em;
  animation: 
    typing 2.5s steps(30, end) forwards,
    blink-caret .75s step-end infinite;
}
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: var(--cyan); } }

/* Estilo para Diseños Premium + 48 hrs */
.semi-pixel { font-family: var(--font-px); color: var(--cyan); letter-spacing: 0.05em; }
.blink-text { 
  opacity: 1;
  animation: txtBlinker 1.2s ease-in-out infinite alternate;
  font-size: 1.1em;
  color: var(--white);
}
@keyframes txtBlinker {
  0%, 15% { opacity: 1; }
  85%, 100% { opacity: 0; }
}

/* Solid Literal Buttons (Hero) */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: #7EFFF5;
  background: var(--cyan);
  color: #000000;
  color: var(--black);
  padding: 1.2rem 3rem;
  font-family: var(--font-inter);
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 60px; /* More rounded to fit GC aesthetic */
  transition: all 0.3s ease;
  position: relative;
}
.btn-solid:hover {
  background: var(--btn-hov);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(126,255,245,0.4);
}
.btn-icon { margin-right: 0.5rem; }


/* ── AVATAR / ICON ── */
.avatar-wrap {
  position: relative;
  margin-bottom: 2rem;
}
#pixel-avatar {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  width: 56px; height: 56px;
  animation: avatarBob 0.7s steps(2) infinite;
  filter: drop-shadow(0 0 8px var(--cyan));
}
@keyframes avatarBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}


/* ── TERMINAL WIDGET (Hero Bottom) ── */
.terminal-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6rem;
}
.terminal-widget {
  width: 320px;
  height: 180px;
  background: rgba(10, 15, 15, 0.85);
  border: 1px solid rgba(126, 255, 245, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.terminal-widget:hover {
  border-color: rgba(126, 255, 245, 0.6);
  box-shadow: 0 0 20px rgba(126, 255, 245, 0.15);
}
.terminal-widget:hover .terminal-body {
  color: var(--cyan);
  text-shadow: 0 0 5px rgba(126,255,245,0.5);
}
.terminal-header {
  background: rgba(0,0,0,0.5);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(126, 255, 245, 0.1);
}
.terminal-header .dot {
  width: 10px; height: 10px; border-radius: 50%; margin-right: 6px;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-title {
  margin-left: auto;
  font-family: var(--font-inter);
  font-size: 0.7rem;
  color: var(--grey-lt);
  letter-spacing: 0.1em;
}
.terminal-body {
  padding: 12px;
  font-family: var(--font-px);
  font-size: 0.75rem;
  color: rgba(126, 255, 245, 0.5);
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.4;
  transition: color 0.3s, text-shadow 0.3s;
}
.terminal-line {
  margin-top: 4px;
  white-space: nowrap;
  animation: typeLine 0.1s steps(20, end);
}
@keyframes typeLine { from { width: 0; } to { width: 100%;} }


/* ── GRIDS & GCV CARD SYSTEM ── */
.grid-layout-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.grid-layout-3 > * {
  flex: 1 1 300px; /* Min width */
  max-width: 340px; /* Estrechas */
}

.grid-layout-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.grid-layout-2 > * {
  flex: 1 1 350px;
  max-width: 380px; /* Estrechas */
}

.section-heading {
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

/* Definición Estética GC Ventures */
.gcv-card {
  border-radius: 40px; /* HUGE Curved corners */
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 400px; /* Vertical aspect ratio */
  cursor: none;
  
  /* Retiramos el floating effect base; solo se aplica al portafolio */
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
}

.gcv-card.repel-active {
  animation: none !important; /* detiene el float auto cuando el mouse empuja */
}

/* Card Colors */
.bg-base { background: #111111; background: var(--bg-base); }
.bg-dark { background: #1e1e1e; background: var(--bg-dark); }
.bg-cyan { background: #7EFFF5; background: var(--cyan); }
.text-black { color: #000000 !important; color: var(--black) !important; }
.text-black .card-title, .text-black .card-desc, .text-black .pack-price { color: #000000; color: var(--black); }

/* Elements inside Card */
.card-pill {
  position: absolute;
  top: 2rem; left: 2.5rem;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-family: var(--font-inter);
  font-size: 0.8rem;
  font-weight: 700;
}
.pill-dark { background: rgba(0,0,0,0.8); color: var(--white); }

.card-content {
  margin-top: auto; /* Pushes content strictly to the bottom */
  position: relative;
  z-index: 2;
}
.card-title {
  font-size: 2rem;
  color: #ffffff;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.card-desc {
  font-size: 1rem;
  color: #b0b0b0;
  color: var(--grey-lt);
  line-height: 1.5;
}

.text-center .card-content {
  text-align: center;
}
.gcv-service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem auto;
  display: block;
  animation: avatarBob 0.7s steps(2) infinite;
}
.icon-cyan {
  color: var(--cyan);
  filter: drop-shadow(0 0 12px var(--cyan));
}
.icon-black {
  color: var(--black);
  filter: drop-shadow(0 0 12px rgba(0,0,0,0.4));
}

/* Portfolio Override (Espacio Exterior Espacial) */
.portfolio-space {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
  margin: 0 auto;
}
.portfolio-space .project-card {
  position: absolute;
  width: 280px; /* Aún más estrecha */
  min-height: 420px;
}

/* Animaciones de flote independiente sin gravedad */
.portfolio-space .project-card:nth-child(1) {
  top: 5%; left: 10%;
  animation: drift1 16s ease-in-out infinite alternate;
}
.portfolio-space .project-card:nth-child(2) {
  top: 30%; right: 5%;
  animation: drift2 20s ease-in-out infinite alternate;
}
.portfolio-space .project-card:nth-child(3) {
  bottom: 5%; left: 20%;
  animation: drift3 25s ease-in-out infinite alternate;
}
.portfolio-space .project-card:nth-child(4) {
  bottom: 25%; right: 25%;
  animation: drift4 18s ease-in-out infinite alternate;
}

@keyframes drift1 { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(30px, 40px) rotate(2deg); } }
@keyframes drift2 { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(-40px, 20px) rotate(-2deg); } }
@keyframes drift3 { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(25px, -30px) rotate(-1deg); } }
@keyframes drift4 { 0% { transform: translate(0, 0) rotate(0deg); } 100% { transform: translate(-35px, -45px) rotate(1deg); } }

.gcv-bg-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 0;
  opacity: 0.8;
}
.project-card:hover .gcv-bg-img {
  transform: scale(1.04);
  opacity: 1;
}
.overlayer {
  background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 5rem 2.5rem 2.5rem 2.5rem;
  margin: 0;
}
.overtop { top: 2rem; right: 2.5rem; left: auto; z-index: 2;}

/* Inline CTA Badge (Nuestro Trabajo) */
.inline-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  z-index: 10;
  position: relative;
}
.title-no-margin {
  margin-bottom: 0 !important;
}
.inline-cta-badge {
  background: #00bba6;
  background: var(--btn-bg);
  color: #000000;
  color: var(--black);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 187, 166, 0.4);
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.2;
  transition: transform 0.2s, filter 0.2s;
  cursor: none;
}
.inline-cta-badge:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.inline-cta-badge .cta-top {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.inline-cta-badge .cta-main {
  font-weight: 900;
  font-size: 2.4rem; /* "48 HORAS" súper grande */
  letter-spacing: -0.02em;
}
.inline-cta-badge .cta-bottom {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.8;
}

/* ── HIGGSFIELD AESTHETIC PRICING CARDS ── */
.hf-pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.hf-plan-card {
  background: #131517;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  width: 100%;
  max-width: 320px;
  padding: 2.5rem 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: none;
}
.hf-plan-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }

/* The Most Popular Pink/Red card */
.hf-popular {
  border-color: rgba(237, 21, 114, 0.4);
  box-shadow: 0 10px 40px rgba(237, 21, 114, 0.08);
}
.hf-popular:hover { border-color: rgba(237, 21, 114, 0.8); }

.hf-elite {
  border-color: rgba(21, 68, 237, 0.4);
}
.hf-elite:hover { border-color: rgba(21, 68, 237, 0.8); }

/* Badges */
.hf-popular-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: #ED1572;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hf-card-header { margin-bottom: 1.5rem; }
.hf-plan-name { font-size: 1.5rem; color: #fff; font-weight: 700; display: flex; align-items: center; gap: 8px;}
.hf-tag-pink { background: rgba(237, 21, 114, 0.15); color: #ED1572; padding: 2px 6px; border-radius: 4px; font-size: 0.6rem; font-weight: 900;}
.hf-plan-desc { font-size: 0.85rem; color: var(--grey-lt); margin-top: 0.5rem; line-height: 1.4; min-height: 40px;}

.hf-price-wrap { display: flex; flex-direction: column; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 1.5rem;}
.hf-price-old { font-size: 0.85rem; color: #ff5f56; text-decoration: line-through; font-weight: 700; line-height: 1; margin-bottom: 4px; min-height: 14px;}
.hf-price-current { font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1; display:flex; align-items: baseline; gap: 2px;}
.hf-price-k { font-size: 1.5rem; font-weight: 700;}
.hf-currency { font-size: 0.9rem; font-weight: 500; color: var(--grey); margin-left: 6px;}

.hf-btn {
  display: flex; justify-content: center; align-items: center;
  width: 100%; padding: 0.9rem; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: filter 0.2s, transform 0.2s, background 0.3s;
  margin-bottom: 2rem;
  cursor: none;
}
.hf-btn:hover { filter: brightness(1.2); }
.hf-btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.hf-btn-outline:hover { background: rgba(255,255,255,0.05); }
.hf-btn-pink { background: #ED1572; color: #fff; }
.hf-btn-blue { background: #1544ED; color: #fff; }

.hf-features { display: flex; flex-direction: column; }
.hf-feature-group-title { font-size: 0.7rem; color: #fff; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.05em; opacity: 0.6; }
.hf-feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.hf-feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--grey-lt); line-height: 1.4; }
.hf-feature-list svg { flex-shrink: 0; margin-top: 2px; color: #fff; opacity: 0.8;}
.hf-disabled { opacity: 0.4; text-decoration: line-through; }

/* ── MANTENIMIENTO BANNER ── */
.maintenance-banner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #131517;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 4rem;
  gap: 3rem;
  width: 100%;
}
.mb-left {
  flex: 1;
}
.mb-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.mb-desc {
  font-size: 1rem;
  color: var(--grey-lt);
  line-height: 1.5;
}
.mb-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mb-card {
  padding: 1.5rem 2rem;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.mb-card:hover {
  transform: translateX(-5px);
}
.mb-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mb-price {
  font-size: 1rem;
  font-weight: 800;
  opacity: 0.9;
}
.mb-card-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .maintenance-banner { flex-direction: column; padding: 2rem; }
  .mb-right { width: 100%; }
}

/* ── 05. FOOTER MULTICAPA ── */
.footer-section {
  position: relative;
  text-align: center;
  padding: 8rem 0 4rem;
  margin-top: 4rem;
}
.watermark-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.giant-watermark {
  font-size: clamp(6rem, 15vw, 12rem);
  white-space: nowrap;
  color: rgba(126,255,245,0.03); 
  font-family: var(--font-px);
}
.footer-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.footer-title { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); font-weight: 900; margin-bottom: 1rem; }
.footer-desc { font-size: 1.2rem; color: var(--grey-lt); margin-bottom: 4rem; }
.big-whatsapp { padding: 1.5rem 4rem; border-radius: 60px; font-size: 1.2rem; }
.footer-location { margin-top: 4rem; font-weight: 700; letter-spacing: 0.2em; color: var(--grey); }
.footer-line { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; width: 100%; max-width: 600px; }


/* ── CURSORS ── */
.cursor-dot {
  position: fixed; pointer-events: none; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan); z-index: 9999;
  transform: translate(-50%, -50%); transition: opacity 0.2s;
}
.cursor-ring {
  position: fixed; pointer-events: none; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid rgba(126,255,245,0.5); z-index: 9998;
  transform: translate(-50%, -50%); transition: transform 0.12s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}
body.cursor-hover .cursor-ring { width: 55px; height: 55px; border-color: var(--cyan); background: rgba(126,255,245,0.1); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .center-stage { padding-top: 15vh; }
  /* Eliminated mobile anim for inline CTA - uses standard flow */
  .grid-layout-3, .grid-layout-2 { flex-direction: column; align-items: center; width: 100%; max-width: 100vw; box-sizing: border-box; }
  .gcv-card { min-height: 350px; padding: 2rem 1.5rem; border-radius: 30px; width: 100%; box-sizing: border-box; }
  .overlayer { padding: 3rem 1.5rem 1.5rem 1.5rem; }
  .big-whatsapp { padding: 1rem 1.5rem; font-size: 1rem; width: 100%; max-width: 100%; box-sizing: border-box; }
  .hf-plan-card { padding: 2rem 1.2rem; }
  .inline-cta-badge { padding: 0.6rem 1rem; }
  
  /* Fallback for Portfolio Space on mobile to avoid overlap chaos */
  .portfolio-space {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .portfolio-space .project-card {
    position: relative;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  }
}
@media (max-width: 480px) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}
