/* =========================================================
   3 Margaritas — base del sitio (layout, header, modulos)
   Cada pagina carga ademas su propio css/<pagina>.css
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, a, img, strong, em, b, i, ol, ul, li,
figure, header, footer, nav, section, main, details, summary, iframe { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
ol, ul { list-style: none; }
img { max-width: 100%; height: auto; }
a { color: #2ea3f2; text-decoration: none; }
a:hover { text-decoration: none; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }
button { font: inherit; cursor: pointer; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #666;
  background-color: #fff;
  line-height: 1.7em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p { padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
h1, h2, h3, h4, h5, h6 { color: #333; padding-bottom: 10px; line-height: 1em; font-weight: 500; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
.clearfix::after { content: ""; display: block; clear: both; }

#page-container { position: relative; overflow-x: hidden; transition: margin-top .4s ease-in-out; }
#main-header.et-disabled-animations, #main-header.et-disabled-animations * { transition-duration: 0s !important; }
#main-content { background-color: #fff; }
.fixed-nav #page-container { padding-top: 149px; }
.blank #page-container { padding-top: 0; }

/* ---------- Header (fijo, se encoge al hacer scroll) ---------- */
#main-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 99999;
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  font-weight: 500; line-height: 23px;
  transition: background-color .4s, color .4s, transform .4s, opacity .4s ease-in-out;
}
#main-header.et-fixed-header { box-shadow: 0 0 7px rgba(0, 0, 0, .1); }
#main-header .container { width: 80%; max-width: 1080px; margin: auto; position: relative; }
#main-header .container::after { content: ""; display: block; clear: both; }
.logo_container { position: absolute; height: 100%; width: 100%; transition: all .4s ease-in-out; }
.logo_container a { display: inline; }
.logo_container::before { content: ""; display: inline-block; height: 100%; vertical-align: middle; }
#logo {
  width: auto; max-height: 56%; display: inline-block; vertical-align: middle;
  transition: all .4s ease-in-out; transform: translate3d(0, 0, 0);
}
#et-top-navigation { float: right; padding: 68px 0 0 0; font-weight: 600; position: relative; transition: all .4s ease-in-out; }
#top-menu-nav, #top-menu { line-height: 0; float: left; }
#top-menu li { display: inline-block; font-size: 14px; padding-right: 22px; position: relative; word-wrap: break-word; }
#top-menu > li:last-child { padding-right: 0; }
#top-menu a {
  color: #0a0a0a; display: block; position: relative; line-height: 1em;
  padding-bottom: 68px;
  transition: opacity .4s ease-in-out, background-color .4s ease-in-out, padding .4s ease-in-out;
}
#top-menu-nav > ul > li > a:hover { opacity: .7; }
#top-menu li.current > a, #top-menu li.current-ancestor > a { color: #1fadad; }
#top-menu .has-sub > a:first-child { padding-right: 20px; }
#top-menu .has-sub > a:first-child::after {
  content: ""; position: absolute; right: 2px; top: 1px;
  width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
/* submenu */
#top-menu li ul {
  position: absolute; top: 100%; left: 0; z-index: 9999; width: 240px; padding: 20px 0;
  background: #fff; border-top: 3px solid #25c1c6; box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
  text-align: left; visibility: hidden; opacity: 0; transition: all .2s ease-in-out;
}
#top-menu li:hover > ul { visibility: visible; opacity: 1; }
#top-menu li li { padding: 0 20px; margin: 0; display: block; line-height: 2em; }
#top-menu li li a { padding: 6px 20px; width: 200px; color: rgba(0, 0, 0, .7); line-height: 2em; }
#top-menu li li a:hover { opacity: .7; background-color: rgba(0, 0, 0, .03); }
#top-menu li li.current > a { color: #1fadad; }

/* header compacto al hacer scroll */
#main-header.et-fixed-header #et-top-navigation { padding-top: 20px; }
#main-header.et-fixed-header #top-menu > li > a { padding-bottom: 20px; }
#main-header.et-fixed-header #top-menu li ul { top: 100%; }

