@font-face {
  font-family: OwnersNarrow;
  src: url("../../fonts/OwnersNarrow-Bold.otf") format("opentype");
  font-weight: 700;
}

body {
  font-family: OwnersNarrow, sans-serif;
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: black;
}

.active {
  color: #FFFFFF !important;
}

.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px; 
  background-color: transparent;
  z-index: 1100;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

.navbar-logo a {
  display: block;
}

.navbar-logo svg {
  display: block;
  height: auto;
  width: 150px;
}

.navbar-logo svg text, 
.navbar-logo svg path,
.navbar-logo svg rect,
.navbar-logo svg circle {
    fill: white;
}

.navbar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px; 
}

.navbar-links li,
.navbar-links li a {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 22px;
  letter-spacing: 0.03em;
  transition: opacity 0.3s ease;
}

.top-navbar.navbar-scrolled {
  mix-blend-mode: difference;
}

.top-navbar.navbar-scrolled .navbar-links li,
.top-navbar.navbar-scrolled .navbar-links li a {
  color: #a6a6a6;
}

.nav-links-mobile {
  display: none;
  color: #FFFFFF;
  padding: 0px;
  margin: 0px;
  z-index: 12;
  font-size: 22px;
  letter-spacing: 0.03em;
}


.service-home-section {
  height: 100vh;
  overflow: hidden;
  position: relative;
  background-color: #000000;
}

.service-home-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  scale: 1;
  transition: all 0.4s ease;
  animation: ShowImage 1s ease-in-out;
}

.strategy-intro-section {
  padding: 0px 0px 0px;
  min-height: 100vh;
}

.stategy-intro-content {
  padding: 0px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-last {
  position: sticky;
  top: 0px;
}

.service-content-title {
  margin: 0px;
  padding: 100px 0px 0px;
  font-size: 22px;
  text-align: left;
  width: 100%;
}

.h2-inner-text {
  display: block;
}

.service-description-container {
  min-height: 100vh; 
  background-color: #000000;
  color: #FFFFFF;
  z-index: 2;
}

.service-description-container h3 {
  margin: 0px;
  padding: 0px 25px;
  font-size: 21px;
  line-height: 24px;
  letter-spacing: 0.05em;
}

.service-description {
  width: calc(35% - 30px); 
  margin-left: calc(65% + 10px); 
  font-size: 21px; 
  line-height: 24px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-top: 0px;
  margin-bottom: 0px;
  opacity: 0;
}

.service-container-content {
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.title-clients {
  position: sticky;
  top: calc(-42dvh + 80px);
  mix-blend-mode: difference;
}

.service-clients {
  list-style-type: none;
  padding: 0px 0px 60px 0px;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 55px;
  line-height: 55px;
  margin: 0px;
  letter-spacing: 0.03em;
}

.service-clients li:not(:last-child) { 
  margin-bottom: 3px;  
}

/* --- ESTILOS GLOBALES Y PARA MÓVILES --- */
.service-container {
  padding: 0px;
}

.service-content-block {
  display: flex;
  flex-direction: column; 
  gap: 10px; 
}

.service-title {
  font-size: 25px; 
  overflow: hidden;
  line-height: 25px;
  padding-bottom: 0px;
  margin: 0;
}

.service-text {
  font-size: 16px; 
  line-height: 19px;
  letter-spacing: 0.02em;
  margin: 0;
  padding-right: 12px;
}

.service-content-block img {
  width: 60%; 
  max-width: 60%; 
  height: 160px;
  object-fit: cover;
  display: block; 
  margin-top: 5px;
}

.button-whatsapp {
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  background-color: #FFFFFF;
  color: #000000;
  border-radius: 50%; 
  width: 52px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.1em;
  box-shadow: 0px 0px 5px 0px #988f886D;
  border: 4px solid #FFFFFF;
  z-index: 1200; 
  scale: 1;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
  z-index: 1600;
  overflow-y: auto;
  box-sizing: border-box;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-content {
  padding: 40px 20px 20px 20px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  transition-delay: 0.4s;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.drawer-content nav {
  padding-top: 10dvh;
}

.drawer.is-open .drawer-content {
  opacity: 1;
}

.drawer-content nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-content nav li {
  margin-bottom: 25px;
}

.drawer-content nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 28px;
  font-weight: bold;
  display: block;
}

.modal-button-close {
  position: fixed;
  top: 15px;
  right: 35px;
  margin: 0px;
  z-index: 1001;
  padding: 9px 8px 8px 10px;
  border: 1px solid #FFFFFF;
  background: #111111;
  color: #FFFFFF;
  border-radius: 50px;
  cursor: pointer;
  font-family: OwnersNarrow, sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-button-close i {
  font-size: 25px;
}

.container-clients-data {
  min-height: 90vh;
  height: auto;
}

@keyframes ShowImage {
  0% {
    scale: 0.95;
    opacity: 0;
  }
  50% {
    scale: 1;
    opacity: 1;
  }
}

@media screen and (max-width: 769px) {
  .top-navbar {
    padding: 20px 12px;
  }

  .modal-logo {
    left: 12px;
    position: fixed;
    max-width: auto;
    height: auto;
    object-fit: contain;
    z-index: 1001;
    top: 20px;
    width: 150px;
    transform: translate(0, 0);
  }

  .modal-button-close i {
    font-size: 20px;
  }

  .modal-button-close {
    right: 12px;
    padding: 9px 9px 6px 10px;
  }

  .navbar-links {
    display: none;
  }

  .nav-links-mobile {
    display: block;
  }
  
  .strategy-intro-section {
    padding: 0px 0px 0px;
  }

  .stategy-intro-content {
    padding: 0px 12px;
    gap: 50px;
  }

  .service-last {
    padding: 50px 12px 80px;
  }

  .service-content-title {
    font-size: 18px;
    text-align: center;
  }

  .service-description-container {
    padding: 0px 12px;
  }

  .service-description-container h3 {
    margin: 0px;
    padding: 0px;
    text-align: center;
  }

  .service-clients {
    padding: 60px 0px;
    font-size: 30px;
    line-height: 30px;
  }

  .service-description { 
    width: 100%;
    margin: 0px;
    font-size: 16px; 
    line-height: 20px;
    letter-spacing: 0.02em;
  }
}

/* --- ESTILOS PARA ESCRITORIO (ej. pantallas mayores a 768px) --- */
@media (min-width: 769px) {
  .service-container {
    padding: 20px 0px;
  }

  .service-last {
    padding: 50px 25px 80px;
  }

  .service-content-block {
    display: grid;
    grid-template-columns: 65% 35%;

    grid-template-areas:
      "title text"  
      "image text";
    gap: 0 20px;
    align-items: start;
  }

  .service-title {
    grid-area: title;
    font-size: 58px; 
    line-height: 58px;
    padding-bottom: 15px;
    text-align: left;
  }

  .service-content-block img {
    grid-area: image; 
    max-width: 250px; 
    height: 160px;
    object-fit: cover;
    margin-top: 0px;
  }

  .service-text {
    grid-area: text;  
    font-size: 21px; 
    line-height: 24px;
    letter-spacing: 0.05em;
    text-align: left;
    padding-right: 20px;
  }
}

@media (min-width: 1920px) {
  .service-text {
    padding-right: 12%;
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000000;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  background: #141414;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #141414;
}