:root {
  --red: #c8172d;
  --red-dark: #9f1124;
  --blue: #16458f;
  --ink: #172033;
  --muted: #5f6878;
  --line: #dde3ee;
  --soft: #f4f7fb;
  --white: #ffffff;
  --green: #12825c;
  --shadow: 0 20px 60px rgba(20, 36, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 227, 238, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 8px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.brand strong {
  display: block;
  color: var(--blue);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.nav a {
  transition: color 180ms ease;
}

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

.nav-cta {
  padding: 11px 18px;
  color: var(--white) !important;
  background: var(--red);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(200, 23, 45, 0.24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 4vw, 64px) 28px;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #101727;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 25, 47, 0.84), rgba(13, 25, 47, 0.50) 42%, rgba(13, 25, 47, 0.08) 76%),
    linear-gradient(0deg, rgba(13, 25, 47, 0.78), rgba(13, 25, 47, 0.08) 42%);
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 156px;
}

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

.hero .eyebrow {
  color: #ffffff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 34px rgba(200, 23, 45, 0.34);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.button.light {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.62);
}

.contact .button.secondary {
  color: var(--blue);
  background: var(--white);
  border-color: var(--line);
}

.service-strip {
  position: absolute;
  left: clamp(18px, 4vw, 64px);
  right: clamp(18px, 4vw, 64px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.service-strip div {
  min-height: 96px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.13);
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip strong {
  font-size: 1rem;
}

.service-strip span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 34px clamp(18px, 4vw, 64px);
  background: var(--white);
}

.trust-band strong {
  display: block;
  color: var(--blue);
  font-size: 1.15rem;
}

.trust-band span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.stats-band div {
  min-height: 152px;
  padding: 30px clamp(18px, 3vw, 42px);
  background: #0f1728;
}

.stats-band strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.stats-band span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(74px, 9vw, 118px) clamp(18px, 4vw, 64px);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(38px, 7vw, 96px);
}

.section-heading h2,
.care-callout h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.center {
  width: min(780px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.copy-block {
  color: #2f384a;
  font-size: 1.06rem;
}

.copy-block p {
  margin: 0 0 18px;
}

.service-flow {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

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

.flow-grid article {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), #102b5f);
  border-radius: 8px;
}

.flow-grid article:nth-child(even) {
  background: linear-gradient(145deg, var(--red), var(--red-dark));
}

.flow-grid span {
  display: block;
  color: rgba(255, 255, 255, 0.44);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.flow-grid h3 {
  margin: 26px 0 10px;
  font-size: 1.34rem;
  line-height: 1.16;
}

.flow-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.categories {
  background: var(--soft);
}

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

.category-grid article {
  min-height: 230px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(20, 36, 68, 0.07);
}

.category-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.category-grid h3 {
  margin: 22px 0 8px;
  color: var(--red);
  font-size: 1.32rem;
  line-height: 1.18;
}

.category-grid p {
  margin: 0;
  color: var(--muted);
}

.benefits {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  background: var(--white);
}

.benefits-copy p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.benefit-list div {
  min-height: 174px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.88), rgba(255, 255, 255, 0.96)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.benefit-list strong,
.benefit-list span {
  display: block;
}

.benefit-list strong {
  color: var(--blue);
  font-size: 1.13rem;
}

.benefit-list span {
  margin-top: 8px;
  color: var(--muted);
}

.care-callout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: clamp(68px, 8vw, 110px) clamp(18px, 4vw, 64px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(20, 69, 143, 0.96), rgba(200, 23, 45, 0.94)),
    url("img/galeria-03-limpa.png") center / cover;
}

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

.care-callout p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

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

.gallery-section .section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--soft);
  border: 0;
  border-radius: 8px;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 25, 47, 0.34), transparent 50%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.92fr);
  gap: 18px;
  background: var(--soft);
}

.contact-panel,
.business-data {
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(20, 36, 68, 0.08);
}

.contact-panel p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: #354057;
  list-style: none;
}

.info-list li {
  position: relative;
  padding-left: 22px;
}

.info-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 99px;
}

.business-data dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.business-data div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.business-data div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.business-data dt {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.business-data dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.privacy {
  padding: 34px clamp(18px, 4vw, 64px);
  color: var(--muted);
  background: #0f1728;
}

.privacy h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.15rem;
}

.privacy p {
  max-width: 900px;
  margin: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.82);
  background: #0a1020;
  font-size: 0.94rem;
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer strong {
  color: var(--white);
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(7, 13, 25, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  cursor: pointer;
  background: var(--red);
  border: 0;
  border-radius: 8px;
  font-size: 2rem;
  line-height: 1;
}

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

  .nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 13px 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .split,
  .care-callout,
  .contact,
  .benefits {
    grid-template-columns: 1fr;
  }

  .stats-band,
  .category-grid,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .hero {
    min-height: 96vh;
    padding-top: 108px;
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-content {
    padding-bottom: 270px;
  }

  .service-strip,
  .trust-band,
  .stats-band,
  .category-grid,
  .flow-grid,
  .benefit-list,
  .gallery {
    grid-template-columns: 1fr;
  }

  .service-strip {
    gap: 1px;
  }

  .trust-band div {
    padding: 26px 18px;
  }

  .gallery {
    grid-auto-rows: 260px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

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

@media (max-width: 430px) {
  .brand strong {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 30px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
