:root {
  --black: #000000;
  --blue-mid: #1a3f6f;
  --accent: #0696d7;
  --accent-hover: #04adef;
  --white: #ffffff;
  --grey-light: #f4f6f9;
  --grey-border: #dee2e6;
  --text-dark: #1a1a2e;
  --text-muted: #666666;
  --gold: #ffff00;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Artifakt", Arial, "Helvetica", sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

.productos-autodesk p {
  font-size: 16px;
}

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar-autodesk {
  background: var(--black);
  padding: 0 1.5rem;
  height: 60px;
}

.navbar-autodesk .navbar-brand {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white) !important;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-autodesk .navbar-brand .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 900;
}

.navbar-autodesk .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem !important;
  transition: color 0.2s;
}

.navbar-autodesk .nav-link:hover {
  color: #fff !important;
}

.navbar-autodesk .btn-nav-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}

.navbar-autodesk .btn-nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  background-image: linear-gradient(90deg, #000 3%, rgba(0, 0, 0, 0.4) 56.5%, rgba(0, 0, 0, 0) 83%), url("../images/Autodesk-Forma_banner_ppal2.jpg");
  color: var(--white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230696d7' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-eyebrow {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Artifakt Legend", Arial, "Helvetica", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 1.4rem;
}

.hero p.lead {
  font-size: 1.125rem;
  font-weight: 300;
  color: #ffffff;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background: #00ffff;
  border: 1px solid #00ffff;
  color: #000;
  border-radius: 4px;
  padding: 5px 15px;
  font-weight: 600;
  font-size: 18px;
  transition:
    background 0.2s,
    transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-hero-primary:hover {
  border: 1px solid #00ffff;
  color: #00ffff;
  background-color: #205df500;
  transform: translateY(-1px);
}

.productos-autodesk .btn {
  background: var(--black);
  border: 1px solid var(--black);
  font-size: 16px;
  border-radius: 4px;
  padding: 5px 15px;
}

.productos-autodesk .btn:hover {
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
}

/* ─── SECTION COMMONS ─────────────────────────────── */
section {
  padding: 80px 0;
}

p.section-eyebrow {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: "Artifakt Legend", Arial, "Helvetica", sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--black);
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
}

/* ─── PHASE TABS ──────────────────────────────────── */
.phases-section {
  background-color: #000000;
  color: #fff;
  padding: 0;
}

.phases-section .section-title {
  color: var(--white);
}

@media (min-width: 768px) {
  #phases-carousel .phases-slide {
    height: 700px;
    background-color: #000;
    padding-top: 80px;
  }
}

@media (min-width: 1280px) {
  #phases-carousel .phases-slide {
    height: 750px;
    background-color: #000;
    padding-top: 80px;
  }
}

#phases-carousel .phases-slide.slide-1 {
  background-image: linear-gradient(90deg, #000 30%, rgba(0, 0, 0, 0.7) 80%, rgba(0, 0, 0, 0) 95%), url("../images/1-planificacion-transp.png");
  background-size: cover;
  background-position: center 25%;
}
#phases-carousel .phases-slide.slide-2 {
  background-image: linear-gradient(90deg, #000 30%, rgba(0, 0, 0, 0.7) 80%, rgba(0, 0, 0, 0) 95%), url("../images/2-diseno-transp.png");
  background-size: cover;
  background-position: center 25%;
}
#phases-carousel .phases-slide.slide-3 {
  background-image: linear-gradient(90deg, #000 30%, rgba(0, 0, 0, 0.7) 80%, rgba(0, 0, 0, 0) 95%), url("../images/3-construccion-transp.png");
  background-size: cover;
  background-position: center 25%;
}
#phases-carousel .phases-slide.slide-4 {
  background-image: linear-gradient(90deg, #000 30%, rgba(0, 0, 0, 0.7) 80%, rgba(0, 0, 0, 0) 95%), url("../images/4-operacion-transp.png");
  background-size: cover;
  background-position: center 25%;
}

@media (min-width: 1280px) {
  #phases-carousel .phases-slide.slide-1 {
    background-image: linear-gradient(90deg, #000 3%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 95%), url("../images/1-planificacion-transp.png");
  }

  #phases-carousel .phases-slide.slide-2 {
    background-image: linear-gradient(90deg, #000 3%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 95%), url("../images/2-diseno-transp.png");
  }

  #phases-carousel .phases-slide.slide-3 {
    background-image: linear-gradient(90deg, #000 3%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 95%), url("../images/3-construccion-transp.png");
  }

  #phases-carousel .phases-slide.slide-4 {
    background-image: linear-gradient(90deg, #000 3%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 95%), url("../images/4-operacion-transp.png");
  }
}

.phases-section .carousel-indicators {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .phases-section .carousel-indicators {
    margin-bottom: 20px;
  }
}

.phases-section .carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 250px;
  height: 25px;
  padding: 12px 20px;
  margin-right: 1px;
  margin-left: 1px;
  color: #fff;
  text-indent: 1px !important;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  background-color: #000;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.phases-section .carousel-indicators li:first-child {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.phases-section .carousel-indicators li:last-child {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

.phases-section .carousel-indicators li.active {
  background-color: var(--gold);
  color: #000;
}

.phase-content-box {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--grey-border);
  margin-top: 1.5rem;
}

