﻿/* ===================================================
   AUTÃ‰NTICO CREATIVO â€” STYLES
   Order: reset â†’ typography â†’ buttons â†’ nav â†’
          hero â†’ belt â†’ about â†’ services â†’
          process â†’ why â†’ contact â†’ footer â†’
          utilities â†’ animations â†’ responsive
   =================================================== */

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s, color 0.4s;
}

img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

::-webkit-scrollbar            { width: 4px; }
::-webkit-scrollbar-track      { background: var(--bg); }
::-webkit-scrollbar-thumb      { background: var(--teal); border-radius: 99px; }

/* ===== TYPOGRAPHY ===== */
.t-display {
  font-family: var(--font-title);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.t-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.text-red  { color: var(--red); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--text-muted); }

/* ===== LUCIDE ICONS ===== */
.icon {
  width: 20px;
  height: 20px;
  stroke: var(--icon-color);
  stroke-width: 1.75;
  fill: none;
  flex-shrink: 0;
  transition: stroke var(--transition), transform var(--transition);
}

.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

/* Mirage shimmer on all buttons */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(-110%) skewX(-15deg);
  transition: transform var(--transition-slow);
}
.btn:hover::before { transform: translateX(110%) skewX(-15deg); }

.btn-sm { padding: 10px 20px; font-size: 0.7rem; }
.btn-lg { padding: 16px 36px; font-size: 0.88rem; }
.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 0.85rem; }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--teal-glow);
}

.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--teal-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

/* theme toggle removed */

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s;
}

#nav.scrolled {
  
  background: var(--nav-glass);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px var(--shadow);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo */
.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(1);
  transition: filter var(--transition);
}


/* Nav links */
.nav-links {
  display: none;
  gap: 28px;
  margin-right: 4px;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover  { color: var(--teal); }
.nav-active { color: var(--teal) !important; font-weight: 700; }

.nav-cta { display: none; }

/* Hamburger */
.nav-hamburger {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.nav-hamburger span {
  height: 1.5px;
  background: var(--text);
  border-radius: 99px;
  transition: var(--transition);
}
.nav-hamburger span:nth-child(1) { width: 24px; }
.nav-hamburger span:nth-child(2) { width: 16px; }
.nav-hamburger span:nth-child(3) { width: 20px; }

.nav-hamburger.open span:nth-child(1) { width: 22px; transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { width: 22px; transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu.open { transform: translateY(0); }

#mobile-menu a {
  font-family: var(--font-title);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: color var(--transition);
}
#mobile-menu a:hover { color: var(--teal); }

/*  NAV responsive */
@media (min-width: 768px) {
  #nav              { padding: 0 40px; }
  .nav-links        { display: flex; }
  .nav-cta          { display: flex; }
  .nav-hamburger    { display: none; }
  #mobile-menu      { display: none !important; }
}

/* ===== LAYOUT HELPERS ===== */
section    { padding: 80px 20px; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.section-cta { text-align: center; margin-top: 40px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  margin-bottom: 20px;
}
.section-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.dot-red  { background: var(--red); }
.dot-teal { background: var(--teal); }

@media (min-width: 768px) {
  section { padding: 100px 40px; }
}

/* ===== HERO ===== */
#hero {
  min-height: 100svh;
  padding: 100px 20px 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  /* Vanta.js injects its own canvas as first child â€” we keep content above it */
}

/* Vanta canvas sits behind everything */
#hero > canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.hero-content { position: relative; z-index: 1; background-color:#0000006c; padding: 5%; border-radius: 30px; border: 1px solid var(--teal); }

.hero-eyebrow {
  
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.1s both;
}
.hero-eyebrow-line {
  
  width: 32px;
  height: 1.5px;
  background: var(--teal);
}

.hero-title {
  
  font-size: clamp(3.6rem, 14vw, 8rem);
  line-height: 0.92;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.25s both;
}
.hero-title em   { font-style: normal; color: var(--red); display: block; }
.hero-title .outline-text {
  -webkit-text-stroke: 1.5px var(--teal);
  color: white;
}

.hero-title em {
  color: var(--teal);
}

.hero-sub {
  font-size: 0.9rem;
  color: white;
  max-width: 340px;
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.4s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.8s 0.55s both;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  animation: fadeUp 0.8s 0.8s both;
}
.hero-scroll .scroll-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

.hero-stats {
  display: flex;
  margin-top: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  animation: fadeUp 0.8s 0.7s both;
}
.stat-item {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  border-right: 1.5px solid var(--border);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--stat-hover); }

.stat-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  line-height: 1;
}
.stat-num-red  { color: var(--red); }
.stat-num-teal { color: var(--teal); }

.stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== BELT ===== */
#belt {
  background: #080808;
  padding: 18px 0;
  overflow: hidden;
}

