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

/* ── VARIABLES ── */
:root {
  --navy:      #193E68;
  --blue:      #2762A4;
  --accent:    #388AE8;
  --teal:      #4B9BAD;
  --teal-dk:   #195769;
  --gray-dk:   #363636;
  --bg:        #F9F9F9;
  --bg-gray:   #DDDDDD;
  --gray-md:   #9E9E9E;
  --white:     #FFFFFF;

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max:       1100px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 12px rgba(25,62,104,0.06);
  --shadow-md: 0 8px 32px rgba(25,62,104,0.1);
  --shadow-lg: 0 16px 48px rgba(25,62,104,0.14);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body) !important;
  background-color: var(--bg) !important;
  color: var(--gray-dk) !important;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── RESET ASTRA ── */
#masthead,
.main-header-bar,
.ast-masthead-custom-menu-items,
.site-footer,
.entry-header,
.entry-footer,
.ast-breadcrumbs-wrapper,
.comments-area,
.post-navigation,
.ast-related-posts-title-section,
.ast-above-header-wrap,
.ast-below-header-wrap {
  display: none !important;
}

.entry-content,
.ast-page-builder-template .site-content,
.ast-no-sidebar #primary,
#primary,
#main,
.site-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ── TIPOGRAFÍA ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head) !important;
  color: var(--navy);
  line-height: 1.1;
  font-weight: 800;
}

/* ── CONTENEDOR ── */
.df-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── NAV ── */
.df-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 16px 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(25,62,104,0.08);
  transition: box-shadow 0.3s;
}

.df-nav.scrolled { box-shadow: var(--shadow-sm); }

.df-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.df-nav__logo {
  flex-shrink: 0;
  line-height: 1;
}

.df-nav__logo a,
.df-nav__logo .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.df-nav__logo img,
.df-nav__logo .custom-logo {
  height: 56px;
  width: auto;
  display: block;
}

.df-nav__logo span { color: var(--teal); }

/* Nav links */
.df-nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.df-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-md);
  text-decoration: none;
  transition: color 0.2s;
}

/* Nav CTA */
.df-nav__cta {
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(75,155,173,0.3);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Nav back */
.df-nav__back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-md);
  text-decoration: none;
  transition: color 0.2s;
}

.df-nav__back svg { transition: transform 0.2s; }

.df-nav__secure {
  font-size: 12px;
  color: var(--gray-md);
}

/* ── FOOTER ── */
.df-footer {
  background: #0F2640;
  padding: 32px 0;
}

.df-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.df-footer__logo {
  flex-shrink: 0;
  line-height: 1;
}

.df-footer__logo a,
.df-footer__logo .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
}

.df-footer__logo img,
.df-footer__logo .custom-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.df-footer__logo span { color: var(--teal); }

.df-footer__links {
  display: flex;
  gap: 20px;
}

.df-footer__links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.df-footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ── UTILIDADES ── */
.df-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.df-section-h {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.df-section-h em { font-style: normal; color: var(--accent); }

.df-section-p {
  font-size: 16px;
  color: #666;
  line-height: 1.75;
  max-width: 660px;
  margin-bottom: 48px;
}

/* ── BOTÓN ── */
.df-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(75,155,173,0.4);
  border: none;
  cursor: pointer;
  width: fit-content;
}

.df-btn--lg {
  font-size: 18px;
  padding: 18px 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(75,155,173,0.4);
}

/* ── HOVER — override Astra ── */
body .df-btn:hover,
body .df-btn:focus,
body .df-btn:active,
body a.df-btn:hover,
body a.df-btn:focus,
body a.df-btn:active {
  background: var(--teal-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(75,155,173,0.5);
  color: #FFFFFF !important;
  text-decoration: none !important;
}

body .df-nav__cta:hover,
body .df-nav__cta:focus,
body a.df-nav__cta:hover {
  background: var(--teal-dk);
  transform: translateY(-1px);
  color: #FFFFFF !important;
  text-decoration: none !important;
}

body .df-nav__link:hover,
body a.df-nav__link:hover {
  color: var(--navy) !important;
  text-decoration: none !important;
}

body .df-nav__back:hover,
body a.df-nav__back:hover {
  color: var(--navy) !important;
  text-decoration: none !important;
}

body .df-nav__back:hover svg { transform: translateX(-3px); }

body .df-footer__links a:hover {
  color: var(--teal) !important;
  text-decoration: none !important;
}

/* ── FADE ── */
.df-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.df-fade--delay-1 { transition-delay: 0.1s; }
.df-fade--delay-2 { transition-delay: 0.2s; }
.df-fade--delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .df-nav__links  { display: none; }
  .df-nav__secure { display: none; }
  .df-nav__cta {
    font-size: 12px;
    padding: 8px 16px;
  }
}

@media (max-width: 600px) {
  .df-container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .df-nav__inner {
    gap: 12px;
  }
  .df-nav__logo img,
  .df-nav__logo .custom-logo {
    height: 40px;
  }
  .df-nav__cta {
    font-size: 11px;
    padding: 7px 12px;
  }
}