/* ============================================================
   CAPTUREPOINTRX — Brand Palette
   #014773  Fondos / encabezados / texto principal
   #00913F  Botones
   #40CB71  Enlaces / hover / resaltado
   #ECF0F1  Texto sobre fondos oscuros
   #04B2D9  Fondo alternativo / acento
   ============================================================ */

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

:root {
  --navy:      #014773;
  --navy-dk:   #012f50;
  --green:     #00913F;
  --green-lt:  #40CB71;
  --sky:       #04B2D9;
  --sky-lt:    #38c8ea;
  --text-light:#ECF0F1;
  --white:     #ffffff;
  --gray-50:   #f4f8fb;
  --gray-100:  #e8eef4;
  --gray-200:  #cdd8e3;
  --gray-500:  #5a7a94;
  --gray-700:  #2d4a5e;
  --radius:    14px;
  --shadow:    0 4px 20px rgba(1,71,115,.10);
  --shadow-lg: 0 12px 40px rgba(1,71,115,.16);
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-700); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); }
.section--sky  { background: linear-gradient(135deg, var(--sky) 0%, #0390b0 100%); }

.section__title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; color: var(--navy); margin-bottom: 48px; }
.section__title.center { text-align: center; }
.section__title.light  { color: var(--white); }
.section__sub { text-align: center; color: var(--gray-500); max-width: 600px; margin: -32px auto 48px; font-size: .95rem; line-height: 1.7; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 8px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: 2px solid transparent;
  transition: all .2s ease; letter-spacing: .01em;
}
.btn--primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 14px rgba(0,145,63,.3);
}
.btn--primary:hover { background: #007a34; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,145,63,.38); }

.btn--ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }

.btn--outline {
  background: transparent; color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover { background: var(--green); color: var(--white); }

.btn--sm  { padding: 9px 20px; font-size: .85rem; }
.btn--full { width: 100%; }
.btn--nav { background: var(--green); color: var(--white) !important; border-color: var(--green); }
.btn--nav:hover { background: #007a34; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--gray-100);
  transition: box-shadow .3s, border-color .3s;
}
.nav.scrolled { box-shadow: var(--shadow); border-color: var(--gray-200); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 56px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a {
  font-size: .88rem; font-weight: 500; color: var(--gray-700);
  transition: color .2s; position: relative; padding-bottom: 2px;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--green-lt); border-radius: 2px;
  transform: scaleX(0); transition: transform .2s;
}
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__burger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(145deg, var(--navy-dk) 0%, var(--navy) 55%, #015a8a 100%);
  color: var(--white); padding-top: 70px; position: relative; overflow: hidden;
}
/* decorative blobs */
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(4,178,217,.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64,203,113,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; padding: 80px 24px; position: relative; z-index: 1; width: 100%;
}
.hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 22px; color: var(--white);
}
.hero__title span { color: var(--sky-lt); }
.hero__sub {
  font-size: 1.05rem; color: var(--text-light); opacity: .88;
  max-width: 520px; margin-bottom: 36px; line-height: 1.78;
}
.hero__sub em { color: var(--green-lt); font-style: normal; font-weight: 600; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual { display: flex; justify-content: center; }
.hero__svg { width: 100%; max-width: 420px; filter: drop-shadow(0 20px 50px rgba(0,0,0,.35)); }

/* ===== SECTION DIVIDER ===== */
.divider {
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--sky) 50%, var(--green) 100%);
}

/* ===== BENEFITS ===== */
.benefits { background: var(--white); }

.card--benefit {
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.card--benefit::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--sky), var(--green));
  transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.card--benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gray-200); }
.card--benefit:hover::before { transform: scaleX(1); }

.card__img { display: flex; justify-content: center; margin-bottom: 20px; }
.card__img svg { width: 110px; height: 110px; }
.card--benefit h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.card--benefit p  { font-size: .88rem; color: var(--gray-500); line-height: 1.72; }

/* ===== ENTERPRISE ===== */
.enterprise { background: var(--navy); }
.enterprise__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.enterprise__visual { display: flex; justify-content: center; }
.enterprise__visual svg { width: 100%; max-width: 320px; }
.enterprise__text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 20px; }
.enterprise__text p { color: var(--text-light); opacity: .85; line-height: 1.78; font-size: .95rem; }

/* ===== FEATURES OVERVIEW ===== */
.feat-card {
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feat-card__img { display: flex; justify-content: center; margin-bottom: 16px; }
.feat-card__img svg { width: 90px; height: 90px; }
.feat-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feat-card p  { font-size: .85rem; color: var(--gray-500); line-height: 1.68; }

.compliance-center { margin-top: 24px; display: flex; justify-content: center; }
.feat-card--wide {
  display: flex; align-items: center; gap: 28px; text-align: left;
  max-width: 620px; border-color: var(--sky); border-width: 2px;
}
.feat-card--wide .feat-card__img { flex-shrink: 0; margin-bottom: 0; }
.feat-card--wide h3 { font-size: 1rem; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--white); }
.how__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.how__visual { display: flex; justify-content: center; }
.how__visual svg { width: 100%; max-width: 300px; }

