/* =========================
   HERO (tech-intro pattern)
========================= */
.tech-intro{
  padding-top:160px;
  padding-bottom:120px;
  margin-top:var(--navbar-height);
  position:relative;
  z-index:1;
}

.tech-bg {
  background:
    radial-gradient(circle at 20% 30%, rgba(250,94,58,0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(250,94,58,0.15), transparent 40%),
    linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
    url("../images/3pl.png") center/cover no-repeat;
}

.tech-title{
  font-size:56px;
  line-height:1.1;
  max-width:900px;
  color:#fff;
}

.tech-subtitle{
  margin-top:25px;
  color:#ddd;
  max-width:650px;
}

@media(max-width:900px){
  .tech-title{
    font-size:42px;
  }
}

@media(max-width:600px){
  .tech-intro{
    padding-top:130px;
    padding-bottom:80px;
  }
  .tech-title{
    font-size:32px;
  }
  .tech-subtitle{
    font-size:15px;
  }
}

@media(max-width:400px){
  .tech-title{
    font-size:26px;
  }
  .tech-subtitle{
    font-size:14px;
  }
}

/* CENTER (same as technology.css) */
.center{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

/* =========================
   SECTION OVERLINE
========================= */
.section-overline{
  display:inline-block;
  background:linear-gradient(135deg,var(--primary),#ff9a3c);
  color:#fff;
  padding:5px 16px;
  border-radius:6px;
  font-weight:700;
  font-size:11px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  margin-bottom:12px;
}

/* =========================
   VIDEO GLOW
========================= */
.vt-glow{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(239,130,32,0),rgba(239,130,32,0.08));
  opacity:0;
  transition:opacity .5s ease;
  pointer-events:none;
  z-index:1;
  border-radius:18px;
}

.image-text__video:hover .vt-glow{
  opacity:1;
}

@media(max-width:768px){
  .vt-glow{
    border-radius:12px;
  }
}

/* =========================
   VIDEO SECTION
========================= */

.image-text.image-text--video .container {
  max-width: 1200px;  
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.image-text.image-text--video {
  padding: 100px 0;
  background: var(--bg, #fff);
}

.row.flex-opposite {
  display: flex;
  flex-wrap: wrap;
}

.row.align-items-center {
  align-items: center;
}

.image-text__half {
  flex: 1 1 50%;
  padding: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* VIDEO THUMBNAIL */
.image-text__video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  cursor: pointer;
}

.image-text__video img.object-fit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-text__video:hover img.object-fit {
  transform: scale(1.03);
}

/* PLAY BUTTON */
.image-video-text__link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: white;
  text-shadow: 0 5px 15px rgba(0,0,0,0.5);
  z-index: 10;
}

/* TEXT */
.image-text__text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.image-text__text p {
  font-size: 1.15rem;
  color: var(--muted, #555);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.image-text__text p a {
  color: var(--orange, #EF8220);
  font-weight: 600;
  text-decoration: none;
}

.image-text__text p a:hover {
  text-decoration: underline;
}

/* CTA BUTTON */
.text-center {
  text-align: center;
}

.image-text__text .btn-primary {
  display: inline-block;
  margin-top: 10px;
  background-color: var(--orange, #EF8220);
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.image-text__text .btn-primary:hover {
  background-color: #FA5E3A;
  box-shadow: 0 10px 25px rgba(250,94,58,0.2);
}

/* VIDEO MODAL */


/* =========================
   YOUTUBE PLAYER FIX
========================= */
#threePLPlayer {
  width: 100%;
  height: 500px;
  position: relative;
}

#threePLPlayer iframe {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

/* RESPONSIVE */
/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .image-text.image-text--video {
    padding: 60px 0;
  }

  .image-text.image-text--video .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .row.flex-opposite {
    flex-direction: column;
  }

  .image-text__half {
    flex: 1 1 100%;
    padding: 10px 0;
  }

  .image-text__img {
    width: 100%;
  }

  /* VIDEO */
  .image-text__video {
    border-radius: 12px;
    width: 100%;
    padding-top: 56.25%;
    min-height: 200px;
  }

  .image-video-text__link {
    font-size: 2.5rem;
  }

  /* TEXTO */
  .image-text__text {
    margin-top: 10px;
    text-align: left;
  }

  .image-text__text h2 {
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.3;
  }

  .image-text__text p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
  }

  /* BOTÓN */
  .image-text__text .btn-primary {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  /* MODAL */
  .video-modal__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 10;
  }

  .video-modal__close {
    top: -15px;
    right: -10px;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    z-index: 999999999;
  }
}


/* =========================
   EXTRA SMALL DEVICES
========================= */
@media (max-width: 480px) {

  .image-text__text h2 {
    font-size: 1.5rem;
  }

  .image-video-text__link {
    font-size: 2rem;
  }

  #threePLPlayer iframe {
    height: 200px !important;
  }
}

/* ==============================
   CHALLENGES SECTION
============================== */
.contact-block-pro {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  font-family: 'Inter', sans-serif;
}

/* ==============================
   TIMELINE
============================== */
.timeline {
  position: relative;
  max-width: 500px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #EF8220, transparent);
}

/* ITEM */
.timeline-item {
  position: relative;
  margin-bottom: 60px;
  padding-left: 80px;
}

/* DOT / LINE CONNECTOR */
.timeline-line {
  position: absolute;
  left: 22px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: #EF8220;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(239,130,32,0.1);
}

/* ==============================
   CARD 
============================== */
.card {
  align-items: start;
  display: grid;

  align-items: center;
  gap: 20px;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: 16px;

  padding: 20px 24px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);

  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* ==============================
   ICON
============================== */
.icon {
  min-width: 64px;
  width: 64px;
  height: 64px;
  min-width: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, rgba(239,130,32,0.15), rgba(239,130,32,0.05));
  border-radius: 14px;

  transition: all 0.3s ease;
}

.icon svg {
  width: 38px;
  height: 38px;
}


.card:hover .icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(239,130,32,0.25), rgba(239,130,32,0.08));
}

