/* ============================================
   VINTUS — Corporate Website Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* --- Variables --- */
:root {
  --navy: #1A3B5C;
  --navy-dark: #122840;
  --navy-light: #2a5280;
  --white: #FFFFFF;
  --gray-light: #F7F8FA;
  --gray-border: #E5E7EB;
  --gray-mid: #9CA3AF;
  --gray-text: #6B7280;
  --gray-dark: #1F2937;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(26,59,92,0.10);
  --radius: 4px;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Section --- */
section {
  padding: 96px 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--gray-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 540px;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--gray-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  height: 72px;
}

.navbar.scrolled {
  border-bottom-color: var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-text);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gray-dark);
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-bg-compass {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: min(600px, 55vw);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

.hero .container {
  padding-top: 120px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--navy);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--gray-dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--navy);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-compass-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-compass-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gray-border);
  border-radius: 50%;
  animation: rotateRing 40s linear infinite;
}

.hero-compass-ring-2 {
  position: absolute;
  inset: 24px;
  border: 1px dashed var(--gray-border);
  border-radius: 50%;
  animation: rotateRing 60s linear infinite reverse;
}

.hero-compass-img {
  width: 180px;
  height: auto;
  opacity: 0.9;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   DIVIDER LINE
   ============================================ */
.section-divider {
  height: 1px;
  background: var(--gray-border);
  margin: 0 2rem;
}

/* ============================================
   SOBRE VINTUS
   ============================================ */
.about {
  background: var(--white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-left {}

.about-text {
  font-size: 1.1rem;
  color: var(--gray-text);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.about-differentiators {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.differentiator {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.diff-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gray-border);
  font-weight: 300;
  line-height: 1;
  min-width: 2rem;
  margin-top: -0.2rem;
}

.diff-content h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}

.diff-content p {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

.about-right {
  padding-top: 3.5rem;
}

.about-stat-block {
  border-top: 1px solid var(--gray-border);
  padding: 2rem 0;
}

.about-stat-block:last-child {
  border-bottom: 1px solid var(--gray-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-text);
}

/* ============================================
   SERVICIOS
   ============================================ */
.services {
  background: var(--gray-light);
}

.services-header {
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--gray-border);
}

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--navy);
  transition: width 0.4s ease;
}

.service-card:hover::after {
  width: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 2rem;
  color: var(--navy);
}

.service-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gray-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 500;
}

.service-benefit::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--navy);
}

/* ============================================
   METODOLOGÍA
   ============================================ */
.methodology {
  background: var(--white);
}

.methodology-header {
  margin-bottom: 5rem;
  max-width: 480px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 1rem);
  right: calc(10% + 1rem);
  height: 1px;
  background: var(--gray-border);
  z-index: 0;
}

.step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.step-number-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  transition: all var(--transition);
}

.step:hover .step-number-wrap {
  background: var(--navy);
  border-color: var(--navy);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--navy);
  transition: color var(--transition);
}

.step:hover .step-number {
  color: var(--white);
}

.step-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ============================================
   INDUSTRIAS
   ============================================ */
.industries {
  background: var(--gray-light);
}

.industries-header {
  margin-bottom: 3.5rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--gray-border);
}

.industry-item {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.industry-item:hover {
  background: var(--navy);
}

.industry-item:hover .industry-icon,
.industry-item:hover .industry-name {
  color: var(--white);
}

.industry-icon {
  color: var(--navy);
  margin: 0 auto 1rem;
  transition: color var(--transition);
}

.industry-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-dark);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

/* ============================================
   PROPUESTA DE VALOR
   ============================================ */
.value-prop {
  background: var(--navy);
  padding: 96px 0;
}

.value-prop .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.value-left .section-label {
  color: rgba(255,255,255,0.5);
}

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

.value-left .section-subtitle {
  color: rgba(255,255,255,0.65);
}

.value-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.value-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.value-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.value-item-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.value-item-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact {
  background: var(--white);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-left {}

.contact-info {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 18px;
  height: 18px;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-text {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.contact-info-text a {
  color: var(--navy);
  transition: color var(--transition);
}

.contact-info-text a:hover {
  color: var(--navy-dark);
  text-decoration: underline;
}

/* WhatsApp Card */
.whatsapp-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  height: 100%;
  box-sizing: border-box;
}

.whatsapp-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
}

.whatsapp-desc {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.65;
  margin: 0;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  margin-top: 0.5rem;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.whatsapp-number {
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  padding: 60px 0 32px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 3px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 200px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-linkedin:hover {
  color: var(--white);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* Hero elements animate in via CSS — no JS dependency for above-the-fold */
.hero .hero-label {
  animation: heroFadeUp 0.7s ease 0.1s both;
}
.hero .hero-title {
  animation: heroFadeUp 0.7s ease 0.25s both;
}
.hero .hero-subtitle {
  animation: heroFadeUp 0.7s ease 0.4s both;
}
.hero .hero-actions {
  animation: heroFadeUp 0.7s ease 0.55s both;
}
.hero .hero-visual {
  animation: heroFadeUp 0.8s ease 0.3s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    display: none;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-right {
    padding-top: 0;
  }

  .about-stat-block {
    display: inline-block;
    margin-right: 3rem;
    border: none;
    padding: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps::before {
    display: none;
  }

  .step {
    text-align: left;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 0;
  }

  .step-number-wrap {
    flex-shrink: 0;
    margin: 0;
  }

  .step-content {}

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-prop .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--gray-border);
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    align-items: flex-start;
  }

  .nav-links.open + .nav-cta {
    display: flex;
    position: fixed;
    top: calc(72px + 180px);
    left: 1.5rem;
    right: 1.5rem;
    z-index: 99;
  }

  .nav-toggle {
    display: flex;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }
}
