:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --panel: rgba(18, 18, 18, 0.94);
  --panel-2: rgba(26, 26, 26, 0.96);
  --text: #f4f4f4;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, 0.07);
  --accent: #ff5a1f;
  --accent-2: #ff7a3c;
  --accent-soft: rgba(255, 90, 31, 0.14);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  --radius: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 90, 31, 0.10), transparent 18%),
    radial-gradient(circle at left center, rgba(255, 122, 60, 0.05), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0) 140px),
    #0a0a0a;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(8, 8, 8, 0.84);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 100px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav a {
  color: #ececec;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: rgba(255,255,255,0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 90, 31, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(255, 90, 31, 0.34);
}

.btn-secondary {
  background: rgba(255,255,255,0.035);
  border-color: rgba(255,255,255,0.08);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.06);
}

.hero {
  padding: 42px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-visual {
  background: linear-gradient(180deg, rgba(26,26,26,0.94), rgba(14,14,14,0.96));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 90, 31, 0.20);
  color: #ff9a70;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.03;
  margin: 0 0 18px;
  max-width: 10ch;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  color: #eaeaea;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18)),
    url("/assets/img/Fondo.png?v=2") center/cover no-repeat;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.00), rgba(0,0,0,0.34)),
    linear-gradient(90deg, rgba(0,0,0,0.10), rgba(0,0,0,0.36));
}

.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  background: rgba(12, 12, 12, 0.84);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
  max-width: 280px;
  box-shadow: var(--shadow);
}

.hero-badge strong {
  display: block;
  color: var(--accent-2);
  font-size: 1rem;
  margin-bottom: 6px;
}

.hero-badge span {
  color: #d0d0d0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.stats {
  padding: 12px 0 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  color: var(--accent-2);
  margin-bottom: 6px;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.section {
  padding: 58px 0;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-text {
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.75;
  max-width: 70ch;
}

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

.service-card {
  background: linear-gradient(180deg, rgba(24,24,24,0.95), rgba(14,14,14,0.96));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 31, 0.30);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 90, 31, 0.18);
  color: var(--accent-2);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.trust-box,
.contact-box {
  background: linear-gradient(180deg, rgba(24,24,24,0.95), rgba(14,14,14,0.96));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-box {
  padding: 32px;
}

.trust-list {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.trust-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  flex: 0 0 auto;
  font-weight: 800;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
}

.trust-item span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr;
}

.contact-content {
  padding: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.contact-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.contact-card label {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.contact-card strong,
.contact-card a {
  font-size: 1rem;
  line-height: 1.5;
}

.cta-strip {
  margin-top: 26px;
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,90,31,0.12), rgba(255,90,31,0.03)),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255, 90, 31, 0.16);
}

.cta-strip h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.cta-strip p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.88);
  margin-top: 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.94rem;
  flex-wrap: wrap;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-width: 58px;
  height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #24d366, #18b85b);
  color: white;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  border: none;
}

@media (max-width: 1100px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy,
  .hero-visual {
    min-height: auto;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
  }

  .brand {
    justify-content: center;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .nav a {
    font-size: 0.86rem;
    padding: 8px 10px;
  }

  .logo {
    height: 70px;
  }

  .hero {
    padding: 20px 0 18px;
  }

  .hero-copy,
  .contact-content,
  .trust-box {
    padding: 24px;
  }

  .services-grid,
  .stats-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 320px;
    background:
      linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18)),
      url("/assets/img/Fondo.png?v=2") center center / cover no-repeat;
  }

  .hero-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 12px 14px;
  }

  .hero-badge strong {
    font-size: 0.95rem;
  }

  .hero-badge span {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .floating-whatsapp span {
    display: none;
  }
}