.belt-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: beltScroll 22s linear infinite;
}

.belt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #fff;
  flex-shrink: 0;
}

.belt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.belt-dot-red  { background: var(--red); }
.belt-dot-teal { background: var(--teal); }

/* ===== ABOUT ===== */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-visual {
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--bg-alt);
}

.about-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  
}

/* about-visual-logo removed â€” replaced by about-section-logo */

.about-section-logo {
  max-width: 20%;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0.90;
}

@media (max-width: 767px) {
  .about-section-logo {
    max-width: 20%;
  }
}

.about-bcn {
  font-family: var(--font-title);
  font-size: 5rem;
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0.04;
  user-select: none;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.about-badge {
  background: var(--teal);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--r-full);
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.about-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0 20px;
}

.about-tag {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
}
.about-tag:hover { border-color: var(--teal); color: var(--teal); }

.about-title { font-size: clamp(2.2rem, 8vw, 4rem); margin-bottom: 20px; }

.about-text {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-highlight {
  border-left: 3px solid var(--teal);
  padding-left: 16px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 500;
  margin: 24px 0;
}

/* â”€â”€ About responsive â”€â”€ */
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .about-tag-row { justify-content: flex-start; }
}

/* ===== SERVICES ===== */
#servicios { background: var(--bg-alt); }

.services-header { text-align: center; margin-bottom: 48px; }

.services-title { font-size: clamp(2.5rem, 9vw, 5rem); }

.services-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.services-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.cat-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}
.cat-btn:hover,
.cat-btn.active { background: var(--teal); color: #fff; border-color: var(--teal); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Mirage shimmer */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--mirage), transparent);
  transform: skewX(-15deg);
  transition: left var(--transition-slow);
}
.service-card:hover::before { left: 160%; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px var(--shadow-card);
}
.service-card.card-red:hover  { border-color: var(--red); }
.service-card.card-teal:hover { border-color: var(--teal); }

.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-card.card-red:hover  .service-icon { background: var(--red);  border-color: var(--red); }
.service-card.card-teal:hover .service-icon { background: var(--teal); border-color: var(--teal); }
.service-card:hover .service-icon .icon { stroke: #fff; }

.service-num {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--text);
  opacity: 0.04;
  line-height: 1;
}

.service-cat-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.service-cat-label.label-red  { color: var(--red); }
.service-cat-label.label-teal { color: var(--teal); }

.service-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.service-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  padding: 3px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-arrow {
  align-self: flex-end;
  width: 32px; height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-arrow .icon { stroke: var(--text-muted); }
.service-card.card-red:hover  .service-arrow { background: var(--red);  border-color: var(--red); }
.service-card.card-teal:hover .service-arrow { background: var(--teal); border-color: var(--teal); }
.service-card:hover .service-arrow { transform: rotate(45deg); }
.service-card:hover .service-arrow .icon { stroke: #fff; }

/* â”€â”€ Services responsive â”€â”€ */
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== PROCESS ===== */
#proceso { background: var(--bg); }

.process-title { font-size: clamp(2.5rem, 9vw, 5rem); margin-bottom: 12px; }

.process-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 440px;
}

.process-steps { display: flex; flex-direction: column; }

.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1.5px solid var(--border);
  transition: var(--transition);
}
.process-step:last-child { border-bottom: none; }
.process-step:hover .step-content { transform: translateX(6px); }

