/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================================================================================================
   INICIO 
======================================== */

/* NAVBAR */
.navbar-custom {
  background-color: #2f6f73;
}

.logo {
  height: 60px;
}

.navbar-custom .nav-link {
  font-family: "Michroma", sans-serif;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: url("../img/hero_inicio.jpeg") no-repeat center center/cover;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-title {
  color: #ff3b3b;
  font-size: 3.4rem;
  font-weight: bold;
  line-height: 1.2;
  font-family: "Allerta Stencil", sans-serif;
}

.hero-text {
  font-size: 1.4rem;
  margin-top: 10px;
  margin-bottom: 20px;
  font-family: "Architects Daughter", cursive;
}

.info-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-box {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 15px;
  border-radius: 8px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
}

.info-box strong {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Tilt Warp", sans-serif;
  font-optical-sizing: auto;
}

.info-box small {
  font-size: 0.85rem;
  opacity: 0.9;
  font-family: "Encode Sans Semi Expanded", sans-serif;
}

.hero .btn,
.contact-top .btn {
  font-family: "Poppins", sans-serif;
}

/* OFRECEMOS */
.services-section {
  background-color: #f3f3f3;
  padding-bottom: 70px;
}

.services-header {
  background-color: #2f6f73;
  padding: 24px 0;
  margin-bottom: 50px;
}

.services-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin: 0;
  font-family: "Rajdhani", sans-serif;
}

