h1, h2, h3, h4, h5, h6 {
  font-family: Poppins, sans-serif;
  line-height: 1.4;
  font-weight: 400;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--beige);
  border-bottom: 0;
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 15px 16px;
  display: grid;
  grid-template-columns: 261px 1fr 1.45fr;
  align-items: center;
  gap: 20px;
  min-height: 145px;
}

.logo img {
  width: 261px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.header-phone,
.header-mails {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--navy-2);
}

.header-phone {
  justify-self: center;
  margin-top: 15px;
}

.header-mails {
  justify-self: end;
}

.header-phone li,
.header-mails li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  padding-right: 0;
}

.header-mails li + li {
  margin-top: 4px;
}

.header-phone a,
.header-mails a {
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

.header-phone a:hover,
.header-mails a:hover {
  color: var(--navy-2);
}

.icon {
  color: var(--navy-2);
  flex-shrink: 0;
}

.header-mobile {
  display: none;
  text-align: center;
  padding: 16px 16px 8px;
}

.header-mobile .logo img {
  width: min(280px, 80vw);
  height: auto;
  margin: 0 auto;
}

.header-mobile-contacts {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  color: var(--navy-2);
}

.header-mobile-contacts li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0;
  font-size: 14px;
}

.header-mobile-contacts a {
  color: #000;
  font-weight: 700;
  font-size: 14px;
}

.site-nav {
  background: var(--navy);
  text-align: center;
}

.nav-desktop {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  justify-content: center;
}

.nav-desktop a {
  display: block;
  color: #fff;
  background: var(--navy);
  font-size: 15px;
  padding: 26px 18px;
  line-height: 1.4;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: #fff;
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 100%;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mobile-panel {
  background: var(--navy);
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
}

.mobile-panel a {
  display: block;
  color: #fff;
  padding: 12px 20px;
  font-size: 15px;
}

.hero {
  position: relative;
  background: #000;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  min-height: 600px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.7;
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  padding: 150px 20px 50px;
  text-align: center;
}

.hero-copy h1 {
  color: #fff;
  font-size: 40px;
  line-height: 1.375;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  font-weight: 400;
}

.section-title {
  text-align: center;
  margin: 0;
  color: var(--navy);
  font-size: 40px;
  text-transform: uppercase;
}

.sobre {
  background: var(--gray);
  padding: 70px 0 0;
}

.sobre-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 20px;
}

.sobre-head .section-title {
  margin-bottom: 0;
}

.sobre-sub {
  text-align: center;
  color: var(--navy);
  margin-top: 20px;
  font-size: 20px;
}

.sobre-split {
  background-image: url("/assets/img/fundo.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sobre-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 714px;
}

.sobre-text {
  background: var(--gray);
  padding: 20px 35px 20px 15px;
  text-align: justify;
}

.sobre-text p {
  color: var(--navy);
  margin: 0 0 1.2em;
}

.areas {
  background: var(--beige);
  padding: 70px 0;
}

.areas-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.area-card {
  text-align: center;
}

.widget-title {
  background: var(--navy);
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
  text-transform: uppercase;
  padding: 10px 8px;
  margin: 0 0 16px;
  text-align: center;
}

.caption-box {
  width: 350px;
  height: 200px;
  margin: 0 auto 12px;
  border: 12px solid #f5f5f5;
  box-shadow: 1px 2px 2px #cacaca;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.caption-box .caption {
  position: absolute;
  inset: 0;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  text-align: center;
  padding: 5px;
}

.caption-box .caption h3 {
  font-size: 16px;
  color: #fff;
  letter-spacing: 0;
  margin: 0;
  font-family: "Open Sans", Poppins, sans-serif;
}

.caption-box img {
  position: relative;
  z-index: 2;
  width: 350px;
  height: 200px;
  object-fit: cover;
  display: block;
  opacity: 1;
  transform: scale(1) translate(0, 0);
  transform-origin: 0 50% 0;
  transition: all 1s ease-out;
}

.caption-box:hover img {
  opacity: 0;
  transform: scale(0.2) translate(-200%, 0);
}

.area-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.7;
}

.noticias {
  background: var(--navy);
  padding: 70px 0;
}

.noticias-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.noticias .section-title {
  color: #fff;
}

.news-carousel {
  position: relative;
  margin-top: 30px;
}

.news-track-wrap {
  overflow: hidden;
}

.news-track {
  display: flex;
  transition: transform 0.3s ease;
}

.news-card {
  flex: 0 0 33.333%;
  padding: 10px;
}