.step-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.step-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: var(--bg);
  transition: var(--transition);
  flex-shrink: 0;
}
.process-step:hover .step-dot { background: var(--teal); }

.step-connector {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: 4px;
}
.process-step:last-child .step-connector { display: none; }

.step-content { transition: transform var(--transition); }

.step-num {
  font-family: var(--font-title);
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.step-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== WHY US â€” always dark strip ===== */
#por-que {
  background: #0c0c0c;
  color: #f0f0f0;
}

.why-title {
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  color: #f0f0f0;
  margin-bottom: 12px;
}
.why-title .accent-red  { color: var(--red); }
.why-title .accent-teal { color: var(--teal); }

.why-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.42);
  max-width: 400px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.why-question {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 5vw, 2.4rem);
  color: rgba(255, 255, 255, 0.10);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.why-question span        { color: rgba(255, 255, 255, 0.38); display: block; }
.why-question .q-answer   { color: var(--teal); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.why-card {
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-15deg);
  transition: left var(--transition-slow);
}
.why-card:hover::before { left: 160%; }

.why-card.card-red:hover  { border-color: rgba(211,20,81,0.40);  background: rgba(211,20,81,0.04); transform: translateY(-2px); }
.why-card.card-teal:hover { border-color: rgba(41,156,184,0.40); background: rgba(41,156,184,0.04); transform: translateY(-2px); }

.why-card-icon {
  width: 42px; height: 42px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}
.why-card-icon-red  { border: 1.5px solid rgba(211,20,81,0.30);  background: rgba(211,20,81,0.08); }
.why-card-icon-teal { border: 1.5px solid rgba(41,156,184,0.30); background: rgba(41,156,184,0.08); }
.why-card-icon-red  .icon { stroke: var(--red); }
.why-card-icon-teal .icon { stroke: var(--teal); }
.why-card:hover .why-card-icon-red  { background: var(--red);  border-color: var(--red); }
.why-card:hover .why-card-icon-teal { background: var(--teal); border-color: var(--teal); }
.why-card:hover .icon { stroke: #fff; }

.why-card-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: #f0f0f0;
}
.why-card-text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.75;
}

.why-cta { text-align: center; }

/* â”€â”€ Why responsive â”€â”€ */
@media (min-width: 768px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== CONTACT ===== */
#contacto { background: var(--bg-alt); }

.contact-title { font-size: clamp(2.4rem, 9vw, 5rem); margin-bottom: 12px; }

.contact-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 400px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--teal); transform: translateX(4px); }
.contact-item:hover .icon { stroke: var(--teal); }

.contact-item-icon {
  width: 36px; height: 36px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.contact-item-value { font-size: 0.85rem; font-weight: 500; color: var(--text); }

.cta-tip-box {
  padding: 24px;
  background: #0c0c0c;
  border-radius: var(--r-lg);
  border: 1.5px solid rgba(41, 156, 184, 0.20);
}
.cta-tip-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.30);
  margin-bottom: 12px;
}
.cta-tip-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 0.82rem;
  background: var(--bg-alt);
  color: var(--text);
  transition: var(--transition);
  appearance: none;
  outline: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--teal);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-row textarea { resize: vertical; min-height: 100px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  accent-color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-check label { font-size: 0.72rem; color: var(--text-muted); line-height: 1.6; }
.form-check a { color: var(--teal); }

/* Form success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  gap: 16px;
}
.success-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon .icon { stroke: #fff; width: 26px; height: 26px; }
.success-title { font-family: var(--font-title); font-size: 1.6rem; color: var(--text); }
.success-sub   { font-size: 0.82rem; color: var(--text-muted); }

/* â”€â”€ Contact responsive â”€â”€ */
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; align-items: start; }
}

