@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap");

:root {
  --brand-primary: #1f4f64;
  --brand-dark: #0b1526;
  --brand-muted: #6b7280;
  --brand-light: #f3f6f9;
  --brand-accent: #d9a441;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 120px;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--brand-dark);
  line-height: 1.6;
  background-color: #ffffff;
}

.topbar {
  background: #0a1222;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 0;
  font-size: 0.85rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
}

.topbar i {
  color: var(--brand-accent);
  margin-right: 6px;
}

.topbar .social a {
  color: #fff;
  margin-left: 10px;
  font-size: 0.85rem;
}

.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(9, 18, 33, 0.6);
  backdrop-filter: blur(12px);
  top: 34px;
  z-index: 1035;
}

.navbar.scrolled {
  background: rgba(9, 18, 33, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.hero {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(217, 164, 65, 0.2), transparent 45%),
    linear-gradient(130deg, rgba(7, 15, 28, 0.95), rgba(9, 18, 33, 0.75)),
    url("portafolio/11.jpeg") center/cover no-repeat;
  position: relative;
  padding-top: 120px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 15, 28, 0.92), rgba(12, 22, 51, 0.3));
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: floaty 10s ease-in-out infinite;
}

.hero-shape.shape-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.6), transparent 70%);
  top: 10%;
  right: 8%;
}

.hero-shape.shape-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(31, 79, 100, 0.8), transparent 70%);
  bottom: 15%;
  left: 6%;
  animation-delay: 2s;
}

.hero-shape.shape-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(71, 154, 157, 0.5), transparent 70%);
  bottom: 28%;
  right: 22%;
  animation-delay: 4s;
}

.hero .container,
.hero .row {
  position: relative;
  z-index: 2;
}

.badge-glass {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.stat-box {
  background: var(--brand-light);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-highlights i {
  color: var(--brand-accent);
  margin-right: 6px;
}

.hero-media {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.floating-card {
  position: absolute;
  bottom: -20px;
  left: 30px;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(12, 22, 51, 0.2);
  max-width: 220px;
}

.floating-card.second {
  top: 20px;
  right: 18px;
  left: auto;
  bottom: auto;
}

.section {
  padding: 100px 0;
}

.trust-bar {
  padding: 40px 0 60px;
  background: #0a1222;
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.trust-grid div {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.trust-grid i {
  color: var(--brand-accent);
}

.section-title span {
  color: var(--brand-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.section-title h2 {
  font-weight: 700;
  margin-top: 10px;
}

.highlight-list div {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}

.highlight-list i {
  color: var(--brand-primary);
  margin-top: 3px;
}

.image-stack {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.image-stack img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(12, 22, 51, 0.15);
}

.image-stack img:first-child {
  grid-column: 1 / 5;
}

.image-stack img:last-child {
  grid-column: 3 / 7;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 15px 30px rgba(12, 22, 51, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(12, 22, 51, 0.15);
}

.service-card i {
  font-size: 32px;
  color: var(--brand-primary);
  margin-bottom: 15px;
}

.timeline {
  background: var(--brand-light);
  padding: 30px;
  border-radius: 20px;
}

.timeline-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(12, 22, 51, 0.1);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item span {
  font-weight: 600;
  display: block;
}

.metric {
  background: var(--brand-light);
  padding: 18px;
  border-radius: 12px;
  min-width: 120px;
  text-align: center;
}

.metric h3 {
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.carousel-item img {
  height: 480px;
  object-fit: cover;
  border-radius: 18px;
}

.carousel-caption {
  background: rgba(7, 15, 28, 0.7);
  border-radius: 12px;
  padding: 20px;
}

.portfolio-card {
  background: #1a2340;
  padding: 10px;
  border-radius: 16px;
}

.portfolio-card img {
  width: 100%;
  border-radius: 12px;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.cta {
  background: linear-gradient(120deg, #1f4f64, #3b6f76);
}

.contact-card {
  background: var(--brand-light);
  padding: 30px;
  border-radius: 20px;
  height: 100%;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  color: var(--brand-primary);
  font-size: 20px;
  margin-top: 4px;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(12, 22, 51, 0.08);
}

.footer {
  background: #0a1222;
  color: #fff;
  padding: 40px 0;
}

.footer p {
  color: rgba(255, 255, 255, 0.6);
}

.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: 0 12px 25px rgba(31, 79, 100, 0.25);
}

.btn-nav {
  padding: 8px 18px;
  font-size: 0.95rem;
}

.btn-outline-light:hover {
  color: #0b1526;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 12px 16px;
  font-weight: 500;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 16px;
  width: 0;
  height: 2px;
  background: var(--brand-accent);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 32px);
}

.equipment {
  background: var(--brand-light);
}

.equipment-card {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(12, 22, 51, 0.08);
  height: 100%;
}

.equipment-card i {
  font-size: 38px;
  color: var(--brand-primary);
  margin-bottom: 16px;
  display: inline-block;
  animation: pulse 2.2s ease-in-out infinite;
}

.equipment-card.delay-2 i {
  animation-delay: 0.4s;
}

.equipment-card.delay-3 i {
  animation-delay: 0.8s;
}

.equipment-card.delay-4 i {
  animation-delay: 1.2s;
}

@media (max-width: 991px) {
  .hero {
    padding-top: 140px;
  }

  .image-stack img:last-child {
    margin-top: 0;
  }

  .floating-card {
    position: static;
    margin-top: 20px;
  }

  .topbar {
    display: none;
  }

  .navbar {
    top: 0;
  }
}

@media (max-width: 767px) {
  .carousel-item img {
    height: 320px;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

