@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; }

/* =======================================================
*
* 	Template Style 
*
* ======================================================= */
body {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.85;
  color: #828282;
  background: #fff; }

#page {
  position: relative;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s; }
  .offcanvas #page {
    overflow: hidden;
    position: absolute; }
    .offcanvas #page:after {
      -webkit-transition: 2s;
      -o-transition: 2s;
      transition: 2s;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 101;
      background: rgba(0, 0, 0, 0.7);
      content: ""; }

a {
  color: #bea34d;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s; }
  a:hover, a:active, a:focus {
    color: #bea34d;
    outline: none;
    text-decoration: none; }

p {
  margin-bottom: 20px; }

h1, h2, h3, h4, h5, h6, figure {
  color: #000;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  margin: 0 0 20px 0; }

::-webkit-selection {
  color: #fff;
  background: #bea34d; }

::-moz-selection {
  color: #fff;
  background: #bea34d; }

::selection {
  color: #fff;
  background: #bea34d; }

.colorlib-nav .top-menu {
  padding: 28px 0; }

.colorlib-nav #colorlib-logo {
  font-size: 24px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-weight: bold;
  font-weight: 700;
  font-family: "Playfair Display", Georgia, serif; }
  .colorlib-nav #colorlib-logo a {
    color: #bea34d; }
    .colorlib-nav #colorlib-logo a span {
      color: #000; }

/* Logo image cropping: hide transparent padding inside the PNG and keep navbar compact */
#colorlib-logo {
  height: 48px; /* desired visible height for the logo area */
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
}
#colorlib-logo img {
  display: block;
  /* make the image slightly taller than the container and crop with overflow to remove transparent margins */
  height: 72px;
  width: auto;
  transform: translateY(8px); /* move logo down a little so letters are visible but not hidden */
}
/* Responsive: ensure logo is not cropped on small screens */
@media screen and (max-width: 768px) {
  #colorlib-logo {
    height: auto; /* allow the logo container to size to content */
    overflow: visible;
    align-items: center;
  }
  #colorlib-logo img {
    height: auto;
    max-height: 48px; /* limit visual height on mobile */
    width: auto;
    transform: none;
    object-fit: contain;
  }
}
/* Slightly reduce top-menu vertical padding so the appbar is less tall */
.colorlib-nav .top-menu {
  padding: 18px 0;
}

