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

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #122033;
  background: #f4f7fb;
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

/* Top bar */
.top-bar {
  background: #0b3a7a;
  color: #fff;
  font-size: 0.9rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0;
}

.top-bar-contact span {
  margin-right: 1rem;
}

.top-bar-contact a {
  font-weight: 600;
}

.top-bar i {
  margin-right: 0.35rem;
}

/* Nav */
.main-nav {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

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

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

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

.brand-title {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  color: #0b3a7a;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #5c6b80;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0b8ad9, #0b3a7a);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #0b3a7a;
  border-radius: 999px;
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(circle at top left, #0b8ad9 0, #0b3a7a 28%, #061529 70%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.15) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(11, 138, 217, 0.35) 0, transparent 55%);
  opacity: 0.9;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  align-items: center;
  gap: 2rem;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 2.5vw + 1rem, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1rem;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn i {
  font-size: 1rem;
}

.btn.primary {
  background: #ffb027;
  color: #122033;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn.primary:hover {
  background: #ffd15a;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.btn.outline {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn.full-width {
  width: 100%;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.hero-badges span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 39, 82, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-image {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  border-radius: 1.4rem;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55);
  object-fit: cover;
  max-height: 380px;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.4rem;
}

.section-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: #0b3a7a;
}

.section-header p {
  color: #5c6b80;
  font-size: 0.96rem;
}

/* Services */
.services {
  background: #f9fbff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 10px 25px rgba(11, 58, 122, 0.08);
  border: 1px solid rgba(11, 58, 122, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, #0b8ad9 0, #0b3a7a 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: 1rem;
  color: #0b3a7a;
}

.service-card p {
  font-size: 0.9rem;
  color: #4b5c72;
}

/* About */
.about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 0.9rem;
  color: #4b5c72;
}

.about-list {
  list-style: none;
  margin-bottom: 0.9rem;
}

.about-list li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.3rem;
  font-size: 0.94rem;
  color: #34455d;
}

.about-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: #0b8ad9;
  font-size: 0.7rem;
  transform: translateY(4px);
}

.about-highlight {
  font-weight: 500;
  color: #0b3a7a;
  border-left: 3px solid #0b8ad9;
  padding-left: 0.8rem;
}

.about-images {
  display: grid;
  gap: 0.9rem;
}

.about-main {
  border-radius: 1.1rem;
  box-shadow: 0 18px 32px rgba(9, 30, 66, 0.3);
  max-height: 260px;
  object-fit: cover;
}

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

.about-thumbs img {
  border-radius: 0.9rem;
  box-shadow: 0 10px 22px rgba(9, 30, 66, 0.2);
  max-height: 130px;
  object-fit: cover;
}

/* Facebook */
.fb-section {
  background: #f4f7fb;
}

.fb-embed-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: center;
}

.fb-iframe-container {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 0.8rem;
  box-shadow: 0 14px 30px rgba(11, 58, 122, 0.15);
}

.fb-iframe-container iframe {
  width: 100%;
  min-height: 420px;
  border-radius: 0.75rem;
}

.fb-cta p {
  margin-bottom: 0.8rem;
  color: #4b5c72;
}

/* Gallery */
.gallery {
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 0.9rem;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(9, 30, 66, 0.25);
  height: 180px;
  object-fit: cover;
}

.gallery-item::after {
  content: "Ampliar";
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.3rem 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 15, 31, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
}

.lightbox img {
  width: 100%;
  border-radius: 1rem;
  max-height: calc(100vh - 4rem);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  background: #ff4b5c;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Video */
.video-section {
  background: #f4f7fb;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1.1rem;
  box-shadow: 0 18px 40px rgba(11, 58, 122, 0.35);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact */
.contact {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info p {
  color: #4b5c72;
  margin-bottom: 0.8rem;
}

.contact-list {
  list-style: none;
  margin-bottom: 1rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: #122033;
}

.contact-list i {
  margin-top: 0.12rem;
  color: #0b8ad9;
}

.map-wrapper {
  margin-top: 0.9rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(9, 30, 66, 0.25);
}

.map-wrapper iframe {
  width: 100%;
  min-height: 230px;
  border: 0;
}

.contact-form-wrapper {
  background: #f4f7fb;
  border-radius: 1.1rem;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 10px 26px rgba(11, 58, 122, 0.18);
}

.contact-form-wrapper h3 {
  margin-bottom: 0.5rem;
  color: #0b3a7a;
}

.contact-form-wrapper p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #4b5c72;
}

.contact-form .form-row {
  margin-bottom: 0.8rem;
}

.contact-form label {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.25rem;
  color: #36455c;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid #c5d1e3;
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0b8ad9;
  box-shadow: 0 0 0 3px rgba(11, 138, 217, 0.15);
}

.form-note {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: #64748b;
}

/* Footer */
.footer {
  background: #0b3a7a;
  color: #ffffff;
  padding: 1.4rem 0;
  font-size: 0.85rem;
}

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

.footer a {
  color: #ffd15a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  z-index: 210;
}

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

/* Scroll top button */
.scroll-top {
  position: fixed;
  bottom: 90px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #0b3a7a;
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  z-index: 205;
}

.scroll-top.show {
  display: flex;
}

.scroll-top i {
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    order: -1;
  }

  .about-grid,
  .contact-grid,
  .fb-embed-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .fb-iframe-container iframe {
    min-height: 360px;
  }
}

@media (max-width: 780px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.82rem;
    padding: 0.5rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    background: #ffffff;
    padding: 0.7rem 1.3rem 0.8rem;
    flex-direction: column;
    gap: 0.7rem;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-inner {
    position: relative;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 2.5rem 0 2.4rem;
  }

  .section {
    padding: 2.8rem 0;
  }

  .gallery-item {
    height: 160px;
  }

  .contact-form-wrapper {
    padding: 1.1rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
  }

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