:root {
  --bg: #0d0d0d;
  --surface: #171717;
  --surface-soft: #f7f9fc;
  --text: #1a1a1a;
  --text-on-dark: #f5f7fa;
  --muted: #667085;
  --primary: #0f6cbd;
  --primary-strong: #0a4f8b;
  --secondary: #ffc928;
  --secondary-strong: #e9b500;
  --ring: #7bc4ff;
  --radius: 14px;
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background: #fff;
}

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

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(8px);
}

.topbar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__text strong {
  color: #fff;
  font-size: 1rem;
}

.brand__text small {
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
}

.scroll-brand {
  display: none;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid #343434;
  border-radius: 10px;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
}

.nav {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  background: var(--bg);
  padding: 0.8rem 4%;
  border-top: 1px solid #2a2a2a;
}

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

.nav a {
  color: var(--text-on-dark);
  padding: 0.75rem 0;
  font-weight: 600;
}

.hero {
  min-height: 74vh;
  color: var(--text-on-dark);
  background:
    linear-gradient(130deg, rgba(13, 13, 13, 0.9), rgba(15, 108, 189, 0.48), rgba(255, 201, 40, 0.34)),
    url("assets/hero-principal.webp") center/cover no-repeat;
  display: grid;
  align-items: center;
}

.hero__content {
  padding: 4rem 0;
}

.eyebrow {
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe48b;
  margin: 0 0 0.6rem;
}

.eyebrow--dark {
  color: #a06f00;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  max-width: 18ch;
}