.colorlib-nav a {
  padding: 5px 10px;
  color: #000; }

@media screen and (max-width: 768px) {
  .colorlib-nav .menu-1 {
    display: none; } }

.colorlib-nav ul {
  padding: 0;
  margin: 5px 0 0 0; }
  .colorlib-nav ul li {
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline;
    text-transform: uppercase; }
    .colorlib-nav ul li a {
      font-size: 16px;
      padding: 30px 15px;
      color: rgba(0, 0, 0, 0.7);
      -webkit-transition: 0.5s;
      -o-transition: 0.5s;
      transition: 0.5s; }
      .colorlib-nav ul li a:hover, .colorlib-nav ul li a:focus, .colorlib-nav ul li a:active {
        color: black; }
    .colorlib-nav ul li.has-dropdown {
      position: relative; }
      .colorlib-nav ul li.has-dropdown .dropdown {
        width: 140px;
        -webkit-box-shadow: 0px 14px 33px -9px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 14px 33px -9px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 14px 33px -9px rgba(0, 0, 0, 0.75);
        z-index: 1002;
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 40px;
        left: 0;
        text-align: left;
        background: #000;
        padding: 20px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        border-radius: 4px;
        -webkit-transition: 0s;
        -o-transition: 0s;
        transition: 0s; }
        .colorlib-nav ul li.has-dropdown .dropdown:before {
          bottom: 100%;
          left: 40px;
          border: solid transparent;
          content: " ";
          height: 0;
          width: 0;
          position: absolute;
          pointer-events: none;
          border-bottom-color: #000;
          border-width: 8px;
          margin-left: -8px; }
        .colorlib-nav ul li.has-dropdown .dropdown li {
          display: block;
          margin-bottom: 7px; }
          .colorlib-nav ul li.has-dropdown .dropdown li:last-child {
            margin-bottom: 0; }
          .colorlib-nav ul li.has-dropdown .dropdown li a {
            padding: 2px 0;
            display: block;
            color: #999999;
            line-height: 1.2;
            text-transform: none;
            font-size: 13px;
            letter-spacing: 0; }
            .colorlib-nav ul li.has-dropdown .dropdown li a:hover {
              color: #fff; }
      .colorlib-nav ul li.has-dropdown:hover a, .colorlib-nav ul li.has-dropdown:focus a {
        color: #000; }
    .colorlib-nav ul li.btn-cta a {
      padding: 30px 0px !important;
      color: #fff; }
      .colorlib-nav ul li.btn-cta a span {
        background: #bea34d;
        padding: 10px 20px;
        display: -moz-inline-stack;
        display: inline-block;
        zoom: 1;
        display: inline;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        -ms-border-radius: 100px;
        border-radius: 100px; }
      .colorlib-nav ul li.btn-cta a:hover span {
        -webkit-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 14px 20px -9px rgba(0, 0, 0, 0.75); }
    .colorlib-nav ul li.active > a {
      color: #bea34d;
      position: relative; }

#colorlib-counter,
.colorlib-bg {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  position: relative; }
  #colorlib-counter .overlay,
  .colorlib-bg .overlay {
    z-index: 0;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7); }

.colorlib-video {
  overflow: hidden; }
  @media screen and (max-width: 992px) {
    .colorlib-video {
      height: 450px; } }
  .colorlib-video a {
    z-index: 1001;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -45px;
    margin-left: -45px;
    width: 90px;
    height: 90px;
    display: table;
    text-align: center;
    background: #fff;
    -webkit-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
    -ms-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
    -o-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%; }
    .colorlib-video a i {
      text-align: center;
      display: table-cell;
      vertical-align: middle;
      font-size: 40px; }
  .colorlib-video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s; }
  .colorlib-video:hover .overlay {
    background: rgba(0, 0, 0, 0.7); }
  .colorlib-video:hover a {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }

#colorlib-hero {
  min-height: 700px;
  background: #fff url(../images/loader.gif) no-repeat center center; }
  #colorlib-hero .btn {
    font-size: 24px; }
    #colorlib-hero .btn.btn-primary {
      padding: 14px 30px !important; }
  #colorlib-hero .flexslider {
    border: none;
    z-index: 1;
    margin-bottom: 0; }
    #colorlib-hero .flexslider .slides {
      position: relative;
      overflow: hidden; }
      #colorlib-hero .flexslider .slides li {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        min-height: 700px;
        position: relative; }
        #colorlib-hero .flexslider .slides li:after {
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          content: '';
          background: rgba(0, 0, 0, 0.4);
          z-index: 1; }
    #colorlib-hero .flexslider .flex-control-nav {
      bottom: 40px;
      z-index: 1000; }
      #colorlib-hero .flexslider .flex-control-nav li a {
        background: rgba(255, 255, 255, 0.2);
        -webkit-box-shadow: none;
        box-shadow: none;
        width: 12px;
        height: 12px;
        cursor: pointer; }
        #colorlib-hero .flexslider .flex-control-nav li a.flex-active {
          cursor: pointer;
          background: rgba(255, 255, 255, 0.7); }
    #colorlib-hero .flexslider .flex-direction-nav {
      display: none; }
    #colorlib-hero .flexslider .slider-text {
      display: table;
      opacity: 0;
      min-height: 700px;
      z-index: 9; }
      #colorlib-hero .flexslider .slider-text > .slider-text-inner {
        display: table-cell;
        vertical-align: middle;
        min-height: 700px; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner h1, #colorlib-hero .flexslider .slider-text > .slider-text-inner h2 {
          margin: 0;
          padding: 0;
          color: white; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner h1 {
          margin-bottom: 20px;
          font-size: 44px;
          line-height: 1.3;
          font-weight: 700;
          text-transform: uppercase;
          letter-spacing: 1px; }
          @media screen and (max-width: 768px) {
            #colorlib-hero .flexslider .slider-text > .slider-text-inner h1 {
              font-size: 30px; } }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner h2 {
          font-size: 20px;
          line-height: 1.5;
          margin-bottom: 30px; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner .heading-section {
          font-size: 50px; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner .btn {
          padding: 15px 30px;
          background: #31486f !important;
          color: #fff;
          border: none !important;
          font-size: 18px; }
          #colorlib-hero .flexslider .slider-text > .slider-text-inner .btn:hover {
            background: #bea34d !important;
            -webkit-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75) !important;
            -moz-box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75) !important;
            box-shadow: 0px 14px 30px -15px rgba(0, 0, 0, 0.75) !important; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner .form-inline .form-group {
          width: 100% !important;
          margin-bottom: 10px; }
          #colorlib-hero .flexslider .slider-text > .slider-text-inner .form-inline .form-group .form-control {
            width: 100%;
            background: #fff;
            border: none; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner .colorlib-lead {
          font-size: 20px;
          color: #fff; }
          #colorlib-hero .flexslider .slider-text > .slider-text-inner .colorlib-lead .icon-heart {
            color: #d9534f; }

.colorlib-bg-section {
  background: rgba(0, 0, 0, 0.05); }

#colorlib-about,
#colorlib-practice,
#colorlib-testimonial,
#colorlib-started,
#colorlib-blog,
#colorlib-contact,
#colorlib-footer {
  padding: 7em 0;
  clear: both; }
  @media screen and (max-width: 768px) {
    #colorlib-about,
    #colorlib-practice,
    #colorlib-testimonial,
    #colorlib-started,
    #colorlib-blog,
    #colorlib-contact,
    #colorlib-footer {
      padding: 3em 0; } }

  /* Separación extra entre la sección de consulta (mapa) y el footer */
  /* Make the consulta (map) section more compact and balanced */
  #colorlib-consult {
    padding: 2.5em 0; /* reduce vertical space around section */
  }

  /* Ensure the consult map is large enough to match the form height */
  .consult-map { min-height: 520px !important; height: 100%; max-height: none !important; }

  /* Slightly increase form column so 'área de interés' and textarea are more visible */
  #colorlib-consult .video { width: 42%; min-height: 520px; }
  #colorlib-consult .choose-form { width: 58%; padding: 26px 32px; }

  @media (max-width: 992px) {
    #colorlib-consult { padding: 1.8em 0; }
    .consult-map { min-height: 220px !important; max-height: 320px; }
    #colorlib-consult .video, #colorlib-consult .choose-form { width: 100%; }
    #colorlib-consult .choose-form { padding: 18px; }
  }

  /* Compact consult form styles */
  .compact-consult .form-control{ padding:8px 10px; height:40px; font-size:14px; }
  .compact-consult textarea.form-control{ height:140px; resize:vertical; }
  .compact-consult .btn-compact{ padding:8px 14px; background:#bea34d; border:none; color:#fff; border-radius:6px; font-weight:700; }
  .compact-consult .text-right{ text-align:right; }
  .map-address{ padding:8px 10px !important; font-size:14px !important; bottom:14px !important; left:14px !important; }

  /* Override/general fix for compact form inputs to avoid text clipping */
  .compact-consult .form-control {
    box-sizing: border-box;
    height: auto; /* let padding control height */
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.4;
    background: rgba(255,255,255,0.03);
  }
  .compact-consult select.form-control {
    height: 44px;
    line-height: 1.4;
  }
  .compact-consult textarea.form-control {
    min-height: 160px;
    height: auto;
    padding: 12px;
    line-height: 1.5;
  }

  /* Fix label overflow and select visibility in compact consult form */
  .compact-consult .form-group{
    overflow: visible;
  }
  .compact-consult .form-group label{
    display: block;
    width: 100%;
    margin-bottom: 6px;
    white-space: normal;
    line-height: 1.25;
    color: #222;
    font-size: 14px;
  }
  .compact-consult select.form-control{
    box-sizing: border-box;
    height: auto;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.4;
    color: #222;
    background-color: #ffffff;
    border: 2px solid rgba(0,0,0,0.08);
  }
  .compact-consult select.form-control option{
    color: #222;
    background-color: #fff;
  }
  .compact-consult select.form-control:focus{
    outline: none;
    box-shadow: 0 0 0 3px rgba(190,163,77,0.12);
  }

#colorlib-counter {
  padding: 4em 0;
  clear: both; }

.colorlib-counters {
  padding: 3em 0;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center; }
  .colorlib-counters .icon {
    width: 100px;
    height: 100px;
    display: table;
    margin: 0 auto;
    margin-bottom: 30px; }
    .colorlib-counters .icon i {
        display: table-cell;
        vertical-align: middle;
        width: 100px;
        height: 100px;
        font-size: 50px;
        color: #fff;
        background: #bea34d;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        border-radius: 50%;
        text-align: center;
        line-height: 100px;
        font-style: normal;
        font-weight: 700; }
  .colorlib-counters .counter-wrap {
    border: 1px solid red !important; }
  .colorlib-counters .colorlib-counter {
    font-size: 40px;
    display: block;
    color: white;
    font-family: "Playfair Display", Georgia, serif;
    width: 100%;
    font-weight: 700;
    margin-bottom: .3em; }
  .colorlib-counters .colorlib-counter-label {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 2em;
    display: block; }

#colorlib-intro,
#colorlib-content,
#colorlib-consult {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  width: 100%;
  float: left; }

#colorlib-content .video, #colorlib-content .choose,
#colorlib-consult .video,
#colorlib-consult .choose {
  display: inline-block; }
  @media screen and (max-width: 768px) {
    #colorlib-content .video, #colorlib-content .choose,
    #colorlib-consult .video,
    #colorlib-consult .choose {
      width: 100% !important; } }

