/* Identidad institucional. Los iconos conservan su propia fuente. */
body, h1, h2, h3, h4, h5, h6, p, a, li, label, input, select, textarea, button, table {
  font-family: 'Montserrat', Arial, sans-serif;
}
.header .anea-logo {
  width: 280px; max-width: 100%; height: auto; max-height: 85px; object-fit: contain;
}
.anea-footer-logo { display: block; max-width: 100%; height: auto; }
.footer-wrapper { background-color: #12446f !important; }
.footer iframe { max-width: 100%; }
.topbar .topbar-right, .topbar .topbar-right .widget { float: none; }
.topbar .widget .textwidget > ul {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 4px 22px; padding: 7px 0; line-height: 1.65;
}
.topbar .widget .textwidget > ul > li { margin: 0; padding: 0; font-size: 12px; }
.topbar .widget .textwidget > ul > li a { font-size: 12px; white-space: nowrap; }
.topbar .anea-top-mobile .fa { margin-right: 5px; font-size: 16px; vertical-align: middle; }
.anea-about { margin: 35px 0 0; background: #12446f; }
.anea-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.anea-about-photo { background: url('../img/fondo.jpg') center center / cover no-repeat; min-height: 420px; }
.anea-about-copy { padding: 48px clamp(24px, 4vw, 68px); max-width: 720px; }
.anea-about .anea-about-copy h2 { color: #fff; font-style: normal; margin: 0 0 24px; }
.anea-about .anea-about-copy p { color: #fff; text-align: left; line-height: 1.8; margin: 0 0 18px; }
.anea-about .anea-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; list-style: none; padding: 0; margin: 24px 0 28px; }
.anea-about .anea-services li { color: #fff; float: none; width: auto; margin: 0; padding: 0; font-size: 15px; }
.anea-about .anea-services li::before { content: none; }
.anea-about .anea-about-link {
  display: inline-flex; align-items: center; gap: 14px; background: #fff; color: #12446f;
  padding: 12px 20px; border-radius: 4px; font-weight: 600; font-size: 13px;
  line-height: 1.5; text-decoration: none;
}
.anea-about .anea-about-link:hover, .anea-about .anea-about-link:focus { background: #eef3f7; color: #12446f; }
@media (max-width: 767px) {
  .header .anea-logo { width: 230px; }
  .topbar .widget .textwidget > ul { justify-content: flex-start; gap: 6px 18px; }
  .anea-about-grid { grid-template-columns: minmax(0, 1fr); }
  .anea-about-photo { min-height: 240px; }
  .anea-about-copy { padding: 32px 24px; }
}
@media (max-width: 380px) { .anea-about .anea-services { grid-template-columns: 1fr; } }
@media (min-width: 768px) {
  .header .menu-primary-container > .menu > li { margin-left: 18px; }
}
.header .site-navigation-toggle { padding: 0; height: auto; border: 0; border-radius: 0; margin: 0; background: none; }
.header .site-navigation-toggle:hover, .header .site-navigation-toggle:focus { background: none; }
.header .site-navigation-toggle span { background-color: #12446f; }
@media (max-width: 767px) {
  .header .menu-primary-container.anea-menu-open { display: block !important; }
}
@media (max-width: 767px) {
  .header .menu-primary-container, .header .menu-primary-container .menu,
  .header .menu-primary-container .sub-menu { background: #fff; list-style: none; }
  .header .menu-primary-container .menu { margin: 0; padding: 0; }
  .header .menu-primary-container .menu li { list-style: none; }
  .header .menu-primary-container .menu li a { color: #12446f; }
}
.footer .anea-footer-mobiles a,
.footer .anea-footer-mobiles a:hover,
.footer .anea-footer-mobiles a:focus { color: #fff; }
.footer .anea-footer-mobiles a { display: inline-block; padding: 5px 0; text-decoration: none; }
.footer .anea-footer-mobiles .fa { margin-right: 7px; font-size: 19px; vertical-align: middle; }
.btn-whatsapp > a {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: #25d366;
  color: #fff; text-decoration: none; box-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.btn-whatsapp > a:hover, .btn-whatsapp > a:focus { background: #1eaf56; color: #fff; }
.btn-whatsapp > a > .fa { font-size: 38px; }

.header { transition: background-color .3s ease, box-shadow .3s ease; }
.header.scroll {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000 !important;
  background-color: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
  animation: anea-header-arrive .35s ease-out both;
}
.anea-header-spacer { height: 0; }
@keyframes anea-header-arrive {
  from { opacity: .35; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .header { transition: none; }
  .header.scroll { animation: none; }
}
/* Evitar que los anchos de escritorio amplíen la página en teléfonos. */
.footer-inner { width: 100%; max-width: 1170px; box-sizing: border-box; }
@media (max-width: 767px) {
  .page-wrapper, .main-inner { display: block; width: 100%; min-width: 0; }
  .page-wrapper { overflow-x: hidden; overflow-x: clip; }
  .main, .main-wrapper, #container, #content { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .vc_row-has-fill { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .footer-inner { padding: 40px 20px; }
  .footer-first, .footer-second, .footer-third { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .footer img, .main img, .main iframe { max-width: 100%; }
  .footer .textwidget, .anea-about-copy { overflow-wrap: anywhere; }
  .anea-about-grid > * { min-width: 0; box-sizing: border-box; }
  .anea-about .anea-about-link { max-width: 100%; box-sizing: border-box; }
}
@media (max-width: 767px) {
  .main .vc_row.border-top {
    margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0;
  }
  .woocommerce .filter-background .listing-manager-filter-form {
    margin-left: 0; margin-right: 0; padding-left: 15px; padding-right: 15px;
  }
}
@media (max-width: 767px) {
  .main-wrapper { display: block; width: 100%; }
  .main .wpcf7, .main form, .main label { max-width: 100%; min-width: 0; }
  .main input, .main select, .main textarea { max-width: 100%; box-sizing: border-box; }
}
@media (max-width: 400px) {
  .g-recaptcha { height: 60px; }
  .g-recaptcha > div { transform: scale(.75); transform-origin: top left; }
}
/* Inicio móvil: cada sección ocupa su altura real, sin superposiciones. */
@media (max-width: 767px) {
  #busca { margin-top: 0 !important; height: auto; padding: 24px 0; background: #12446f; }
  #busca #container, #propdest #container { margin-top: 0; margin-bottom: 0; }
  #busca h1 { font-size: 26px !important; margin-bottom: 20px !important; }
  #busca h1 br { display: none; }
  #busca .listing-manager-filter-form {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px;
    height: auto !important; margin: 0; padding: 0; box-shadow: none !important;
  }
  #busca .form-group { margin: 0; width: 100%; min-width: 0; float: none; }
  #busca .form-group .form-control, #busca .form-group .button {
    float: none; width: 100% !important; max-width: 100%; margin: 0; box-sizing: border-box;
  }
  #busca .listing-manager-filter-form > span { display: none; }
  #propdest { display: flow-root; clear: both; padding: 32px 0; }
  #propdest1 { margin-top: 0 !important; height: auto; }
  #propdest .woocommerce ul.products {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 0;
  }
  #propdest .woocommerce ul.products::before, #propdest .woocommerce ul.products::after { display: none; }
  #propdest .woocommerce ul.products li.product {
    float: none; clear: none; width: 100%; max-width: 100%; margin: 0; box-sizing: border-box;
  }
  .anea-about { clear: both; margin-top: 24px; }
}
