:root {
  --blue:        #0000cc;
  --lime:        #ccff00;
  --cyan:        #00cccc;
  --ink:         #000000;
  --muted:       #555c68;
  --gray:        #999999;
  --surface:     #f7f9fb;
  --white:       #ffffff;
  --section-pad: 80px;
  --container:   min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
}

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

/* ── HEADER ───────────────────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: var(--container);
  margin: 0 auto;
  padding: 26px 0;
}

.brand img {
  display: block;
  width: 228px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--blue);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.15s;
}

nav a:hover {
  border-color: var(--lime);
}

/* ── TYPOGRAPHY ───────────────────────────────────── */

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Josefin Sans", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: var(--blue);
  font-size: clamp(44px, 8vw, 86px);
  font-weight: 700;
  line-height: 1;
}

h2 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
}

h3 {
  color: var(--blue);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
}

/* ── BUTTONS ──────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 0 22px;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.15s;
  cursor: pointer;
}

.button:hover {
  opacity: 0.82;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  background: var(--lime);
  color: var(--blue);
  border-color: var(--lime);
}

/* ── HERO ─────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 48px;
  align-items: center;
  width: var(--container);
  min-height: 690px;
  margin: 0 auto;
  padding: 58px 0 82px;
}

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

.hero-text {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.partner-strip img {
  display: block;
  width: auto;
  max-width: 148px;
  max-height: 34px;
  object-fit: contain;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

.logo-lockup img {
  width: 28px;
  height: 28px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 204, 0.12);
}

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

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.visual-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  width: min(300px, calc(100% - 48px));
  border-left: 4px solid var(--lime);
  border-radius: 6px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.visual-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.visual-card strong {
  display: block;
  color: var(--blue);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.25;
}

/* ── METRICS BAND ─────────────────────────────────── */

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(153, 153, 153, 0.28);
  border-bottom: 1px solid rgba(153, 153, 153, 0.28);
}

.metric {
  padding: 36px 28px;
  border-right: 1px solid rgba(153, 153, 153, 0.2);
}

.metric:last-child {
  border-right: none;
}

.metric strong {
  display: block;
  color: var(--blue);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ── SECTION BASE ─────────────────────────────────── */

.section,
.method,
.dbyte-band {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--section-pad) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 34px;
}

/* ── SERVICES ─────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(0, 0, 204, 0.18);
  border: 1px solid rgba(0, 0, 204, 0.18);
}

.services-grid article {
  min-height: 260px;
  padding: 28px 26px;
  background: var(--white);
}

.service-number {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.services-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Primer servicio destacado */
.service-featured {
  background: var(--blue) !important;
}

.service-featured .service-number {
  color: var(--lime);
}

.service-featured h3 {
  color: var(--white);
}

.service-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.service-cta {
  display: inline-block;
  margin-top: 22px;
  color: var(--lime);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(204, 255, 0, 0.45);
  padding-bottom: 2px;
}

/* ── METHOD ───────────────────────────────────────── */

.method {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  padding: var(--section-pad) 56px;
  border-radius: 8px;
  background: var(--blue);
}

.method .eyebrow,
.method h2 {
  color: var(--white);
}

.steps {
  display: grid;
  gap: 18px;
}

.steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

.steps strong {
  color: var(--lime);
  font-weight: 700;
}

/* ── FAQ ──────────────────────────────────────────── */

.faq-section {
  background: var(--surface);
  padding: var(--section-pad) 0;
  margin-top: var(--section-pad);
}

.faq-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: start;
  width: var(--container);
  margin: 0 auto;
}

.faq-heading h2 {
  margin-top: 4px;
}

.faq-list {
  display: grid;
}

details {
  border-bottom: 1px solid rgba(0, 0, 204, 0.15);
}

details:first-child {
  border-top: 1px solid rgba(0, 0, 204, 0.15);
}

summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  color: var(--blue);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  border-radius: 4px;
  line-height: 0.9;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ── DBYTE BAND ───────────────────────────────────── */

.dbyte-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: var(--section-pad) 0;
}

.dbyte-band h2 {
  color: var(--blue);
}

.dbyte-partner {
  display: grid;
  gap: 18px;
}

.dbyte-partner img {
  width: min(260px, 100%);
  height: auto;
}

.dbyte-partner p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

/* ── CONTACT ──────────────────────────────────────── */

.contact-section {
  background: var(--blue);
  padding: var(--section-pad) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
  width: var(--container);
  margin: 0 auto;
}

.contact-heading .eyebrow {
  color: var(--lime);
}

.contact-heading h2 {
  color: var(--white);
  margin-top: 4px;
}

.contact-sub {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.5;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--lime);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .button.primary {
  background: var(--lime);
  color: var(--blue);
  border-color: var(--lime);
  justify-self: start;
  min-height: 52px;
  padding: 0 28px;
}

/* ── FOOTER ───────────────────────────────────────── */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(153, 153, 153, 0.35);
  padding: 32px 0 42px;
}

.site-footer img {
  width: 170px;
  height: auto;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--blue);
  font-weight: 700;
}

/* ── RESPONSIVE: TABLET ───────────────────────────── */

@media (max-width: 920px) {
  .hero,
  .section-heading,
  .method,
  .dbyte-band,
  .faq-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 34px;
    padding-top: 32px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

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

  .method {
    padding: var(--section-pad) 28px;
  }

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

  .metric:nth-child(2) {
    border-right: none;
  }

  .metric:nth-child(3),
  .metric:nth-child(4) {
    border-top: 1px solid rgba(153, 153, 153, 0.2);
  }

  .metric:nth-child(4) {
    border-right: none;
  }
}

/* ── RESPONSIVE: MOBILE ───────────────────────────── */

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

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .brand img {
    width: 190px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

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

  .services-grid article {
    min-height: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .faq-section,
  .contact-section {
    padding-left: 0;
    padding-right: 0;
  }
}
