:root {
  color-scheme: light;
  color: #111111;
  background: #ffffff;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

body {
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.02), transparent 22%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.015), transparent 18%);
  pointer-events: none;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 72px;
  display: grid;
  gap: 44px;
  position: relative;
  z-index: 1;
  background: transparent;
}

.hero-shell {
  position: relative;
  display: grid;
  gap: 36px;
  padding-bottom: 28px;
  min-height: 100vh;
  align-content: start;
  padding-top: 12px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(120, 210, 255, 0.5), transparent 48%),
    radial-gradient(circle at 78% 16%, rgba(120, 255, 210, 0.45), transparent 52%),
    radial-gradient(circle at 70% 72%, rgba(170, 120, 255, 0.4), transparent 48%),
    radial-gradient(circle at 22% 82%, rgba(90, 255, 190, 0.38), transparent 48%),
    linear-gradient(140deg, rgba(10, 20, 30, 0.28), rgba(245, 250, 255, 0.9));
}

.hero-shell::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.86) 58%, rgba(255, 255, 255, 0.96) 100%);
}

.hero-shell > * {
  position: relative;
  z-index: 1;
}


.topbar {
  position: sticky;
  top: 4px;
  z-index: 20;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(28px);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.05);
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  white-space: nowrap;
}

.nav-links a {
  color: #111111;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 150ms ease, transform 150ms ease;
}

.nav-links a:hover {
  color: #000000;
  transform: translateY(-1px);
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111111;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: #111111;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 150ms ease, transform 150ms ease;
}

.nav-links a:hover {
  color: #000000;
  transform: translateY(-1px);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  min-height: 0;
  padding: 64px 72px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  box-shadow: 0 45px 90px rgba(17, 17, 17, 0.06);
  backdrop-filter: blur(8px);
}

.hero-copy {
  max-width: 620px;
}

#nosotros {
  scroll-margin-top: 120px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: rgba(17, 17, 17, 0.65);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 4.2vw, 4.8rem);
  line-height: 0.96;
  max-width: 12ch;
}

.hero-copy p,
.feature-card p,
.contact-panel p,
.hero-card p {
  margin: 0;
  color: #444444;
  font-size: 1.05rem;
  max-width: 50rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  font-weight: 600;
}

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

.btn-primary {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.1);
}

.btn-secondary {
  background: transparent;
  color: #111111;
  border: 1px solid rgba(17, 17, 17, 0.16);
}

.hero-card {
  display: flex;
  justify-content: flex-end;
}

.glass-card {
  width: min(100%, 420px);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 32px;
  background: rgba(17, 17, 17, 0.95);
  padding: 36px;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.09);
  color: #ffffff;
}

.glass-card p {
  color: rgba(255, 255, 255, 0.78);
}

.glass-card h2 {
  margin-bottom: 18px;
  font-size: 2rem;
  color: #ffffff;
}

.card-data strong {
  font-size: 1.35rem;
  color: #ffffff;
}

.card-data span {
  color: rgba(255, 255, 255, 0.62);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
}

.glass-card h2 {
  margin-bottom: 18px;
  font-size: 2rem;
}

.card-data {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.card-data div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.card-data strong {
  font-size: 1.35rem;
}

.card-data span {
  color: rgba(255, 255, 255, 0.62);
}

.services-panel {
  display: grid;
  gap: 28px;
}

.services-heading {
  max-width: 640px;
}

.services-heading p {
  margin: 0;
  color: #444444;
}

.services-carousel {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  perspective: 1000px;
}

.services-carousel::-webkit-scrollbar {
  height: 8px;
}

.services-carousel::-webkit-scrollbar-track {
  background: rgba(17, 17, 17, 0.08);
  border-radius: 999px;
}

.services-carousel::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.3);
  border-radius: 999px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 28px;
  padding: 32px;
  min-height: 240px;
}

.service-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 240px;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.08);
  padding: 26px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  color: #111111;
  scroll-snap-align: center;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.95));
}

.service-card-deco {
  display: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(17, 17, 17, 0.12);
  border-color: rgba(17, 17, 17, 0.12);
}

.service-card-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  z-index: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.06);
  color: #111111;
  box-shadow: none;
}

.service-icon i {
  font-size: 1.1rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: #4b4b4b;
  z-index: 1;
}

.service-card li {
  position: relative;
  padding-left: 26px;
  line-height: 1.6;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111111;
}

.about-panel {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 38px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(24px);
}

.about-panel p {
  color: #4d4d4d;
}

.about-grid {
  display: grid;
  gap: 18px;
}

.about-grid div {
  padding: 22px 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background: #f8f8f8;
}

.about-grid strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.feature-card h3 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 38px 42px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.contact-panel h2 {
  font-size: clamp(2rem, 2.7vw, 2.8rem);
  margin-top: 10px;
}

.footer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
  gap: 24px;
  align-items: start;
  padding: 32px 36px;
  border-radius: 32px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-panel p,
.footer-panel a {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.footer-panel a {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: color 150ms ease;
}

.footer-panel a:hover {
  color: #aaddff;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-copy p:last-child {
  margin-top: 10px;
  color: rgba(68, 68, 68, 0.8);
}

@media (max-width: 960px) {
  .page-shell {
    padding: 48px 20px 72px;
  }

  .topbar {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: 52px 48px;
  }

  .hero-card {
    justify-content: center;
  }

  .about-panel {
    grid-template-columns: 1fr;
  }

  .footer-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 780px) {
  .hero-shell {
    gap: 24px;
  }

  .hero-panel {
    padding: 44px 32px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .services-carousel {
    gap: 18px;
    padding-bottom: 16px;
  }

  .service-card {
    flex-basis: 220px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 10vw, 3.4rem);
  }
}

@media (max-width: 520px) {
  .hero-shell {
    padding-top: 8px;
  }

  .topbar {
    padding: 14px 16px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    font-size: 0.9rem;
  }

  .hero-panel {
    padding: 36px 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9.5vw, 3rem);
  }
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float i {
  font-size: 28px;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.22);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.whatsapp-float span {
  display: none;
}

@media (max-width: 780px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 60px;
    height: 60px;
  }

  .whatsapp-float i {
    font-size: 24px;
  }
}
