:root {
  --navy: #12344D;
  --dark-bg: #001C2E;
  --dark-bg-alt: #011E35;
  --green: #0F9D7A;
  --green-light: #14B98F;
  --text-dark: #2B2B2B;
  --bg-light: #F2F2F2;
  --white: #FFFFFF;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  margin: 0;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-head {
  font-family: var(--font-head);
}

a { text-decoration: none; }

.text-green { color: var(--green) !important; }
.bg-dark-custom { background-color: var(--dark-bg); }
.bg-dark-alt { background-color: var(--dark-bg-alt); }
.bg-light-custom { background-color: var(--bg-light); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
}

/* ---------- Navbar ---------- */
.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar-brand-custom img { height: 38px; }
.navbar-brand-custom .brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.navbar-custom {
  background-color: var(--dark-bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-custom .nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0.5rem;
}
.navbar-custom .nav-link.active,
.navbar-custom .nav-link:hover {
  color: var(--green-light);
}
.btn-brand {
  background-color: var(--green);
  border: none;
  color: var(--white);
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  transition: background-color .2s ease, transform .15s ease;
}
.btn-brand:hover { background-color: var(--green-light); color: var(--white); transform: translateY(-1px); }
.btn-brand-outline {
  background-color: transparent;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  transition: all .2s ease;
}
.btn-brand-outline:hover { background-color: rgba(255,255,255,0.08); color: var(--white); border-color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--dark-bg);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3rem;
}
.hero-watermark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 520px;
  opacity: 0.12;
  pointer-events: none;
}
.hero h1 {
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.15;
}
.hero p.lead-custom {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 560px;
}
.hero-pillars {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
}
.hero-pillar {
  text-align: center;
}
.hero-pillar i {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.hero-pillar .label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}
.hero-pillar .sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Servicios ---------- */
.services-section { padding: 5rem 0; }
.service-card {
  background-color: var(--dark-bg);
  border-radius: 10px;
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 10px 24px rgba(15,157,122,0.15);
}
.service-card i {
  font-size: 1.8rem;
  color: var(--green);
  margin-bottom: 1rem;
  display: inline-block;
}
.service-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Sobre mi ---------- */
.about-section {
  background-color: var(--dark-bg-alt);
  color: var(--white);
  padding: 5rem 0;
}
.about-photo {
  aspect-ratio: 4/5;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--navy), var(--dark-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo .placeholder-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  font-size: 0.7rem;
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: 20px;
  color: rgba(255,255,255,0.7);
}
.stat-box {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
}
.stat-box .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--green);
}
.stat-box .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Proyectos ---------- */
.projects-section {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 5rem 0;
}
.project-card {
  background-color: var(--dark-bg-alt);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}
.project-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 2rem;
}
.project-card .body {
  padding: 1.1rem 1.2rem;
}
.project-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.project-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ---------- Newsletter ---------- */
.contact-bar {
  background-color: var(--dark-bg-alt);
  color: var(--white);
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.contact-bar .form-control,
.contact-bar .form-select {
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background-color: rgba(255,255,255,0.06);
  color: var(--white);
  padding: 0.6rem 1rem;
}
.contact-bar .form-control::placeholder { color: rgba(255,255,255,0.5); }
.contact-bar .form-select option { color: #111; }
.contact-bar .is-invalid { border-color: #ff6b6b; }

/* ---------- Footer ---------- */
footer.site-footer {
  background-color: var(--dark-bg);
  color: rgba(255,255,255,0.55);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}
footer.site-footer a { color: rgba(255,255,255,0.55); }
footer.site-footer a:hover { color: var(--green-light); }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  margin-left: 0.4rem;
  color: var(--white) !important;
}
.social-icons a:hover { background: var(--green); }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  z-index: 1050;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  color: var(--white);
}
.whatsapp-float i { line-height: 1; }

@media (max-width: 767px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 1.6rem; }
  .hero h1 { font-size: 2rem; }
  .hero-watermark { display: none; }
}

/* ---------- Menú desplegable Servicios ---------- */
.dropdown-menu-dark-custom {
  background-color: var(--dark-bg-alt);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.4rem;
}
.dropdown-menu-dark-custom .dropdown-item {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
}
.dropdown-menu-dark-custom .dropdown-item:hover,
.dropdown-menu-dark-custom .dropdown-item:focus {
  background-color: rgba(15,157,122,0.18);
  color: var(--green-light);
}
@media (min-width: 992px) {
  .navbar-custom .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}

/* ---------- Enlace dentro de tarjeta de servicio ---------- */
.service-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-light);
}
.service-link:hover { color: var(--white); }

/* ---------- Páginas de servicio ---------- */
.page-hero {
  background-color: var(--dark-bg);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
}
.page-hero h1 {
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1.2;
  max-width: 820px;
}
.page-hero .lead-custom {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 640px;
}
.breadcrumb-custom {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.2rem;
}
.breadcrumb-custom a { color: rgba(255,255,255,0.7); }
.breadcrumb-custom a:hover { color: var(--green-light); }
.breadcrumb-custom span.sep { margin: 0 0.4rem; }

.content-section { padding: 4rem 0; }
.content-section h2 {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.content-section p, .content-section li {
  font-size: 1.02rem;
  line-height: 1.7;
}
.prose-narrow { max-width: 760px; }

.step-list { counter-reset: paso; list-style: none; padding: 0; margin: 0; }
.step-list li {
  counter-increment: paso;
  position: relative;
  padding: 0 0 1.4rem 3.4rem;
}
.step-list li::before {
  content: counter(paso);
  position: absolute;
  left: 0; top: 0;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.cta-band {
  background-color: var(--dark-bg-alt);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 { font-weight: 700; margin-bottom: 0.6rem; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 1.4rem; }

.faq-accordion .accordion-button { font-weight: 700; color: var(--navy); }
.faq-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(15,157,122,0.08);
  color: var(--navy);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(15,157,122,0.25); }

@media (max-width: 767px) {
  .page-hero h1 { font-size: 1.75rem; }
  .content-section { padding: 3rem 0; }
}

/* ---------- Página Expreso Marketing ---------- */
.brand-card {
  background-color: var(--white);
  border: 1px solid rgba(18,52,77,0.12);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,28,46,0.08);
}
.brand-card img { max-width: 100%; height: auto; }
.person-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  height: 100%;
  border-top: 4px solid var(--green);
  box-shadow: 0 6px 18px rgba(0,28,46,0.07);
}
.person-card h3 { color: var(--navy); font-weight: 700; font-size: 1.3rem; margin-bottom: 0.2rem; }
.person-card .role {
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.credential-list { padding-left: 1.1rem; margin-bottom: 0; }
.credential-list li { margin-bottom: 0.5rem; }

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-custom .nav-link { margin: 0 0.25rem; font-size: 0.88rem; }
}
