/* ================================================================
   CARDENAL PERSONNEL
   Clean · Modern · Corporate
   ================================================================ */

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

:root {
  --blue: #1B44A0;
  --blue-h: #2255b8;
  --blue-pale: #eef2fa;
  --white: #fff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --dark: #111827;
  --darker: #0a0d12;
  --transition: .2s ease;
}

/* ================================================================
   BASE
   ================================================================ */
.index-page {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.index-page p { line-height: 1.7; }

/* ================================================================
   NAVBAR
   ================================================================ */
.index-navbar {
  min-height: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
  transition: all var(--transition);
  z-index: 1030;
  flex-wrap: nowrap;
}
.index-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.index-navbar .navbar-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  padding: 0;
  text-decoration: none;
  letter-spacing: -0.3px;
  flex-shrink: 0;
  margin-right: 0;
  position: relative;
  z-index: 3;
}
.index-navbar .navbar-brand .b { color: var(--blue); }
.index-navbar .navbar-brand .t { font-weight: 400; color: var(--gray-500); }
.index-navbar .navbar-brand:hover { text-decoration: none; }

.index-navbar.affix {
  min-height: 60px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.index-navbar.affix .container { height: 60px; }

/* ---- Desktop nav (collapsed on mobile) ---- */
.index-navbar-collapse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}
.nav-center {
  flex: 1;
  flex-direction: row;
  justify-content: center;
  display: flex;
  gap: 2px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.nav-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}
.index-navbar .nav-link {
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px !important;
  transition: color var(--transition);
}
.index-navbar .nav-link:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 7px 14px !important;
  font-weight: 600;
  font-size: 13px !important;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--blue-h) !important; color: var(--white) !important; text-decoration: none; }

/* ---- Mobile hamburger ---- */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 4;
  width: 40px;
  height: 40px;
  padding: 8px 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:focus { outline: none; }
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all .3s ease;
  position: absolute;
  left: 6px;
  right: 6px;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 28px; }

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

/* ---- Mobile drawer header (close btn + brand) ---- */
.nav-mobile-header {
  display: none;
}
.nav-mobile-brand { display: none; }
.nav-mobile-close {
  display: none;
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  transition: color var(--transition);
}
.nav-mobile-close:hover { color: var(--gray-900); }

/* ---- Overlay ---- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 2;
  opacity: 0;
  transition: opacity .3s ease;
}
.nav-open .nav-overlay {
  display: block;
  opacity: 1;
}

/* ================================================================
   MOBILE ( < 992px ) — Drawer menu
   ================================================================ */
@media (max-width: 991px) {
  .index-navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    z-index: 3;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,.08);
  }
  .nav-open .index-navbar-collapse {
    transform: translateX(0);
  }

  .nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
  }
  .nav-mobile-brand {
    display: inline;
    font-size: 18px;
    font-weight: 700;
  }
  .nav-mobile-brand .b { color: var(--blue); }
  .nav-mobile-brand .t { font-weight: 400; color: var(--gray-500); }
  .nav-mobile-close { display: block; }

  .index-navbar-collapse .nav-center {
    flex: initial;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 12px 0;
  }
  .index-navbar-collapse .nav-item { width: 100%; }
  .index-navbar-collapse .nav-item .nav-link {
    display: block;
    padding: 14px 24px !important;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
  }

  .index-navbar-collapse .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 16px 24px 24px;
    margin-top: auto;
  }
  .index-navbar-collapse .nav-cta {
    display: block;
    text-align: center;
    padding: 12px 18px !important;
    font-size: 14px !important;
    margin: 0;
  }

  .nav-toggle { display: block; }
}

/* ================================================================
   SECTIONS — Shared
   ================================================================ */
.section { padding: 96px 0; }
.section--gray { background: var(--gray-50); }
.section--white { background: var(--white); background-image: radial-gradient(circle, rgba(27,68,160,0.04) 1px, transparent 1px); background-size: 24px 24px; }
.section--dark { background: var(--dark); color: var(--white); }
.section--blue,
.section--blue:nth-child(odd) { background: var(--dark); color: var(--white); }

.section-divider {
  height: 4px;
  background: var(--blue);
  width: 100%;
}

