/* =============================================
   TU AMIGO DIGITAL — Diseño Apple Style
   ============================================= */

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

:root {
  --blue:    #0071e3;
  --blue-dk: #0051a2;
  --text:    #1d1d1f;
  --muted:   #6e6e73;
  --border:  #d2d2d7;
  --gray:    #f5f5f7;
  --radius:  18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 44px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 5px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-dk); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 80px 24px 64px;
  border-bottom: 1px solid #f0f0f2;
  background: #fff;
}
.hero-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.03;
  color: var(--text);
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: var(--blue);
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-dk); }
.btn-link {
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.btn-link::after { content: ' ›'; }
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #f0f0f2;
  padding-top: 32px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── SECTIONS ── */
.section { padding: 80px 24px; }
.section-gray { background: var(--gray); }
.container { max-width: 980px; margin: 0 auto; }
.section-tag {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.07;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 48px;
}

/* ── SERVICES — iOS rows ── */
.services-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.service-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.service-row:last-child { border-bottom: none; }
.service-row:hover { background: #fafafa; }
.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.service-icon-light { background: var(--gray); }
.service-icon-blue  { background: var(--blue); }
.service-icon-dark  { background: #1d1d1f; }
.service-text { flex: 1; }
.service-text h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.service-text p  { font-size: 14px; color: var(--muted); line-height: 1.5; }
.service-arrow { color: #c7c7cc; font-size: 22px; flex-shrink: 0; }

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.step { text-align: center; }
.step-num {
  font-size: 52px;
  font-weight: 800;
  color: #e0e0e5;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}
.step-emoji { font-size: 32px; margin-bottom: 12px; }
.step h3 { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── BENEFITS ── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.benefit {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.benefit-icon { font-size: 28px; margin-bottom: 12px; }
.benefit h4 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.benefit p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CLIENT ── */
.client-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
  margin-top: 48px;
}
.client-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.client-logo-icon {
  width: 56px;
  height: 56px;
  background: #1d1d1f;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.client-name { font-size: 17px; font-weight: 700; color: var(--text); }
.client-url  { font-size: 13px; color: var(--blue); }
.client-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.client-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  background: var(--gray);
  color: var(--text);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.client-link { color: var(--blue); font-size: 14px; font-weight: 500; text-decoration: none; }

/* ── APPS ── */
.apps-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.app-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.app-row:last-child { border-bottom: none; }
.app-row:not(.app-row--coming):hover { background: #fafafa; cursor: pointer; }
.app-row--coming { opacity: 0.6; cursor: default; }
.app-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(145deg, #0071e3, #34aadc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,113,227,0.3);
}
.app-icon-wrap--dark {
  background: linear-gradient(145deg, #2c2c2e, #48484a);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.app-icon-emoji { font-size: 28px; }
.app-text { flex: 1; }
.app-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-desc { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.app-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.app-tag {
  background: #f0f4ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.coming-badge {
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
}
.app-arrow { font-size: 22px; color: #c7c7cc; flex-shrink: 0; }

/* ── BARBERDECK SECTION ── */
.bd-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.bd-card {
  background: #0a0a0a;
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bd-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(245,158,11,0.15);
}
.bd-num {
  font-size: 56px;
  font-weight: 900;
  color: rgba(245,158,11,0.18);
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 16px;
}
.bd-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f5f5f7;
  margin-bottom: 12px;
  line-height: 1.3;
}
.bd-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.65;
  margin-bottom: 16px;
}
.bd-accent {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #F59E0B;
}
.bd-price-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.bd-price-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.bd-price-amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text);
}
.bd-price-period {
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}
.bd-price-text {
  flex: 1;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  min-width: 180px;
}
@media (max-width: 768px) {
  .bd-cards { grid-template-columns: 1fr; }
  .bd-price-row { flex-direction: column; text-align: center; }
  .bd-price-text { min-width: unset; }
}

/* ── CTA SECTION ── */
.cta-section {
  background: #000;
  padding: 100px 24px;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  color: #f5f5f7;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px;
  color: #888;
  margin-bottom: 40px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.btn-white {
  background: #fff;
  color: var(--text);
  padding: 13px 26px;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-white {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.btn-outline-white::after { content: ' ›'; }

/* ── FOOTER ── */
.footer {
  background: var(--gray);
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
}
.footer-logo { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-col h5 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-col ul a:hover { color: var(--blue); }
.footer-bottom {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 12px; color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── VIDEO SECTION ── */
.video-section {
  background: linear-gradient(160deg, #000 0%, #0a0a1a 100%);
  padding: 80px 0;
  text-align: center;
}
.video-section .section-tag--light {
  color: #2997ff;
  background: rgba(0,113,227,0.15);
  border: none;
}
.video-section .section-title--light {
  color: #f5f5f7;
}
.video-wrap {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.video-player {
  width: 100%;
  display: block;
  border-radius: 20px;
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 44px;
    left: 0; right: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero h1 { letter-spacing: -2px; }
  .hero-ctas { flex-direction: column; }
  .hero-stats { gap: 16px; }
  .service-row { padding: 18px 20px; }
  .app-row { padding: 18px 20px; }
  .client-card { padding: 24px; }
  .cta-btns { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
}