/* menu movil */
#et_mobile_nav_menu { float: right; display: none; }
.mobile_menu_bar {
  position: relative; display: block; width: 32px; height: 30px; background: none; border: 0; padding: 0;
  margin-bottom: 24px;
}
.mobile_menu_bar span, .mobile_menu_bar span::before, .mobile_menu_bar span::after {
  position: absolute; left: 7px; width: 18px; height: 2px; background: rgba(0, 0, 0, .6); border-radius: 0;
  transition: transform .3s, opacity .3s, top .3s;
}
.mobile_menu_bar span { top: 14px; }
.mobile_menu_bar span::before { content: ""; left: 0; top: -6px; }
.mobile_menu_bar span::after { content: ""; left: 0; top: 6px; }
.et_mobile_menu {
  display: none; position: absolute; left: 0; top: 80px; width: 100%; padding: 5%; z-index: 9999;
  background: #fff; border-top: 3px solid #2ea3f2; box-shadow: 0 2px 5px rgba(0, 0, 0, .1); text-align: left;
}
.mobile-open .et_mobile_menu { display: block; }
.et_mobile_menu li a {
  display: block; padding: 10px 5%; border-bottom: 1px solid rgba(0, 0, 0, .03);
  color: rgba(0, 0, 0, .6); font-size: 14px; font-weight: 600; line-height: 23px;
}
.et_mobile_menu .has-sub > a { background-color: rgba(0, 0, 0, .03); font-weight: 700; }
.et_mobile_menu li li { padding-left: 5%; }
.et_mobile_menu .sub-menu { display: block; }