.services-list {
  max-width: 980px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.service-item {
  width: fit-content;
  margin: 0 auto 28px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-item::before {
  content: "•";
  color: #2f6f73;
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.service-item p {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 300;
  color: #757575;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.2px;
  font-family: "Abel", sans-serif;
}

.offer-animate {
  opacity: 0;
  transform: translateY(12px);
}

.offer-animate.offer-show {
  animation: offerFadeUp 0.8s ease both;
}

.offer-animate.offer-show:nth-child(1) {
  animation-delay: 0.1s;
}

.offer-animate.offer-show:nth-child(2) {
  animation-delay: 0.25s;
}

.offer-animate.offer-show:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes offerFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TARJETAS */
.cards-wrapper {
  margin-top: 10px;
}

.feature-card {
  background-color: #cfd9e4;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  width: 100%;
  max-width: 300px;
  min-height: 195px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.feature-emoji {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #27496d;
  margin-bottom: 14px;
  font-family: "Crimson Text", serif;
}

.feature-card p {
  font-size: 1.25rem;
  font-weight: 300;
  color: #676767;
  line-height: 1.35;
  margin: 0;
  font-family: "Abel", sans-serif;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .service-item p {
    font-size: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1.6rem;
  }

  .feature-card p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .logo {
    height: 40px;
  }

  .hero {
    text-align: center;
    padding: 40px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .info-container {
    justify-content: center;
  }

  .services-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .services-list {
    max-width: 100%;
    padding: 0 10px;
    margin-bottom: 40px;
  }

  .service-item {
    margin-bottom: 24px;
  }

  .service-item p {
    font-size: 1.05rem;
    white-space: normal;
  }

  .feature-card {
    max-width: 360px;
    min-height: auto;
    padding: 24px 20px;
    margin: 0 auto;
  }

  .feature-card h3 {
    font-size: 1.4rem;
  }

  .feature-card p {
    font-size: 1rem;
  }
}

/* FLOTA DISPONIBLE */
.fleet-3d-section {
  background-color: #f3f3f3;
  padding-top: 60px;
  padding-bottom: 90px;
  overflow: hidden;
}

.fleet-3d-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: #6f6f6f;
  margin-bottom: 40px;
  font-family: "Rajdhani", sans-serif;
}

.fleet-3d-slider {
  position: relative;
  width: 100%;
  max-width: 1050px;
  height: 420px;
  margin: 0 auto;
  perspective: 1200px;
}

.fleet-3d-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.fleet-3d-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 230px;
  background: #ffffff;
  border: 4px solid #c3c3c3;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition:
    transform 0.9s ease,
    opacity 0.9s ease,
    filter 0.9s ease;
  transform-style: preserve-3d;
}

.fleet-3d-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.35s ease;
}

.fleet-3d-item:hover img {
  transform: scale(1.06);
}

.fleet-pos-0 {
  transform: translate(-50%, -50%) scale(1.12);
  z-index: 7;
  opacity: 1;
}

.fleet-pos-1 {
  transform: translate(-8%, -50%) rotateY(-18deg) scale(0.88);
  z-index: 6;
  opacity: 1;
}

.fleet-pos-2 {
  transform: translate(42%, -50%) rotateY(-28deg) scale(0.72);
  z-index: 5;
  opacity: 0.85;
}

.fleet-pos-3 {
  transform: translate(88%, -50%) rotateY(-38deg) scale(0.58);
  z-index: 4;
  opacity: 0.45;
}

.fleet-pos-4 {
  transform: translate(-188%, -50%) rotateY(38deg) scale(0.58);
  z-index: 4;
  opacity: 0.45;
}

.fleet-pos-5 {
  transform: translate(-142%, -50%) rotateY(28deg) scale(0.72);
  z-index: 5;
  opacity: 0.85;
}

.fleet-pos-6 {
  transform: translate(-92%, -50%) rotateY(18deg) scale(0.88);
  z-index: 6;
  opacity: 1;
}

@media (max-width: 992px) {
  .fleet-3d-slider {
    height: 340px;
  }

  .fleet-3d-item {
    width: 250px;
    height: 180px;
  }

  .fleet-3d-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .fleet-3d-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .fleet-3d-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }

  .fleet-3d-slider {
    height: 250px;
  }

  .fleet-3d-item {
    width: 180px;
    height: 130px;
    border-width: 3px;
  }

  .fleet-pos-0 {
    transform: translate(-50%, -50%) scale(1.05);
    z-index: 7;
    opacity: 1;
  }

  .fleet-pos-1 {
    transform: translate(-2%, -50%) rotateY(-16deg) scale(0.78);
    z-index: 6;
    opacity: 0.95;
  }

  .fleet-pos-2 {
    transform: translate(38%, -50%) rotateY(-24deg) scale(0.62);
    z-index: 5;
    opacity: 0.35;
  }

  .fleet-pos-3 {
    transform: translate(70%, -50%) rotateY(-30deg) scale(0.5);
    z-index: 4;
    opacity: 0;
  }

  .fleet-pos-4 {
    transform: translate(-170%, -50%) rotateY(30deg) scale(0.5);
    z-index: 4;
    opacity: 0;
  }

  .fleet-pos-5 {
    transform: translate(-138%, -50%) rotateY(24deg) scale(0.62);
    z-index: 5;
    opacity: 0.35;
  }

  .fleet-pos-6 {
    transform: translate(-98%, -50%) rotateY(16deg) scale(0.78);
    z-index: 6;
    opacity: 0.95;
  }
}

/* FOOTER */
.site-footer {
  background-color: #2f6f73;
  padding-top: 40px;
  padding-bottom: 14px;
  color: #ffffff;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  max-width: 240px;
  height: auto;
}

.footer-contact {
  margin: 0;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: 0.3px;
  font-family: "Rajdhani", sans-serif;
}

.footer-links-box,
.footer-social-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-title {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 18px;
  color: #ffffff;
  font-family: "Michroma", sans-serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.2rem;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
  font-family: "Michroma", sans-serif;
}

.footer-links a:hover {
  opacity: 0.75;
}

.footer-links a.footer-link-active {
  color: #ffffff;
  font-weight: 600;
}

.footer-socials {
  width: 100%;
  max-width: 260px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-copy {
  text-align: center;
  margin-top: 28px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 30px;
  }

  .footer-brand,
  .footer-links-box,
  .footer-social-box {
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    max-width: 220px;
  }

  .footer-title {
    font-size: 1.2rem;
  }

  .footer-links a {
    font-size: 1.05rem;
  }

  .footer-copy {
    margin-top: 22px;
    font-size: 0.85rem;
  }
}

.social-icon-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-socials a:hover .social-icon-img {
  transform: scale(1.08);
}

/* FLASH AL ENTRAR EN PANTALLA */
.flash-on-scroll.flash-active {
  animation: flashIntro 0.9s;
}

.flash-delay-1.flash-active {
  animation-delay: 0s;
}

.flash-delay-2.flash-active {
  animation-delay: 0.15s;
}

.flash-delay-3.flash-active {
  animation-delay: 0.3s;
}

.flash-delay-4.flash-active {
  animation-delay: 0.45s;
}

.flash-delay-5.flash-active {
  animation-delay: 0.6s;
}

@keyframes flashIntro {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* =========================================================================================================
   NOSOTROS - HERO
======================================== */


.about-hero {
  height: 530px;
  background: url("../img/hero_nosotros.jpeg") no-repeat center center/cover;
  position: relative;
  filter: grayscale(70%);
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  top: 110px;
  left: 0;
  width: 100%;
  background: rgba(255, 0, 0, 0.58);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 15px;
}

.about-hero-title {
  margin: 0;
  color: #d8d8d8;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
  font-family: "Gruppo", sans-serif;
}

.about-description-section {
  background-color: #000000;
  padding: 42px 20px 48px;
}

.about-description-text {
  margin: 0;
  color: #f2f2f2;
  font-size: 1.15rem;
  line-height: 1.15;
  font-weight: 300;
  text-align: left;
  letter-spacing: 0.2px;
  font-family: "Abel", sans-serif;
}

@media (max-width: 992px) {
  .about-hero {
    height: 430px;
  }

  .about-hero-overlay {
    top: 90px;
    padding: 18px 12px;
  }

  .about-hero-title {
    font-size: 2.4rem;
  }

  .about-description-text {
    font-size: 1rem;
    line-height: 1.25;
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 340px;
  }

  .about-hero-overlay {
    top: 70px;
    padding: 14px 10px;
  }

  .about-hero-title {
    font-size: 1.9rem;
  }

  .about-description-section {
    padding: 30px 16px 34px;
  }

  .about-description-text {
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: center;
  }
}

.trajectory-section {
  background-color: #f3f3f3;
}

.trajectory-header {
  background-color: #2f6f73;
  padding: 24px 0;
}

.trajectory-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin: 0;
  font-family: "Rajdhani", sans-serif;
}

.trajectory-content {
  padding: 38px 20px 44px;
}

.trajectory-text {
  margin: 0 0 14px 0;
  color: #7a7a7a;
  font-size: 1.15rem;
  line-height: 1.05;
  font-weight: 300;
  text-align: left;
  font-family: "Abel", sans-serif;
}

.trajectory-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .trajectory-title {
    font-size: 1.8rem;
  }

  .trajectory-text {
    font-size: 1.02rem;
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  .trajectory-header {
    padding: 18px 0;
  }

  .trajectory-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .trajectory-content {
    padding: 28px 16px 32px;
  }

  .trajectory-text {
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: center;
  }
}

.clients-section {
  background-color: #f3f3f3;
  padding: 36px 0 0;
  overflow: hidden;
}

.clients-title {
  font-size: 2rem;
  font-weight: 300;
  color: #2f2f2f;
  margin-bottom: 34px;
  font-family: "Rajdhani", sans-serif;
}

.clients-slider {
  background-color: #cfd9e4;
  overflow: hidden;
  padding: 42px 0;
}

.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollClients 24s linear infinite;
}