#colorlib-content .video,
#colorlib-consult .video {
  display: table;
  width: 50%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap; }

#colorlib-content .choose,
#colorlib-consult .choose {
  width: 50%;
  padding: 40px 40px; }

#colorlib-content .choose-form,
#colorlib-consult .choose-form {
  background: linear-gradient(180deg,#d4af37,#bda04a); }
  #colorlib-content .choose-form .colorlib-heading,
  #colorlib-consult .choose-form .colorlib-heading {
    margin-bottom: 40px; }
    #colorlib-content .choose-form .colorlib-heading h2,
    #colorlib-consult .choose-form .colorlib-heading h2 {
      color: #0b0b0b; }
  #colorlib-content .choose-form .form-control,
  #colorlib-consult .choose-form .form-control {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8); }
    #colorlib-content .choose-form .form-control:active, #colorlib-content .choose-form .form-control:focus,
    #colorlib-consult .choose-form .form-control:active,
    #colorlib-consult .choose-form .form-control:focus {
      outline: none;
      -webkit-box-shadow: none;
      box-shadow: none;
      border-color: #bea34d; }

.progress-bar {
  background-color: #31486f !important;
  font-size: 16px; }

#colorlib-intro {
  z-index: 0;
  padding-bottom: 7em; }

.third-col {
  padding: 2em;
  margin-top: -40px;
  z-index: 1;
  width: 50%;
  background: #bea34d;
  color: #fff;
  position: relative;
  overflow: hidden; }
  @media screen and (max-width: 768px) {
    .third-col {
      width: 100% !important; } }
  .third-col h2 {
    color: #fff;
    font-weight: 700; }
  .third-col.third-col-color {
    background: #bea34d; }
  .third-col .icon {
    position: absolute;
    top: 0px;
    left: -10%; }
    .third-col .icon i {
      font-size: 200px;
      color: rgba(255, 255, 255, 0.05); }

.services {
  position: relative;
  padding: 30px;
  margin-bottom: 60px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s; }
  .services h3 {
    font-weight: 400; }
    .services h3 a {
      color: #31486f; }
  .services .icon {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    display: table;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s; }
    .services .icon i {
      display: table-cell;
      vertical-align: middle;
      height: 70px;
      font-size: 60px;
      line-height: 40px;
      color: #31486f; }
  .services:hover, .services:focus {
    background: #31486f;
    color: rgba(255, 255, 255, 0.7); }
    .services:hover h3 a, .services:focus h3 a {
      color: #fff; }
    .services:hover .icon i, .services:focus .icon i {
      color: #bea34d; }

/* Ensure practice area cards have a consistent height and layout */
/* Ensure practice area cards have a consistent height and layout */
#colorlib-practice .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
#colorlib-practice .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#colorlib-practice .services {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 0;
  min-height: 440px; /* further increased card height so text fits */
  margin-bottom: 30px;
  padding: 40px; /* slightly larger padding to give breathing room */
  box-sizing: border-box;
}
#colorlib-practice .services .desc {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
#colorlib-practice .services .desc p {
  margin-top: 0.5em;
  margin-bottom: 0;
  line-height: 1.45;
  font-size: 15px; /* slightly smaller to help fit */
  overflow-wrap: break-word;
}
@media screen and (max-width: 768px) {
  #colorlib-practice .row {
    display: block;
  }
  #colorlib-practice .row > [class*="col-"] {
    display: block;
  }
  #colorlib-practice .services {
    min-height: auto;
  }
}

/* Homepage services redesign */
#colorlib-practice {
  background: linear-gradient(180deg, #f7f4ec 0%, #ffffff 48%, #f5f1e7 100%);
}

#colorlib-practice .colorlib-heading h2 {
  color: #1f2d3d;
}

#colorlib-practice .colorlib-heading p {
  color: #617387;
  font-size: 17px;
}

#colorlib-practice .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#colorlib-practice .service-card {
  background: #ffffff;
  border: 1px solid rgba(190, 163, 77, 0.3);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(17, 30, 45, 0.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#colorlib-practice .service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(190, 163, 77, 0.62);
  box-shadow: 0 20px 38px rgba(17, 30, 45, 0.15);
}

#colorlib-practice .service-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f8e9bf 0%, #e3c46f 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

#colorlib-practice .service-card__icon i {
  color: #1f2d3d;
  font-size: 34px;
}

#colorlib-practice .service-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

#colorlib-practice .service-card h3 {
  font-size: 26px;
  margin: 0 0 10px;
  color: #223446;
}

#colorlib-practice .service-card p {
  color: #516171;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
  flex: 1 1 auto;
}

#colorlib-practice .service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ac872a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
  transition: color .2s ease, transform .2s ease;
}

#colorlib-practice .service-card__link:hover,
#colorlib-practice .service-card__link:focus {
  color: #7c6120;
  transform: translateX(2px);
  text-decoration: none;
}

#colorlib-practice .btn-learn {
  background: linear-gradient(180deg, #d9bc67 0%, #bf9b41 100%);
  border-color: #bf9b41;
  color: #102030;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#colorlib-practice .btn-learn:hover,
#colorlib-practice .btn-learn:focus {
  filter: brightness(0.98);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(191, 155, 65, 0.35);
}

@media screen and (max-width: 991px) {
  #colorlib-practice .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  #colorlib-practice .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #colorlib-practice .service-card {
    padding: 20px;
  }

  #colorlib-practice .service-card h3 {
    font-size: 23px;
  }
}

.colorlib-social-icons {
  margin: 0;
  padding: 0; }
  .colorlib-social-icons li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    display: inline; }
    .colorlib-social-icons li a {
      display: -moz-inline-stack;
      display: inline-block;
      zoom: 1;
      display: inline;
      color: #bea34d;
      padding-left: 10px;
      padding-right: 10px; }
      .colorlib-social-icons li a i {
        font-size: 20px; }

.colorlib-contact-info ul {
  padding: 0;
  margin: 0; }
  .colorlib-contact-info ul li {
    padding: 0 0 0 40px;
    margin: 0 0 30px 0;
    list-style: none;
    position: relative; }
    .colorlib-contact-info ul li:before {
      color: #bea34d;
      position: absolute;
      left: 0;
      top: .05em;
      font-family: 'icomoon';
      speak: none;
      font-style: normal;
      font-weight: normal;
      font-variant: normal;
      text-transform: none;
      line-height: 1;
      /* Better Font Rendering =========== */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale; }
    .colorlib-contact-info ul li.address:before {
      font-size: 30px;
      content: "\e9d1"; }
    .colorlib-contact-info ul li.phone:before {
      font-size: 23px;
      content: "\e9f4"; }
    .colorlib-contact-info ul li.email:before {
      font-size: 23px;
      content: "\e9da"; }
    .colorlib-contact-info ul li.url:before {
      font-size: 23px;
      content: "\e9af"; }

.features {
  margin-bottom: 3em;
  width: 100%;
  float: left; }

