:root {
  --brand-blue: #004e86;
  --brand-blue-dark: #003a63;
  --brand-blue-soft: #e6f1f9;
  --brand-gray: #a4acb1;
  --brand-gray-dark: #5f6f78;
  --bg-light: #f7fafc;
  --text: #1f2a30;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shadow: 0 18px 40px rgba(0, 60, 100, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, #f2f7fb 0%, #ffffff 45%, #f8fbff 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-blue);
  color: var(--white);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  left: 0.8rem;
  top: 0.8rem;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 78, 134, 0.12);
  backdrop-filter: blur(10px);
}

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

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

.brand img {
  width: clamp(190px, 26vw, 300px);
  height: auto;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(0, 78, 134, 0.25);
  background: var(--white);
  color: var(--brand-blue);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  z-index: 202;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-block;
  padding: 0.56rem 0.88rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-blue-dark);
  transition: 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: var(--brand-blue);
  color: var(--white);
}

.admin-access-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(0, 78, 134, 0.24);
  border-radius: 999px;
  background: #f7fbff;
  color: var(--brand-blue);
  padding: 0.52rem 0.86rem;
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-access-button:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.admin-access-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-user-menu {
  position: relative;
}

.admin-user-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 190px;
  border: 1px solid rgba(0, 78, 134, 0.15);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 46, 79, 0.16);
  overflow: hidden;
}

.admin-user-dropdown[hidden] {
  display: none;
}

.admin-user-dropdown a,
.admin-user-dropdown button {
  display: block;
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--brand-blue-dark);
  padding: 0.75rem 0.9rem;
  text-align: left;
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-user-dropdown a:hover,
.admin-user-dropdown button:hover {
  background: var(--brand-blue-soft);
}

.admin-user-dropdown form {
  margin: 0;
}

.login-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: start end;
  padding: 98px max(1rem, 4vw) 1rem 1rem;
  background: rgba(10, 26, 38, 0.24);
}

.login-panel-backdrop[hidden] {
  display: none;
}

.login-panel {
  position: relative;
  width: min(410px, 100%);
  border: 1px solid rgba(0, 78, 134, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(0, 46, 79, 0.24);
  padding: 1.1rem;
}

.login-panel img {
  width: 220px;
  height: auto;
  margin-bottom: 0.75rem;
}

.login-panel h2 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.login-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 78, 134, 0.16);
  border-radius: 10px;
  background: #fff;
  color: var(--brand-blue);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.front-login-form {
  display: grid;
  gap: 0.75rem;
}

.front-login-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--brand-blue-dark);
  font-family: "Barlow", sans-serif;
  font-weight: 800;
}

.front-login-form input {
  width: 100%;
  border: 1px solid rgba(0, 78, 134, 0.22);
  border-radius: 12px;
  padding: 0.72rem 0.78rem;
  font: inherit;
}

.front-password-wrap {
  position: relative;
  display: block;
}

.front-password-wrap input {
  padding-right: 3rem;
}

.front-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--brand-blue);
  cursor: pointer;
}

.front-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.login-panel-error {
  margin: 0 0 0.75rem;
  border: 1px solid rgba(167, 51, 63, 0.3);
  border-radius: 12px;
  background: rgba(167, 51, 63, 0.08);
  color: #8b2430;
  padding: 0.58rem 0.7rem;
  font-weight: 700;
}

section[id] {
  scroll-margin-top: 98px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #0a385d;
}

.slider {
  position: relative;
  width: 100%;
  min-height: clamp(560px, calc(100vh - 86px), 780px);
  margin: 0;
  background: #0a385d;
  overflow: hidden;
}

.slides {
  display: flex;
  min-height: inherit;
  transition: transform 0.55s ease;
}

.slide {
  min-width: 100%;
  min-height: clamp(560px, calc(100vh - 86px), 780px);
  display: grid;
  align-items: center;
  padding: clamp(5.5rem, 10vw, 8rem) max(4vw, calc((100vw - 1180px) / 2)) clamp(6rem, 10vw, 8rem);
  position: relative;
  background:
    linear-gradient(100deg, rgba(0, 37, 64, 0.88) 0%, rgba(0, 61, 103, 0.72) 42%, rgba(0, 78, 134, 0.18) 100%),
    linear-gradient(160deg, #edf6fc 0%, #f8fbff 100%);
  background-size: cover;
  background-position: center;
}

.slide.with-bg {
  background-image:
    linear-gradient(100deg, rgba(0, 28, 49, 0.9) 0%, rgba(0, 61, 103, 0.72) 46%, rgba(0, 78, 134, 0.12) 100%),
    var(--slide-bg);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #fff;
}

.slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(0, 24, 42, 0.28));
  pointer-events: none;
}