/* ---------- Footer ---------- */
.site-footer.sec { height: 50px; background-color: #000; }
.site-footer .row { margin-top: -37px; }
.site-footer p { padding: 0; }
.site-footer a { color: #2ea3f2; }

/* ---------- Secciones / filas / columnas ---------- */
.sec { position: relative; background-color: #fff; background-position: 50%; background-size: cover; }
.sec.fw { padding: 0; }
.row { width: 80%; max-width: 1080px; margin: auto; position: relative; }
.row::after { content: ""; display: block; clear: both; }
.col { float: left; position: relative; z-index: 2; min-height: 1px; background-size: cover; background-position: 50%; background-repeat: no-repeat; }
.row .col:last-child { margin-right: 0 !important; }
.mod { position: relative; background-size: cover; background-position: 50%; background-repeat: no-repeat; }
.col .mod { margin-bottom: 30px; }
.row .col .mod:last-child { margin-bottom: 0; }

@media (min-width: 981px) {
  .sec { padding: 4% 0; }
  .sec.fw { padding: 0; }
  .row { padding: 2% 0; }
  .col { margin-right: 5.5%; }
  .col.w4-4 { width: 100%; }        .w4-4 .mod { margin-bottom: 2.75%; }
  .col.w3-4 { width: 73.625%; }     .w3-4 .mod { margin-bottom: 3.735%; }
  .col.w2-3 { width: 64.833%; }     .w2-3 .mod { margin-bottom: 4.242%; }
  .col.w3-5 { width: 57.8%; }       .w3-5 .mod { margin-bottom: 4.758%; }
  .col.w1-2 { width: 47.25%; }      .w1-2 .mod { margin-bottom: 5.82%; }
  .col.w2-5 { width: 36.7%; }       .w2-5 .mod { margin-bottom: 7.493%; }
  .col.w1-3 { width: 29.6667%; }    .w1-3 .mod { margin-bottom: 9.27%; }
  .col.w1-4 { width: 20.875%; }     .w1-4 .mod { margin-bottom: 13.174%; }
  /* filas sin separacion entre columnas */
  .row.g1 .col { margin-right: 0; }
  .row.g1 .col.w4-4 { width: 100%; }
  .row.g1 .col.w3-4 { width: 75%; }
  .row.g1 .col.w2-3 { width: 66.667%; }
  .row.g1 .col.w3-5 { width: 60%; }
  .row.g1 .col.w1-2 { width: 50%; }
  .row.g1 .col.w2-5 { width: 40%; }
  .row.g1 .col.w1-3 { width: 33.3333%; }
  .row.g1 .col.w1-4 { width: 25%; }
  .row.g1 .col .mod { margin-bottom: 0; }
  .row .col .mod:last-child { margin-bottom: 0; }
}
@media (min-width: 1350px) {
  .sec { padding: 54px 0; }
  .sec.fw { padding: 0; }
  .row { padding: 27px 0; }
}
@media (max-width: 980px) {
  .fixed-nav #page-container { padding-top: 78px; }
  .sec { padding: 50px 0; }
  .sec.fw { padding: 0; }
  .row { padding: 30px 0; }
  .col { width: 100%; margin-bottom: 30px; }
  .row .col:last-child { margin-bottom: 0; }
  .col.empty { display: none; }
  .row.g1 .col, .row.g1 .col .mod { margin-bottom: 0; }
}

/* columnas estrechas: tamanos de titulo reducidos (como el original) */
.w1-3 h1, .w1-4 h1, .w2-5 h1 { font-size: 26px; }
.w1-3 h2, .w1-4 h2, .w2-5 h2 { font-size: 23px; }
.w1-3 h3, .w1-4 h3, .w2-5 h3 { font-size: 20px; }
.w1-3 h4, .w1-4 h4, .w2-5 h4 { font-size: 18px; }
.w1-3 h5, .w1-4 h5, .w2-5 h5 { font-size: 16px; }
.w1-3 h6, .w1-4 h6, .w2-5 h6 { font-size: 15px; }

/* fondos parallax */
.plx-wrap { overflow: hidden; position: absolute; inset: 0; }
.plx-bg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; display: block; background-repeat: no-repeat; background-position: top; background-size: cover; }
.plx .plx-css { background-attachment: fixed; }
.plx-bg.tb-x, .plx-bg.ph-x { display: block; }
.plx-bg.plx-tb, .plx-bg.plx-ph { display: none; }
@media (max-width: 980px) {
  .plx-bg.tb-x { display: none; }
  .plx-bg.plx-tb { display: block; }
}
@media (max-width: 767px) {
  .plx-bg.ph-x { display: none; }
  .plx-bg.plx-ph { display: block; }
}
@media (hover: none) { .plx .plx-css { background-attachment: scroll; } }
.plx .row { z-index: 2; }

/* divisores con forma de las secciones */
.dvd-top, .dvd-bot { display: block; position: absolute; left: 0; right: 0; width: 100%; height: 100%; pointer-events: none; background-repeat-y: no-repeat; }
.has-dvd .row { z-index: 5; }

/* ---------- Alineaciones ---------- */
.mod.ta-l { text-align: left; }
.mod.ta-c { text-align: center; }
.mod.ta-r { text-align: right; }
@media (max-width: 980px) {
  .mod.ta-l-tb { text-align: left; }
  .mod.ta-c-tb { text-align: center; }
}
@media (max-width: 767px) {
  .mod.ta-c-ph { text-align: center; }
  .mod.ta-l-ph { text-align: left; }
}
.dark, .dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 { color: #fff !important; }

/* ---------- Texto ---------- */
.txt { word-wrap: break-word; }
.txt ol, .txt ul { padding-bottom: 1em; }
.txt ul { list-style-type: disc; padding-left: 1em; line-height: 26px; }
.txt ol { list-style-type: decimal; padding-left: 1em; }

/* ---------- Imagen ---------- */
.image { display: block; margin-left: auto; margin-right: auto; line-height: 0; }
.image .iw { display: inline-block; position: relative; max-width: 100%; }
.image img { position: relative; }
.bso { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* ---------- Botones ---------- */
.btn-wrap { z-index: 5; } /* que ningun texto o imagen vecina tape el boton */
.btn-wrap > a { display: inline-block; }
.btn-wrap.ba-l { text-align: left; }
.btn-wrap.ba-c { text-align: center; }
.btn-wrap.ba-r { text-align: right; }
@media (max-width: 980px) { .btn-wrap.ba-c-tb { text-align: center; } }
@media (max-width: 767px) { .btn-wrap.ba-c-ph { text-align: center; } }
.btn {
  position: relative; display: inline-block;
  font-size: 20px; font-weight: 500; line-height: 1.7em !important;
  padding: .3em 1em; color: #2ea3f2;
  background-color: transparent; background-size: cover; background-position: 50%; background-repeat: no-repeat;
  border: 2px solid; border-radius: 3px;
  transition-duration: .2s; transition-property: all !important;
}
.btn:hover { border: 2px solid transparent; padding: .3em 2em .3em .7em; background-color: rgba(0, 0, 0, .05); border-radius: 0; }
/* flecha que aparece al pasar el mouse */
.btn::after {
  content: ""; position: absolute; top: 50%; margin-left: -1em; opacity: 0;
  width: .45em; height: .45em; margin-top: -.25em;
  border-right: .14em solid currentColor; border-top: .14em solid currentColor;
  transform: rotate(45deg); transition: all .2s;
}
.btn:hover::after { opacity: 1; margin-left: .45em; }

/* ---------- Blurb (imagen + titulo) ---------- */
.blurb .bl-c { max-width: 550px; margin: 0 auto; position: relative; text-align: center; word-wrap: break-word; width: 100%; }
.blurb .bl-img { display: inline-block; margin-bottom: 30px; line-height: 0; max-width: 100%; }
.blurb .iw { display: block; margin: auto; }
.blurb .bl-img img { border-radius: inherit; }
.blurb .bl-c p:last-of-type { padding-bottom: 0; }
.blurb .bl-h { font-size: 18px; padding-bottom: 10px; }
@media (max-width: 980px) { .blurb .bl-img { display: block; width: auto; } }

/* ---------- Separador / espacio ---------- */
.divider { margin: 0 0 30px; position: relative; }
.divider::before { content: ""; width: 100%; height: 1px; border-top: 1px solid rgba(0, 0, 0, .1); position: absolute; left: 0; top: 0; z-index: 10; }
.divider.dv-hidden::before { display: none; }
.space { box-sizing: content-box; height: 23px; }
.dv-hidden { margin-bottom: 0 !important; }
.dv-in { display: inline-block; width: 100%; }
.divider::after, .space::after { content: ""; display: table; }

/* ---------- Testimonio (slide unico) ---------- */
.slider { position: relative; overflow: hidden; }
.slider .slide {
  position: relative; width: 100%; padding: 0 6%; text-align: center; list-style: none;
  background-position: 50%; background-size: cover; background-repeat: no-repeat;
}
.slider .sd-c { width: 100%; margin: 0 auto; position: relative; z-index: 2; display: table; table-layout: fixed; }
.slider .sd-ci { display: table-cell; width: 100%; vertical-align: middle; }
.slider .sd-desc { padding: 16% 8%; width: auto; margin: auto; word-wrap: break-word; }
.slider .dark .sd-desc { text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.slider .sd-title { font-weight: 300; margin-top: 0; font-size: 46px; }
.slider .sd-content { font-size: 14px; font-weight: 400; color: #333; }
.slider .dark .sd-content { color: #fff; }
.slider .sd-content p:last-of-type { padding-bottom: 0; }
.w1-2 .sd-desc, .w1-3 .sd-desc, .w2-5 .sd-desc, .w3-5 .sd-desc { text-align: center; }
.w1-2 .sd-content, .w1-3 .sd-content, .w2-5 .sd-content { font-size: 14px; }
.w1-2 .slider h2.sd-title, .w3-5 .slider h2.sd-title { font-size: 26px; font-weight: 400; }
.w1-3 .slider h2.sd-title, .w2-5 .slider h2.sd-title { font-size: 22px; font-weight: 400; }
@media (min-width: 981px) { .w1-3 .sd-desc, .w2-5 .sd-desc { padding-bottom: 26%; } }
@media (min-width: 981px) and (max-width: 1100px) {
  .w1-2 .sd-content, .w1-3 .sd-content, .w2-5 .sd-content, .w3-5 .sd-content { font-size: 14px; }
  .w1-2 .slider h2.sd-title, .w1-3 .slider h2.sd-title, .w2-5 .slider h2.sd-title, .w3-5 .slider h2.sd-title { font-size: 18px; }
}
@media (max-width: 980px) {
  .slider h2.sd-title { font-size: 26px; font-weight: 500; }
  .slider .sd-content { font-size: 13px; font-weight: 400; }
  .slider .sd-desc { text-align: center; }
}
@media (max-width: 767px) {
  .slider .sd-content { font-size: 14px; }
  .slider h2.sd-title { font-size: 20px; }
}
@media (max-width: 479px) {
  .slider .sd-content { font-weight: 400; font-size: 10px; display: block; }
}

/* ---------- Toggle (politicas) ---------- */
.tog { border: 1px solid #d9d9d9; padding: 20px; }
.tog:not([open]) { background-color: #f4f4f4; }
.tog[open] { background-color: #fff; z-index: 1; }
.tog summary { list-style: none; cursor: pointer; }
.tog summary::-webkit-details-marker { display: none; }
.tog h5.tog-t { position: relative; padding: 0 50px 0 0; word-wrap: break-word; }
.tog:not([open]) h5.tog-t { color: #666; }
.tog[open] h5.tog-t { color: #333; }
.tog h5.tog-t::before {
  content: "+"; position: absolute; right: 0; top: 50%; margin-top: -.6em;
  font-family: Arial, sans-serif; font-size: 22px; font-weight: 400; line-height: 1em; color: #ccc;
}
.tog[open] h5.tog-t::before { content: "\2013"; }
.tog-c { padding-top: 20px; position: relative; word-wrap: break-word; }
.tog-c p:last-of-type { padding-bottom: 0; }

/* ---------- Redes sociales ---------- */
ul.social { list-style-type: none !important; margin: 0 0 22px; padding: 0; line-height: 26px; }
.social li { display: inline-block; margin-bottom: 8px; position: relative; }
.social li a { margin-right: 8px; display: inline-block; vertical-align: top; text-decoration: none; text-align: center; position: relative; }
.social li:last-child a { margin-right: 0; }
.social li a.icon {
  height: 32px; width: 32px; padding: 0; box-sizing: content-box; border-radius: 3px;
  background-repeat: no-repeat; background-position: center; background-size: 16px 16px;
}
.social li a.icon::before {
  content: ""; display: block; height: 32px; width: 32px; position: relative; z-index: 10;
  background-color: #fff; transition: opacity .3s;
  -webkit-mask: var(--ico) center / 16px 16px no-repeat; mask: var(--ico) center / 16px 16px no-repeat;
}
.social li a.icon:hover::before { opacity: .7; }
.social .sn-name { display: none; }
.social .fb a.icon { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'/%3E%3C/svg%3E"); }
.social .ig a.icon { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E"); }
.social .tt a.icon { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 209.91a210.06 210.06 0 0 1-122.77-39.25v178.72A162.55 162.55 0 1 1 185 188.31v89.89a74.62 74.62 0 1 0 52.23 71.18V0h88a121.18 121.18 0 0 0 1.86 22.17A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14z'/%3E%3C/svg%3E"); }

/* ---------- Codigo embebido (formularios, reviews, mapa) ---------- */
.code { word-wrap: break-word; }
.code iframe { max-width: 100%; }

/* ---------- Animaciones de entrada ---------- */
.js .anim { opacity: 0; }
.anim.is-in { animation: fx-fade 1s ease-in-out both; }
@keyframes fx-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .anim { opacity: 1; }
  .anim.is-in { animation: none; }
}

/* ---------- Responsive header ---------- */
@media (max-width: 980px) {
  #main-header { position: absolute; }
  #top-menu { display: none; }
  #et-top-navigation { padding-top: 24px; margin-right: 0; transition: none; position: static; }
  #et_mobile_nav_menu { display: block; }
  #logo { max-height: 56%; }
}