.colorlib-heading {
  margin-bottom: 5em; }
  .colorlib-heading.colorlib-heading-sm {
    margin-bottom: 2em; }
  .colorlib-heading h2 {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #000;
    font-weight: 400; }
  .colorlib-heading p {
    font-size: 18px;
    line-height: 1.5;
    color: #828282; }
  .colorlib-heading span {
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px; }
  .colorlib-heading.colorlib-heading2 h2 {
    font-size: 60px;
    font-weight: 700; }
  .colorlib-heading.colorlib-heading2 p {
    font-size: 24px;
    margin-bottom: 40px; }

#colorlib-testimonial .testimony-slide {
  text-align: center; }
  #colorlib-testimonial .testimony-slide span {
    font-size: 18px;
    font-weight: 700;
    display: block;
    color: #000; }
  #colorlib-testimonial .testimony-slide figure {
    margin-bottom: 10px;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    display: inline; }
    #colorlib-testimonial .testimony-slide figure img {
      width: 140px;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      border-radius: 50%; }
  #colorlib-testimonial .testimony-slide blockquote {
    border: none;
    margin: 30px auto;
    width: 70%;
    position: relative;
    padding: 0; }
    @media screen and (max-width: 992px) {
      #colorlib-testimonial .testimony-slide blockquote {
        width: 100%; } }

#colorlib-testimonial .arrow-thumb {
  position: absolute;
  top: 40%;
  display: block;
  width: 100%; }
  #colorlib-testimonial .arrow-thumb a {
    font-size: 32px;
    color: #dadada; }
    #colorlib-testimonial .arrow-thumb a:hover, #colorlib-testimonial .arrow-thumb a:focus, #colorlib-testimonial .arrow-thumb a:active {
      text-decoration: none; }

#colorlib-testimonial .owl-theme .owl-dots .owl-dot.active span, #colorlib-testimonial .owl-theme .owl-dots .owl-dot:hover span {
  background: #bea34d; }

#colorlib-testimonial .owl-theme .owl-dots .owl-dot span {
  background: #31486f; }

/* Professional testimonial cards on homepage */
#colorlib-testimonial {
  background: linear-gradient(180deg, #f7f5f0 0%, #ffffff 55%, #f6f2e8 100%);
}

#colorlib-testimonial .colorlib-heading h2 {
  color: #1f2d3d;
}

#colorlib-testimonial .colorlib-heading p {
  color: #5f6d7a;
  font-size: 17px;
}

#colorlib-testimonial .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

#colorlib-testimonial .testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(190, 163, 77, 0.25);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(25, 34, 48, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#colorlib-testimonial .testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(190, 163, 77, 0.55);
  box-shadow: 0 18px 34px rgba(25, 34, 48, 0.14);
}

#colorlib-testimonial .testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

#colorlib-testimonial .testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d8bf72;
}

#colorlib-testimonial .testimonial-meta h3 {
  margin: 0;
  font-size: 21px;
  color: #1f2d3d;
}

#colorlib-testimonial .testimonial-meta span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7b848d;
}

#colorlib-testimonial .testimonial-stars {
  margin-bottom: 12px;
  color: #c8a13e;
  letter-spacing: 2px;
  font-size: 17px;
}

#colorlib-testimonial .testimonial-card blockquote {
  margin: 0;
  border-left: 3px solid rgba(190, 163, 77, 0.45);
  padding: 0 0 0 14px;
}

#colorlib-testimonial .testimonial-card blockquote p {
  margin: 0;
  color: #3c4650;
  line-height: 1.7;
  font-size: 15px;
}

@media screen and (max-width: 991px) {
  #colorlib-testimonial .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  #colorlib-testimonial .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #colorlib-testimonial .testimonial-card {
    padding: 18px;
  }

  #colorlib-testimonial .testimonial-meta h3 {
    font-size: 19px;
  }
}

.colorlib-staff {
  text-align: center;
  margin-bottom: 30px; }
  .colorlib-staff img {
    width: 100%;
    margin-bottom: 20px; }
  /* Placeholder avatar when no image is available */
  .colorlib-staff .staff-avatar {
    width: 100%;
    height: 240px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 6px;
    display: block;
    background-color: #f4f4f4;
  }
  .colorlib-staff h3 {
    font-size: 24px;
    margin-bottom: 5px; }
  .colorlib-staff h3 { color: #000; }

/* Premium team section (about.html) */
.team-premium {
  padding: 5.5em 0 6.5em;
  background: linear-gradient(180deg, #f9f7f2 0%, #ffffff 45%, #f7f4ee 100%);
  position: relative;
}
.team-premium:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b7942f 0%, #d9c07a 50%, #b7942f 100%);
}
.team-heading {
  margin-bottom: 3.5em;
}
.team-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b7942f;
  margin-bottom: 12px;
}
.team-heading h2 {
  font-size: 40px;
  margin-bottom: 12px;
  color: #0b0b0b;
}
.team-heading p {
  color: #666;
  max-width: 720px;
  margin: 0 auto;
}
.team-loading,
.team-empty {
  text-align: center;
  color: #777;
  padding: 24px 0 32px;
}
.team-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.team-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(12, 12, 12, 0.08);
  border: 1px solid rgba(183, 148, 47, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(12, 12, 12, 0.12);
}
.team-card--featured {
  flex-direction: row;
  align-items: stretch;
}
.team-media {
  position: relative;
  background: #f2f2f2;
}
.team-media img,
.team-avatar {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.team-card--featured .team-media,
.team-card--featured .team-avatar,
.team-card--featured .team-media img {
  width: 44%;
  height: 100%;
  min-height: 280px;
}
.team-avatar {
  background-size: cover;
  background-position: center;
}
.team-body {
  padding: 24px 24px 28px;
}
.team-card--featured .team-body {
  width: 56%;
  padding: 28px 28px 32px;
}
.team-name {
  font-size: 24px;
  color: #0b0b0b;
  margin-bottom: 6px;
}
.team-area {
  color: #b7942f;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.team-cargo {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111;
  margin-bottom: 8px;
}
.team-desc {
  color: #5e5e5e;
  margin-bottom: 16px;
}
.team-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}
.team-meta a {
  color: #0b0b0b;
  font-weight: 600;
}
.team-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.team-socials a {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(183, 148, 47, 0.3);
  color: #b7942f;
  background: #fffaf0;
}
.team-socials a:hover {
  background: #b7942f;
  color: #ffffff;
}

