/* ==========================================
   EZEQUIEL MARTÍNEZ · ELECTRICISTA
   Modern Minimalist Landing Page
   ========================================== */

:root {
  --bg:        #070d1a;
  --bg-2:      #0e1729;
  --surface:   #111c2e;
  --border:    rgba(255,255,255,0.07);
  --accent:    #ff8000;      /* electric orange */
  --accent-2:  #1a56db;      /* blue */
  --text:      #f1f5f9;
  --muted:     #64748b;
  --muted-2:   #94a3b8;
  --radius:    16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ── UTILITY ── */
.accent { color: var(--accent); }
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--accent);
  color: #050c15;
}
.btn--primary:hover {
  background: #ff9933;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,128,0,0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn--sm {
  padding: 9px 20px;
  font-size: 0.875rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
}
.btn--sm:hover {
  background: #ff9933;
  transform: translateY(-1px);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7,13,26,0.85);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo-img {
  height: 52px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-2);
  transition: color var(--transition);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-2);
  border-bottom: 1px solid var(--border);
}
.nav__mobile-link.accent { color: var(--accent); border: none; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,128,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,128,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,86,219,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,128,0,0.1);
  border: 1px solid rgba(255,128,0,0.25);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero__name {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--muted-2);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Badge */
.hero__badge {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px; height: 130px;
}
.badge__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,128,0,0.3);
  animation: spin 12s linear infinite;
  background: conic-gradient(from 0deg, transparent 70%, rgba(255,128,0,0.5) 100%);
}
.badge__inner {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 104px; height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}
.badge__icon { font-size: 1.6rem; }
.badge__text {
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted-2);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── SECTIONS ── */
.section {
  padding: 100px 0;
}
.section--dark {
  background: var(--bg-2);
}
.section__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 56px;
}

/* ── SERVICES GRID ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,128,0,0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(255,128,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 56px; height: 56px;
  background: rgba(255,128,0,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  transition: var(--transition);
}
.service-card:hover .service-card__icon {
  background: rgba(255,128,0,0.18);
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--muted-2);
  line-height: 1.65;
}

/* ── WHY SECTION ── */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why__desc {
  color: var(--muted-2);
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.75;
}
.why__features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  min-width: 28px;
  padding-top: 3px;
}
.feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.feature p {
  font-size: 0.875rem;
  color: var(--muted-2);
  line-height: 1.6;
}

/* ── CONTACT ── */
.contact__sub {
  color: var(--muted-2);
  margin-bottom: 48px;
  font-size: 1.05rem;
  max-width: 480px;
}
.contact__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  flex: 1;
  min-width: 240px;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: rgba(255,128,0,0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.contact-card__icon {
  color: var(--accent);
  flex-shrink: 0;
}
.contact-card__label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-card__value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero__badge { display: none; }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .hero { padding-top: 100px; }
  .hero__name { font-size: 3.4rem; }
  .section { padding: 72px 0; }
  .section__title { margin-bottom: 36px; }
  .contact__cards { flex-direction: column; }
  .contact-card { min-width: unset; }
}
