/* ==========================================================
   Peritia Assessoria Pericial
   Ajustes sobre la plantilla Consult Vita
   (se carga después de style.css y responsive.css)
   ========================================================== */

/* Logo */
.logo {
  padding: 17px 0;
}

.logo a img {
  max-height: 74px;
  max-width: 100%;
  width: auto;
}

/* Menú: 7 apartados en una sola línea */
@media only screen and (min-width: 1201px) {
  .menu ul li>a {
    font-size: 15px;
    padding: 30px 11px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .menu ul li>a {
    font-size: 13px;
    padding: 30px 6px;
  }
}

/* Barra superior */
.header-upper-area a {
  color: inherit;
}

/* Botones del slider: dos enlaces seguidos */
.pss-box .more+.more {
  margin-left: 10px;
}

/* Imágenes de las secciones */
.top-agency-img img,
.about-tab-img img {
  display: block;
  margin: 0 auto;
  max-height: 560px;
  max-width: 100%;
}

.about-tab-img img {
  border-radius: 4px;
}

.single-service .img img {
  height: 240px;
  object-fit: cover;
  width: 100%;
}

.single-service .content .title a {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Secciones genéricas */
.peritia-section {
  padding: 90px 0 60px;
}

.peritia-section.gray {
  background: #f2f2f2;
}

.peritia-intro p {
  color: #333333;
  font-size: 16px;
  line-height: 26px;
  margin: 0 0 15px;
}

/* Listas con check */
.peritia-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.peritia-list li {
  color: #333333;
  font-size: 15px;
  line-height: 24px;
  margin: 0 0 10px;
  padding-left: 28px;
  position: relative;
}

.peritia-list li span {
  color: #c3313b;
  left: 0;
  position: absolute;
  top: 0;
}

/* Bloques de servicio */
.peritia-service {
  padding: 70px 0;
}

.peritia-service:nth-child(even) {
  background: #f2f2f2;
}

.peritia-service .icon span::before {
  color: #c3313b;
  font-size: 50px;
  margin: 0;
}

.peritia-service h2 {
  color: #262626;
  font-size: 30px;
  line-height: 38px;
  margin: 10px 0 20px;
}

.peritia-service p {
  color: #333333;
  font-size: 15px;
  line-height: 25px;
}

.peritia-gallery {
  margin-top: 10px;
}

.peritia-gallery a {
  display: block;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 4px;
}

.peritia-gallery a img {
  height: 150px;
  object-fit: cover;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  width: 100%;
}

.peritia-gallery a:hover img {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

/* Tarjetas (clientes, enlaces) */
.peritia-card {
  background: #ffffff;
  border-top: 3px solid #c3313b;
  -webkit-box-shadow: 0px 0px 20px 0px rgba(204, 198, 204, 0.8);
  box-shadow: 0px 0px 20px 0px rgba(204, 198, 204, 0.8);
  height: calc(100% - 30px);
  margin: 0 0 30px;
  padding: 35px 30px 30px;
}

.peritia-card .icon span::before,
.peritia-card .icon i {
  color: #c3313b;
  font-size: 46px;
  margin: 0;
}

.peritia-card .icon i {
  font-size: 34px;
}

.peritia-card h4 {
  color: #262626;
  font-size: 21px;
  line-height: 28px;
  margin: 18px 0 14px;
}

.peritia-card p {
  color: #333333;
  font-size: 15px;
  line-height: 25px;
  margin: 0 0 12px;
}

.peritia-card .link {
  color: #c3313b;
  font-weight: 500;
}

.peritia-card .link:hover {
  color: #262626;
}

.peritia-note {
  background: #262626;
  border-radius: 4px;
  color: #ffffff;
  font-size: 15px;
  line-height: 25px;
  margin: 20px 0 30px;
  padding: 25px 30px;
}

/* Formularios */
.cf-box input[type="email"],
.cf-box input[type="tel"],
.cf-box select {
  background: #f2f2f2 none repeat scroll 0 0;
  border: 1px solid #d5d5d5;
  border-radius: 3px;
  color: #687377;
  font-size: 14px;
  height: 62px;
  padding: 0 10px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  width: 100%;
}

.cf-box input[type="email"]:focus,
.cf-box input[type="tel"]:focus,
.cf-box select:focus,
.cf-box textarea:focus {
  background: #fff none repeat scroll 0 0;
  border: 1px solid #c3313b;
  outline: none;
}

.cf-box textarea {
  line-height: 24px;
  padding: 15px 10px;
}

.cf-box input[type="file"] {
  font-size: 14px;
  width: 100%;
}

.cf-box .file-label,
.cf-check label {
  color: #333333;
  font-size: 14px;
  line-height: 22px;
}

.cf-box .file-label {
  display: block;
  font-weight: 500;
  margin: 0 0 8px;
}

.cf-check {
  margin: 0 0 12px;
}

.cf-check input {
  margin-right: 8px;
}

.cf-check a {
  color: #c3313b;
  text-decoration: underline;
}

/* Mapa (iframe de Google Maps, no necesita API key) */
.peritia-map iframe {
  border: 0;
  display: block;
  height: 600px;
  width: 100%;
}

/* Pie */
.fw-info .flogo img {
  background: #ffffff;
  border-radius: 4px;
  max-width: 100%;
  padding: 10px 14px;
}

.footer-widget .contact-list {
  list-style: none;
  padding: 0;
}

.footer-widget .contact-list li {
  margin: 0 0 10px;
}

.footer-widget .contact-list li,
.footer-widget .contact-list li a {
  color: #ffffff;
  font-size: 14px;
  line-height: 22px;
}

.footer-widget .contact-list li a:hover {
  color: #c3313b;
}

.footer-widget .contact-list li span {
  color: #c3313b;
  display: inline-block;
  width: 22px;
}

/* Tarjetas de contacto con la misma altura */
.all-contact-details .row > [class*="col-"] {
  display: flex;
}

.all-contact-details .single-contact-details {
  width: 100%;
}

/* Preguntas frecuentes (inicio) */
.faq-area {
  background: #f2f2f2;
  padding: 100px 0 60px;
}

.faq-area .welcome-faq .card .card-header .mb-0 {
  font-size: 16px;
  line-height: 20px;
}

/* Sin mapa: las tarjetas de contacto ya no se solapan con el mapa */
.contact-details-area{bottom:0;margin:0;padding:90px 0}