.section-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.6px;
  line-height: 1.18;
  margin-bottom: 14px;
}
.section-title--light { color: var(--white); }
.section-sub {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 0;
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: 160px 0 80px;
  background: var(--white);
  background-image: radial-gradient(circle, rgba(27,68,160,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-grid {
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-left { flex: 1; max-width: 540px; }
.hero-right { flex: 0 0 44%; }

.hero-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.hero-logo-b { color: var(--blue); }
.hero-logo-t { font-weight: 400; color: var(--gray-500); }

.hero-title {
  font-size: clamp(40px, 5.5vw, 56px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--blue);
}

.hero-text {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 420px;
  margin: 0 0 36px 0;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 48px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--blue-h);
  color: var(--white);
  text-decoration: none;
}
.btn--outline {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}
.btn--outline:hover {
  border-color: var(--gray-700);
  color: var(--gray-900);
  text-decoration: none;
}

.hero-metrics {
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.hero-metric-line {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
}
.hero-metric-dot {
  color: var(--gray-300);
  margin: 0 8px;
  font-weight: 700;
}

.hero-img-card {
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-200);
}
.hero-img-card img {
  width: 100%;
  height: auto;
  min-height: 460px;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .hero-grid { flex-direction: column-reverse; gap: 40px; }
  .hero-right { flex: auto; width: 100%; }
  .hero-left { max-width: 100%; text-align: center; }
  .hero-logo { margin: 0 auto 24px; }
  .hero-text { margin: 0 auto 28px; }
  .hero-metrics { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-img-card img { min-height: 300px; }
}
@media (max-width: 767px) {
  .hero { padding: 100px 0 50px; }
  .hero-title { font-size: 32px; }
  .hero-text { font-size: 16px; }
  .hero-img-card img { min-height: 220px; }
  .hero-metric-line { font-size: 13px; }
}

/* ================================================================
   HERO DIVIDER
   ================================================================ */
.hero-divider {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.hero-divider__wave {
  display: block;
  width: 100%;
  height: 90px;
}
.hero-divider__strip {
  background: var(--dark);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.hero-divider__marquee {
  display: inline-block;
  animation: marquee 60s linear infinite;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero-divider__dot {
  margin: 0 16px;
  color: rgba(255,255,255,0.3);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .hero-divider__wave { height: 40px; }
  .hero-divider__marquee { font-size: 11px; letter-spacing: 1.5px; }
  .hero-divider__dot { margin: 0 10px; }
}

.section--dark .section-num { color: var(--blue-pale); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-sub { color: rgba(255,255,255,0.55); }
.section--blue .section-num { color: var(--blue-pale); }
.section--blue .section-title { color: var(--white); }
.section--blue .section-sub { color: rgba(255,255,255,0.55); }
.section--blue .section-title em { font-style: normal; color: var(--blue-pale); }
#trabajo { border-top: 2px solid rgba(255,255,255,0.15); }


/* ================================================================
   MISSION + VISION
   ================================================================ */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 44px 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.mv-card:hover::before { transform: scaleX(1); }
.mv-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(27,68,160,0.06);
}
.mv-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 24px;
}
.mv-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.mv-text {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

@media (max-width: 767px) {
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card { padding: 32px 24px; }
}

/* ================================================================
   STORY
   ================================================================ */
.story-grid {
  display: flex;
  align-items: center;
  gap: 80px;
}
.story-left { flex: 1; }
.story-right { flex: 0 0 42%; }

.story-img-wrapper {
  position: relative;
  display: inline-block;
}
.story-img-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--dark);
  border-radius: 50%;
  z-index: 0;
}
.story-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 6px solid var(--white);
}

.story-text {
  font-size: 15.5px;
  color: var(--gray-500);
  line-height: 1.75;
  margin: 0 0 16px 0;
}

.story-highlight {
  display: flex;
  gap: 16px;
  background: var(--blue-pale);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 28px 0;
  align-items: flex-start;
}
.story-highlight__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}
.story-highlight p {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.story-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.story-stat__val {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}
.story-stat__lbl {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  .story-grid { flex-direction: column; gap: 48px; }
  .story-right { width: 100%; flex: auto; max-width: 400px; margin: 0 auto; }
  .story-img-bg { top: -16px; right: -16px; }
}
@media (max-width: 767px) {
  .story-stats { gap: 24px; }
  .story-stat__val { font-size: 24px; }
}

/* ================================================================
   VALUES
   ================================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(27,68,160,0.06);
}
.vc-icon { font-size: 28px; color: var(--blue); margin-bottom: 16px; }
.vc-title { font-weight: 700; font-size: 16px; color: var(--gray-900); margin-bottom: 8px; }
.vc-desc { font-size: 14px; color: var(--gray-500); line-height: 1.65; margin: 0; }

@media (max-width: 767px) {
  .values-grid { grid-template-columns: 1fr; }
}

.mv-accordion {
  margin: 64px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}
.mv-accordion .accordion > .card {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 0;
}
.mv-accordion .accordion > .card:first-of-type {
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.mv-accordion .accordion > .card:last-of-type {
  border-top: 0;
  border-radius: 0 0 8px 8px;
}
.mv-accordion .card-header {
  background: var(--gray-50);
  padding: 0;
  border-bottom: none;
}
.mv-accordion .card-header .btn {
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  text-decoration: none;
  white-space: normal;
  transition: all var(--transition);
}
.mv-accordion .card-header .btn:hover {
  color: var(--blue);
  text-decoration: none;
}
.mv-accordion .card-header .btn i {
  font-size: 18px;
  color: var(--blue);
  flex-shrink: 0;
}
.mv-accordion .card-header .btn.collapsed i {
  color: var(--gray-500);
}
.mv-accordion .card-body p { margin: 0; }
.mv-accordion .card-body {
  padding: 18px 24px 24px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 44px 36px 38px;
  text-align: center;
  transition: all var(--transition);
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 32px 32px 0;
  border-color: transparent var(--blue) transparent transparent;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transform: translateY(-6px);
  text-decoration: none;
  color: inherit;
}
.service-card:hover::after {
  border-width: 0 38px 38px 0;
}
.service-card:hover .sc-icon { background: var(--blue); color: var(--white); transform: scale(1.1); }
.sc-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: var(--blue);
  transition: all var(--transition);
}

.sc-title { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.sc-desc { font-size: 15px; color: var(--gray-500); line-height: 1.7; margin: 0; }

@media (max-width: 767px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   COMPANY FORM
   ================================================================ */
.contact-section .section-sub { margin: 0 auto 40px; }

.form-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.form-card .form-head {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  padding: 28px 24px 6px;
}
.form-card .form-body { padding: 8px 24px 6px; }
.form-card .form-body .form-group { margin-bottom: 14px; }
.form-card .form-body .form-control {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--gray-900);
  transition: all var(--transition);
}
.form-card .form-body .form-control:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27,68,160,0.06);
}
.form-card .form-footer .btn {
  display: block;
  width: 100%;
  padding: 15px 0;
  border-radius: 0 0 8px 8px;
  background: var(--blue);
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.form-card .form-footer .btn:hover { background: var(--blue-h); }

.company-grid {
  display: flex;
  align-items: center;
  gap: 64px;
}
.company-left {
  flex: 1;
  max-width: 440px;
}
.company-right {
  flex: 0 0 420px;
  margin-left: auto;
}

@media (max-width: 991px) {
  .company-grid {
    flex-direction: column;
    gap: 36px;
  }
  .company-left {
    max-width: 100%;
    text-align: left;
  }
  .company-right {
    flex: auto;
    width: 100%;
  }
  #trabajo .cta-card-body { flex-direction: row; justify-content: center; }
}
@media (max-width: 767px) {
  #trabajo .cta-card-body { flex-direction: column; }
  #trabajo .cta-card-body .cta-btn { width: 100%; text-align: center; }
}

/* ================================================================
   TEAM
   ================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 32px 20px 28px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(27,68,160,0.06);
}
.t-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 3px solid var(--blue-pale);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.t-name { font-size: 17px; font-weight: 700; color: var(--gray-900); margin: 0 0 4px 0; }
.t-role { font-size: 13px; color: var(--gray-500); font-weight: 500; margin: 0 0 8px 0; }
.t-phone { font-size: 13px; color: var(--blue); text-decoration: none; font-weight: 600; }
.t-phone:hover { color: var(--blue-h); text-decoration: none; }

@media (max-width: 767px) {
  .team-grid { grid-template-columns: 1fr; max-width: 280px; margin: 40px auto 0; }
}

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-card-body {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition);
}
.cta-btn:hover { background: var(--blue-h); color: var(--white); text-decoration: none; }
.cta-btn--ghost {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.cta-btn--ghost:hover { background: var(--blue); color: var(--white); }

/* ================================================================
   CONTACT
   ================================================================ */
#contact .section-sub,
#mv .section-sub,
#values .section-sub,
#company .section-sub,
#equipo .section-sub {
  margin: 0 auto 0 0;
}
.contact-grid {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.contact-info {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 20px 24px;
  transition: all var(--transition);
}
.contact-info-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(27,68,160,0.06);
}
.cic-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue);
  flex-shrink: 0;
}
.cic-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.cic-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  text-decoration: none;
  display: block;
}
a.cic-value:hover {
  color: var(--blue);
  text-decoration: none;
}