@media (max-width: 992px) {
  .team-featured {
    grid-template-columns: 1fr;
  }
  .team-card--featured {
    flex-direction: column;
  }
  .team-card--featured .team-media,
  .team-card--featured .team-avatar,
  .team-card--featured .team-media img {
    width: 100%;
    min-height: 240px;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-heading h2 {
    font-size: 30px;
  }
}
  .colorlib-staff p {
    margin-bottom: 30px; }
  .colorlib-staff .role {
    color: gray;
    margin-bottom: 30px;
    font-weight: normal;
    display: block; }

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

.blog-featured a img {
  margin-bottom: 30px; }

.blog-featured h2 a {
  color: #31486f; }
  .blog-featured h2 a:hover {
    color: #bea34d; }

.blog-entry {
  width: 100%;
  float: left;
  position: relative;
  margin-bottom: 2em; }
  .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: #31486f; }
      .blog-entry .desc h3 a:hover {
        color: #bea34d; }
    .blog-entry .desc .meta {
      color: #999999;
      font-size: 16px;
      margin-bottom: 10px; }

.colorlib-blog {
  margin-bottom: 40px;
  width: 100%;
  float: left; }
  .colorlib-blog > a {
    display: block;
    position: relative;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s; }
    .colorlib-blog > a img {
      width: 100%; }
  @media screen and (max-width: 768px) {
    .colorlib-blog {
      width: 100%; } }
  .colorlib-blog .blog-text {
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    padding: 30px;
    float: left;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: #fff;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s; }
    .colorlib-blog .blog-text span {
      display: inline-block;
      margin-bottom: 20px; }
      .colorlib-blog .blog-text span.comment {
        float: right; }
        .colorlib-blog .blog-text span.comment a {
          color: rgba(0, 0, 0, 0.3); }
          .colorlib-blog .blog-text span.comment a i {
            color: #bea34d;
            padding-left: 7px; }
    .colorlib-blog .blog-text .meta {
      color: #b3b3b3;
      font-size: 16px;
      margin-bottom: 10px; }
    .colorlib-blog .blog-text h3 {
      font-size: 28px;
      margin-bottom: 20px;
      line-height: 1.5; }
      .colorlib-blog .blog-text h3 a {
        color: black; }

#colorlib-footer {
  background: #0b162a;
  color: rgba(255, 255, 255, 0.5);
  padding: 7em 0 4em 0; }
  #colorlib-footer .colorlib-footer-links {
    padding: 0;
    margin: 0; }
    @media screen and (max-width: 768px) {
      #colorlib-footer .colorlib-footer-links {
        margin-bottom: 30px; } }
    #colorlib-footer .colorlib-footer-links li {
      padding: 0;
      margin: 0;
      list-style: none; }
      #colorlib-footer .colorlib-footer-links li a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none; }
        #colorlib-footer .colorlib-footer-links li a:hover {
          text-decoration: underline; }
  #colorlib-footer h4 {
    color: #fff;
    font-size: 20px;
    border-bottom: 2px solid #bea34d;
    padding-bottom: 15px; }
  #colorlib-footer .colorlib-widget {
    margin-bottom: 30px; }
    @media screen and (max-width: 768px) {
      #colorlib-footer .colorlib-widget {
        text-align: left; } }
  #colorlib-footer .copyright .block {
    display: block; }

#map {
  width: 100%;
  height: 500px;
  position: relative; }
  @media screen and (max-width: 768px) {
    #map {
      height: 200px; } }

#colorlib-offcanvas {
  position: absolute;
  z-index: 1901;
  width: 270px;
  background: black;
  top: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 75px 40px 40px 40px;
  overflow-y: auto;
  display: none;
  -moz-transform: translateX(270px);
  -webkit-transform: translateX(270px);
  -ms-transform: translateX(270px);
  -o-transform: translateX(270px);
  transform: translateX(270px);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s; }
  @media screen and (max-width: 768px) {
    #colorlib-offcanvas {
      display: block; } }
  .offcanvas #colorlib-offcanvas {
    -moz-transform: translateX(0px);
    -webkit-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px); }
  #colorlib-offcanvas a {
    color: rgba(255, 255, 255, 0.5); }
    #colorlib-offcanvas a:hover {
      color: rgba(255, 255, 255, 0.8); }
  #colorlib-offcanvas ul {
    padding: 0;
    margin: 0; }
    /* Offcanvas logo: center, larger and more visible */
    #colorlib-offcanvas #offcanvas-logo { text-align: center; margin-bottom: 6px; }
    #colorlib-offcanvas #offcanvas-logo img {
      max-width: 220px !important;
      width: auto !important;
      height: auto !important;
      display: block !important;
      margin: 10px auto !important;
      opacity: 1 !important;
      filter: brightness(1.08) saturate(1.15) !important;
    }
    @media screen and (max-width: 480px) {
      #colorlib-offcanvas #offcanvas-logo img { max-width: 180px !important; }
    }
     /* Keep offcanvas menu capitalization as-written in HTML (do not force uppercase).
       Use !important to override global uppercase rules. */
     #colorlib-offcanvas ul li { text-transform: none !important; }
     #colorlib-offcanvas ul li a { text-transform: none !important; color: rgba(255,255,255,0.9); font-weight: 600; }
    #colorlib-offcanvas ul li {
      padding: 0;
      margin: 0;
      list-style: none; }
      #colorlib-offcanvas ul li > ul {
        padding-left: 20px;
        display: none; }
      #colorlib-offcanvas ul li.offcanvas-has-dropdown > a {
        display: block;
        position: relative; }
        #colorlib-offcanvas ul li.offcanvas-has-dropdown > a:after {
          position: absolute;
          right: 0px;
          font-family: 'icomoon';
          speak: none;
          font-style: normal;
          font-weight: normal;
          font-variant: normal;
          text-transform: none;
          line-height: 1;
          /* Better Font Rendering =========== */
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
          content: "\e921";
          font-size: 20px;
          color: rgba(255, 255, 255, 0.2);
          -webkit-transition: 0.5s;
          -o-transition: 0.5s;
          transition: 0.5s; }
      #colorlib-offcanvas ul li.offcanvas-has-dropdown.active a:after {
        -webkit-transform: rotate(-180deg);
        -moz-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        transform: rotate(-180deg); }

.uppercase {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase; }

