:root {
  --ink: #121923;
  --muted: #5f6b76;
  --line: #d8e4ec;
  --paper: #f3f7fa;
  --white: #ffffff;
  --cyan: #00a6c8;
  --cyan-dark: #006a80;
  --navy: #083b5a;
  --red: #e6352f;
  --gold: #f4a61c;
  --blue: #246bfe;
  --shadow: 0 22px 60px rgba(8, 59, 90, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 46%, #ffffff 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 10px 6vw;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 228, 236, 0.92);
  box-shadow: 0 12px 34px rgba(8, 59, 90, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(190px, 46vw);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(8, 59, 90, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--red);
}

.nav-cta,
.nav-whatsapp,
.nav-instagram {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  color: var(--white);
  border-radius: 999px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--red), var(--gold));
  box-shadow: 0 12px 24px rgba(230, 53, 47, 0.22);
}

.nav-whatsapp {
  background: linear-gradient(135deg, #18a957, #27d367);
  box-shadow: 0 12px 24px rgba(24, 169, 87, 0.22);
}

.nav-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045);
  box-shadow: 0 12px 24px rgba(131, 58, 180, 0.22);
}

.site-nav .nav-cta:hover,
.site-nav .nav-whatsapp:hover,
.site-nav .nav-instagram:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 80px 6vw 120px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 30, 46, 0.92) 0%, rgba(6, 30, 46, 0.74) 43%, rgba(6, 30, 46, 0.18) 100%),
    linear-gradient(135deg, rgba(0, 166, 200, 0.24), rgba(230, 53, 47, 0.16)),
    linear-gradient(0deg, rgba(243, 247, 250, 0.96) 0%, rgba(243, 247, 250, 0) 26%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  line-height: 0.98;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.hero-content p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

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

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary,
.contact-form button {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #ff6b35);
  box-shadow: 0 16px 34px rgba(230, 53, 47, 0.28);
}

.button.call {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.button.whatsapp {
  color: var(--white);
  background: linear-gradient(135deg, #18a957, #27d367);
  box-shadow: 0 16px 34px rgba(24, 169, 87, 0.25);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.intro,
.partner,
.software-link,
.services,
.work,
.contact {
  padding: 86px 6vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 46px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 166, 200, 0.08), rgba(255, 255, 255, 0) 45%),
    var(--white);
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--red), var(--cyan));
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.intro > p,
.partner-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.partner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(8, 59, 90, 0.06), rgba(0, 166, 200, 0.14)),
    var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-copy {
  max-width: 560px;
}

.partner-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.partner img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(0, 166, 200, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.software-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(8, 59, 90, 0.94), rgba(0, 106, 128, 0.88)),
    var(--navy);
  color: var(--white);
}

.software-link .section-label {
  color: #7ee6f5;
}

.software-link h2 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.software-link p:not(.section-label) {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.software-link .button {
  min-width: 240px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading h2 {
  position: relative;
  padding-bottom: 18px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  border-radius: 999px;
}

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

.service-card {
  position: relative;
  min-height: 225px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(8, 59, 90, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 166, 200, 0.45);
  box-shadow: 0 24px 54px rgba(8, 59, 90, 0.16);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  border-radius: 8px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.service-card p {
  color: var(--muted);
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy);
}

.seo-local {
  padding: 86px 6vw;
  background:
    linear-gradient(135deg, rgba(244, 166, 28, 0.12), rgba(0, 166, 200, 0.08)),
    var(--white);
  border-top: 1px solid var(--line);
}

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

.local-grid article {
  min-height: 210px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 166, 200, 0.2);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(8, 59, 90, 0.08);
}

.local-grid h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.25rem;
}

.local-grid p {
  color: var(--muted);
}

.proof div {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 44px 20px;
  background:
    linear-gradient(135deg, rgba(230, 53, 47, 0.26), rgba(0, 166, 200, 0.16)),
    var(--navy);
  color: var(--white);
  text-align: center;
}

.proof strong {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  color: var(--white);
}

.proof span {
  color: rgba(255, 255, 255, 0.78);
}

.work {
  background:
    linear-gradient(180deg, rgba(8, 59, 90, 0.06), rgba(255, 255, 255, 0)),
    var(--paper);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 18px;
}

.work-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(8, 59, 90, 0.18);
}

.work-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.work-card.tall {
  grid-row: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 240ms ease;
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-card figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 3px;
  padding: 48px 18px 18px;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(6, 28, 43, 0.92), rgba(6, 28, 43, 0)),
    linear-gradient(90deg, rgba(230, 53, 47, 0.32), rgba(0, 166, 200, 0.2));
}

.work-card strong {
  font-size: 1.02rem;
}

.work-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.35;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(0, 166, 200, 0.12), rgba(230, 53, 47, 0.08)),
    var(--white);
}

.contact-copy {
  max-width: 560px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.contact-details strong {
  color: var(--navy);
}

.contact-details a {
  color: #128c4a;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 166, 200, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbdde8;
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 6vw;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(90deg, rgba(230, 53, 47, 0.18), rgba(0, 166, 200, 0.18)),
    #071923;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    min-height: auto;
    padding: 16px 5vw;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    max-width: min(180px, 70vw);
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .nav-cta,
  .nav-whatsapp,
  .nav-instagram {
    min-height: 36px;
    padding: 0 14px;
  }

  .hero {
    min-height: 780px;
    padding: 68px 5vw 110px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 30, 46, 0.92), rgba(6, 30, 46, 0.58)),
      linear-gradient(135deg, rgba(0, 166, 200, 0.22), rgba(230, 53, 47, 0.16)),
      linear-gradient(0deg, rgba(243, 247, 250, 0.94) 0%, rgba(243, 247, 250, 0) 25%);
  }

  .intro,
  .partner,
  .software-link,
  .local-grid,
  .contact,
  .service-grid,
  .proof {
    grid-template-columns: 1fr;
  }

  .intro,
  .partner,
  .software-link,
  .services,
  .seo-local,
  .work,
  .contact {
    padding: 64px 5vw;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 230px;
  }

  .work-card.featured,
  .work-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.45rem;
  }

  .contact-form {
    padding: 18px;
  }

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