
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Petit Formal Script";
  src: url("fonts/PetitFormalScript-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  --font-sans: "Roboto", sans-serif;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

html {
  width: 100%;
  overflow-x: hidden;
  height: 100%;
  background-color: #bababa;
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-size: 1.2em;
  background-color: #d4d4d4;
  border: thin 3px #DDD;
  border-top: none;
  border-bottom: none;
  position: relative;
  padding-top: 90px;
}

a.service-icon:hover {
  color: #F7EBE8;
}


header {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}


.phone {
  color: black;
}

.phone:hover {
  text-decoration: none;
}

.phone:first-child {
  margin-right: 3%;
}

.service-icon {
  background-color: #444140;
  color: #F7EBE8;
}

footer {
  background-color: #3E3C3B !important;
  color: #fff;
}

.carousel {
  overflow: hidden;
  max-height: 100%;
}

.listItems {
  margin-left: 30px;
}

@media only screen and (min-width : 1200px) {
  .carousel-caption {
    top: 46%;
  }
}

.carousel-caption {
  top: 35% !important;
}

.hand_shaking_container__title {
  margin: .75rem 0;
  letter-spacing: .1em;
  text-shadow: 0 -1px 0 #fff, 0 2px 0 #2e2e2e, 0 2px 0 #2c2c2c;
}

.skill_container {
  background-color: #35322F !important;
  border-radius: 15px;
  box-shadow: 0 10px 6px -6px #777;
}

.skill_container__icon {
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
}

.skill_container__title {
  color: #f1f0ea;
  font-size: 1.21rem;
  font-weight: bold;
  margin-top: 1.9rem !important;
}

.skill_container__content {
  color: #ebf5ee !important;
  font-size: 1.13rem !important;
  padding: 15px;
}

@media all and (max-width: 990px) {
  .skill_container {
    margin-top: 25px !important;
  }
}

@media all and (max-width: 470px) {
  .hand_shaking_container__title {
    font-size: 1.8rem;
  }
}

.carousel_container {
  position: relative;
  margin-top: -90px; /* MISMO valor que el padding-top del body */
}

.static_address {
  z-index: 200;
  background-color: #f8f9fa;
  flex: 1 0 auto;
  margin: 0 1%;
  text-align: center;
}

.static_address__name {
  font-weight: bold;
}

@media all and (max-width: 800px) {
  .static_address__name {
    font-size: 1rem;
  }
}

@media all and (max-width: 600px) {
  .navbar-brand {
    align-self: center;
  }

  .navbar {
    flex-direction: column;
  }
}

.carousel .carousel-item {
  height: 60vh;
  height: calc(var(--vh, 1vh) * 60);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 60%;
}

.carousel .carousel-item:first-child {
  filter: grayscale(100%);
}

.carousel .carousel-item::before {
  background-color: rgba(0,0,0,0.6);
  height: 100%;
  width: 100%;
  content: "";
  opacity: .6;
  position: absolute;
  display: block;
}

@media all and (max-width: 1030px) {
  .carousel .carousel-item {
    background-position: center;
  }
}

@media all and (min-width: 1240px) {
  .carousel .carousel-item:not(:last-child) {
    background-position: 50% 24%;
  }

  .carousel .carousel-item:last-child {
    background-position: 50% 69%;
  }
}

/* Quita fondo y sombras */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: none;
    opacity: 0.7;                 /* visible pero sutil */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

/* Aumenta sutilmente al pasar el mouse */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Flechas minimalistas */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;       /* quitamos el ícono default */
    border: solid white;          /* color del trazo */
    border-width: 0 3px 3px 0;
    padding: 8px;
    display: inline-block;
}

/* Flecha izquierda */
.carousel-control-prev-icon {
    transform: rotate(135deg);
}

/* Flecha derecha */
.carousel-control-next-icon {
    transform: rotate(-45deg);
}


.anunt {
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid #f1f1f1;
  z-index: 2;
  width: 80%;
  display: block;
  margin: 10px auto;
  border-radius: 5px;
  padding: 5px;
}

.titlu_imp {
  font-weight: bold;
  text-shadow: 2px 2px 6px #777;
}

.services {
  justify-content: center;
}

#services {
  background-color: #272522;
  color: #E5E5E5;
}

#services h1 {
  margin-top: .89rem;
}

.section_title {
  text-shadow: 1px 1px 1px #1b1a19;
  font-style: italic;
  color: #3d21adf1;
  margin-top: 20px;
  margin-bottom: 20px;
}

.section_title {
  color: #272522;
}

.navbar {
  max-width: 100vw;
  overflow-x: clip;
}

.navbar-brand {
  font-family: "Petit Formal Script", cursive !important;
  font-style: italic;
  font-size: 1.4rem;
  flex: 0 0 auto;
  margin-left: 0;
  max-width: 100%;
}

@media (max-width: 767px) {
  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .navbar .nav-link.btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) {
  .navbar-brand {
    flex: 1;
    margin-left: 5%;
  }
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer p {
  margin-bottom: 5px;
}

footer p i {
  margin-right: 5px;
}
.img-nav {
  max-width: 75px;
  height: auto;
}
.img-fluid {
  max-width: 300px;
  height: auto;
  margin-top: 40px;
  margin-bottom: 40px;
}

.whatsapp-btn {
  position: fixed;
  bottom: 95px;
  right: 10px;
  z-index: 2000;
  text-decoration: none;
  display: block;
}

.whatsapp-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #128C7E;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-hover {
  opacity: 0.7;
}