.gototop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s; }
  .gototop.active {
    opacity: 1;
    visibility: visible; }
      .gototop a {
        width: 360px;
        height: 360px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border-radius: 50%;
        position: relative;
        border: none;
        box-sizing: border-box;
        padding: 0;
      }
      .gototop .chat-toggle-img {
        display: block;
        width: 320px;
        height: 320px;
        object-fit: contain;
      }

    /* Exclamation badge shown while vibrating */
    .gototop a::after {
      content: '!';
      position: absolute;
      /* position to the right of the character and slightly above the vertical center (near the head) */
      top: calc(30% - 52px);
      right: 70px;
      transform: translateY(0%);
      width: 56px;
      height: 56px;
      background: #d4af37;
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      font-size: 24px;
      z-index: 2000;
    }

    /* Hide the exclamation badge when chat is open */
    .gototop a.chat-open::after {
      display: none;
    }
    /* Hide the exclamation badge permanently when dismissed */
    .gototop a.chat-dismissed::after {
      display: none;
    }

    .gototop a.vibrate::after {
      /* keep visible and add pop animation when vibrating */
      animation: pop 1s ease-in-out infinite;
    }

    @media (max-width: 767px) {
      /* mobile: nudge badge further right and up over the head */
      /* badge moved up/sideways for large mobile toggle so it doesn't cover the face */
      .gototop a::after { top: calc(12% - 18px); right: -10px; transform: translateY(0%); width: 34px; height: 34px; font-size:14px; }
    }

    @keyframes pop {
      0% { transform: scale(1); }
      50% { transform: scale(1.15); }
      100% { transform: scale(1); }
    }

    @media (max-width: 767px) {
      /* tamaño del toggle en móvil: 1.5x (0.5 veces más grande que antes) */
      .gototop a { width: 180px; height: 180px; }
      .gototop .chat-toggle-img { width: 156px; height: 156px; }
      /* posición por defecto móvil: ligeramente desplazado desde la derecha */
      /* mover 5 líneas hacia abajo (≈80px) y 2 líneas a la derecha (más cerca del borde) */
      .gototop { right: 0px; bottom: 30px; }
      .chat-widget { right: 12px; bottom: 90px; }
    }

    /* Mobile: make chat widget fit viewport without changing desktop */
    @media (max-width: 767px) {
      .chat-widget {
        /* larger, near-fullscreen experience on small devices */
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 24px;
        width: calc(100% - 24px);
        max-width: none;
        transform: none;
        height: auto;
        max-height: calc(100vh - 48px);
        border-radius: 10px;
        padding: 0;
        box-shadow: 0 12px 36px rgba(0,0,0,0.28);
        display: none;
        box-sizing: border-box;
        overflow-x: hidden;
      }
      .chat-widget.open { display: block; }

      .chat-widget .chat-header {
        padding: 10px 12px;
        font-size: 16px;
        min-height: 52px;
      }
      .chat-widget .chat-header-left{ gap:8px; }
      .chat-widget .chat-avatar{ width:44px; height:44px; }
      .chat-widget .chat-title{ font-size:18px; }

      .chat-widget .chat-body {
        padding: 14px;
        box-sizing: border-box;
        max-height: calc(100vh - 180px);
        overflow-y: auto;
        font-size: 16px;
        line-height: 1.6;
      }

      /* Ensure images and long lines don't force horizontal scroll inside chat */
      .chat-widget .chat-body img,
      .chat-widget .chat-body video,
      .chat-widget .chat-body iframe {
        max-width: 100%;
        height: auto;
        display: block;
      }
      .chat-widget .chat-body pre, .chat-widget .chat-body code {
        white-space: pre-wrap; word-break: break-word;
      }

      .chat-widget .chat-footer{
        padding: 10px 12px;
        gap:8px;
      }
      .chat-widget .chat-input{
        font-size:16px;
        padding:10px 12px;
        height:48px;
      }
      .chat-widget .chat-send{ padding:10px 14px; font-size:16px; }
    }

  /* Chat widget placeholder */
  .chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    /* aumentado para mostrar preguntas predefinidas */
    width: 420px;
    height: 560px;
    background: rgba(255,255,255,0.96);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    display: none;
    /* ensure widget sits above the floating toggle */
    z-index: 10050;
    overflow: hidden;
  }
  .chat-widget.open { display: block; }
  .chat-widget .chat-header {
    /* match send button color */
    background: linear-gradient(180deg,#bea34d,#a8852c);
    color:#fff;
    padding:10px 12px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:space-between;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.06);
  }
  .chat-widget .chat-header-left{ display:flex; align-items:center; gap:10px; }
  .chat-widget .chat-avatar{ width:40px; height:40px; border-radius:6px; object-fit:cover; border:none; box-shadow:none; }
  .chat-widget .chat-title{ font-size:16px; line-height:1; }
  .chat-widget .chat-sub{ display:block; font-size:11px; color:rgba(255,255,255,0.8); font-weight:400; }
  .chat-widget .chat-close{ background:transparent; border:none; color:rgba(255,255,255,0.95); font-size:20px; line-height:1; cursor:pointer; padding:4px 8px; }
  .chat-widget .chat-body {
    padding:18px;
    /* ajustar altura interna en función del tamaño del widget (header + footer ~130px) */
    box-sizing: border-box;
    max-height: calc(100% - 140px);
    overflow-y: auto;
    color:#333;
    font-size:15px;
    line-height:1.6;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.92));
    backdrop-filter: blur(4px);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  .chat-widget .chat-body p { margin:0 0 10px 0; }

.chat-widget .welcome p {
  margin: 0 0 10px 0;
  color: #333;
  line-height: 1.45;
}
.chat-widget .welcome .signature {
  margin-top: 8px;
  font-weight: 700;
  color: #2c3e50;
}

/* Footer with input */
.chat-widget .chat-footer{
  display:flex;
  gap:8px;
  padding:12px;
  border-top:1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,250,0.96));
}
 .chat-widget .chat-input{
  flex:1 1 auto;
  padding:12px 14px;
  border:1px solid rgba(0,0,0,0.06);
  border-radius:8px;
  font-size:14px;
  outline:none;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
 }