.hero-title-main {
  font-size: clamp(2.8rem, 12vw, 7rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-title-sub {
  font-size: clamp(1.1rem, 3.6vw, 2rem);
  font-weight: 700;
  color: #ffe48b;
  margin-top: 0;
}

.hero p {
  max-width: 60ch;
}

.hero__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  padding: 0.82rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.btn--primary {
  background: linear-gradient(110deg, var(--primary), #1284e6);
}

.btn--primary:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 108, 189, 0.35);
}

.btn--ghost {
  border-color: #ffeaa9;
  color: #fff4cb;
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(205, 231, 255, 0.1);
}

.section {
  padding: 4.2rem 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

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

.nationwide {
  border-top: 1px solid #dde6f0;
  border-bottom: 1px solid #dde6f0;
}

.nationwide__inner {
  display: grid;
  gap: 1rem;
}

.nation-badge {
  align-self: center;
  justify-self: start;
  background: linear-gradient(120deg, var(--primary), var(--secondary-strong));
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(10, 79, 139, 0.25);
  animation: badgeFloat 3.2s ease-in-out infinite;
}

.section__lead {
  color: var(--muted);
  margin-top: 0;
  max-width: 70ch;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.photo-carousel {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 0.7rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
}

.carousel-track img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #dbe5f1;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  scroll-snap-align: center;
  cursor: zoom-in;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.carousel-track img:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.carousel-track img.is-active {
  transform: scale(1.03);
  filter: saturate(1.05);
  box-shadow: 0 18px 30px rgba(10, 79, 139, 0.24);
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #c9d8ec;
  background: #fff;
  color: #1f4f78;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(10, 79, 139, 0.2);
}

.carousel-dots {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #b8cbe0;
  padding: 0;
}

.carousel-dots button.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--primary), var(--secondary-strong));
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

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

.card div {
  padding: 1rem 1rem 1.2rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.feature ul {
  margin: 0;
  padding-left: 1.1rem;
}

.stats {
  display: grid;
  gap: 0.9rem;
}

.stat {
  background: var(--surface);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: 1rem;
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: #ffd95e;
}

.client-accordion {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.9rem;
}

.client-logos {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.client-logo-card {
  margin: 0;
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  padding: 0.9rem;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  text-align: center;
}

.client-logo-card img {
  width: 100%;
  max-width: 190px;
  height: 74px;
  object-fit: contain;
}

.client-logo-card figcaption {
  font-size: 0.9rem;
  color: #3f5264;
  font-weight: 600;
}

.client-item {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  overflow: hidden;
}

.client-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.client-item summary::-webkit-details-marker {
  display: none;
}

.client-item summary span {
  flex: 1;
}

.client-item summary::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: var(--secondary-strong);
}

.client-item[open] summary::after {
  content: "−";
}

.client-item img {
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem;
  width: 84px;
  height: 50px;
  object-fit: contain;
}

.client-body {
  border-top: 1px solid #e7edf5;
  padding: 0.95rem 1rem 1rem;
  color: #415362;
}

.client-body p {
  margin: 0 0 0.6rem;
}

.client-body p:last-child {
  margin-bottom: 0;
}

.client-body a {
  color: var(--primary-strong);
  font-weight: 600;
}

.pillars {
  display: grid;
  gap: 1rem;
}

.pillars article {
  border: 1px solid #e6ebf2;
  border-left: 4px solid var(--secondary);
  border-radius: 10px;
  padding: 1rem;
}

.pillar-animated {
  opacity: 0;
  transform: translateY(20px);
  animation: pillarIn 0.75s ease forwards;
}

.pillars .pillar-animated:nth-child(1) {
  animation-delay: 0.1s;
}

.pillars .pillar-animated:nth-child(2) {
  animation-delay: 0.28s;
}

.pillars .pillar-animated:nth-child(3) {
  animation-delay: 0.46s;
}

.faq {
  display: grid;
  gap: 0.8rem;
}

.faq details {
  background: #fff;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  border: 1px solid #e6ebf2;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  margin: 0.8rem 0 0.2rem;
  color: #4d5c6a;
}

.eco-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.95rem;
}

.eco-card {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.eco-card h3 {
  margin-bottom: 0.65rem;
}

.eco-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.eco-card li + li {
  margin-top: 0.4rem;
}

.social-wall-section {
  background: #f5f8fc;
}

.social-wall {
  margin-top: 1.1rem;
  display: grid;
  gap: 1rem;
}

.social-panel {
  background: #fff;
  border: 1px solid #deE8f4;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.social-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 28px rgba(10, 79, 139, 0.12);
}

.social-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e8eef7;
}

.social-panel__head .btn {
  padding: 0.45rem 0.82rem;
}

.social-panel__body {
  height: 430px;
  overflow-y: auto;
}

.social-panel__body iframe {
  width: 100%;
  min-height: 700px;
  border: 0;
}

.map-wrap {
  margin-top: 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbe7f5;
  box-shadow: 0 14px 30px rgba(10, 79, 139, 0.12);
}

.map-wrap iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.jobs-details {
  margin-top: 1.2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e6ebf2;
}

.jobs-details summary {
  cursor: pointer;
  font-weight: 800;
  padding: 1rem;
  color: var(--primary-strong);
}

.jobs-form {
  border-top: 1px solid #e9edf4;
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.jobs-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #334155;
}

.jobs-form input,
.jobs-form select,
.jobs-form textarea {
  width: 100%;
  border: 1px solid #cfd9e5;
  border-radius: 10px;
  padding: 0.72rem 0.82rem;
  font: inherit;
}

.jobs-form textarea {
  resize: vertical;
}

.jobs-help {
  margin: 0;
  color: #4c6072;
  font-size: 0.92rem;
}

.footer {
  background: var(--bg);
  color: var(--text-on-dark);
  padding-top: 3rem;
}

.footer__grid {
  display: grid;
  gap: 1.2rem;
}

.footer h3,
.footer h4 {
  margin-bottom: 0.45rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li + li {
  margin-top: 0.5rem;
}

.footer a {
  color: #d8ebff;
}

.social-links {
  display: grid;
  gap: 0.55rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.46rem 0.72rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  animation: socialPulse 2.8s ease-in-out infinite;
}

.social-link span {
  font-size: 1rem;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link--ig {
  background: rgba(248, 58, 150, 0.15);
  border-color: rgba(248, 58, 150, 0.4);
}

.social-link--ig:hover {
  box-shadow: 0 10px 24px rgba(248, 58, 150, 0.25);
}

.social-link--fb {
  background: rgba(24, 119, 242, 0.16);
  border-color: rgba(24, 119, 242, 0.4);
}

.social-link--fb:hover {
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.25);
}

.social-link--maps {
  background: rgba(255, 201, 40, 0.2);
  border-color: rgba(255, 201, 40, 0.45);
}

.social-link--maps:hover {
  box-shadow: 0 10px 24px rgba(255, 201, 40, 0.28);
}

.copyright {
  margin: 0;
  text-align: center;
  color: #9db1c2;
  border-top: 1px solid #252525;
  padding: 1rem;
  font-size: 0.92rem;
}

.floating-stack {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 45;
  display: grid;
  gap: 0.48rem;
  justify-items: end;
}

.whatsapp-float {
  position: fixed;
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #1fa855;
  color: #fff;
  border-radius: 999px;
  padding: 0.56rem 0.85rem;
  box-shadow: 0 10px 30px rgba(13, 71, 35, 0.42);
  animation: waPulse 2.6s ease-in-out infinite;
}

.social-float {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.25);
  animation: socialPulse 2.8s ease-in-out infinite;
}

.social-float--ig {
  background: linear-gradient(145deg, #f58529, #dd2a7b, #8134af);
}

.social-float--fb {
  background: linear-gradient(145deg, #1877f2, #0d5bba);
}

.topbar.is-scrolled {
  border-bottom: 1px solid rgba(255, 201, 40, 0.35);
}

.topbar.is-scrolled .brand img {
  height: 40px;
}

.topbar.is-scrolled .brand__text {
  display: none;
}

.topbar.is-scrolled .scroll-brand {
  display: inline;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.whatsapp-float span {
  font-weight: 700;
  font-size: 0.92rem;
}

.intro-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  align-items: center;
  justify-content: center;
}

.intro-overlay.is-open {
  display: flex;
  animation: introFade 0.4s ease;
}

.intro-controls {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.intro-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.intro-count {
  position: fixed;
  right: 22px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(7, 13, 20, 0.92);
  padding: 1rem;
}

.gallery-modal.is-open {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.gallery-close {
  grid-column: 3;
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
}

.gallery-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.gallery-figure {
  margin: 0;
  grid-column: 2;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.gallery-figure img {
  max-width: min(92vw, 980px);
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
}

.gallery-figure figcaption {
  color: #d9e6f4;
  font-weight: 600;
}

.gallery-thumbs {
  grid-column: 1 / -1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 92px;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.35rem 0 0.4rem;
}

.gallery-thumbs img {
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.85;
}

.gallery-thumbs img.is-active {
  border-color: var(--secondary);
  opacity: 1;
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 8px;
}

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

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .nav a {
    padding: 0;
    color: #fff8de;
    font-size: 0.94rem;
  }

  .brand img {
    height: 52px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .carousel-track img {
    height: 220px;
  }

  .grid--2 {
    grid-template-columns: 1.2fr 1fr;
  }

  .nationwide__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }

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

  .client-logos {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .map-wrap iframe {
    min-height: 430px;
  }

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

  .jobs-form label:last-of-type,
  .jobs-form button,
  .jobs-help {
    grid-column: 1 / -1;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .whatsapp-float {
    padding: 0.62rem 0.92rem;
  }

  .floating-stack {
    right: 22px;
    bottom: 22px;
  }
}

@keyframes waPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(13, 71, 35, 0.42);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 16px 34px rgba(13, 71, 35, 0.5);
  }
}

@keyframes introFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes socialPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pillarIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
