/* ============================================
   VTK Soluciones - Landing (Mockup)
   ============================================ */

:root {
  --color-primary: #06213f;
  --color-primary-dark: #041528;
  --color-primary-light: #0a3460;
  --color-secondary: #ffc400;
  --color-secondary-hover: #e6b000;
  --color-white: #ffffff;
  --color-gray-bg: #eceef1;
  --color-gray-200: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-600: #4b5563;
  --color-text: #374151;

  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 84px;
  --container: 1240px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-secondary-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Section headers */
.section { padding: 72px 0; }

.section__header { margin-bottom: 44px; }
.section__header--center { text-align: center; }

.section__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  line-height: 1.25;
}

.section__header--light .section__title { color: var(--color-white); }

.section__underline {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-secondary);
  margin: 14px auto 0;
  border-radius: 2px;
}

.section__underline--left { margin: 14px 0 0; }

.section__subtitle {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--color-gray-600);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-primary);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--header-height);
  gap: 16px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 64px;
  width: auto;
  display: block;
}

.header__nav { justify-self: center; }

.header__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__menu a {
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  transition: color var(--transition);
}

.header__menu a:hover,
.header__menu a.active { color: var(--color-secondary); }

.header__cta { font-size: 0.72rem; padding: 11px 20px; }
.header__cta-mobile { display: none; }

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  z-index: 1002;
}

.header__toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__toggle.is-active span:nth-child(2) { opacity: 0; }
.header__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header__overlay { display: none; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 33, 63, 0.88) 0%,
    rgba(6, 33, 63, 0.72) 50%,
    rgba(6, 33, 63, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 60px 20px 100px;
}

.hero__text { max-width: 680px; }

.hero__lead {
  font-size: 1.05rem;
  color: var(--color-white);
  margin-bottom: 14px;
  font-weight: 500;
}

.hero__title {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.18;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--color-white);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero__dot.is-active { background: var(--color-white); }

/* ============================================
   About
   ============================================ */
.about {
  background: var(--color-primary);
  padding: 64px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.about__text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about__hashtag {
  color: var(--color-secondary) !important;
  font-weight: 700;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

.about__divider {
  width: 2px;
  min-height: 200px;
  background: var(--color-secondary);
  align-self: stretch;
}

.about__features {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.about__feature {
  flex: 1;
  text-align: center;
}

.about__feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  color: var(--color-secondary);
}

.about__feature-icon svg { width: 100%; height: 100%; }

.about__feature h3 {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

/* ============================================
   Carousel
   ============================================ */
.carousel {
  position: relative;
  padding: 0 52px;
}

.carousel__viewport { overflow: hidden; }

.carousel__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  z-index: 2;
  transition: background var(--transition);
}

.carousel__arrow:hover { background: var(--color-primary-light); }
.carousel__arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-gray-200);
  padding: 0;
  transition: all var(--transition);
}

.carousel__dot.is-active {
  background: var(--color-primary);
  width: 9px;
}

/* Experience cards */
.experience { background: var(--color-white); }

.experience-card {
  flex: 0 0 auto;
  text-align: center;
}

.experience-card__image {
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  margin-bottom: 14px;
}

.experience-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-card h3 {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  padding: 0 4px;
}

.carousel--experience .carousel__arrow { top: 38%; }

/* Project cards */
.projects { background: var(--color-gray-bg); }

.project-card {
  flex: 0 0 auto;
  border-radius: 4px;
  overflow: hidden;
}

.project-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img { transform: scale(1.04); }

.project-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(6, 33, 63, 0.92));
}

.project-card__overlay h3 {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.carousel--projects .carousel__arrow { top: 45%; }

/* ============================================
   Services
   ============================================ */
.services { background: var(--color-white); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.service-card { text-align: center; }

.service-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  color: var(--color-primary);
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

/* ============================================
   Clients
   ============================================ */
.clients {
  padding: 48px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-bg);
}

.clients__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 84px;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-200);
  border-radius: 6px;
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-logo--text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.35;
}

.client-logo:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(6, 33, 63, 0.08);
}

/* ============================================
   Contact
   ============================================ */
.contact {
  background: var(--color-primary);
  padding: 72px 0;
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact__divider {
  width: 1px;
  min-height: 280px;
  background: rgba(255, 255, 255, 0.25);
  align-self: stretch;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.contact__icon svg { width: 22px; height: 22px; }

.contact__list a,
.contact__list span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
}

.contact__list a:hover { color: var(--color-secondary); }

.contact__form { display: flex; flex-direction: column; gap: 14px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-white);
  border: none;
  border-radius: 6px;
  transition: box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-gray-400); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-secondary);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.contact__form .btn { align-self: flex-start; margin-top: 4px; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-primary-dark);
  padding: 24px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
}

.footer__logo img {
  height: 48px;
  width: auto;
  display: block;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.footer__social a {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__social a:hover { color: var(--color-secondary); }
.footer__social svg { width: 18px; height: 18px; }

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .about__feature h3 { font-size: 0.62rem; }
}

@media (max-width: 900px) {
  .header__inner { grid-template-columns: auto 1fr auto; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__divider {
    width: 60px;
    height: 2px;
    min-height: unset;
    margin: 0 auto;
  }

  .about__features { flex-wrap: wrap; justify-content: center; }
  .about__feature { flex: 0 0 calc(33% - 14px); min-width: 120px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact__divider { display: none; }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__social { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .section { padding: 56px 0; }

  .header__nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--header-height) + 20px) 20px 28px;
    background: var(--color-primary);
    transition: right var(--transition);
    z-index: 1001;
    overflow-y: auto;
  }

  .header__nav.is-open { right: 0; }

  .header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .header__menu a { padding: 12px 14px; font-size: 0.85rem; }
  .header__cta { display: none; }

  .header__cta-mobile {
    display: flex;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  .header__toggle { display: flex; }

  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 1000;
  }

  .header__overlay.is-visible { opacity: 1; visibility: visible; }

  .hero { min-height: auto; text-align: center; }
  .hero__content { padding: 48px 20px 80px; }
  .hero__text { max-width: 100%; margin: 0 auto; }
  .hero__overlay { background: rgba(6, 33, 63, 0.85); }
  .hero__actions { justify-content: center; flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .about__feature { flex: 1 1 100%; }

  .carousel { padding: 0 40px; }
  .carousel__arrow { width: 36px; height: 36px; }

  .form-row { grid-template-columns: 1fr; }
  .contact__form .btn { width: 100%; }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; }
  .carousel { padding: 0 32px; }
  .client-logo { width: calc(50% - 8px); height: 76px; }
  .client-logo img { max-height: 52px; }
}