.news-card article {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.news-card article:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.news-card .thumb {
  display: block;
  position: relative;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 218.4px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.4s ease;
}

.news-card .thumb:hover img {
  filter: brightness(50%);
}

.news-card h3 {
  text-align: center;
  padding: 25px 15px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-card h3 a {
  color: #333;
  border-bottom: 1px solid #333;
}

.news-card h3 a:hover {
  color: #888;
}

.news-nav {
  position: absolute;
  top: 40%;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 3;
}

.news-nav.prev { left: -8px; }
.news-nav.next { right: -8px; }

.news-more {
  text-align: center;
  margin-top: 30px;
}

.news-more a {
  display: inline-block;
  background: #fff !important;
  color: var(--navy);
  padding: 10px 18px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.links {
  background: var(--gray-2);
  padding: 70px 0;
}

.links-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.link-item {
  background: #fff;
  text-align: center;
}

.link-item img {
  width: 100%;
  max-width: 146px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 8px auto 0;
}

.link-bar {
  background: var(--beige);
  margin: 8px 0 0;
  padding: 8px 0;
  text-align: center;
}

.link-bar svg {
  color: var(--navy);
}

.site-footer {
  background: var(--navy);
  color: var(--beige);
}

.footer-widgets {
  padding: 30px 0 40px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 47% 53%;
  gap: 30px;
  align-items: start;
}

.footer-grid h2 {
  color: #fff;
  font-size: 40px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: left;
}

.contact-form label {
  display: block;
  color: var(--beige);
  margin-bottom: 4px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid #fff;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  margin: 4px 0 12px;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form button[type="submit"],
.contact-form input[type="submit"] {
  background: var(--beige);
  color: var(--navy);
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 8px 22px;
  font-family: inherit;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}

.g-recaptcha {
  margin: 8px 0 16px;
}

.form-feedback {
  min-height: 1.4em;
  color: #fff;
}

.footer-side iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

.footer-info {
  margin-top: 16px;
  color: var(--beige);
  line-height: 1.9;
}

.footer-info a {
  color: var(--beige);
}

.footer-info svg {
  margin-right: 8px;
  vertical-align: -3px;
}

.footer-logo {
  display: block;
  width: 259px;
  height: 75px;
  object-fit: contain;
  margin: 24px auto 0;
}

.footer-bottom {
  background: var(--beige);
  color: var(--navy);
  text-align: center;
  padding: 14px 15px;
  font-size: 12px;
  line-height: 1;
}

.footer-bottom a {
  color: var(--navy);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 50;
  border-radius: 2px;
}

.page-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 28px 0;
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-header-title {
  font-size: 32px;
  color: #333;
  font-weight: 400;
}

.breadcrumbs {
  font-size: 13px;
  color: #888;
  text-align: right;
}

.breadcrumbs a {
  color: #888;
}

.inner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px 70px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.entry-title {
  font-size: 34px;
  letter-spacing: 0.6px;
  color: #333;
  margin-bottom: 12px;
}

.entry-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 0 0 24px;
  font-size: 14px;
  color: #666;
}

.entry-meta a {
  color: #666;
}

.entry-content {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.8;
}

.entry-content p {
  margin: 0 0 1.1em;
}

.entry-content img.alignleft {
  float: left;
  margin: 0 18px 12px 0;
}

.sidebar-box {
  margin-bottom: 30px;
}

.sidebar-box .widget-title {
  font-size: 13px;
  letter-spacing: 1px;
  text-align: left;
  padding: 8px 10px;
}

.recent-posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-posts li {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.recent-posts a {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.blog-entry {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.blog-entry img {
  width: 300px;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-cat {
  color: #13c5dd;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.blog-cat a {
  color: #13c5dd;
}

.blog-entry-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.blog-entry-title a {
  color: #333;
}

.blog-entry-summary {
  color: #555;
}

.blog-entry-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
  color: #999;
}

.related {
  margin-top: 40px;
  clear: both;
}

.related h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.related-grid h4 {
  font-size: 15px;
  margin-top: 8px;
}

.related-grid h4 a {
  color: #333;
}

@media (max-width: 1024px) {
  .header-top {
    grid-template-columns: 200px 1fr;
  }
  .logo img {
    width: 200px;
    height: auto;
  }
  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }
  .links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 780px) {
  .header-top,
  .nav-desktop {
    display: none;
  }
  .header-mobile,
  .nav-toggle {
    display: flex;
  }
  .hero,
  .hero-slides {
    min-height: 450px;
  }
  .hero-copy {
    padding: 40px 16px;
  }
  .hero-copy h1,
  .section-title,
  .footer-grid h2 {
    font-size: 25px !important;
  }
  .sobre-split-inner,
  .footer-grid,
  .inner-wrap,
  .blog-entry,
  .related-grid,
  .areas-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }
  .sobre-split {
    background-image: none;
    background: var(--gray);
  }
  .sobre-text {
    padding: 0 15px 20px;
  }
  .caption-box,
  .caption-box img {
    width: min(350px, 100%);
    height: auto;
    aspect-ratio: 350 / 200;
  }
  .news-card {
    flex: 0 0 100%;
  }
  .blog-entry img {
    width: 100%;
    height: auto;
  }
  .entry-content img.alignleft {
    float: none;
    display: block;
    margin: 0 0 12px;
  }
}

@media (max-width: 500px) {
  .header-mobile-contacts a {
    font-size: 12px;
  }
}
