:root {
  --bg: #031112;
  --bg-2: #071a1c;
  --surface: rgba(8, 31, 32, 0.76);
  --surface-solid: #0a2021;
  --surface-soft: #123638;
  --text: #f2fffb;
  --muted: #a9c5bd;
  --muted-2: #71948d;
  --line: rgba(155, 226, 203, 0.16);
  --line-strong: rgba(155, 226, 203, 0.30);
  --brand: #50cba2;
  --brand-light: #9be2cb;
  --brand-deep: #267c87;
  --brand-dark: #186e6a;
  --brand-soft: rgba(80, 203, 162, 0.14);
  --cyan: var(--brand);
  --blue: var(--brand-deep);
  --lime: var(--brand-light);
  --violet: #3fb79d;
  --green: var(--brand);
  --steel: #96b8af;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(80, 203, 162, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(38, 124, 135, 0.12), transparent 26rem),
    linear-gradient(180deg, #031011 0%, #071a1c 52%, #030908 100%);
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(155,226,203,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,226,203,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), transparent 85%);
  z-index: -1;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

code {
  color: var(--cyan);
  background: rgba(80, 203, 162, 0.10);
  border: 1px solid rgba(80, 203, 162, 0.18);
  padding: 0.08rem 0.35rem;
  border-radius: 8px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--cyan);
  color: #01131d;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 14, 24, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 0 28px rgba(80, 203, 162, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a,
.nav-dropdown > button {
  border: 0;
  color: var(--muted);
  background: transparent;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav > a:hover,
.main-nav > a.is-active,
.nav-dropdown > button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav .nav-cta {
  margin-left: 8px;
  color: #031312;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  font-weight: 800;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.is-active {
  color: #031312;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  filter: brightness(1.05);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 330px;
  background: rgba(6, 20, 33, 0.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 180ms ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.is-open .dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-panel a {
  display: block;
  color: var(--muted);
  padding: 11px 12px;
  border-radius: 14px;
}

.dropdown-panel a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  margin: 5px 0;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  min-height: 780px;
  display: grid;
  align-items: end;
  padding: 138px 0 80px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 10, 17, 0.94) 0%, rgba(3, 10, 17, 0.72) 32%, rgba(3, 10, 17, 0.32) 70%, rgba(3, 10, 17, 0.66) 100%),
    linear-gradient(180deg, rgba(3, 10, 17, 0.12), var(--bg) 98%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  gap: 48px;
  align-items: end;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

h1 span {
  color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 660px;
  color: #d7eee7;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn-primary {
  color: #031312;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 14px 40px rgba(80, 203, 162, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.07);
  border-color: var(--line-strong);
}

.hero-card,
.contact-summary,
.detail-panel,
.value-card,
.process-card,
.metric-card,
.cta-card,
.contact-form,
.contact-panel {
  background: linear-gradient(180deg, rgba(11, 33, 52, 0.82), rgba(8, 24, 39, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: 26px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d6fff1;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.live-chip span {
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 999px;
  box-shadow: 0 0 22px var(--lime);
}

.hero-card h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.hero-card p,
.text-stack p,
.card-body p,
.process-card p,
.value-card p,
.contact-panel p,
.contact-summary p,
.footer p,
.project-card p {
  color: var(--muted);
}

.signal-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.signal-grid span {
  color: var(--muted);
}

.signal-grid strong {
  color: var(--text);
}

.section {
  padding: 96px 0;
}

.metric-section {
  padding: 28px 0 64px;
}

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

.metric-card {
  padding: 22px;
}

.metric-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: var(--text);
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 62px;
  align-items: center;
}

.text-stack {
  max-width: 740px;
}

.text-stack p {
  font-size: 1.08rem;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.filter-shell {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px;
}

.filter-shell label {
  color: var(--muted);
  white-space: nowrap;
  padding-left: 8px;
}

.filter-shell input {
  width: 100%;
  background: rgba(255,255,255,0.055);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
}

.filter-shell input:focus {
  border-color: rgba(80, 203, 162, 0.58);
  box-shadow: 0 0 0 4px rgba(80, 203, 162, 0.10);
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(9, 25, 41, 0.72);
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(80, 203, 162, 0.34);
  background: rgba(12, 34, 54, 0.82);
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.service-card:hover .card-media img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 12, 20, 0.88));
}

.card-accent {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  color: #031312;
  font-weight: 900;
  font-size: 0.76rem;
  background: var(--cyan);
}

.card-accent.blue { background: var(--blue); color: #eaf6ff; }
.card-accent.cyan { background: var(--cyan); }
.card-accent.lime { background: var(--lime); }
.card-accent.violet { background: var(--violet); color: #fff; }
.card-accent.green { background: var(--green); }
.card-accent.steel { background: var(--steel); }

.card-body {
  padding: 22px;
}

.card-body h3 {
  margin-bottom: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 850;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.dark-band {
  background:
    radial-gradient(circle at 80% 20%, rgba(80, 203, 162, 0.13), transparent 34rem),
    linear-gradient(180deg, rgba(8, 25, 41, 0.72), rgba(4, 12, 20, 0.86));
  border-block: 1px solid var(--line);
}

.showcase-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.feature-list strong {
  color: var(--text);
}

.feature-list span {
  color: var(--muted);
}

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

.process-card,
.value-card {
  padding: 24px;
}

.process-card span,
.value-card span,
.timeline-item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(80, 203, 162, 0.10);
  border: 1px solid rgba(80, 203, 162, 0.22);
  font-weight: 900;
}

.cta-section {
  padding-top: 40px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(26px, 4vw, 48px);
}

.cta-card h2 {
  max-width: 760px;
}

.cta-card p:not(.eyebrow) {
  color: var(--muted);
  max-width: 720px;
}

.page-hero {
  padding: 150px 0 70px;
  background:
    radial-gradient(circle at 82% 12%, rgba(80, 203, 162, 0.14), transparent 32rem),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
}

.breadcrumb:hover {
  color: var(--cyan);
}

.service-hero-media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-hero-media img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.service-detail-band {
  background: rgba(255,255,255,0.025);
  border-block: 1px solid var(--line);
}

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

.detail-panel {
  padding: 30px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--lime) 0 32%, transparent 34%),
    rgba(155, 226, 203, 0.16);
  border: 1px solid rgba(155, 226, 203, 0.44);
}

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

.timeline-item {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(9, 25, 41, 0.68);
}

.timeline-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.small-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card.compact .card-media {
  aspect-ratio: 1.8 / 1;
}

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

.project-card {
  display: grid;
  grid-template-columns: 0.94fr 1fr;
  gap: 22px;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(9, 25, 41, 0.72);
  border: 1px solid var(--line);
}

.project-card img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}

.contact-form {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: #dcebf5;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  color: var(--text);
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  outline: none;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(80, 203, 162, 0.58);
  box-shadow: 0 0 0 4px rgba(80, 203, 162, 0.10);
}

.form-status {
  margin: 0;
  color: var(--muted);
  min-height: 1.4em;
}

.form-status.ok {
  color: var(--lime);
}

.form-status.error {
  color: #ff9b9b;
}

.contact-panel {
  overflow: hidden;
}

.contact-panel img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.contact-panel > div,
.contact-summary {
  padding: 28px;
}

.footer {
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
  background: #020807;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 30px;
}

.footer h3 {
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer a,
.footer p,
.footer-bottom {
  color: var(--muted);
}

.footer a:hover {
  color: var(--text);
}

.footer-brand {
  align-items: flex-start;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 150ms; }
.delay-3 { transition-delay: 220ms; }

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 78px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5, 18, 31, 0.96);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a,
  .nav-dropdown > button {
    width: 100%;
    text-align: left;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-panel {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    width: 100%;
    margin-top: 6px;
    background: rgba(255,255,255,0.045);
    box-shadow: none;
  }

  .nav-dropdown.is-open .dropdown-panel {
    display: block;
  }

  .hero-home {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-layout,
  .split-grid,
  .service-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .process-grid,
  .values-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .detail-columns,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    inset-top: 68px;
  }

  h1 {
    font-size: clamp(2.9rem, 17vw, 4.8rem);
  }

  .section {
    padding: 70px 0;
  }

  .hero-home,
  .page-hero {
    padding-top: 108px;
  }

  .hero-actions,
  .cta-card,
  .filter-shell,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .metric-grid,
  .services-grid,
  .small-grid,
  .process-grid,
  .values-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .feature-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .showcase-image img {
    min-height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* Marca de agua visual para entregar el sitio como producto final de Digital Solution. */
[data-watermark] {
  position: relative;
}

[data-watermark]::before {
  content: attr(data-watermark);
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  pointer-events: none;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 12, 22, 0.48);
  color: rgba(244, 251, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero-layout {
  z-index: 2;
}

.hero-home::after {
  content: "Digital Solution";
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: clamp(18px, 4vw, 54px);
  z-index: 1;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  font-size: clamp(1.2rem, 4vw, 3.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-bg[data-watermark]::before {
  display: none;
}

@media (max-width: 640px) {
  [data-watermark]::before {
    top: 10px;
    right: 10px;
    font-size: 0.58rem;
  }

  .hero-home::after {
    display: none;
  }
}

/* Ajuste visual del hero: evita que la primera pantalla quede vacía arriba. */
.site-header {
  background: rgba(4, 14, 24, 0.78);
  border-bottom-color: rgba(179, 220, 255, 0.10);
  backdrop-filter: blur(18px);
}

.hero-home {
  min-height: calc(100svh - 78px);
  align-items: center;
  padding: clamp(72px, 10vh, 118px) 0 clamp(58px, 8vh, 86px);
}

.hero-bg img {
  object-position: center center;
  filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 42%, rgba(80, 203, 162, 0.15), transparent 26rem),
    linear-gradient(90deg, rgba(3, 10, 17, 0.92) 0%, rgba(3, 10, 17, 0.76) 34%, rgba(3, 10, 17, 0.40) 68%, rgba(3, 10, 17, 0.70) 100%),
    linear-gradient(180deg, rgba(3, 10, 17, 0.24) 0%, rgba(3, 10, 17, 0.10) 48%, var(--bg) 100%);
}

.hero-layout {
  align-items: center;
  padding-top: 12px;
}

.hero-copy.reveal,
.hero-card.reveal {
  opacity: 1;
  transform: none;
}

.hero-card {
  margin-top: 0;
}

@media (max-width: 980px) {
  .hero-home {
    min-height: auto;
    align-items: start;
    padding: 72px 0 58px;
  }

  .hero-layout {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .hero-home {
    padding: 54px 0 44px;
  }
}


/* =========================================================
   FIX DEFINITIVO HERO HOME
   Evita que aparezca una imagen completa antes del contenido.
   La imagen queda como fondo real del hero y el mensaje principal
   entra en la primera pantalla.
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(4, 14, 24, 0.88);
  border-bottom: 1px solid rgba(179, 220, 255, 0.14);
  backdrop-filter: blur(18px);
}

main {
  padding-top: 78px;
}

.hero-home {
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  padding: 0;
  isolation: isolate;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.04);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 22% 42%, rgba(80, 203, 162, 0.22), transparent 26rem),
    linear-gradient(90deg, rgba(3, 10, 17, 0.96) 0%, rgba(3, 10, 17, 0.84) 34%, rgba(3, 10, 17, 0.54) 68%, rgba(3, 10, 17, 0.80) 100%),
    linear-gradient(180deg, rgba(3, 10, 17, 0.20) 0%, rgba(3, 10, 17, 0.12) 46%, var(--bg) 100%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(54px, 7vh, 88px) 0 clamp(48px, 6vh, 78px);
}

.hero-copy {
  max-width: 780px;
  opacity: 1 !important;
  transform: none !important;
}

.hero-home h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.35rem, 6.4vw, 6.45rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero-lead {
  max-width: 650px;
  color: #d7e7f1;
}

.hero-card {
  align-self: center;
  margin-top: 0;
  opacity: 1 !important;
  transform: none !important;
}

.hero-home::after {
  display: none;
}

@media (min-width: 1440px) {
  .hero-layout {
    padding-top: clamp(48px, 6vh, 76px);
  }
}

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 28px;
  }

  .hero-card {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  main {
    padding-top: 68px;
  }

  .nav-shell {
    min-height: 68px;
  }

  .hero-home {
    min-height: calc(100svh - 68px);
  }

  .hero-layout {
    min-height: calc(100svh - 68px);
    padding: 34px 0 44px;
  }

  .hero-home h1 {
    font-size: clamp(2.85rem, 14vw, 4.65rem);
    line-height: 0.94;
    letter-spacing: -0.065em;
  }

  .hero-lead {
    font-size: 1.02rem;
  }
}


/* ================================
   Identidad institucional Digital Solution
   Logo oficial + paleta verde/teal tomada del archivo entregado.
   ================================ */
.brand {
  min-width: clamp(180px, 18vw, 260px);
  gap: 0;
}

.brand .brand-logo {
  width: clamp(188px, 16vw, 244px);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(80, 203, 162, 0.18));
}

.footer-brand {
  align-items: flex-start;
}

.footer-brand .footer-logo {
  width: min(260px, 100%);
  height: auto;
}

.footer-brand-text {
  margin: 16px 0 0;
  max-width: 330px;
}

.site-header {
  background: rgba(3, 15, 16, 0.82);
  border-bottom-color: rgba(155, 226, 203, 0.14);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(3, 15, 16, 0.90);
  border-color: rgba(155, 226, 203, 0.18);
}

.main-nav > a:hover,
.main-nav > a.is-active,
.nav-dropdown > button:hover {
  color: var(--text);
  background: rgba(80, 203, 162, 0.10);
}

.main-nav .nav-cta,
.main-nav .nav-cta:hover,
.main-nav .nav-cta.is-active,
.btn-primary {
  color: #031312;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  box-shadow: 0 16px 44px rgba(80, 203, 162, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 20px 54px rgba(80, 203, 162, 0.30);
}

.dropdown-panel,
.main-nav {
  border-color: rgba(155, 226, 203, 0.16);
}

.eyebrow,
.text-link,
.breadcrumb:hover {
  color: var(--brand);
}

h1 span {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-card,
.contact-summary,
.detail-panel,
.value-card,
.process-card,
.metric-card,
.cta-card,
.contact-form,
.contact-panel {
  background: linear-gradient(180deg, rgba(12, 42, 41, 0.86), rgba(7, 25, 25, 0.76));
  border-color: rgba(155, 226, 203, 0.16);
}

.service-card,
.project-card,
.timeline-item {
  background: rgba(7, 27, 28, 0.74);
  border-color: rgba(155, 226, 203, 0.15);
}

.service-card:hover {
  border-color: rgba(80, 203, 162, 0.40);
  background: rgba(10, 39, 39, 0.86);
}

.card-accent,
.card-accent.blue,
.card-accent.cyan,
.card-accent.lime,
.card-accent.violet,
.card-accent.green,
.card-accent.steel {
  color: #031312;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
}

.filter-shell input:focus,
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(80, 203, 162, 0.58);
  box-shadow: 0 0 0 4px rgba(80, 203, 162, 0.10);
}

.dark-band,
.page-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(80, 203, 162, 0.13), transparent 34rem),
    linear-gradient(180deg, rgba(7, 27, 28, 0.72), rgba(3, 12, 12, 0.88));
  border-color: rgba(155, 226, 203, 0.16);
}

.live-chip span,
.check-list li::before {
  background:
    radial-gradient(circle at center, var(--brand-light) 0 32%, transparent 34%),
    rgba(155, 226, 203, 0.16);
  border-color: rgba(155, 226, 203, 0.44);
  box-shadow: 0 0 22px rgba(155, 226, 203, 0.28);
}

.process-card span,
.value-card span,
.timeline-item span {
  color: var(--brand-light);
  background: rgba(80, 203, 162, 0.11);
  border-color: rgba(80, 203, 162, 0.22);
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 42%, rgba(80, 203, 162, 0.15), transparent 26rem),
    linear-gradient(90deg, rgba(3, 10, 10, 0.92) 0%, rgba(3, 10, 10, 0.76) 34%, rgba(3, 10, 10, 0.40) 68%, rgba(3, 10, 10, 0.70) 100%),
    linear-gradient(180deg, rgba(3, 10, 10, 0.24) 0%, rgba(3, 10, 10, 0.10) 48%, var(--bg) 100%);
}

/* Marca de agua con el logo oficial, no texto genérico. */
[data-watermark]::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  pointer-events: none;
  width: 148px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(155, 226, 203, 0.22);
  border-radius: 999px;
  background-color: rgba(3, 13, 13, 0.54);
  background-image: url("../img/logo-digital-solution.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 118px auto;
  backdrop-filter: blur(12px);
}

.card-media[data-watermark]::before {
  width: 116px;
  height: 40px;
  background-size: 92px auto;
}

.hero-bg[data-watermark]::before {
  display: none;
}

.hero-home::after {
  content: "";
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: clamp(18px, 4vw, 54px);
  z-index: 1;
  pointer-events: none;
  width: clamp(180px, 18vw, 320px);
  aspect-ratio: 1024 / 357;
  background-image: url("../img/logo-digital-solution.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.13;
  filter: saturate(1.1);
}

@media (max-width: 980px) {
  .brand .brand-logo {
    width: 190px;
  }

  .main-nav {
    background: rgba(3, 15, 16, 0.96);
  }
}

@media (max-width: 640px) {
  .brand .brand-logo {
    width: 168px;
  }

  .main-nav {
    inset: 68px 14px auto 14px;
  }

  [data-watermark]::before {
    width: 104px;
    height: 36px;
    background-size: 82px auto;
  }

  .hero-home::after {
    display: none;
  }
}