.slide h1,
.slide h2,
h2,
h3 {
  margin: 0 0 0.9rem;
  font-family: "Barlow", sans-serif;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.slide h1,
.slide h2 {
  max-width: 900px;
  font-size: clamp(1.85rem, 4.1vw, 3.15rem);
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.82);
}

.slide p {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.35rem;
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  border: 1px solid var(--brand-blue);
}

.btn-primary:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.slider-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: clamp(1.2rem, 4vw, 2.4rem);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.9rem 1rem 1.2rem;
}

.slide-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 78, 134, 0.3);
  background: var(--white);
  color: var(--brand-blue);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.dots {
  display: inline-flex;
  gap: 0.55rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dot.is-active {
  background: #fff;
}

.section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

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

.section-pattern {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #ecf4fb 0%, #f7fbff 65%, #edf2f7 100%);
}

.section-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 78, 134, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 78, 134, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 80%);
  pointer-events: none;
}

.section-tag {
  margin: 0 0 0.3rem;
  color: var(--brand-blue);
  font-family: "Barlow", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  color: var(--brand-blue-dark);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--brand-blue);
}

.section-builder {
  display: grid;
  gap: 1.2rem;
}

.builder-block > .container {
  width: 100%;
}

.builder-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section:not(.section-contact) .builder-buttons .btn-secondary {
  color: var(--brand-blue);
  border-color: rgba(0, 78, 134, 0.26);
}

.section:not(.section-contact) .builder-buttons .btn-secondary:hover {
  background: var(--brand-blue-soft);
}

.builder-image {
  margin: 0;
}

.builder-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0, 60, 100, 0.12);
}

.builder-image figcaption {
  margin-top: 0.55rem;
  color: var(--brand-gray-dark);
  font-size: 0.95rem;
}

.faq-accordion {
  display: grid;
  gap: 0.75rem;
}

.faq-accordion-item {
  border: 1px solid rgba(0, 78, 134, 0.14);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-accordion-item summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--brand-blue-dark);
  font-family: "Barlow", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.faq-accordion-item div {
  padding: 0 1.1rem 1rem;
}

.map-grid {
  display: grid;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
}

.map-card {
  overflow: hidden;
  border: 1px solid rgba(0, 78, 134, 0.14);
  border-radius: 18px;
  background: #fff;
}

.map-card h3 {
  margin: 0;
  padding: 1rem 1.1rem;
}

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

.map-link {
  display: inline-flex;
  margin: 1rem;
  color: var(--brand-blue);
  font-weight: 800;
}

.product-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 78, 134, 0.14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 60, 100, 0.1);
}

.product-slide {
  display: none;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.product-slide.is-active {
  display: grid;
  animation: productFade 0.36s ease both;
}

.product-media {
  min-height: 300px;
  border-radius: 18px;
  background: var(--brand-blue-soft);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.product-copy h3 {
  color: var(--brand-blue-dark);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.product-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  padding: 0 1rem 1rem;
}

.product-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 78, 134, 0.3);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-blue);
  font-size: 1.4rem;
  cursor: pointer;
}

.single-product .product-controls {
  display: none;
}

.intro {
  max-width: 900px;
}

.grid-two {
  display: grid;
  gap: 1.7rem;
  grid-template-columns: 1.25fr 0.9fr;
}