.whatsapp-content {
  position: relative;
  background-color: #25d366;
  color: #fff;
  border-radius: 5px;
  padding: 10px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-content {
  background-color: #128C7E;
}

.whatsapp-icon {
  font-size: 35px;
  margin-right: 10px;
}

.whatsapp-text p {
  margin: 0;
}

@media (max-width: 768px) {
  .whatsapp-content {
    padding: 10px;
    font-size: 16px;
    flex-direction: row;
    align-items: center;
    text-align: center;
  }

  .whatsapp-icon {
    margin-bottom: 5px;
  }
}

.btn-primary {
  background-color: #111827;
  border-color: #111827;
  color: #f9fafb;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-weight: 500;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #000000;
  border-color: #000000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.navbar .nav-link.btn {
  background-color: #111827;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 20px;
  margin-left: 8px;
  margin-right: 8px;
  border: 1px solid #111827;
  font-weight: 500;
  box-shadow: 0 6px 12px rgba(0,0,0,0.18);
  transition: all 0.18s ease-in-out;
  display: inline-block;
  opacity: 0.75;
}

.navbar .nav-link.btn:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.28);
  opacity: 1;
}

.navbar .nav-link.btn.active {
  background-color: #ffffff;
  color: #111827;
  border: 2px solid #111827;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  opacity: 1;
  pointer-events: none;
}

#casos-destacados {
  padding: 40px 0 35px;
  background: #f3f4f6;
}

#casos-destacados .section_title {
  margin-bottom: 8px;
}

#casos-destacados p.casos-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 24px auto;
  color: #4b5563;
  font-size: 0.95rem;
}

.casos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.caso-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 16px 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.12s ease, transform 0.12s ease, border-color 0.12s ease;
}

.caso-card:hover {
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
  border-color: #d1d5db;
}

.caso-card h3 {
  font-size: 1rem;
  margin: 0 0 6px 0;
}

.caso-meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.caso-card p {
  font-size: 0.85rem;
  color: #374151;
  margin: 0 0 6px 0;
}

.caso-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
}

.caso-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .casos-grid {
    grid-template-columns: 1fr;
  }
}

#tipos-casos {
  padding: 40px 0 25px;
}

#tipos-casos .section_title {
  margin-bottom: 10px;
}

#tipos-casos .section-subtitle {
  color: #4b5563;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.card-accidente {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  padding: 18px 16px 14px;
  height: 100%;
  background: #ffffff;
}

.card-accidente h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.card-accidente p {
  font-size: 0.9rem;
  color: #374151;
}

.card-accidente ul {
  font-size: 0.85rem;
  color: #4b5563;
  padding-left: 18px;
  margin-top: 6px;
}

.btn-chip {
  border-radius: 999px;
  padding: 5px 11px;
  border: 1px solid #d1d5db;
  font-size: 0.8rem;
  color: #4b5563;
  background: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease,
              box-shadow 0.12s ease, transform 0.12s ease;
}

.btn-chip:hover {
  background: #eef2ff;
  border-color: #1d4ed8;
  color: #111827;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.20);
  transform: translateY(-1px);
}

.detalle-oculto {
  display: none;
  margin-top: 10px;
}

#como-trabajamos {
  padding: 20px 0 15px;
}

.steps-row .card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #eef2ff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}

#faq {
  padding: 30px 0 25px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin-bottom: 10px;
  background: #ffffff;
  padding: 10px 14px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-body {
  margin-top: 6px;
  border-top: 1px solid #e5e7eb;
  padding-top: 6px;
  font-size: 0.9rem;
  color: #374151;
}

.casos-float-btn { 
  position: fixed; 
  left: 20px; 
  bottom: 20px; 
  z-index: 9999; 
}

.casos-float-btn a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.1s ease, box-shadow 0.1s ease,
              background 0.1s ease;
}

.casos-float-btn a:hover {
  background: #020617;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.casos-float-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
}

@media (max-width: 768px) {
  .casos-float-btn {
    left: 10px;
    bottom: 80px;
  }
}

#contacto-accidentes {
  margin-bottom: 25px;
}

#services {
  background: #272522;
  padding: 50px 0 60px;
}

#services h1 {
  font-size: 1.9rem;
  margin-bottom: 25px;
  text-align: center;
}

#services .nav-tabs {
  border-bottom: none;
  gap: 8px;
}

#services .nav-tabs .nav-link {
  border-radius: 999px;
  border: 1px solid #888;
  background: transparent;
  color: #e5e7eb;
  font-size: 0.85rem;
  padding: 6px 14px;
  transition: all 0.2s ease;
}

#services .nav-tabs .nav-link:hover {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

#services .nav-tabs .nav-link.active {
  background: #ffffff;
  color: #111827;
  border: 2px solid #111827;
  font-weight: 600;
}

#services .tab-content {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

#services .tab-pane {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  max-width: 720px;
  width: 100%;
  padding: 28px 30px;
  animation: fadeUp 0.25s ease;
}

#services .tab-pane h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #111827;
}

#services .tab-pane b {
  font-weight: 400;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.55;
  display: block;
}

#services .tab-pane ul.listItems {
  margin-top: 10px;
  padding-left: 18px;
  color: #374151;
  font-size: 0.95rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  #services .tab-pane {
    padding: 22px 20px;
  }

  #services h1 {
    font-size: 1.5rem;
  }

  #services .nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
}


.skill_container {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.skill_container__title {
  color: #111;
}

.skill_container__content {
  color: #444;
}

.skill_container__icon .service-icon {
  background: #333;
  color: #fff;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.team-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #111827;
  flex-shrink: 0;
}

.team-text h5 {
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .team-row {
    flex-direction: column;
    text-align: center;
  }
}