.clients-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.client-logo {
  flex: 0 0 auto;
  width: 190px;
  height: 110px;
  background-color: #ffffff;
  margin: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scrollClients {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.3333%);
  }
}

@media (max-width: 768px) {
  .clients-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .clients-slider {
    padding: 28px 0;
  }

  .client-logo {
    width: 150px;
    height: 90px;
    margin: 0 8px;
    padding: 10px;
  }
}

.mvv-section {
  background-color: #f3f3f3;
  padding: 60px 20px 70px;
}

.diamond-card {
  width: 230px;
  height: 230px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.diamond-mission {
  background-color: #2f6f73;
}

.diamond-vision {
  background-color: #9b9b9b;
}

.diamond-content {
  transform: rotate(-45deg);
  text-align: center;
  width: 78%;
  color: #f2f2f2;
}

.diamond-content h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 400;
  font-family: "Crimson Text", serif;
}

.diamond-content p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.1;
  font-weight: 300;
  font-family: "Abel", sans-serif;
}

.values-block {
  margin-top: 90px;
  text-align: center;
}

.values-title {
  margin: 0 0 18px;
  color: #ff3b30;
  font-size: 2.3rem;
  font-weight: 300;
  font-family: "Rajdhani", sans-serif;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  color: #7a7a7a;
  font-size: 1.55rem;
  line-height: 1.45;
  font-weight: 300;
  font-family: "Abel", sans-serif;
}