.highlight-box {
  align-self: start;
  background: linear-gradient(160deg, #f6fbff 0%, #edf5fb 100%);
  border: 1px solid rgba(0, 78, 134, 0.15);
  border-radius: var(--radius-md);
  padding: 1.45rem;
}

.highlight-box ul {
  margin: 0.8rem 0 1.1rem;
  padding-left: 1.1rem;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.card,
.faq-item,
.contact-cards article,
.timeline article {
  background: var(--white);
  border: 1px solid rgba(0, 78, 134, 0.12);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.1rem;
}

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

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

.section-faq {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

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

.section-contact {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(164, 172, 177, 0.23), transparent 35%),
    linear-gradient(155deg, #00355b 0%, #004e86 40%, #0a5c9b 100%);
}

.section-contact h2,
.section-contact h3,
.section-contact .section-tag {
  color: var(--white);
}

.contact-layout {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: 1.1fr 1fr;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.section-contact .btn-primary {
  background: var(--white);
  color: var(--brand-blue-dark);
  border-color: var(--white);
}

.section-contact .btn-primary:hover {
  background: #f0f4f7;
}

.section-contact .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.section-contact .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

.contact-cards {
  display: grid;
  gap: 0.9rem;
}

.contact-cards article {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-cards a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.site-footer {
  background: #07253c;
  color: #d5e5f1;
  font-size: 0.94rem;
}

.floating-cta {
  position: fixed;
  right: max(1rem, 3vw);
  bottom: 1.2rem;
  z-index: 90;
  display: grid;
  gap: 0.55rem;
}

.floating-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  color: #fff;
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 44, 74, 0.22);
}

.floating-cta-button.call {
  background: #0b8fc9;
}

.floating-cta-button.whatsapp {
  background: #25c044;
}

.footer-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .grid-two,
  .cards,
  .note-grid,
  .timeline,
  .faq-grid,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .cards article:last-child,
  .note-grid article:last-child,
  .faq-grid article:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .admin-access-button span {
    display: none;
  }

  .primary-nav {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 190;
    display: grid;
    align-items: start;
    min-height: calc(100vh - 78px);
    min-height: calc(100dvh - 78px);
    overflow-y: auto;
    padding: 1.7rem 1rem 2rem;
    background: #fff;
    border-top: 1px solid rgba(0, 78, 134, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    background: #fff;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.72rem;
    width: min(420px, 100%);
    margin: 0 auto;
    padding: 0;
  }

  .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border: 1px solid rgba(0, 78, 134, 0.14);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 58, 99, 0.08);
    font-size: 1.15rem;
    opacity: 0;
    transform: translateY(10px);
  }

  .primary-nav.is-open a {
    animation: mobileNavItem 0.34s ease both;
  }

  .primary-nav.is-open li:nth-child(1) a { animation-delay: 0.03s; }
  .primary-nav.is-open li:nth-child(2) a { animation-delay: 0.06s; }
  .primary-nav.is-open li:nth-child(3) a { animation-delay: 0.09s; }
  .primary-nav.is-open li:nth-child(4) a { animation-delay: 0.12s; }
  .primary-nav.is-open li:nth-child(5) a { animation-delay: 0.15s; }
  .primary-nav.is-open li:nth-child(6) a { animation-delay: 0.18s; }

  .menu-toggle[aria-expanded="true"] {
    background: var(--brand-blue);
    color: #fff;
  }

  .login-panel-backdrop {
    place-items: start center;
    padding-top: 86px;
  }

  .slide {
    min-height: 620px;
    padding: 5rem 1.2rem 6rem;
    background-position: center;
  }

  .product-slide {
    grid-template-columns: 1fr;
  }

  .product-media,
  .product-media img {
    min-height: 230px;
  }

  .product-controls {
    justify-content: center;
  }

  .map-grid {
    padding-inline: 1rem;
  }
}

@media (max-width: 640px) {
  .grid-two,
  .cards,
  .note-grid,
  .timeline,
  .faq-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cards article:last-child,
  .note-grid article:last-child,
  .faq-grid article:last-child {
    grid-column: auto;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .floating-cta {
    right: 1rem;
    bottom: 0.8rem;
  }
}

@keyframes mobileNavItem {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes productFade {
  from {
    opacity: 0;
    transform: translateX(14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 720px) {
  .grid-two,
  .cards,
  .note-grid,
  .timeline,
  .faq-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .cards article:last-child,
  .note-grid article:last-child,
  .faq-grid article:last-child {
    grid-column: auto;
  }

  .footer-inner {
    padding: 1rem 0;
  }

  .floating-cta {
    right: 0.9rem;
    bottom: 0.9rem;
  }

  .floating-cta-button {
    min-width: 120px;
    padding: 0.68rem 0.9rem;
    font-size: 0.95rem;
  }
}