:root {
  --blue: #111f8f;
  --blue-dark: #07105d;
  --red: #ee171f;
  --ink: #151823;
  --steel: #596070;
  --muted: #747b88;
  --concrete: #eef1f5;
  --paper: #ffffff;
  --soft: #f7f8fb;
  --line: #d9dee8;
  --shadow: 0 24px 70px rgba(7, 16, 93, 0.14);
  --soft-shadow: 0 14px 36px rgba(7, 16, 93, 0.08);
  --sans: "Inter", Arial, sans-serif;
  --display: "Oswald", Impact, sans-serif;
  --ease: 220ms ease;
  --site-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--soft);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 46%, #eef1f5 100%);
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  transition: padding var(--ease), background var(--ease), box-shadow var(--ease);
}

.site-header.scrolled {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(7, 16, 93, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100%, var(--site-max));
  min-height: 4.25rem;
  margin: 0 auto;
  padding: 0.55rem 0.65rem 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 16, 93, 0.94);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 18px 50px rgba(7, 16, 93, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  object-fit: cover;
  background: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.7rem 0.88rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background var(--ease), color var(--ease);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-links .nav-cta {
  margin-left: 0.3rem;
  background: var(--red);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(8rem, 12vw, 10rem) max(1rem, calc((100vw - var(--site-max)) / 2 + 2rem)) 4rem;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 16, 93, 0.9), rgba(7, 16, 93, 0.68) 58%, rgba(7, 16, 93, 0.32)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.34));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 48rem;
}

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

.hero .eyebrow,
.promise-section .eyebrow {
  color: #ff4a50;
}

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

h1,
h2 {
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.1rem, 6.6vw, 5.45rem);
  font-weight: 700;
}

.hero-lede {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.btn {
  min-height: 3.25rem;
  padding: 0.92rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}

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

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 30px rgba(238, 23, 31, 0.24);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
}

.section {
  width: min(100%, var(--site-max));
  margin: 0 auto;
  padding: 4.2rem clamp(1rem, 3vw, 2rem);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.promise-copy h2,
.reviews-heading h2,
.location-copy h2 {
  margin-bottom: 0.85rem;
  color: var(--blue-dark);
  font-size: clamp(2.45rem, 5vw, 4.1rem);
}

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

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.material-card {
  min-height: 0;
  padding: 0.85rem;
  border: 1px solid rgba(17, 31, 143, 0.1);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(8.5rem, 12rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  box-shadow: var(--soft-shadow);
}

.material-card.tall {
  grid-column: auto;
  grid-row: auto;
}

.material-card img {
  width: 100%;
  height: 8.8rem;
  border-radius: 0.9rem;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.02);
  transition: transform 420ms ease;
}

.material-card:hover img {
  transform: scale(1.04);
}

.material-card::after {
  content: none;
}

.material-card div {
  position: static;
  padding: 0;
}

.material-card h3 {
  margin-bottom: 0.35rem;
  color: var(--blue-dark);
  font-size: 1.35rem;
  line-height: 1.05;
}

.material-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.promise-section {
  width: min(calc(100% - 2rem), var(--site-max));
  padding: clamp(1.5rem, 4vw, 2.3rem);
  border-radius: 1.6rem;
  background:
    linear-gradient(135deg, rgba(7, 16, 93, 0.96), rgba(17, 31, 143, 0.92)),
    url("assets/foto_oficinasempresa.webp") center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.promise-copy {
  max-width: 46rem;
}

.promise-copy h2 {
  margin-bottom: 0;
  color: #fff;
}

.brands-section {
  overflow: hidden;
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.4rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-track {
  width: max-content;
  display: flex;
  gap: 0.85rem;
  animation: marquee 34s linear infinite;
}

.brand-marquee:hover .brand-track,
.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

.brand-logo {
  width: 10.5rem;
  height: 5.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(17, 31, 143, 0.1);
  border-radius: 0.95rem;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(7, 16, 93, 0.06);
}

.brand-logo img {
  max-width: 100%;
  max-height: 3.05rem;
  object-fit: contain;
  filter: grayscale(0.08) saturate(0.9);
}

.reviews-section {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.reviews-heading {
  width: min(100%, var(--site-max));
  margin: 0 auto 1.5rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.stars {
  color: var(--red);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.reviews-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reviews-track {
  width: max-content;
  display: flex;
  gap: 1rem;
  animation: marquee 48s linear infinite;
}

.reviews-track article {
  width: 21rem;
  min-height: 9.25rem;
  padding: 1.2rem;
  border: 1px solid rgba(17, 31, 143, 0.1);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.reviews-track p {
  min-height: 4.65em;
  margin-bottom: 0.75rem;
  color: #3e4350;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.reviews-track strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--blue);
}

.reviews-track strong::after {
  content: "★★★★★";
  color: var(--red);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.location-card {
  border: 1px solid rgba(17, 31, 143, 0.1);
  border-radius: 1.5rem;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 1fr);
  gap: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location-copy {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.location-copy p {
  color: var(--muted);
}

.info-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.info-list span {
  padding: 0.85rem;
  border: 1px solid rgba(17, 31, 143, 0.08);
  border-radius: 0.9rem;
  background: var(--soft);
  display: grid;
  gap: 0.15rem;
  color: var(--steel);
}

.info-list strong {
  color: var(--blue-dark);
}

.map-wrap {
  min-height: 30rem;
  background: var(--concrete);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.footer {
  width: min(100%, var(--site-max));
  margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 2rem) 2.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  color: var(--blue-dark);
}

.footer-links {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 3.65rem;
  height: 3.65rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.32);
  transition: transform var(--ease), box-shadow var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(37, 211, 102, 0.38);
}

.whatsapp-float svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .material-card.tall {
    grid-column: span 2;
    grid-row: span 1;
  }

  .location-card {
    grid-template-columns: 1fr;
  }
}

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

  .nav-shell {
    position: relative;
    border-radius: 1.35rem;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    padding: 0.55rem;
    border-radius: 1.1rem;
    background: var(--blue-dark);
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--soft-shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .nav-links .nav-cta {
    margin: 0.2rem 0 0;
  }

  .hero {
    min-height: auto;
    padding: 7.4rem 1rem 3rem;
  }

  h1 {
    font-size: 3.25rem;
  }

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

  .material-card {
    grid-template-columns: 1fr;
  }

  .material-card img {
    height: 11.5rem;
  }

  .material-card.tall {
    grid-column: auto;
  }

  .promise-section,
  .reviews-heading,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 9rem;
  }

  .reviews-track article {
    width: 18rem;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 460px) {
  .brand span {
    font-size: 0.95rem;
  }

  .hero-actions .btn,
  .promise-section .btn {
    width: 100%;
  }

  h1 {
    font-size: 3.15rem;
  }

  .section-heading h2,
  .promise-copy h2,
  .reviews-heading h2,
  .location-copy h2 {
    font-size: 2.35rem;
  }
}
