:root {
  --brand-blue: #0d5dd7;
  --brand-blue-dark: #0a49b7;
  --brand-blue-soft: #edf5ff;
  --text: #1a2430;
  --muted: #5f6d7b;
  --line: rgba(13, 93, 215, 0.12);
  --panel: #f7faff;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(17, 25, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 93, 215, 0.08);
  padding: 10px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 8px;
}

.brand img {
  width: 150px;
  height: auto;
  display: block;
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  flex: 1 1 auto;
  margin-left: 0;
}

.main-nav a {
  position: relative;
  padding: 4px 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.button-portal {
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.8rem 1.15rem;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.button {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(13, 93, 215, 0.22);
}

.button-secondary {
  background: var(--white);
  color: var(--brand-blue);
  border: 1px solid var(--line);
}

.button-portal {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border: 1px solid rgba(13, 93, 215, 0.12);
}

.hero {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  padding: 56px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand-blue);
}

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

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  color: var(--text);
}

.lead {
  margin: 18px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-list {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  padding: 0;
  color: var(--text);
  font-weight: 700;
}

.hero-list li::before {
  content: "✓";
  color: var(--brand-blue);
  margin-right: 8px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.image-card {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: #eef4fb;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-card img,
.location-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.info-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-blue);
  border: 1px solid rgba(13, 93, 215, 0.12);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 30px rgba(17, 25, 38, 0.08);
}

.badge-top {
  top: 18px;
  right: 18px;
}

.badge-bottom {
  left: 18px;
  bottom: 18px;
}

.section {
  padding: 104px 0;
}

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

.narrow {
  max-width: 700px;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
  color: var(--text);
}

.section-alt .section-heading h2 {
  color: var(--text);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 12px 24px rgba(17, 25, 38, 0.04);
}

.stat-card strong {
  display: block;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--brand-blue);
  letter-spacing: -0.05em;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: 0 10px 28px rgba(17, 25, 38, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.common-area-card {
  cursor: pointer;
}

.common-area-card:hover,
.common-area-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(13, 93, 215, 0.1);
  border-color: rgba(13, 93, 215, 0.25);
  outline: none;
}

.icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 93, 215, 0.12), rgba(13, 93, 215, 0.03));
  font-size: 2rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

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

.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 0 12px 28px rgba(17, 25, 38, 0.04);
}

.news-tag {
  display: inline-block;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.8rem;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.38rem;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

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

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(17, 25, 38, 0.04);
}

.doc-item::after {
  content: "→";
  color: var(--brand-blue);
  font-size: 1.3rem;
}

.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 0 18px;
  box-shadow: 0 10px 24px rgba(17, 25, 38, 0.03);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 800;
  color: var(--text);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0 0 18px;
  color: var(--muted);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.location-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.04em;
  color: var(--text);
}

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

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.location-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-button:hover {
  transform: translateY(-1px);
}

.maps-button {
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
}

.waze-button {
  background: #edf4ff;
  color: #1d4ed8;
}

.location-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}

.location-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.location-meta div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
}

.location-meta strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1.2rem;
}

.location-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.map-card {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 28px;
  background: #eaf3fb;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.site-footer {
  background: #f7faff;
  color: var(--text);
  padding-top: 80px;
  border-top: 1px solid rgba(13, 93, 215, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 28px;
}

.footer-logo {
  width: 300px;
  margin-bottom: 14px;
}

.footer-brand-block p,
.footer-contact ul,
.footer-form-wrap,
.footer-form textarea,
.footer-form input {
  color: var(--muted);
}

.footer-contact h3,
.footer-form-wrap h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1.2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.contact-list strong {
  color: var(--text);
}

.inline-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

.inline-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-form {
  display: grid;
  gap: 12px;
}

.footer-form input,
.footer-form textarea {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  resize: vertical;
  min-height: 50px;
}

.footer-form textarea {
  min-height: 120px;
}

.footer-bottom {
  margin-top: 42px;
  padding: 26px 0;
  border-top: 1px solid rgba(13, 93, 215, 0.08);
  background: rgba(13, 93, 215, 0.02);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.portal-banner {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: var(--white);
  padding: 18px 0;
}

.portal-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.portal-banner p {
  margin: 0;
  font-weight: 800;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 25, 38, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(820px, 100%);
  background: var(--white);
  border-radius: 28px;
  padding: 20px;
  box-shadow: 0 32px 70px rgba(17, 25, 38, 0.24);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 25, 38, 0.08);
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2;
}

.modal-image-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 22px;
  overflow: hidden;
  background: #edf5ff;
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev {
  left: 18px;
}

.carousel-btn.next {
  right: 18px;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
}

.modal-footer h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.6rem;
}

.modal-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.modal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(13, 93, 215, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
}

.modal-dot.active {
  background: var(--brand-blue);
}

@media (max-width: 980px) {
  .site-header {
    padding: 8px 0 10px;
  }

  .nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: auto;
  }

  .brand {
    margin-right: 0;
  }

  .brand img {
    width: 150px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 10px 14px;
    text-align: center;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-inner,
  .about-grid,
  .location-grid,
  .feature-grid,
  .news-grid,
  .docs-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-top: 6px;
  }

  .nav-wrap {
    gap: 8px;
  }

  .brand img {
    width: 120px;
  }

  .main-nav {
    gap: 6px 10px;
    font-size: 0.74rem;
  }

  .button,
  .button-portal {
    width: 100%;
  }

  .hero {
    padding-top: 34px;
  }

  .cta-row,
  .hero-list,
  .portal-banner-inner,
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-grid,
  .stats-grid,
  .location-meta {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }
}
