@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot?srf3rx");
  src: url("../fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"),
       url("../fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"),
       url("../fonts/icomoon/icomoon.woff?srf3rx") format("woff"),
       url("../fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* ===== Base ===== */
body{
  font-family:"Work Sans",Arial,sans-serif;
  font-weight:400;
  font-size:16px;
  line-height:1.7;
  color:#828282;
  background:#fff;
}
h1,h2,h3,h4,h5{line-height:1.2;font-weight:300!important}
h1,h2,h3,h4,h5,h6,figure{
  color:#000;font-family:"Work Sans",Arial,sans-serif;font-weight:400;margin:0 0 20px
}
a{color:#2f89fc;transition:.5s}
a:hover,a:active,a:focus{color:#2f89fc;outline:0;text-decoration:none}
p{margin:0 0 20px}
::-webkit-selection{color:#fff;background:#2f89fc}
::-moz-selection{color:#fff;background:#2f89fc}
::selection{color:#fff;background:#2f89fc}

/* ===== Page wrapper ===== */
#page{position:relative;overflow-x:hidden;width:100%;height:100%;transition:.5s}
.offcanvas #page{overflow:hidden;position:absolute}
.offcanvas #page:after{
  transition:2s;position:absolute;inset:0;z-index:101;background:rgba(0,0,0,.7);content:""
}

/* ===== Navbar ===== */
.ftco-nav{position:absolute;z-index:88;width:100%}
.ftco-nav .top-menu{padding:28px 0}
.ftco-nav #ftco-logo{font-size:24px;margin:0;padding:0;text-transform:uppercase;font-weight:700;font-family:"Work Sans",Arial,sans-serif}
.ftco-nav #ftco-logo a{color:#fff}
.ftco-nav a{padding:5px 10px;color:#fff}
@media (max-width:992px){.ftco-nav .menu-1{display:none}}
.ftco-nav ul{padding:0;margin:5px 0 0}
.ftco-nav ul li{list-style:none;display:inline;text-transform:uppercase}
.ftco-nav ul li>a{
  font-size:13px;letter-spacing:.1em;padding:30px 15px;
  color:rgba(255,255,255,.85);transition:.5s
}
.ftco-nav ul li>a:hover,.ftco-nav ul li>a:focus,.ftco-nav ul li>a:active{color:#fff}
.ftco-nav ul li.active>a{color:#2f89fc}

/* ===== Flexslider base ===== */
#ftco-hero{min-height:700px;background:#fff url(../images/loader.gif) no-repeat 50% 50%}
#ftco-hero .btn{font-size:24px}
#ftco-hero .btn.btn-primary{padding:14px 30px!important}
#ftco-hero .flexslider{border:0;z-index:1;margin-bottom:0}
#ftco-hero .flexslider .slides{position:relative;overflow:hidden}
#ftco-hero .flexslider .slides li{
  background-repeat:no-repeat;background-size:cover;background-position:center center;min-height:700px;position:relative
}
#ftco-hero .flexslider .slides li:after{position:absolute;inset:0;content:'';background:rgba(0,0,0,.4);z-index:1}
#ftco-hero .flexslider .flex-control-nav{bottom:40px;z-index:1000}
#ftco-hero .flexslider .flex-control-nav li a{
  background:rgba(255,255,255,.2);box-shadow:none;width:12px;height:12px;cursor:pointer
}
#ftco-hero .flexslider .flex-control-nav li a.flex-active{background:rgba(255,255,255,.7)}
#ftco-hero .flexslider .flex-direction-nav{display:none}

/* ===== HERO – FIX DEFINITIVO ===== */
/* altura pantalla */
#ftco-hero, #ftco-hero .flexslider, #ftco-hero .flexslider .slides {height:100vh}
@supports (height: 100dvh){
  #ftco-hero, #ftco-hero .flexslider, #ftco-hero .flexslider .slides {height:100dvh}
}
/* cada slide ocupa toda la altura */
#ftco-hero .flexslider .slides > li{
  min-height:100vh;
  background-position:center center;background-size:cover
}
/* neutraliza grid dentro del hero si alguna plantilla lo trae */
#ftco-hero .container, #ftco-hero .row{margin:0!important;padding:0!important;width:100%!important}
#ftco-hero .col-md-offset-2{margin-left:0!important}
#ftco-hero .col-md-8{width:auto!important;float:none!important}

/* centro absoluto, independiente de Bootstrap */
#ftco-hero .slider-center{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  z-index:2;
}
#ftco-hero .slider-text-inner{
  width:100%; max-width:720px; padding:0 16px; background:transparent;
}
#ftco-hero .slider-text-inner h1{color:#fff;font-size:clamp(26px,6vw,44px);line-height:1.15;margin-bottom:12px}
#ftco-hero .slider-text-inner h2{color:#fff;font-size:clamp(16px,3.6vw,22px);line-height:1.4;margin-bottom:18px}
#ftco-hero .slider-text-inner .btn{font-size:clamp(14px,2.8vw,18px);padding:12px 24px!important}

/* Logo siempre visible, sólo escala */
.ftco-nav #ftco-logo img{display:block!important;width:150px;height:auto}
@media (max-width:1200px){.ftco-nav #ftco-logo img{width:130px!important}}
@media (max-width:991.98px){.ftco-nav #ftco-logo img{width:110px!important}}
@media (max-width:576px){.ftco-nav #ftco-logo img{width:88px!important}}

/* ===== Secciones genéricas ===== */
.ftco-bg-section{background:rgba(0,0,0,.05)}
#ftco-about,.ftco-practice,#ftco-testimonial,#ftco-started,#ftco-blog,#ftco-contact,#ftco-footer{padding:7em 0;clear:both}
@media (max-width:768px){
  #ftco-about,.ftco-practice,#ftco-testimonial,#ftco-started,#ftco-blog,#ftco-contact,#ftco-footer{padding:3em 0}
}
#ftco-counter{padding:4em 0;clear:both}
.ftco-counters{padding:3em 0;background-size:cover;background-attachment:fixed;background-position:center center}
.ftco-counters .icon{width:100px;height:100px;display:table;margin:0 auto 30px}
.ftco-counters .icon i{
  display:table-cell;vertical-align:middle;width:100px;height:100px;font-size:50px;color:#fff;background:#2f89fc;border-radius:50%
}
.ftco-counters .counter-wrap{border:1px solid red!important}
.ftco-counters .ftco-counter{font-size:40px;display:block;color:#fff;font-family:"Work Sans",Arial,sans-serif;width:100%;font-weight:700;margin-bottom:.3em}
.ftco-counters .ftco-counter-label{color:rgba(255,255,255,.7);text-transform:uppercase;font-size:14px;letter-spacing:.2em;margin-bottom:2em;display:block}

#ftco-intro,#ftco-content,#ftco-consult{display:flex;flex-wrap:wrap;width:100%;float:left}
#ftco-content .video,#ftco-content .choose,#ftco-consult .video,#ftco-consult .choose{display:inline-block}
@media (max-width:768px){
  #ftco-content .video,#ftco-content .choose,#ftco-consult .video,#ftco-consult .choose{width:100%!important}
}
#ftco-content .video,#ftco-consult .video{
  display:flex;flex-wrap:wrap;width:50%;background-size:cover;background-position:center center;background-repeat:no-repeat;position:relative
}
#ftco-content .choose,#ftco-consult .choose{width:50%;padding:40px}
#ftco-content .choose-form,#ftco-consult .choose-form{background:#3f52e3}
#ftco-content .choose-form .ftco-heading,#ftco-consult .choose-form .ftco-heading{margin-bottom:40px}
#ftco-content .choose-form .ftco-heading h2,#ftco-consult .choose-form .ftco-heading h2{color:#fff}
#ftco-content .choose-form label,#ftco-consult .choose-form label{color:#fff;font-weight:400}
#ftco-content .choose-form .form-control,#ftco-consult .choose-form .form-control{
  box-shadow:none;background:transparent;border:2px solid rgba(255,255,255,.1);font-size:20px;font-weight:400;color:#fff
}
#ftco-content .choose-form .form-control:active,#ftco-content .choose-form .form-control:focus,
#ftco-consult .choose-form .form-control:active,#ftco-consult .choose-form .form-control:focus{
  outline:0;box-shadow:none;border-color:#2f89fc
}
.progress-bar{background:#3f52e3!important;font-size:14px}

#ftco-intro{z-index:0;padding-bottom:7em}
.third-col{padding:2em;margin-top:-40px;z-index:1;width:50%;background:#6c7ae9;color:#fff;position:relative;overflow:hidden}
@media (max-width:768px){.third-col{width:100%!important}}
.third-col h2,.third-col h3{color:#fff;font-weight:700}
.third-col.third-col-color{background:#3f52e3}
.third-col .icon{position:absolute;top:0;left:-10%}
.third-col .icon i{font-size:200px;color:rgba(255,255,255,.05)}

.services{position:relative;padding:30px;margin-bottom:60px;background:#fff;border:1px solid rgba(0,0,0,.07);transition:.3s}
.services strong{font-weight:400;color:#000}
.services h3{font-weight:400}
.services h3 a{color:#3f52e3}
.services .icon{text-align:center;margin:0 auto 20px;width:70px;height:70px;display:table;transition:.3s}
.services .icon i{display:table-cell;vertical-align:middle;height:70px;font-size:60px;line-height:40px;color:#3f52e3}
.services:hover,.services:focus{background:#3f52e3;color:rgba(255,255,255,.7)}
.services:hover h3 a,.services:focus h3 a{color:#fff}
.services:hover .icon i,.services:focus .icon i{color:#fff}
.services:hover strong,.services:focus strong{color:#fff}

.ftco-social-icons{margin:0;padding:0}
.ftco-social-icons li{list-style:none;display:inline-block}
.ftco-social-icons li a{display:inline-block;color:#2f89fc;padding:0 10px}
.ftco-social-icons li a i{font-size:20px}

.ftco-contact-info ul{padding:0;margin:0}
.ftco-contact-info ul li{padding:0 0 0 40px;margin:0 0 30px;list-style:none;position:relative}
.ftco-contact-info ul li:before{
  color:#2f89fc;position:absolute;left:0;top:.05em;font-family:'icomoon';
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale
}
.ftco-contact-info ul li.address:before{font-size:30px;content:"\e9d1"}
.ftco-contact-info ul li.phone:before{font-size:23px;content:"\e9f4"}
.ftco-contact-info ul li.email:before{font-size:23px;content:"\e9da"}
.ftco-contact-info ul li.url:before{font-size:23px;content:"\e9af"}

.features{margin-bottom:3em;width:100%;float:left}
.ftco-heading{margin-bottom:5em}
.ftco-heading.ftco-heading-sm{margin-bottom:2em}
.ftco-heading h2{font-size:30px;margin-bottom:20px;line-height:1;color:#000;font-weight:400}
.ftco-heading p{font-size:18px;line-height:1.5;color:#828282}
.ftco-heading span{display:block;margin-bottom:10px;text-transform:uppercase;font-size:12px;letter-spacing:2px}
.ftco-heading.ftco-heading2 h2{font-size:50px;font-weight:700;line-height:1}
.ftco-heading.ftco-heading2 p{font-size:24px;margin-bottom:40px}

#ftco-testimonial .testimony-slide{text-align:center}
#ftco-testimonial .testimony-slide span{font-size:18px;font-weight:300;display:block;color:#000}
#ftco-testimonial .testimony-slide figure{margin-bottom:10px;display:inline-block}
#ftco-testimonial .testimony-slide figure img{width:140px;border-radius:7px}
#ftco-testimonial .testimony-slide blockquote{border:0;margin:30px auto;width:70%;position:relative;padding:0}
@media (max-width:992px){#ftco-testimonial .testimony-slide blockquote{width:100%}}
#ftco-testimonial .arrow-thumb{position:absolute;top:40%;display:block;width:100%}
#ftco-testimonial .arrow-thumb a{font-size:32px;color:#dadada}
#ftco-testimonial .arrow-thumb a:hover,#ftco-testimonial .arrow-thumb a:focus,#ftco-testimonial .arrow-thumb a:active{text-decoration:none}
#ftco-testimonial .owl-theme .owl-dots .owl-dot.active span,
#ftco-testimonial .owl-theme .owl-dots .owl-dot:hover span{background:#2f89fc}
#ftco-testimonial .owl-theme .owl-dots .owl-dot span{background:#ccc}

.ftco-staff{text-align:center;margin-bottom:30px}
.ftco-staff img{width:100%;margin-bottom:20px}
.ftco-staff h3{font-size:24px;margin-bottom:5px;font-weight:300!important}
.ftco-staff p{margin-bottom:30px}
.ftco-staff .role{color:gray;margin-bottom:0;font-weight:400;display:block}

#ftco-started{
  padding:7em 0 0;background-size:cover;background-position:top center;background-repeat:no-repeat;position:relative;float:left;width:100%
}
#ftco-started .overlay{position:absolute;inset:0;background:rgba(0,0,0,.7);z-index:0}
#ftco-started .ftco-heading h2{color:#fff;margin-bottom:30px!important}
#ftco-started .ftco-heading p{color:rgba(255,255,255,.5)}
#ftco-started .btn{height:54px;border:none!important;background:#2f89fc;color:#fff;font-size:16px;text-transform:uppercase;font-weight:400;padding:0 50px}
#ftco-started .form-inline .form-group{width:100%!important;margin-bottom:10px}
#ftco-started .form-inline .form-group .form-control{width:100%}

.blog-entry{width:100%;float:left;position:relative;margin-bottom:2em}
.blog-featured{display:block}
.blog-featured a img{margin-bottom:30px}
.blog-featured h2{line-height:1.2;font-size:20px}
.blog-featured h2 a{color:#3f52e3}
.blog-featured h2 a:hover{color:#2f89fc}
.blog-entry .thumb{position:absolute;top:0;left:0;width:150px;float:left}
.blog-entry .desc{padding-left:170px}
.blog-entry .desc h3 a{color:#3f52e3}
.blog-entry .desc h3 a:hover{color:#2f89fc}
.blog-entry .desc .meta{color:#999;font-size:16px;margin-bottom:10px}

.ftco-blog{margin-bottom:40px;width:100%;float:left}
.ftco-blog>a{display:block;position:relative;transition:.5s}
.ftco-blog>a img{width:100%}
@media (max-width:768px){.ftco-blog{width:100%}}
.ftco-blog .blog-text{
  margin-bottom:30px;position:relative;width:100%;padding:30px;float:left;border:1px solid rgba(0,0,0,.07);background:#fff;transition:.3s
}
.ftco-blog .blog-text span{display:inline-block;margin-bottom:20px}
.ftco-blog .blog-text span.comment{float:right}
.ftco-blog .blog-text span.comment a{color:rgba(0,0,0,.3)}
.ftco-blog .blog-text span.comment a i{color:#2f89fc;padding-left:7px}
.ftco-blog .blog-text .meta{color:#b3b3b3;font-size:16px;margin-bottom:10px}
.ftco-blog .blog-text h3{font-size:28px;margin-bottom:20px;line-height:1.5}
.ftco-blog .blog-text h3 a{color:#000}

/* ===== Footer ===== */
#ftco-footer{background:#0b162a;color:rgba(255,255,255,.5);padding:7em 0 4em}
#ftco-footer .ftco-footer-links{padding:0;margin:0}
@media (max-width:768px){#ftco-footer .ftco-footer-links{margin-bottom:30px}}
#ftco-footer .ftco-footer-links li{list-style:none}
#ftco-footer .ftco-footer-links li a{color:rgba(255,255,255,.8);text-decoration:none}
#ftco-footer .ftco-footer-links li a:hover{text-decoration:underline}
#ftco-footer h4{color:#fff;font-size:14px;letter-spacing:.2em;text-transform:uppercase;padding-bottom:15px}
#ftco-footer .ftco-widget{margin-bottom:30px}
@media (max-width:768px){#ftco-footer .ftco-widget{text-align:left}}
#ftco-footer .copyright .block{display:block}

/* ===== Map ===== */
#map{width:100%;height:500px;position:relative}
@media (max-width:768px){#map{height:200px}}

/* ===== Offcanvas ===== */
#ftco-offcanvas{
  position:absolute;z-index:1901;width:270px;background:#000;top:0;right:0;bottom:0;padding:75px 40px 40px;overflow-y:auto;display:none;transform:translateX(270px);transition:.5s
}
@media (max-width:992px){#ftco-offcanvas{display:block}}
.offcanvas #ftco-offcanvas{transform:translateX(0)}
#ftco-offcanvas a{color:rgba(255,255,255,.5)}
#ftco-offcanvas a:hover{color:rgba(255,255,255,.8)}
#ftco-offcanvas ul{padding:0;margin:0}
#ftco-offcanvas ul li{list-style:none}
#ftco-offcanvas ul li>ul{padding-left:20px;display:none}
#ftco-offcanvas ul li.offcanvas-has-dropdown>a{display:block;position:relative}
#ftco-offcanvas ul li.offcanvas-has-dropdown>a:after{
  position:absolute;right:0;font-family:'icomoon';content:"\e921";font-size:20px;color:rgba(255,255,255,.2);transition:.5s
}
#ftco-offcanvas ul li.offcanvas-has-dropdown.active a:after{transform:rotate(-180deg)}

/* ===== Miscelánea ===== */
.uppercase{font-size:14px;color:#000;margin-bottom:10px;font-weight:700;text-transform:uppercase}

.gototop{position:fixed;bottom:20px;right:20px;z-index:999;opacity:0;visibility:hidden;transition:.5s}
.gototop.active{opacity:1;visibility:visible}
.gototop a{width:50px;height:50px;display:table;background:rgba(0,0,0,.5);color:#fff;text-align:center;border-radius:4px}
.gototop a i{height:50px;display:table-cell;vertical-align:middle}
.gototop a:hover,.gototop a:active,.gototop a:focus{text-decoration:none;outline:none}

/* Burger */
.ftco-nav-toggle{position:absolute;right:0;top:65px;z-index:2001;width:44px;height:44px;padding:6px 0 0;display:none;border-bottom:none!important}
@media (max-width:992px){.ftco-nav-toggle{display:block}}
.ftco-nav-toggle{width:25px;height:25px;cursor:pointer;text-decoration:none;top:25px!important}
.ftco-nav-toggle i{position:relative;display:inline-block;width:25px;height:2px;background:#252525;transition:all .2s ease-out}
.ftco-nav-toggle i:before,.ftco-nav-toggle i:after{content:'';width:25px;height:2px;background:#252525;position:absolute;left:0;transition:all .2s ease-out}
.ftco-nav-toggle i:before{top:-7px}
.ftco-nav-toggle i:after{bottom:-7px}
.ftco-nav-toggle:hover i:before{top:-10px}
.ftco-nav-toggle:hover i:after{bottom:-10px}
.ftco-nav-toggle.active i{background:transparent}
.ftco-nav-toggle.active i:before{top:0;transform:rotateZ(45deg);background:#fff}
.ftco-nav-toggle.active i:after{bottom:0;transform:rotateZ(-45deg);background:#fff}
.ftco-nav-toggle.active i:before,.ftco-nav-toggle.active i:after{background:#444}
.ftco-nav-toggle.ftco-nav-white>i,.ftco-nav-toggle.ftco-nav-white>i:before,.ftco-nav-toggle.ftco-nav-white>i:after{background:#fff}

/* Loader */
.ftco-loader{position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999;background:url(../images/loader.gif) center no-repeat #fff}

/* Utilities */
.js .animate-box{opacity:0}
.site-section{padding:7em 0}
.gallery-item{position:relative;overflow:hidden;margin-bottom:30px;display:block}
.gallery-item img{transition:.3s all ease;transform:scale(1)}
.gallery-item:hover img{transform:scale(1.05)}
.pagination{text-align:center}
.pagination a{display:inline-block;width:40px;height:40px;line-height:40px;border-radius:4px;border:1px solid #e6e6e6;background:#fff}
.pagination a:hover{box-shadow:0 1px 7px -1px rgba(0,0,0,.1);border-color:#ccc}
.pagination .caption{width:auto!important;padding:0 10px}
.sidebar-box{margin-bottom:30px;padding:25px;font-size:15px;width:100%;float:left;background:#fff}
.sidebar-box *:last-child{margin-bottom:0}
.sidebar-box h3{font-size:18px;margin-bottom:15px}
.categories li,.sidelink li{position:relative;margin-bottom:10px;padding-bottom:10px;list-style:none;border-bottom:1px dotted gray("300")}
.categories li:last-child,.sidelink li:last-child{margin-bottom:0;border-bottom:none;padding-bottom:0}
.categories li a,.sidelink li a{display:block}
.categories li a span,.sidelink li a span{position:absolute;right:0;top:0;color:#ccc}
.categories li.active a,.sidelink li.active a{color:#000;font-style:italic}
.comment-form-wrap{clear:both}
.comment-list{padding:0;margin:0}
.comment-list .children{padding:50px 0 0 40px;margin:0;float:left;width:100%}
.comment-list li{padding:0;margin:0 0 30px 0;float:left;width:100%;clear:both;list-style:none}
.comment-list li .vcard{width:80px;float:left}
.comment-list li .vcard img{width:50px;border-radius:50%}
.comment-list li .comment-body{float:right;width:calc(100% - 80px)}
.comment-list li .comment-body h3{font-size:20px;color:#000}
.comment-list li .comment-body .meta{text-transform:uppercase;font-size:13px;letter-spacing:.1em;color:#ccc}
.comment-list li .comment-body .reply{padding:5px 10px;background:#e6e6e6;color:#000;text-transform:uppercase;font-size:14px}
.comment-list li .comment-body .reply:hover{color:#000;background:#e3e3e3}
.search-form{background:#f7f7f7;padding:10px}
.search-form .form-group{position:relative}
.search-form .form-group input{padding-right:50px}
.search-form .icon{position:absolute;top:50%;right:20px;transform:translateY(-50%)}
.post-meta{font-size:13px;text-transform:uppercase;letter-spacing:.2em}
.post-meta a{color:#fff;border-bottom:1px solid rgba(255,255,255,.5)}
.top-menu .row{display:flex;align-items:center}
.ftco-widget{display:flex;flex-direction:column;justify-content:center;height:100%}
.ftco-widget img{margin-bottom:15px;max-width:100%;height:150px;object-fit:contain}

/* ====== Team: tamaño uniforme y foco correcto ====== */
:root { --team-aspect: 4/3; }  /* probá 5/4 si querés un poco más de alto */

.ftco-staff img{
  width:100%;
  height:auto;
  aspect-ratio: var(--team-aspect); /* todas con el mismo ancho/alto relativo */
  object-fit: cover;                /* llena el cuadro (recorta si hace falta) */
  object-position: 50% 22%;         /* SUBE el foco para no cortar la cabeza */
  border-radius:7px;
  display:block;
  margin-bottom:20px;
}

/* Ajustes finos por foto (opcional, sin tocar CSS global) */
.ftco-staff img.focal-top    { object-position: 50% 12%; } /* sube más */
.ftco-staff img.focal-center { object-position: 50% 50%; } /* centro exacto */
.ftco-staff img.nocrop       { object-fit: contain; background:#f5f6fa; } /* sin recorte */

/* Fallback para navegadores sin aspect-ratio */
@supports not (aspect-ratio: 1 / 1){
  .ftco-staff img{ height:260px; object-fit: cover; object-position:50% 22%; }
  @media (max-width: 991.98px){ .ftco-staff img{ height:220px; } }
  @media (max-width: 575.98px){ .ftco-staff img{ height:200px; } }
}