.vaiven-on-scroll.animate-vaiven {
  animation: vaiven 1s 1;
}

@keyframes vaiven {
  15% {
    transform: rotate(35deg) translateX(-12%);
  }
  30% {
    transform: rotate(50deg) translateX(10%);
  }
  45% {
    transform: rotate(42deg) translateX(-6%);
  }
  60% {
    transform: rotate(47deg) translateX(4%);
  }
  75% {
    transform: rotate(44deg) translateX(-2%);
  }
  100% {
    transform: rotate(45deg) translateX(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.reveal-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .mvv-section {
    padding: 40px 16px 50px;
  }

  .diamond-card {
    width: 180px;
    height: 180px;
  }

  .diamond-content h3 {
    font-size: 1.5rem;
  }

  .diamond-content p {
    font-size: 0.8rem;
  }

  .values-block {
    margin-top: 60px;
  }

  .values-title {
    font-size: 1.8rem;
  }

  .values-list li {
    font-size: 1.05rem;
  }
}

.rebotein-on-load {
  animation: rebotein 1s ease 1;
}

@keyframes rebotein {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.typewriter-text {
  overflow: hidden;
  white-space: normal;
}

/* =========================================================================================================
   SERVICIOS - HERO
======================================== */
.services-hero {
  background-color: #f3f3f3;
  overflow: hidden;
  padding: 48px 0 0;
}

.services-hero-wrap {
  position: relative;
  min-height: 700px;
  overflow: visible;
}

.services-hero-text {
  position: absolute;
  left: 42px;
  top: 30px;
  padding: 0 20px 0 60px;
  z-index: 2;
  max-width: 430px;
}

.services-hero-text h1 {
  margin: 0;
  color: #b08484;
  font-size: 5rem;
  font-weight: 700;
  line-height: 0.95;
  font-family: "Tilt Warp", sans-serif;
  font-variation-settings:
    "XROT" 0,
    "YROT" 0;
}

.services-hero-vehicle {
  position: absolute;
  right: -70px;
  bottom: 80px;
  display: flex;
  justify-content: flex-end;
  animation: vehicleSlideIn 1.4s ease-out forwards;
  z-index: 5;
}

.services-vehicle-img {
  width: 760px;
  max-width: none;
  height: auto;
}

/* ========================================
   SERVICIOS - TARJETAS
======================================== */
.services-cards-section {
  background-color: #f3f3f3;
  margin-top: -250px;
  padding: 0 0 24px;
  position: relative;
  z-index: 2;
}

.service-card {
  width: 100%;
  max-width: 278px;
  min-height: 308px;
  border-radius: 22px;
  padding: 34px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card h3 {
  margin: 0 0 28px;
  color: #f3f3f3;
  font-size: 1.52rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  font-family: "Crimson Text", serif;
  text-decoration: underline;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.05;
  font-weight: 300;
}

.service-card-dark {
  background-color: #2f6f73;
}

.service-card-light {
  background-color: #7fb5c0;
}

.service-card-gray {
  background-color: #9b9b9b;
}

/* ========================================
   ANIMACIÓN CAMIONETA
======================================== */
@keyframes vehicleSlideIn {
  0% {
    transform: translateX(280px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
  .services-hero-wrap {
    min-height: 700px;
  }

  .services-hero-text {
    left: 32px;
    top: 80px;
    padding: 0 20px 0 50px;
    max-width: 360px;
  }

  .services-hero-text h1 {
    font-size: 3.8rem;
  }

  .services-hero-vehicle {
    right: -25px;
    bottom: 60px;
  }

  .services-vehicle-img {
    width: 760px;
  }

  .services-cards-section {
    margin-top: -230px;
  }
}

@media (max-width: 860px) and (min-width: 769px) {
  .services-hero-wrap {
    min-height: 640px;
  }

  .services-hero-text {
    left: 32px;
    top: 120px;
    padding: 0 20px 0 50px;
    max-width: 320px;
  }

  .services-hero-text h1 {
    font-size: 3.2rem;
  }

  .services-hero-vehicle {
    right: -10px;
    bottom: 55px;
  }

  .services-vehicle-img {
    width: 620px;
  }

  .services-cards-section {
    margin-top: -220px;
  }
}

@media (max-width: 768px) {
  .services-hero {
    padding-top: 12px;
  }

  .services-hero-wrap {
    min-height: 520px;
  }

  .services-hero-text {
    position: relative;
    left: auto;
    top: 60px;
    padding: 0 20px 0 100px;
    max-width: 260px;
  }

  .services-hero-text h1 {
    font-size: 2.2rem;
  }

  .services-hero-vehicle {
    right: -40px;
    bottom: 110px;
    z-index: 5;
  }

  .services-vehicle-img {
    width: 430px;
  }

  .services-cards-section {
    margin-top: -245px;
    padding: 0 0 10px;
  }

  .service-card {
    max-width: 320px;
    min-height: 250px;
    padding: 28px 20px;
  }

  .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .service-card p {
    font-size: 1rem;
    line-height: 1.15;
  }
}

/* ========================================
   SERVICIOS - NUESTRAS UNIDADES
======================================== */
.units-section {
  background-color: #f3f3f3;
  overflow-x: hidden;
}

.units-header {
  background-color: #2f6f73;
  padding: 18px 0;
}

.units-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: 2px;
  font-family: "Rajdhani", sans-serif;
}

.units-row {
  padding: 26px 0;
}

.units-row-dark {
  background-color: #b08d8f;
}

.units-row-light {
  background-color: #eadcdc;
}

.units-image-box {
  max-width: 320px;
  margin: 0 auto;
}

.units-image {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
}

.units-content {
  max-width: 460px;
  margin: 0 auto;
}

.units-content h3 {
  margin: 0 0 10px;
  font-size: 1.9rem;
  font-weight: 700;
  color: #000000;
  font-family: "Archivo Black", sans-serif;
}

.units-content h4 {
  margin: 0 0 18px;
  font-size: 1.5rem;
  font-weight: 400;
  color: #111111;
  font-family: "Crimson Text", serif;
}

.units-content p {
  margin: 0 0 20px;
  font-size: 1.3rem;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.58);
  font-family: "Abel", sans-serif;
}

.units-btn {
  display: inline-block;
  min-width: 130px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: #7fb5c0;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.units-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Animación al entrar */
.reveal-right,
.reveal-left {
  opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right.show,
.reveal-left.show {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 992px) {
  .units-content h3 {
    font-size: 1.6rem;
  }

  .units-content h4 {
    font-size: 1.25rem;
  }

  .units-content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .units-title {
    font-size: 1.5rem;
  }

  .units-row {
    padding: 12px 0;
  }

  .units-image-box {
    max-width: 290px;
  }

  .units-content {
    max-width: 100%;
    padding: 0 10px;
  }

  .units-content h3 {
    font-size: 1.5rem;
  }

  .units-content h4 {
    font-size: 1.15rem;
  }

  .units-content p {
    font-size: 0.95rem;
    line-height: 1.35;
  }
}

/* ========================================
   SERVICIOS - ¿POR QUÉ ELEGIRNOS?
======================================== */
.why-section {
  background-color: #f3f3f3;
  padding-bottom: 50px;
}

.why-header {
  background-color: #b08484;
  padding: 18px 0;
}

.why-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: 1px;
  font-family: "Rajdhani", sans-serif;
}

.why-content {
  padding: 55px 20px 20px;
}

.why-item {
  margin: 0 0 10px;
  color: #757575;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.2;
  font-family: "Abel", sans-serif;
}

/* Animación abajo hacia arriba */
.reveal-up {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-up.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.25s;
}

.delay-3 {
  transition-delay: 0.4s;
}

.delay-4 {
  transition-delay: 0.55s;
}

@media (max-width: 768px) {
  .why-title {
    font-size: 1.5rem;
  }

  .why-content {
    padding: 40px 20px 15px;
  }

  .why-item {
    font-size: 1.15rem;
  }
}

/* ========================================================================================================
   CONTACTO
======================================== */
.contact-section {
  background-color: #f3f3f3;
  padding: 38px 0 60px;
}

.contact-top {
  margin-bottom: 46px;
}

.contact-intro {
  margin: 26px 0 0;
  color: #222222;
  font-size: 1.35rem;
  font-weight: 300;
  font-family: "Julius Sans One", sans-serif;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-info-card {
  background-color: #e6e6e6;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 26px 20px;
  text-align: center;
  min-height: 144px;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.contact-icon-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.contact-info-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 400;
  color: #1f1f1f;
  font-family: "Crimson Text", serif;
}

.contact-info-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.1;
  color: #2f2f2f;
  font-family: "Abel", sans-serif;
}

.contact-form-box {
  background-color: #2f6f73;
  border-radius: 6px;
  padding: 32px 30px;
  max-width: 580px;
  margin: 0 auto;
  height: 100%;
}

.contact-form-box h2 {
  margin: 0 0 24px;
  color: #e39a43;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Anonymous Pro", monospace;
}

.contact-form-box .form-label {
  color: #f0f0f0;
  font-size: 1.3rem;
  margin-bottom: 6px;
  font-family: "Abel", sans-serif;
}

.contact-input {
  background-color: #efefef;
  border: none;
  border-radius: 8px;
  min-height: 42px;
}

.contact-input:focus {
  box-shadow: none;
  border: none;
  background-color: #efefef;
}

.contact-textarea {
  height: 140px;
  resize: none;
}

.contact-submit-btn {
  min-width: 120px;
  border: none;
  border-radius: 12px;
  padding: 8px 18px;
  background-color: #df9742;
  color: #ffffff;
  font-size: 1.1rem;
  font-family: "Poppins", sans-serif;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.contact-submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .contact-intro {
    font-size: 1.2rem;
  }

  .contact-form-box {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 30px 0 46px;
  }

  .contact-top {
    margin-bottom: 30px;
  }

  .contact-intro {
    font-size: 1rem;
    line-height: 1.35;
    padding: 0 10px;
  }

  .contact-info-card {
    min-height: auto;
    padding: 22px 16px;
  }

  .contact-info-card h3 {
    font-size: 1rem;
  }

  .contact-info-card p {
    font-size: 0.95rem;
  }

  .contact-form-box {
    padding: 24px 18px;
  }

  .contact-form-box h2 {
    font-size: 1.35rem;
  }

  .contact-submit-btn {
    font-size: 1rem;
  }
}

.contact-pulse {
  animation: contactPulse 2.4s ease-in-out infinite;
}

@keyframes contactPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

/* =========================================================================================================
   Whatsapp flotante
======================================== */
.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: whatsapp-breathe 2s ease-in-out infinite;
}

.whatsapp-btn i {
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  animation: whatsapp-beat 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  text-decoration: none;
  color: inherit;
}

@keyframes whatsapp-breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes whatsapp-beat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}