.phase-content-box h4 {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.phase-content-box p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── CAPABILITIES ────────────────────────────────── */
.capabilities-section {
  background: var(--white);
}

.capabilities-section p {
  font-size: 20px;
}

.cap-nav {
  border-bottom: 2px solid var(--grey-border);
}

.cap-nav .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 20px;
  padding: 0.75rem 1.2rem;
  border-radius: 0;
  margin-bottom: -2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.cap-nav .nav-link.active {
  color: var(--black);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

.cap-nav .nav-link:hover {
  color: var(--black);
}

.cap-item {
  padding: 2.5rem 0 0;
}

.cap-item h3 {
  font-weight: 700;
  color: var(--black);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.cap-item p {
  font-size: 18px !important;
  line-height: 1.4;
  margin-bottom: 35px;
}

.cap-item p a {
  color: var(--black);
  text-decoration: none;
}

/*-----------------------------------------------------------*/

.video-wrapper .embed-responsive {
  position: relative;
  background: #000;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
}

.video-wrapper .embed-responsive-item {
  object-fit: cover; /* para que la img llene el recuadro sin deformarse */
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  pointer-events: none; /* el click lo maneja el contenedor padre */
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.embed-responsive:hover .play-button {
  background: rgba(255, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.08);
}

/*-----------------------------------------------------------*/

/* ─── AI SECTION ──────────────────────────────────── */
.ai-section {
  background-color: var(--black);
  background-image: linear-gradient(0deg, #000 10%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 95%), url("../images/banner-ai-2.jpg");
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  color: var(--white);
}

@media (min-width: 992px) {
  .ai-section {
    background-color: var(--black);
    background-image: url("../images/banner-ai-2.jpg");
    /* background-image: linear-gradient(0deg, #000 10%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 95%), url("../images/banner-ai-2.jpg"); */
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    color: var(--white);
  }
}

.ai-section .section-title {
  color: var(--white);
  font-family: "", Arial, Helvetica, sans-serif;
}

.ai-section .section-eyebrow {
  color: var(--gold);
}

.ai-tabs .nav-link {
  color: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 0;
  border-left: 3px solid transparent;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.ai-tabs .nav-link.active {
  color: #fff;
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.ai-tabs .nav-link:hover {
  color: #fff;
}

.ai-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.ai-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: transparent;
}

.ai-card-body {
  padding: 1.5rem;
}

.ai-card-body h4 {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.ai-card-body p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.btn-ai-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-ai-link:hover {
  color: #f7be54;
  text-decoration: none;
}

/* ─── FEATURED PRODUCT ────────────────────────────── */
.featured-product {
  background: linear-gradient(135deg, #0d3460 0%, var(--black) 100%);
  color: #fff;
  padding: 70px 0;
}

.featured-product .eyebrow {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-product h2 {
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.5rem 0 1rem;
}

.featured-product h4 {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.featured-product p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.btn-buy {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 0.65rem 1.6rem;
  border: none;
  border-radius: 4px;
  margin-right: 0.75rem;
  transition: background 0.2s;
}

.btn-buy:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-details {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  transition: border-color 0.2s;
}

.btn-details:hover {
  border-color: #fff;
  color: #fff;
}

.product-icon-lg {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--accent), #0d5fa3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
}

.product-icon-lg span {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
}

/* ─── OTHER CLOUDS ────────────────────────────────── */
.other-clouds {
  background: var(--grey-light);
  padding: 70px 0;
}

.cloud-card {
  border: 1px solid var(--grey-border);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  background: #fff;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
  text-decoration: none;
  color: var(--text-dark);
  display: block;
}

.cloud-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
  border-color: var(--accent);
  text-decoration: none;
  color: var(--text-dark);
}

.cloud-card .tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.cloud-card h5 {
  font-weight: 700;
  color: var(--black);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.cloud-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.cloud-card .explore-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ─── FAQ ─────────────────────────────────────────── */
.faq-section {
  background: #fff;
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid var(--grey-border);
}

.accordion-button {
  font-weight: 600;
  color: var(--black);
  font-size: 20px;
  background: none;
  border: none;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.accordion-button .icon {
  transition: transform 0.25s;
}

.accordion-button[aria-expanded="true"] .icon {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 0 1.2rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 18px;
}

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  padding: 50px 0 30px;
}

footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.45rem;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

/* ─── UTILITIES ───────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--grey-border);
  margin: 0;
}

@media (max-width: 767px) {
  .hero {
    padding: 70px 0 60px;
  }

  .btn-hero-ghost {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .phases-section {
    padding: 40px 0;
    background-image: linear-gradient(90deg, #000 3%, rgba(0, 0, 0, 0.4) 56.5%, rgba(0, 0, 0, 0) 83%);
  }

  .carousel-inner {
    height: 655px;
  }

  .phases-section .carousel-indicators {
    margin-bottom: 0;
  }

  .phases-section .carousel-indicators li {
    width: auto;
    padding: 12px 9px;
    font-size: 15px;
    height: 23px;
  }

  .ai-section {
    background-color: var(--black);
    background-image: linear-gradient(90deg, #000 3%, rgba(0, 0, 0, 0.4) 56.5%, rgba(0, 0, 0, 0) 83%), url("../images/banner-ai-2.jpg");
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    color: var(--white);
  }
}