.contact-form {
  flex: 1;
  max-width: 520px;
}
.contact-form .form-group {
  margin-bottom: 16px;
}
.contact-form .form-control {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--gray-900);
  transition: all var(--transition);
  background: var(--white);
  width: 100%;
}
.contact-form select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
  height: auto !important;
  min-height: 48px;
  line-height: 1.5;
}
.contact-form .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,68,160,0.06);
  outline: none;
}
.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.btn--block {
  display: block;
  width: 100%;
  justify-content: center;
  padding: 15px 26px;
}

@media (max-width: 991px) {
  .contact-grid {
    flex-direction: column;
  }
  .contact-info {
    flex: auto;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .contact-info-card {
    flex: 1;
    min-width: 200px;
  }
  .contact-form {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .contact-info {
    flex-direction: column;
  }
}

/* ================================================================
   FOOTER
   ================================================================ */
.index-footer {
  background: var(--darker);
  padding: 32px 0;
  text-align: center;
}
.index-footer .fcopy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 0 0 10px 0;
}
.index-footer .fcopy a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 600;
}
.index-footer .fcopy a:hover { color: var(--white); }
.index-footer .fsocial { display: flex; gap: 16px; justify-content: center; }
.index-footer .fsocial a {
  color: rgba(255,255,255,0.3);
  font-size: 16px;
  transition: all var(--transition);
}
.index-footer .fsocial a:hover { color: var(--white); }
