:root {
  --bg: #081120;
  --bg-soft: #0f1d34;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --line: rgba(15, 23, 42, 0.1);
  --text: #1f2937;
  --muted: #667085;
  --primary: #0d6efd;
  --accent: #f0b429;
  --white: #ffffff;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-lg: 0 24px 60px rgba(3, 18, 38, 0.18);
  --shadow-md: 0 16px 35px rgba(3, 18, 38, 0.12);
  --transition: 0.3s ease;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.18);
  color: #815600;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h1,
.section-head h2,
.page-hero-copy h1,
.slide-copy h1,
.card h3,
.footer h3,
.brand-text strong,
.footer-brand strong {
  font-family: "Space Grotesk", sans-serif;
}

.section-head h2,
.page-hero-copy h1 {
  margin: 0.9rem 0;
  font-size: clamp(1rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.topbar {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.82);
}

.topbar .container,
.topbar-list,
.topbar-social,
.nav-links,
.hero-actions,
.badge-row,
.cta-actions,
.hero-dots,
.footer-bottom {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.topbar .container,
.footer-bottom {
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.8rem 0;
}

.topbar-list,
.nav-links,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.topbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.topbar-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(8, 17, 32, 0.06);
}

.site-header .container {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand img,
.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text strong,
.footer-brand strong {
  display: block;
  font-size: 1.2rem;
}

.brand-text span,
.footer-brand span {
  display: block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

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

.nav-links a {
  display: inline-flex;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(8, 17, 32, 0.08);
  border-radius: 14px;
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #3b8bff);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-light {
  background: var(--white);
  color: var(--bg);
}

.btn-dark {
  background: var(--bg);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(8, 17, 32, 0.14);
}

.hero-slider,
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-slider {
  min-height: 88vh;
}

.hero-slide,
.page-hero-media {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(5, 12, 24, 0.9) 0%, rgba(8, 17, 32, 0.78) 42%, rgba(8, 17, 32, 0.52) 100%);
  z-index: 1;
}

.hero-slide-bg,
.page-hero img,
.media-card img,
.sector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-bg {
  display: none;
}

.slide-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.slide-content {
  min-height: 88vh;
}

.page-hero,
.page-hero-content {
  min-height: 430px;
}

.slide-copy,
.page-hero-copy {
  max-width: 760px;
  color: var(--white);
}

.slide-copy {
  padding: 1.5rem 1.5rem 1.65rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 17, 32, 0.54), rgba(8, 17, 32, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.hero-slogan-box {
  display: inline-block;
  margin-bottom: 1.15rem;
  padding: 1rem 1.2rem 1.02rem;
  border-left: 4px solid var(--accent);
  border-radius: 20px;
  background: rgba(7, 15, 28, 0.7);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.hero-slogan-title {
  display: block;
  color: #fff4cf;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-slogan-subtitle {
  display: block;
  margin-top: 0.42rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.slide-copy h1 {
  margin: 0.95rem 0 0.85rem;
  font-size: clamp(2rem, 6vw, 4.8rem);
  line-height: 1.02;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.slide-copy p,
.page-hero-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.badge-row,
.hero-actions,
.cta-actions {
  flex-wrap: wrap;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
}

.hero-controls .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--accent);
}

.metric-strip {
  position: relative;
  z-index: 5;
  margin-top: -20px;
}

.metrics,
.grid-3,
.grid-4,
.page-grid,
.contact-layout {
  display: grid;
  gap: 1.25rem;
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

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

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

.page-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.contact-layout {
  grid-template-columns: 0.88fr 1.12fr;
}

.card,
.metric-card,
.form-panel {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(3, 18, 38, 0.08);
}

.metric-card,
.card,
.form-panel {
  padding: 1.6rem;
}

.metric-card strong,
.stat-value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: var(--bg);
}

.metric-card span,
.stat-label {
  color: var(--primary);
  font-weight: 800;
}

.card h3 {
  margin: 1rem 0 0.65rem;
  font-size: 1.3rem;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary);
  font-size: 1.15rem;
}

.copy-list,
.service-list,
.footer-links {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
}

.copy-list li,
.service-list li,
.footer-links li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.copy-list i,
.service-list i {
  color: var(--primary);
}

.media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 460px;
}

.floating-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(8, 17, 32, 0.84);
  color: var(--white);
}

.floating-badge strong {
  display: block;
  color: var(--accent);
  font-size: 1.4rem;
}

.cta-banner {
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #081120, #17376d);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumbs {
  display: inline-flex;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  flex-wrap: wrap;
}

.form-note,
.card p,
.section-head p,
.copy-block p {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #fcfdff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.success-message {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 157, 88, 0.2);
  background: rgba(15, 157, 88, 0.1);
  color: #0b6f3d;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.faq-list details {
  padding: 1.1rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--bg);
}

.footer {
  padding-top: 70px;
  background: var(--bg-soft);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.25rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1.2rem 0 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.28);
  font-size: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 38px rgba(37, 211, 102, 0.34);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .metrics,
  .grid-3,
  .grid-4,
  .footer-grid,
  .page-grid,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
  }

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

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .site-nav .btn {
    justify-content: center;
  }

  .metric-strip {
    margin-top: 0;
    padding-top: 1.5rem;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 1.2rem));
  }

  .metrics,
  .grid-3,
  .grid-4,
  .footer-grid,
  .page-grid,
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .topbar .container,
  .footer-bottom,
  .hero-controls .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .hero-slider,
  .slide-content {
    min-height: 82vh;
  }

  .slide-copy h1 {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }
}