.faq-list{
  margin-top:8px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap:10px;
  animation: chatFadeIn .18s ease;
}
/* ensure followup-list uses same layout and does not reserve unexpected space */
.followup-list{
  margin-top:8px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap:10px;
  animation: chatFadeIn .18s ease;
}
.faq-btn{
  display:block;
  width:100%;
  text-align:left;
  background: linear-gradient(180deg,#ffffff,#fbfbfb);
  border:1px solid rgba(44,62,80,0.08);
  padding:10px 12px;
  border-radius:8px;
  cursor:pointer;
  font-size:13px;
  font-weight:600;
  color:#2c3e50;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 6px 18px rgba(0,0,0,0.03);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.faq-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
  background: linear-gradient(180deg,#fff,#f7f7f7);
}

/* Gold button variant: high-specificity override for hero CTA */
.btn-gold {
  background: linear-gradient(180deg,#d4af37,#bea34d) !important;
  color: #0b0b0b !important;
  border: none !important;
  box-shadow: none !important;
}

/* Ensure hero-specific buttons with btn-gold override the default blue */
#colorlib-hero .flexslider .slider-text > .slider-text-inner .btn.btn-gold,
#colorlib-hero .flexslider .slider-text > .slider-text-inner .btn.btn-gold:hover {
  background: linear-gradient(180deg,#d4af37,#bea34d) !important;
  color: #0b0b0b !important;
  border: none !important;
  -webkit-box-shadow: 0px 14px 30px -15px rgba(0,0,0,0.15) !important;
  -moz-box-shadow: 0px 14px 30px -15px rgba(0,0,0,0.15) !important;
  box-shadow: 0px 14px 30px -15px rgba(0,0,0,0.15) !important;
}

.faq-btn:active{ transform: translateY(0); }
.faq-btn:focus{ outline: 3px solid rgba(190,163,77,0.18); outline-offset:2px; }

/* icon inside FAQ/followup buttons */
.faq-icon{ display:inline-block; width:20px; height:20px; margin-right:10px; vertical-align:middle; flex:0 0 20px; }
.faq-icon svg{ display:block; width:100%; height:100%; }
.faq-text{ vertical-align:middle; display:inline-block; }

/* followup buttons share style */
.followup-btn{ display:block; width:100%; text-align:left; background: linear-gradient(180deg,#ffffff,#fbfbfb); border:1px solid rgba(44,62,80,0.06); padding:10px 12px; border-radius:8px; font-weight:600; color:#2c3e50; box-shadow: 0 1px 0 rgba(0,0,0,0.02); cursor:pointer; transition: transform .12s ease, box-shadow .12s ease; }
.followup-btn:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.05); }
.chat-widget .chat-send{
  background: linear-gradient(180deg,#bea34d,#a8852c);
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:8px;
  cursor:pointer;
  font-weight:800;
  box-shadow: 0 8px 22px rgba(186,140,62,0.18);
}
.chat-widget .chat-send:hover{ filter:brightness(0.95); }

/* Contact button shown inside chat footer */
.chat-widget .chat-contact-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  margin-left:8px;
  background:#f7fbff;
  border:1px solid #e6eef8;
  border-radius:6px;
  text-decoration:none;
  color:#1f497a;
  font-weight:700;
  font-size:13px;
}
.chat-widget .chat-contact-btn svg{ width:16px; height:16px; display:block; }
/* Ensure image icons used in chat contact buttons are visible */
.chat-widget .chat-contact-btn img{ width:16px; height:16px; display:block; }


/* small responsive adjustments */
@media (max-width:767px){
  /* Make widget fill most of the viewport while keeping the same visual style */
  .chat-widget{
    right:4%;
      /* mover más a la izquierda (aumentar la separación desde el borde derecho) y subirlo para que no quede cortado */
      /* (Nota: .gototop ajustes aplicados en media queries fuera de este bloque) */
    max-width:420px;
    height:86vh;
    border-radius:10px;
  }
  .chat-widget.open { display:block; }
  .chat-widget .chat-header{ padding:12px; }
  .chat-widget .chat-avatar{ width:40px; height:40px; }
  .chat-widget .chat-title{ font-size:15px; }
  .chat-widget .chat-sub{ font-size:11px; }
  .chat-widget .chat-body{ padding:14px; max-height: calc(100% - 150px); }
  .chat-widget .chat-footer{ padding:12px; }
  .chat-widget .chat-input{ padding:10px 12px; }
  .chat-widget .chat-send{ padding:10px 14px; }
  /* single-column layout on small screens */
  .faq-list, .followup-list { display: grid; grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; gap:8px; }
  .faq-btn, .followup-btn { font-size:14px; padding:10px 12px; }
  /* floating toggle size for small screens */
  .gototop a { width:180px; height:180px; }
  /* image size inside toggle */
  .gototop .chat-toggle-img { width:156px; height:156px; }
}

/* Vibrate animation for chat toggle */
@keyframes vibrate {
  0% { transform: translate(0, 0) rotate(0deg); }
  10% { transform: translate(-3px, -3px) rotate(-1deg); }
  20% { transform: translate(3px, 2px) rotate(1deg); }
  30% { transform: translate(-3px, 3px) rotate(-1deg); }
  40% { transform: translate(3px, -2px) rotate(1deg); }
  50% { transform: translate(-2px, -1px) rotate(-1deg); }
  60% { transform: translate(2px, 1px) rotate(1deg); }
  70% { transform: translate(-2px, 2px) rotate(-1deg); }
  80% { transform: translate(2px, -1px) rotate(1deg); }
  90% { transform: translate(-1px, 0px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.gototop a.vibrate {
  animation: vibrate 0.9s linear infinite;
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.gototop a.vibrate {
  animation: vibrate 0.9s linear infinite;
}

.colorlib-nav-toggle {
  width: 25px;
  height: 25px;
  cursor: pointer;
  text-decoration: none;
  top: 25px !important; }
  .colorlib-nav-toggle.active i::before, .colorlib-nav-toggle.active i::after {
    background: #444; }
  .colorlib-nav-toggle:hover, .colorlib-nav-toggle:focus, .colorlib-nav-toggle:active {
    outline: none;
    border-bottom: none !important; }

  /* Map overlay tweaks: ensure address box is superposed over the map */
  #colorlib-consult .video {
    position: relative;
    min-height: 480px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(190,163,77,0.24), inset 0 1px 0 rgba(255,255,240,0.03);
    border: 1px solid rgba(190,163,77,0.18);
    overflow: hidden;
  }
  /* make any consult-map fill its video container */
  .video .consult-map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }
  /* Leaflet popup/tooltip small style for consult maps */
  .leaflet-tooltip {
    font-size: 13px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    border-radius: 4px;
    padding: 4px 8px;
  }
  .small-map-popup .leaflet-popup-content-wrapper, .leaflet-popup-content-wrapper.small-map-popup {
    background: #fff;
    border-radius: 6px;
    padding: 8px 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  }
  .small-map-popup .leaflet-popup-content, .leaflet-popup-content.small-map-popup {
    font-size: 13px;
    line-height: 1.4;
    color: #222;
  }
  .leaflet-popup-tip-container { display: none; }
  /* Ensure popups appear above overlays */
  .leaflet-popup, .leaflet-tooltip {
    z-index: 100000 !important;
  }
  #colorlib-consult .video .map-address {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    max-width: 280px;
  }
  /* Styled card for the small map popup */
  .small-map-popup .map-popup, .map-popup {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    max-width: 320px;
  }
  .map-popup-left img{
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    padding: 6px;
  }
  .map-popup-right h4{ margin:0 0 6px 0; font-size:14px; color:#333; }
  .map-popup-address{ font-size:13px; color:#444; margin-bottom:6px; }
  .map-popup-coords{ font-size:12px; color:#666; margin-bottom:8px; }
  .map-popup-link a{ display:inline-block; padding:6px 8px; background:#bea34d; color:#fff; border-radius:4px; text-decoration:none; font-weight:600; }
  /* subtle popup wrapper style */
  .small-map-popup .leaflet-popup-content-wrapper, .leaflet-popup-content-wrapper.small-map-popup{
    background: linear-gradient(180deg,#fff,#fbfbfb);
    border-radius:8px;
    padding:8px 10px;
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
  }
  .colorlib-nav-toggle i {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 2px;
    color: #252525;
    font: bold 14px/.4 Helvetica;
    text-transform: uppercase;
    text-indent: -55px;

  /* Style the form part of the consult section to match the map card */
  #colorlib-consult .choose {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(190,163,77,0.20), inset 0 1px 0 rgba(255,255,240,0.02);
    border: 1px solid rgba(190,163,77,0.14);
    padding: 30px;
  }
  #colorlib-consult .choose .colorlib-heading h2 { color: #000; }
    background: #252525;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out; }
    .colorlib-nav-toggle i::before, .colorlib-nav-toggle i::after {
      content: '';
      width: 25px;
      height: 2px;
      background: #252525;
      position: absolute;
      left: 0;
      -webkit-transition: all .2s ease-out;
      -o-transition: all .2s ease-out;
      transition: all .2s ease-out; }
  .colorlib-nav-toggle.colorlib-nav-white > i {
    color: #fff;
    background: #000; }
    .colorlib-nav-toggle.colorlib-nav-white > i::before, .colorlib-nav-toggle.colorlib-nav-white > i::after {
      background: #000; }

.colorlib-nav-toggle i::before {
  top: -7px; }

.colorlib-nav-toggle i::after {
  bottom: -7px; }

.colorlib-nav-toggle:hover i::before {
  top: -10px; }

.colorlib-nav-toggle:hover i::after {
  bottom: -10px; }

.colorlib-nav-toggle.active i {
  background: transparent; }

.colorlib-nav-toggle.active i::before {
  top: 0;
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
  background: #fff; }

.colorlib-nav-toggle.active i::after {
  bottom: 0;
  -webkit-transform: rotateZ(-45deg);
  -moz-transform: rotateZ(-45deg);
  -ms-transform: rotateZ(-45deg);
  -o-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
  background: #fff; }

.colorlib-nav-toggle {
  position: absolute;
  right: 0px;
  top: 65px;
  z-index: 21;
  padding: 6px 0 0 0;
  display: block;
  margin: 0 auto;
  display: none;
  height: 44px;
  width: 44px;
  z-index: 2001;
  border-bottom: none !important; }
  @media screen and (max-width: 768px) {
    .colorlib-nav-toggle {
      display: block; } }

.btn {
  margin-right: 4px;
  margin-bottom: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  padding: 8px 20px; }
  .btn.btn-md {
    padding: 8px 20px !important; }
  .btn.btn-lg {
    padding: 18px 36px !important; }
  .btn:hover, .btn:active, .btn:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: none !important; }

.btn-primary {
  background: #bea34d;
  color: #fff;
  border: 2px solid #bea34d; }
  .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: #c5ad60 !important;
    border-color: #c5ad60 !important; }
  .btn-primary.btn-outline {
    background: transparent;
    color: #bea34d;
    border: 2px solid #bea34d; }
    .btn-primary.btn-outline:hover, .btn-primary.btn-outline:focus, .btn-primary.btn-outline:active {
      background: #bea34d;
      color: #fff; }

.btn-success {
  background: #5cb85c;
  color: #fff;
  border: 2px solid #5cb85c; }
  .btn-success:hover, .btn-success:focus, .btn-success:active {
    background: #4cae4c !important;
    border-color: #4cae4c !important; }
  .btn-success.btn-outline {
    background: transparent;
    color: #5cb85c;
    border: 2px solid #5cb85c; }
    .btn-success.btn-outline:hover, .btn-success.btn-outline:focus, .btn-success.btn-outline:active {
      background: #5cb85c;
      color: #fff; }

.btn-info {
  background: #5bc0de;
  color: #fff;
  border: 2px solid #5bc0de; }
  .btn-info:hover, .btn-info:focus, .btn-info:active {
    background: #46b8da !important;
    border-color: #46b8da !important; }
  .btn-info.btn-outline {
    background: transparent;
    color: #5bc0de;
    border: 2px solid #5bc0de; }
    .btn-info.btn-outline:hover, .btn-info.btn-outline:focus, .btn-info.btn-outline:active {
      background: #5bc0de;
      color: #fff; }

.btn-warning {
  background: #f0ad4e;
  color: #fff;
  border: 2px solid #f0ad4e; }
  .btn-warning:hover, .btn-warning:focus, .btn-warning:active {
    background: #eea236 !important;
    border-color: #eea236 !important; }
  .btn-warning.btn-outline {
    background: transparent;
    color: #f0ad4e;
    border: 2px solid #f0ad4e; }
    .btn-warning.btn-outline:hover, .btn-warning.btn-outline:focus, .btn-warning.btn-outline:active {
      background: #f0ad4e;
      color: #fff; }

.btn-danger {
  background: #d9534f;
  color: #fff;
  border: 2px solid #d9534f; }
  .btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background: #d43f3a !important;
    border-color: #d43f3a !important; }
  .btn-danger.btn-outline {
    background: transparent;
    color: #d9534f;
    border: 2px solid #d9534f; }
    .btn-danger.btn-outline:hover, .btn-danger.btn-outline:focus, .btn-danger.btn-outline:active {
      background: #d9534f;
      color: #fff; }

.btn-outline {
  background: none;
  border: 2px solid gray;
  font-size: 16px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s; }
  .btn-outline:hover, .btn-outline:focus, .btn-outline:active {
    -webkit-box-shadow: none;
    box-shadow: none; }

.btn.with-arrow {
  position: relative;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s; }
  .btn.with-arrow i {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0px;
    top: 50%;
    margin-top: -8px;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s; }
  .btn.with-arrow:hover {
    padding-right: 50px; }
    .btn.with-arrow:hover i {
      color: #fff;
      right: 18px;
      visibility: visible;
      opacity: 1; }

.form-control {
  -webkit-box-shadow: none;
  box-shadow: none;
  background: transparent;
  border: 2px solid rgba(0, 0, 0, 0.1);
  height: 54px;
  font-size: 18px;
  font-weight: 300; }
  .form-control:active, .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #bea34d; }

.row-pb-md {
  padding-bottom: 4em !important; }

.row-pb-sm {
  padding-bottom: 2em !important; }

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

.js .animate-box {
  opacity: 0; }

/* Mobile final override: fuerza posición/tamaño del toggle y badge para evitar solapamientos */
@media (max-width:767px) {
  .gototop {
    /* mover avatar ~2 líneas hacia la derecha (puede salirse ligeramente, el fondo es transparente) */
    right: -32px !important;
    bottom: 0px !important;
  }
  /* tamaño del toggle adecuado para móvil (aumentado 1.5x) */
  .gototop a { width: 180px !important; height: 180px !important; }
  .gototop .chat-toggle-img { width: 156px !important; height: 156px !important; }
  /* mover la insignia hacia la izquierda para sobreponerse al avatar */
  /* desplazamiento adicional de ~2 líneas hacia la izquierda */
  .gototop a::after { top: 20px !important; right: 40px !important; }

  /* Aumentar la altura del widget en móvil y separarlo del toggle para evitar solapamientos */
  .chat-widget {
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    max-width: none !important;
    bottom: 160px !important; /* empujar arriba para que toggle no lo cubra */
    height: 80vh !important; /* altura para mostrar datos */
    overflow: visible !important;
  }
  .chat-widget.open { display: block !important; }
  .chat-widget .chat-body { max-height: calc(80vh - 140px) !important; overflow-y: auto !important; }
}

/* Final mobile safety override: ensure chat widget is fully visible and centered on small screens */
@media (max-width:767px) {
  .chat-widget {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    max-width: none !important;
    transform: none !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    bottom: 110px !important;
    height: 86vh !important;
    overflow: visible !important;
  }
  .chat-widget.open { display: block !important; }
}