/* ===== FOOTER ===== */
footer {
  background: #080808;
  color: #f0f0f0;
  padding: 48px 20px 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 24px;
}

.footer-brand { max-width: 280px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.footer-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.32); line-height: 1.7; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links-title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 6px;
}

.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.50); transition: color var(--transition); }
.footer-links a:hover { color: var(--teal); }

.footer-bottom { display: flex; flex-direction: column; gap: 12px; }

.footer-copy { font-size: 0.65rem; color: rgba(255,255,255,0.18); }

.footer-social { display: flex; gap: 12px; }

.social-link {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link .icon { stroke: rgba(255,255,255,0.40); }
.social-link:hover { transform: translateY(-2px); }
.social-link-ig:hover   { background: var(--red);  border-color: var(--red); }
.social-link-yt:hover   { background: #ff0000; border-color: #ff0000; }
.social-link-tt:hover   { background: var(--teal); border-color: var(--teal); }
.social-link:hover .icon { stroke: #fff; }

/* â”€â”€ Footer responsive â”€â”€ */
@media (min-width: 768px) { .footer-top { flex-direction: row; flex-wrap: wrap; } }

/* ===== FLOATING CTA ===== */
#floating-cta {
  position: fixed;
  bottom: 24px; right: 20px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
}
#floating-cta.show { opacity: 1; transform: translateY(0); pointer-events: all; }

.fcta-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 32px var(--teal-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fcta-btn .icon { stroke: #fff; }
.fcta-btn:hover { background: var(--teal-hover); transform: translateY(-2px); }

/* ===== UTILITIES ===== */
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.10s; }
.delay-3 { transition-delay: 0.15s; }
.delay-4 { transition-delay: 0.20s; }
.delay-5 { transition-delay: 0.25s; }

.mt-sm   { margin-top: 8px; }
.mt-md   { margin-top: 24px; }
.mt-lg   { margin-top: 48px; }

.section-tag-inline { display: inline-flex; margin-bottom: 16px; }


/* ===== PORTFOLIO ===== */
#portafolio { background: var(--bg); }

.portfolio-header { margin-bottom: 48px; }

.portfolio-title { font-size: clamp(2.5rem, 9vw, 5rem); margin-bottom: 12px; }

.portfolio-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 12px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

/* Mirage shimmer */
.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--mirage), transparent);
  transform: skewX(-15deg);
  transition: left var(--transition-slow);
  z-index: 1;
}
.portfolio-card:hover::before { left: 160%; }
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px var(--shadow-card);
  border-color: var(--teal);
}

/* Image / placeholder area */
.portfolio-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.portfolio-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.05); }

.portfolio-placeholder {
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-placeholder .icon {
  width: 40px; height: 40px;
  stroke: var(--teal);
  opacity: 0.4;
}

.portfolio-card-body {
  padding: 24px 24px 16px;
  flex: 1;
}

.portfolio-cat {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.portfolio-card-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.portfolio-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.portfolio-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.portfolio-card-footer {
  padding: 16px 24px 20px;
  border-top: 1.5px solid var(--border);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  cursor: pointer;
  transition: gap var(--transition);
}
.portfolio-card:hover .portfolio-link { gap: 10px; }
.portfolio-link .icon { stroke: var(--teal); }

/* â”€â”€ Portfolio responsive â”€â”€ */
@media (min-width: 640px)  { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

@keyframes float1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(-20px, 30px) scale(1.1); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(20px, -20px); }
}

@keyframes beltScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ===== HERO INNER LAYOUT ===== */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text {
  flex: 1;
  min-width: 0;
  max-width: 600px;
}

/* ── Floating CTA: solo icono en móvil ── */
@media (max-width: 767px) {
  .fcta-text { display: none; }
  .fcta-btn  { padding: 14px; border-radius: 50%; }
}