.step-list { display: flex; flex-direction: column; gap: 28px; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-item__num {
  min-width: 42px; height: 42px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(0,145,63,.12);
}
.step-item h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-item p  { font-size: .87rem; color: var(--gray-500); line-height: 1.68; }

/* ===== CUSTOMER VALUE ===== */
.value__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.value__list { display: flex; flex-direction: column; gap: 24px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.value-item h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.value-item p  { font-size: .87rem; color: var(--gray-500); line-height: 1.68; }
.value__visual { display: flex; justify-content: center; }
.value__visual svg { width: 100%; max-width: 280px; }

/* ===== CASE STUDIES ===== */
.cases { background: var(--navy); }
.case-card {
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 36px 32px;
  backdrop-filter: blur(8px); transition: background .25s, border-color .25s;
}
.case-card:hover { background: rgba(255,255,255,.1); border-color: var(--sky); }
.case-card__quote { font-size: 5rem; line-height: .7; color: var(--sky); font-family: Georgia, serif; margin-bottom: 16px; display: block; }
.case-card p { font-size: .9rem; color: var(--text-light); opacity: .88; margin-bottom: 12px; line-height: 1.68; }
.case-card p strong { color: var(--green-lt); }
.case-card__author { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.case-card__avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--sky); }
.case-card__avatar svg { width: 52px; height: 52px; }
.case-card__author strong { display: block; font-size: .95rem; color: var(--white); }
.case-card__author span { font-size: .82rem; color: rgba(255,255,255,.55); }
.case-link { font-size: .82rem; color: var(--green-lt); font-weight: 500; }
.case-link:hover { text-decoration: underline; }

/* ===== ABOUT ===== */
.about { background: var(--white); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__visual { display: flex; justify-content: center; }
.about__visual svg { width: 100%; max-width: 360px; border-radius: var(--radius); overflow: hidden; }
.about__text p { color: var(--gray-500); margin-bottom: 20px; line-height: 1.78; font-size: .95rem; }
.vision-box {
  background: var(--gray-50); border-left: 4px solid var(--sky);
  padding: 20px 24px; border-radius: 0 10px 10px 0; margin-bottom: 28px;
}
.vision-box h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.vision-box p { color: var(--gray-500); font-size: .9rem; margin: 0; line-height: 1.7; }
.values-heading { margin-bottom: 16px; color: var(--navy); font-size: 1rem; font-weight: 700; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.values-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--gray-700); }
.val-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ===== GETTING STARTED ===== */
.gs-card {
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.gs-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gs-card__img { display: flex; justify-content: center; margin-bottom: 16px; }
.gs-card__img svg { width: 90px; height: 90px; }
.gs-card h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.gs-card p  { font-size: .87rem; color: var(--gray-500); line-height: 1.68; }

/* ===== CONTACT ===== */
.contact { background: var(--gray-50); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact__visual { display: flex; justify-content: center; margin-bottom: 24px; }
.contact__visual svg { width: 160px; height: 160px; }
.contact__text p { color: var(--gray-500); margin-bottom: 16px; line-height: 1.78; font-size: .95rem; }
.contact__info { margin-bottom: 20px; }
.contact__info p { font-size: .95rem; color: var(--navy); font-weight: 600; margin-bottom: 6px; }
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__form input,
.contact__form textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--gray-200); border-radius: 8px;
  font-family: var(--font); font-size: .95rem; color: var(--gray-700);
  background: var(--white); transition: border-color .2s, box-shadow .2s; outline: none;
}
.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(4,178,217,.14);
}
.form__success { display: none; color: var(--green); font-size: .9rem; font-weight: 600; text-align: center; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dk); color: rgba(255,255,255,.55); padding: 44px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer .nav__logo img { filter: brightness(0) invert(1); }
.footer p { font-size: .85rem; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: .82rem; transition: color .2s; }
.footer__links a:hover { color: var(--green-lt); }

/* ===== ANIMATIONS ===== */
.anim { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero__inner, .enterprise__inner, .how__inner,
  .value__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { display: flex; justify-content: center; }
  .hero__svg { max-width: 300px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: var(--white);
    padding: 24px 32px; border-bottom: 2px solid var(--gray-100);
    box-shadow: var(--shadow); gap: 18px;
  }
  .feat-card--wide { flex-direction: column; text-align: center; }
  .enterprise__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .compliance-center { padding: 0 12px; }
  .hero__title { font-size: 2rem; }
}