/* ==============================
   CONTENT
============================== */
.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #111;
}

.card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  text-align: justify;
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-line {
    left: 12px;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

/* =========================
   HIGHLIGHT VIDEO SECTION
========================= */

.image-text--highlight {
  background: #878787;
  padding: 120px 0;
}

.image-text__box {
  background: #f2f2f2;
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}


.image-text__box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
}


.image-text--highlight .image-text__text h2 {
  font-size: 2.6rem;
  line-height: 1.2;
}

.image-text--highlight .image-text__text p {
  font-size: 1.05rem;
  color: #555;
}


.image-text--highlight .btn-primary {
  margin-top: 15px;
}


.image-text--highlight .image-text__video {
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}


.image-text--highlight .image-text__video:hover img {
  transform: scale(1.05);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .image-text--highlight {
    padding: 80px 0;
  }

  .image-text__box {
    padding: 30px 20px;
  }

  .image-text--highlight .image-text__text h2 {
    font-size: 1.8rem;
    text-align: center;
  }
}

/* ==============================
   3PL ADVANTAGES
============================== */
.faq-pro {
  background: #f9fafc;
}

/* GRID */
.faq-pro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-items: center;
}

/* CARD */
.faq-pro__item {
  position: relative;
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
}

.faq-pro__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ICON */
.faq-pro__icon {
  width: 55px;
  height: 55px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,130,32,0.1);
  border-radius: 12px;
}

.faq-pro__icon svg {
  width: 26px;
  height: 26px;
  stroke: #EF8220;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: 0.3s;
}

.faq-pro__item:hover .faq-pro__icon svg {
  transform: scale(1.1);
}

/* NUMBER */
.faq-pro__number {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 48px;
  font-weight: 700;
  color: rgba(239,130,32,0.08);
}

/* TITLE */
.faq-pro__item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0f172a;
}

/* TEXT */
.faq-pro__item p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  text-align: justify;
}

.faq-pro__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #EF8220;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.faq-pro__item:hover::before {
  transform: scaleY(1);
}

.faq-pro .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}


@media (min-width: 992px) {

  .faq-pro__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .faq-pro__item {
    max-width:100%;
  }

  .faq-pro__item:nth-child(1) {
    grid-column: 1 / 3;
  }

  .faq-pro__item:nth-child(2) {
    grid-column: 3 / 5;
  }

  .faq-pro__item:nth-child(3) {
    grid-column: 5 / 7;
  }

  .faq-pro__item:nth-child(4) {
    grid-column: 2 / 4;
  }

  .faq-pro__item:nth-child(5) {
    grid-column: 4 / 6;
  }

}



/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 992px) {
  .faq-pro__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .faq-pro__grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
  }
}
/* =========================
   SECTION TITLES
========================= */
.section-title {
  font-size:42px;
  text-align:center;
  margin-bottom:50px;
  position:relative;
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
  padding-top: 50px;
}

.section-title::after {
  content:"";
  display:block;
  width:50px;
  height:3px;
  background:var(--primary);
  margin:12px auto 0;
  border-radius:2px;
}

/* =========================
   BENEFITS / GLASS CARDS
========================= */
.grid-2 {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  max-width:1000px;
  margin:0 auto;
}

.grid-2 .glass-card {
  padding:30px;
  text-align:center;
  transition:all 0.4s ease;
}

/* =========================
   FLOW GRID
========================= */
.flow-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  max-width:1000px;
  margin:0 auto;
}

.flow-step {
  text-align:center;
  padding:30px;
}

/* =========================
   VIDEO SECTION
========================= */
.video-section {
  text-align:center;
  padding:50px 8%;
}

.video-wrapper {
  position:relative;
  max-width:600px;
  margin:0 auto;
  cursor:pointer;
  border-radius:20px;
  overflow:hidden;
}

.video-wrapper .play-btn {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  font-size:50px;
  color:white;
  opacity:0.9;
  text-shadow:0 0 15px rgba(0,0,0,0.7);
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px){
  .hero h1{
    font-size:36px;
  }
  .hero p{
    font-size:16px;
  }
  .grid-2, .flow-grid {
    grid-template-columns:1fr;
    gap:30px;
  }
  .flow-step, .glass-card {
    padding:20px;
  }
}