:root {
  color-scheme: light;
  --page: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --ink: #101828;
  --muted: #5e6b7a;
  --line: #d9e2ea;
  --blue: #1268f3;
  --blue-dark: #0a3f9c;
  --orange: #ff7a1a;
  --green: #18b875;
  --dark: #0b1624;
  --shadow: 0 24px 70px rgba(13, 31, 52, 0.12);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(18, 104, 243, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, var(--page) 38%, #ffffff 100%);
  background-size: 64px 64px, auto;
  color: var(--ink);
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  display: flex;
  gap: 28px;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.brand,
.main-nav,
.hero-actions,
.hero-stats,
.site-footer {
  align-items: center;
  display: flex;
}

.brand {
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 900;
}

.brand-mark {
  background: var(--dark);
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  font-weight: 900;
  height: 38px;
  place-items: center;
  text-transform: uppercase;
  width: 38px;
}

.main-nav {
  color: var(--muted);
  font-size: 0.94rem;
  gap: clamp(14px, 3vw, 34px);
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

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

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 38%, rgba(255, 255, 255, 0.3) 72%, rgba(255, 255, 255, 0.2) 100%),
    url("assets/digitalhub-hero.png") center right / cover no-repeat;
  isolation: isolate;
  min-height: 92vh;
  overflow: hidden;
  padding: 150px clamp(20px, 5vw, 64px) 76px;
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, transparent 0%, var(--page) 100%);
  bottom: 0;
  content: "";
  height: 160px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.hero-media,
.hero-overlay {
  display: none;
}

.hero-content {
  margin: 0 auto;
  max-width: var(--max);
  position: relative;
  z-index: 1;
}

.eyebrow {
  align-items: center;
  color: var(--blue);
  display: flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 10px;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--orange);
  border-radius: 999px;
  content: "";
  height: 9px;
  width: 9px;
}

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

h1 {
  color: var(--ink);
  font-size: clamp(3.5rem, 8vw, 7.4rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 24px;
  max-width: 760px;
}

h1::after {
  background: var(--orange);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 0.16em;
  margin-left: 0.06em;
  width: 0.16em;
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 0;
  max-width: 930px;
}

h3 {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.22;
  margin-bottom: 14px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.72;
  max-width: 610px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 38px;
}

.button.primary {
  background: var(--blue);
  box-shadow: 0 18px 38px rgba(18, 104, 243, 0.24);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.button.whatsapp-inline {
  background: var(--green);
  color: #ffffff;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  max-width: 650px;
  overflow: hidden;
}

.hero-stats div {
  border-right: 1px solid var(--line);
  min-width: 180px;
  padding: 18px 22px;
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  color: var(--blue);
  display: block;
  font-size: 1.72rem;
}

.hero-stats span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
}

section:not(.hero) {
  margin: 0 auto;
  max-width: var(--max);
  padding: 88px clamp(20px, 4vw, 34px);
}

.intro-section {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.section-copy,
.domain-panel p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.services-section {
  background: transparent;
}

.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
  min-height: 390px;
  padding: 28px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-color: rgba(18, 104, 243, 0.35);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
  transform: translateY(-4px);
}

.service-card.featured {
  background: var(--dark);
  border-color: var(--dark);
  color: #ffffff;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
  color: #ffffff;
}

.service-card.featured p,
.service-card.featured li {
  opacity: 0.78;
}

.service-icon {
  color: var(--orange);
  display: block;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 54px;
}

.service-card p,
.service-card li,
.timeline p {
  color: var(--muted);
  line-height: 1.65;
}

.service-card ul {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 24px 0 0;
  padding: 18px 0 0;
}

.service-card.featured ul {
  border-color: rgba(255, 255, 255, 0.18);
}

.service-card li {
  margin: 10px 0;
  padding-left: 18px;
  position: relative;
}

.service-card li::before {
  background: var(--blue);
  border-radius: 999px;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 11px;
  width: 6px;
}

.service-card.featured li::before {
  background: var(--orange);
}

.domain-panel {
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  padding: clamp(28px, 5vw, 54px);
}

.domain-list {
  display: grid;
  gap: 12px;
}

.domain-list div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.07);
  padding: 18px;
}

.domain-list span {
  color: var(--orange);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.domain-list strong {
  color: var(--ink);
  font-size: 1.04rem;
}

.timeline {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.timeline article {
  border-top: 2px solid var(--line);
  padding-top: 22px;
}

.timeline span {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 24px;
  width: 34px;
}

.contact-section {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-details a {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.07);
  display: grid;
  gap: 7px;
  padding: 18px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact-details a:hover {
  border-color: rgba(18, 104, 243, 0.38);
  transform: translateY(-2px);
}

.contact-details .whatsapp-detail {
  border-color: rgba(24, 184, 117, 0.38);
}

.contact-details span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details .whatsapp-detail span {
  color: var(--green);
}

.contact-details strong {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.35;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 900;
  gap: 8px;
}

input,
select,
textarea {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  outline: none;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 104, 243, 0.14);
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 260px;
  overflow: hidden;
}

.map-card iframe {
  border: 0;
  display: block;
  height: 100%;
  min-height: 260px;
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 30px clamp(20px, 4vw, 34px) 42px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.whatsapp-float {
  align-items: center;
  background: var(--green);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 18px 42px rgba(24, 184, 117, 0.28);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 900;
  min-height: 50px;
  padding: 0 20px;
  position: fixed;
  right: 22px;
  z-index: 25;
}

.scroll-top {
  align-items: center;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  bottom: 84px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 900;
  height: 50px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  width: 50px;
  z-index: 25;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    gap: 14px;
    height: auto;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 58%, var(--page) 100%),
      url("assets/digitalhub-hero.png") 62% center / cover no-repeat;
    min-height: 88vh;
    padding-top: 128px;
  }

  .intro-section,
  .domain-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: clamp(3.15rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
  }

  .hero-stats {
    display: grid;
  }

  .hero-stats div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-width: 100%;
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  section:not(.hero) {
    padding-bottom: 62px;
    padding-top: 62px;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 38px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 86px;
  }

  .whatsapp-float {
    bottom: 16px;
    min-height: 48px;
    right: 16px;
  }

  .scroll-top {
    bottom: 76px;
    height: 48px;
    right: 16px;
    width: 48px;
  }
}
