:root {
  --navy: #081532;
  --navy-2: #0d2253;
  --blue: #1647c7;
  --blue-soft: #e9f0ff;
  --red: #dc1426;
  --red-dark: #b80f1d;
  --green: #14a85b;
  --green-dark: #0f8849;
  --ink: #141922;
  --muted: #5b6472;
  --line: #dce2ea;
  --surface: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(5, 15, 35, 0.18);
  font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(12, 31, 72, 0.1);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  width: 158px;
  height: 56px;
  overflow: hidden;
  text-decoration: none;
}

.brand img {
  width: 150px;
  max-width: none;
  transform: translateY(-9px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #273246;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.btn-compact {
  min-height: 44px;
  padding: 0 18px;
}

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--green-dark);
}

.btn-red {
  background: var(--red);
}

.btn-red:hover,
.btn-red:focus-visible {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.46);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.btn-secondary-dark {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero {
  position: relative;
  min-height: clamp(620px, 82vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 12, 29, 0.92) 0%, rgba(7, 17, 39, 0.78) 42%, rgba(7, 17, 39, 0.26) 76%),
    linear-gradient(0deg, rgba(5, 12, 29, 0.74), rgba(5, 12, 29, 0.18)),
    url("assets/hero-oficina.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 64px;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bcd0ff;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.35rem, 4.9vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 46px);
  max-width: 780px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-proof span {
  position: relative;
  display: grid;
  gap: 2px;
  min-width: 130px;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), var(--blue));
}

.hero-proof small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-proof strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.offer-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.offer-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
}

.offer-inner h2,
.section-heading h2,
.cta-panel h2,
.process-copy h2,
.proof-section h2,
.diagnostic-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.offer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.notice {
  background: var(--navy);
  color: var(--white);
}

.notice-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px 0;
  font-size: 0.98rem;
}

.notice-inner span {
  color: rgba(255, 255, 255, 0.84);
}

.section {
  padding: 88px 0;
}

.services {
  background: var(--surface);
}

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

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(8, 21, 50, 0.08);
}

.service-featured {
  grid-column: auto;
}

.service-wide {
  display: flex;
  grid-column: auto;
}

.service-card img {
  width: 100%;
  height: 214px;
  object-fit: cover;
}

.service-featured img {
  height: 214px;
}

.service-wide img {
  height: 214px;
  min-height: 0;
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.service-card h3,
.step h3,
.proof-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.service-card p,
.step p,
.proof-grid p,
.diagnostic-section p,
.contact-section p,
.map-card p,
.footer p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-card p {
  font-size: 0.94rem;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 21px;
  color: #2d3543;
  font-weight: 700;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.cta-panel {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
}

.cta-panel-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 44px 0;
}

.cta-panel h2 {
  max-width: 790px;
  color: var(--white);
}

.split-section {
  background: var(--white);
}

.split-inner,
.diagnostic-inner,
.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 54px;
}

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

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.step > span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.proof-section {
  background: var(--surface);
}

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

.proof-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.review-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.review-strip blockquote {
  margin: 0;
  padding: 24px 26px;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
}

.diagnostic-section {
  background: var(--white);
}

.diagnostic-inner {
  grid-template-columns: 0.95fr 1.05fr;
}

.diagnostic-inner img {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.diagnostic-section .btn {
  margin-top: 24px;
}

.contact-section {
  background: var(--navy);
  color: var(--white);
}

.contact-section h2,
.contact-section p,
.contact-section .section-kicker {
  color: var(--white);
}

.contact-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.map-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.map-card span {
  display: block;
  margin-bottom: 8px;
  color: #a9bcf2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.map-card strong {
  display: block;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1.1;
}

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

.footer {
  padding: 28px 0 32px;
  background: #f0f3f8;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer img {
  width: 136px;
  height: 82px;
  object-fit: cover;
  object-position: center 49%;
  background: var(--white);
}

.footer p {
  max-width: 540px;
  text-align: right;
}

.mobile-sticky {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(5, 15, 35, 0.24);
}

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

  .offer-inner,
  .cta-panel-inner,
  .split-inner,
  .diagnostic-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .service-featured {
    grid-column: auto;
  }

  .service-wide {
    grid-column: auto;
  }

  .proof-grid,
  .review-strip {
    grid-template-columns: 1fr;
  }

  .image-frame img {
    height: 460px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    width: 138px;
    height: 50px;
  }

  .brand img {
    width: 132px;
    transform: translateY(-8px);
  }

  .header-inner .btn {
    display: none;
  }

  .hero {
    min-height: 760px;
    align-items: end;
    background:
      linear-gradient(0deg, rgba(5, 12, 29, 0.94) 0%, rgba(5, 12, 29, 0.78) 44%, rgba(5, 12, 29, 0.24) 100%),
      url("assets/hero-oficina.jpg") 58% center / cover no-repeat;
  }

  .hero-content {
    padding: 52px 0 60px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.55rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof span {
    width: 100%;
  }

  .offer-inner {
    gap: 18px;
    padding: 28px 0;
  }

  .notice-inner {
    display: block;
  }

  .notice-inner span {
    display: block;
    margin-top: 4px;
  }

  .section {
    padding: 64px 0;
  }

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

  .service-featured {
    grid-column: auto;
  }

  .service-wide {
    grid-column: auto;
  }

  .service-card img,
  .service-featured img,
  .service-wide img {
    height: 250px;
    min-height: 0;
  }

  .image-frame img {
    height: 430px;
  }

  .diagnostic-inner img {
    max-height: 420px;
    width: 100%;
    object-fit: cover;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer p {
    text-align: left;
  }

  .mobile-sticky {
    display: inline-flex;
  }

  body {
    padding-bottom: 74px;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 720px;
  }

  .offer-inner h2,
  .section-heading h2,
  .cta-panel h2,
  .process-copy h2,
  .proof-section h2,
  .diagnostic-section h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .service-card-body,
  .proof-grid article,
  .review-strip blockquote,
  .map-card {
    padding: 20px;
  }
}
