:root {
  --primary: #0b3d91;
  --primary-dark: #082c68;
  --secondary: #ffffff;
  --accent: #f4a261;
  --accent-dark: #dd8743;
  --surface: #f6f8fc;
  --surface-deep: #e8eef8;
  --text: #1e293b;
  --muted: #64748b;
  --border: rgba(11, 61, 145, 0.12);
  --shadow: 0 24px 60px rgba(11, 61, 145, 0.14);
  --radius: 22px;
  --radius-sm: 16px;
  --container: min(1140px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(244, 162, 97, 0.16), transparent 28%),
    linear-gradient(180deg, #fdfefe 0%, #f6f8fc 52%, #eef3fb 100%);
  line-height: 1.6;
}

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

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(6px);
}

.section-header,
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
}

.section-label::before,
.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #0f172a;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

h3 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 61, 145, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
}

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

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #1f5cbd);
  color: var(--secondary);
  font-weight: 800;
  box-shadow: var(--shadow);
}

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

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--secondary) !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: transform 0.3s ease;
}

.hero-section,
.page-banner {
  padding: 6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-subtitle {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
}

.hero-actions,
.cta-actions,
.card-actions,
.dual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics div,
.info-panel,
.feature-card,
.product-card,
.contact-card,
.filter-bar,
.cta-shell {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 1.25rem;
}

.hero-metrics strong {
  display: block;
  color: var(--primary);
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  height: 560px;
  width: 100%;
  object-fit: cover;
  object-position: left center;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  top: 24px;
  left: -22px;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(11, 61, 145, 0.9);
  color: var(--secondary);
  box-shadow: var(--shadow);
}

.hero-card span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
}

.floating-card {
  animation: floatCard 4s ease-in-out infinite;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  font-weight: 600;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--secondary);
}

.btn-outline {
  border-color: rgba(11, 61, 145, 0.2);
  background: transparent;
  color: var(--primary);
}

.btn-outline.light {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--secondary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #f7b16d);
  color: #24180f;
  box-shadow: 0 18px 30px rgba(244, 162, 97, 0.28);
}

.feature-grid,
.product-grid,
.stat-grid,
.footer-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

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

.feature-card,
.info-panel,
.contact-card,
.cta-shell {
  padding: 2rem;
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(11, 61, 145, 0.1);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

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

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

.product-card {
  overflow: hidden;
}

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

.product-content {
  padding: 1.7rem;
}

.product-tag {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(11, 61, 145, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.spec-list,
.footer-links,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.spec-list li,
.footer-links li,
.contact-list li {
  padding: 0.55rem 0;
  color: var(--muted);
  border-bottom: 1px solid rgba(11, 61, 145, 0.08);
}

.spec-list li:last-child,
.footer-links li:last-child,
.contact-list li:last-child {
  border-bottom: 0;
}

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

.info-panel.wide {
  grid-column: 1 / -1;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.pill-list span {
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: rgba(244, 162, 97, 0.12);
  color: var(--primary);
  font-weight: 600;
}

.cta-section {
  padding-top: 0;
}

.cta-shell {
  background:
    linear-gradient(135deg, rgba(11, 61, 145, 0.96), rgba(8, 44, 104, 0.92)),
    radial-gradient(circle at top right, rgba(244, 162, 97, 0.2), transparent 28%);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-shell h2,
.cta-shell .section-label,
.cta-shell p {
  color: var(--secondary);
}

.inner-banner {
  background:
    linear-gradient(135deg, rgba(11, 61, 145, 0.96), rgba(8, 44, 104, 0.9)),
    radial-gradient(circle at bottom left, rgba(244, 162, 97, 0.18), transparent 30%);
  color: var(--secondary);
}

.inner-banner .eyebrow,
.inner-banner h1,
.inner-banner p {
  color: var(--secondary);
}

.filter-bar,
.contact-grid {
  grid-template-columns: 1fr 220px;
}

.filter-bar {
  padding: 1.25rem;
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(11, 61, 145, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(244, 162, 97, 0.28);
  border-color: rgba(244, 162, 97, 0.5);
}

.contact-grid {
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 1.5rem;
}

.compact {
  padding: 1.7rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.map-card iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 18px;
  margin-top: 1rem;
}

.site-footer {
  background: #081936;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 4rem;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 2rem;
}

.footer-brand strong,
.site-footer h4,
.footer-links a,
.footer-links span {
  color: #fff;
}

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

.footer-credit {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-credit-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit-link:hover {
  color: #fff;
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.3);
  z-index: 40;
}

.flash-stack {
  margin-top: 1.2rem;
}

.flash-message {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.flash-message.success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.flash-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 120;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}

.modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-content {
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: rgba(11, 61, 145, 0.08);
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}

.hidden {
  display: none;
}

.no-results {
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .product-grid.two-up,
  .footer-grid,
  .contact-grid,
  .filter-bar,
  .hero-grid,
  .section-header,
  .two-col,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    height: 440px;
  }
}

@media (max-width: 780px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: none;
  }

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

  .nav-toggle {
    display: inline-block;
  }

  .hero-section,
  .page-banner {
    padding-top: 4.5rem;
  }

  .hero-metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-shell {
    text-align: center;
    flex-direction: column;
  }

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

  .hero-card {
    left: 16px;
  }
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo {
  width: 110px;
  height: 110px;
}

@media (max-width: 780px) {
  .brand-logo {
    width: 68px;
    height: 68px;
  }

  .footer-logo {
    width: 92px;
    height: 92px;
  }
}


.product-card .card-actions {
  flex-wrap: nowrap;
}

.product-card .card-actions .btn {
  flex: 1 1 0;
  min-height: 56px;
  width: 100%;
  padding-inline: 1rem;
}

@media (max-width: 640px) {
  .product-card .card-actions {
    flex-wrap: wrap;
  }
}

.product-grid {
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-content .spec-list {
  flex: 1;
}

.product-card .card-actions {
  margin-top: auto;
  align-items: stretch;
}

.product-card .card-actions .btn {
  white-space: nowrap;
}

.cta-actions {
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.cta-actions .btn {
  flex: 1 1 0;
  min-height: 56px;
  width: 100%;
  max-width: 320px;
  padding-inline: 1rem;
  text-align: center;
}

@media (max-width: 640px) {
  .cta-actions {
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
  }

  .cta-actions .btn {
    max-width: 100%;
  }
}
