/* =========================================================
   Directiva Wireframe Styles (Bootstrap 5)
   Palette (approx):
   - Forest Green (PMS 3435 C)
   - Warm Gray 7 C
   - Off-white/beige container background for premium feel
   Typography:
   - Headings/UI: Poppins
   - Body: Inter
   ========================================================= */

:root{
  --directiva-forest: #1F5A4D;
  --directiva-forest-2: #17463C;
  --directiva-warmgray: #8A857B;
  --directiva-ink: #1a1a1a;

  --page-bg: #F3F0EA;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --border: rgba(26, 26, 26, .10);
  --border-strong: rgba(26, 26, 26, .16);
}

html,
body{
  height: 100%;
}

body{
  color: var(--directiva-ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--page-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%238A857B' stroke-opacity='0.12' stroke-width='1'%3E%3Cpath d='M10 80c70-50 140-50 210 0s140 50 190 10'/%3E%3Cpath d='M-10 140c90-60 160-60 260 0s170 60 240 10'/%3E%3Cpath d='M-20 210c110-70 190-70 300 0s190 70 280 10'/%3E%3Cpath d='M-10 290c90-60 160-60 260 0s170 60 240 10'/%3E%3Cpath d='M10 360c70-50 140-50 210 0s140 50 190 10'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 520px 520px;
}

/* ================================================
   Typography
   ================================================ */

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.section-heading .section-title,
.display-6,
.btn,
.section-kicker{
  font-family: 'Poppins', sans-serif;
}

h1{
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2{
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3{
  font-weight: 600;
}

h4,
h5,
h6{
  font-weight: 500;
}

p,
li,
.small-muted,
.section-subtitle,
.form-label,
.form-control,
.form-select{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* ================================================
   Layout container
   ================================================ */

.site-shell{
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 12px 48px;
}

.surface{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.surface-inner{
  padding: 28px;
}

@media (min-width: 992px){
  .surface-inner{
    padding: 44px;
  }
}

/* ================================================
   Utilities
   ================================================ */

.text-forest{
  color: var(--directiva-forest) !important;
}

.text-warmgray{
  color: var(--directiva-warmgray) !important;
}

.border-soft{
  border-color: var(--border) !important;
}

.small-muted{
  color: rgba(26, 26, 26, .65);
}

.badge-forest{
  background: rgba(31, 90, 77, .10);
  color: var(--directiva-forest);
  border: 1px solid rgba(31, 90, 77, .18);
}

/* ================================================
   Brand Logo
   ================================================ */

.brand-logo{
  height: 64px;
  width: auto;
  display: block;
}

@media (max-width: 576px){
  .brand-logo{
    height: 40px;
  }
}

/* ================================================
   Buttons
   ================================================ */

.btn-forest,
.btn-outline-forest,
.btn-hero-outline{
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.btn-forest{
  background: var(--directiva-forest);
  border-color: var(--directiva-forest);
  color: #fff;
}

.btn-forest:hover,
.btn-forest:focus{
  background: var(--directiva-forest-2);
  border-color: var(--directiva-forest-2);
  color: #fff;
}

.btn-outline-forest{
  border-color: rgba(31, 90, 77, .45);
  color: var(--directiva-forest);
  background: transparent;
}

.btn-outline-forest:hover,
.btn-outline-forest:focus{
  border-color: var(--directiva-forest);
  color: #fff;
  background: var(--directiva-forest);
}

.btn-hero-outline{
  border: 1px solid rgba(255, 255, 255, .70);
  color: #ffffff;
  background: transparent;
}

.btn-hero-outline:hover,
.btn-hero-outline:focus{
  border-color: #ffffff;
  color: var(--directiva-forest);
  background: #ffffff;
}

/* ================================================
   Header
   ================================================ */

.brand-lockup{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================================================
   Section helpers
   ================================================ */

.section-kicker{
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--directiva-warmgray);
}

.section-title{
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  margin: 0 0 10px;
}

.section-subtitle{
  color: rgba(26, 26, 26, .70);
  max-width: 62ch;
}

.hr-soft{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* ================================================
   Cards
   ================================================ */

.card-lite{
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card-lite:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
  border-color: rgba(26, 26, 26, .14);
}

.icon-pill{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(31, 90, 77, .10);
  border: 1px solid rgba(31, 90, 77, .18);
  color: var(--directiva-forest);
}

.card-image{
  height: 180px;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 18px;
  position: relative;
}

.card-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.card-image::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(31, 90, 77, 0.28),
    rgba(31, 90, 77, 0.32)
  );
}

.card-lite:hover .card-image img{
  transform: scale(1.04);
}

/* ================================================
   Footer
   ================================================ */

.site-footer{
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 0 12px;
  color: rgba(26, 26, 26, .60);
  font-size: .95rem;
}

/* ================================================
   Forms
   ================================================ */

.form-control,
.form-select{
  border-radius: 12px;
  border-color: rgba(26, 26, 26, .14);
}

.form-control:focus,
.form-select:focus{
  border-color: rgba(31, 90, 77, .55);
  box-shadow: 0 0 0 .2rem rgba(31, 90, 77, .14);
}

.directiva-form textarea {
  min-height: 140px;
  max-height: 180px;
  resize: vertical;
}
/* ================================================
   Sticky Navigation (Desktop Only)
   ================================================ */

.site-header{
  position: relative;
  z-index: 1000;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease, padding .25s ease;
}

@media (min-width: 992px){
  .site-header.sticky-active{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }

  .site-header.sticky-active .brand-logo{
    height: 52px;
  }
}

.nav-spacer{
  height: 0;
  transition: height .25s ease;
}

@media (min-width: 992px){
  .nav-spacer.active{
    height: 86px;
  }
}

/* ================================================
   Section Heading with Icon
   ================================================ */

.section-heading{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.section-heading .section-icon{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(31, 90, 77, 0.06);
  border: 1px solid rgba(31, 90, 77, 0.20);
  color: var(--directiva-forest);
  font-size: 1.2rem;
  transition: background-color .25s ease, transform .25s ease;
}

.section-heading .section-title{
  margin: 0;
  line-height: 1.2;
}

.section-heading:hover .section-icon{
  background: rgba(31, 90, 77, 0.10);
  transform: translateY(-2px);
}

/* ================================================
   Founder Photo Styling
   ================================================ */

.founder-photo-wrapper{
  display: flex;
  justify-content: center;
}

.founder-photo{
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid rgba(31, 90, 77, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease;
}

.founder-photo:hover{
  transform: translateY(-4px);
}

/* ================================================
   Hero Background Slider
   ================================================ */

.hero{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.hero-spacious{
  min-height: 460px;
}

@media (min-width: 992px){
  .hero-spacious{
    min-height: 600px;
  }
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
  will-change: opacity;
}

.hero-slide.is-active{
  opacity: 1;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(18, 52, 45, 0.88) 0%,
      rgba(18, 52, 45, 0.70) 55%,
      rgba(18, 52, 45, 0.50) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 30, 26, 0.60) 0%,
      rgba(10, 30, 26, 0.30) 70%,
      rgba(0, 0, 0, 0.15) 100%
    );
}

.hero-content{
  position: relative;
  z-index: 2;
  padding: 32px;
}

@media (min-width: 992px){
  .hero-content{
    padding: 56px;
  }
}

.hero-copy{
  width: 100%;
  max-width: 66%;
}

@media (max-width: 991.98px){
  .hero-copy{
    max-width: 100%;
  }
}

@media (min-width: 1400px){
  .hero-copy{
    max-width: 60%;
  }
}

.hero .section-kicker,
.hero h1,
.hero p{
  color: #fff;
}

.hero .section-subtitle{
  color: rgba(255, 255, 255, 0.86);
  max-width: 62ch;
}

.hero-title{
  max-width: 100%;
}

.hero .badge-forest{
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.hero-dots{
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  padding: 0;
  cursor: pointer;
  transition: all 250ms ease;
}

.hero-dot:hover{
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.22);
}

.hero-dot:focus-visible{
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 4px;
}

.hero-dot.is-active{
  width: 22px;
  border-color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 255, 255, 0.38);
}

@media (prefers-reduced-motion: reduce){
  .hero-slide,
  .hero-dot{
    transition: none;
  }
}

/* ================================================
   Intake Page Hero
   ================================================ */

.hero-intake{
  min-height: 280px;
}

@media (min-width: 992px){
  .hero-intake{
    min-height: 340px;
  }
}

/* ================================================
   Footer CTA
   ================================================ */

.footer-cta{
  width: 100%;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(31, 90, 77, 0.30), rgba(18, 52, 45, 0.96) 55%),
    linear-gradient(180deg, rgba(10, 30, 26, 0.96), rgba(10, 30, 26, 0.98));
  color: #fff;
  padding: 60px 0 30px;
}

.footer-container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-inner{
  padding: 36px 28px;
}

@media (min-width: 992px){
  .footer-inner{
    padding: 56px 48px;
  }
}

.footer-kicker{
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 10px;
}

.footer-title{
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
  max-width: 18ch;
  margin: 0;
}

.footer-col-title{
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li{
  margin: 10px 0;
}

.footer-links a{
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
  display: inline-block;
}

.footer-links a:hover{
  color: rgba(255, 255, 255, 0.95);
  transform: translateX(2px);
}

.footer-divider{
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 28px 0 18px;
}

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

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

.footer-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-pill:hover{
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.btn-footer{
  font-family: 'Poppins', sans-serif;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: rgba(10, 30, 26, 0.95);
  border-radius: 999px;
  padding: 10px 16px;
}

.btn-footer:hover{
  background: #fff;
  border-color: #fff;
  color: rgba(10, 30, 26, 1);
}

.btn-footer-outline{
  font-family: 'Poppins', sans-serif;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
}

.btn-footer-outline:hover{
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.70);
}

.footer-social{
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social-link{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.footer-social-link:hover{
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.98);
  transform: translateY(-1px);
}

.footer-credit{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease, opacity .2s ease;
}

.footer-credit:hover{
  color: #ffffff;
  opacity: 0.95;
}

.footer-separator{
  margin: 0 6px;
  color: rgba(255,255,255,0.4);
}

/* ================================================
   Scroll reveal
   ================================================ */

.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

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

.reveal-delay-1{
  transition-delay: 80ms;
}

.reveal-delay-2{
  transition-delay: 160ms;
}

.reveal-delay-3{
  transition-delay: 240ms;
}

@media (prefers-reduced-motion: reduce){
  .reveal,
  .reveal.is-visible{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================
   Directiva Simple Landing (Top-Aligned)
   ========================================= */

.directiva-holding-page{
  min-height: 100vh;
  background-color: #F4F1EB;
  background-image: url("../images/beige-texture.png");
  background-repeat: repeat;
  background-size: 900px auto;
}

.holding-wrapper{
  padding-top: 30px;
  padding-bottom: 60px;
}

.holding-card{
  background: #fff;
  width: min(800px, 100%);
  padding: 72px 72px;
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.08);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.holding-logo{
  display: block;
  margin: 0 auto 28px auto;
  max-width: 260px;
  height: auto;
}

.holding-title{
  margin: 0 auto 28px auto;
  max-width: 800px;
  color: var(--directiva-forest, #1F5A4D);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: center;
}

.holding-cta{
  text-decoration: none !important;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.btn-directiva-primary{
  background-color: var(--directiva-forest, #1F5A4D);
  border-color: var(--directiva-forest, #1F5A4D);
  color: #fff;
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: 0.25s ease;
}

.btn-directiva-primary:hover{
  background-color: var(--directiva-forest-2, #17463C);
  border-color: var(--directiva-forest-2, #17463C);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 992px){
  .holding-card{
    padding: 56px 36px;
  }

  .holding-logo{
    max-width: 230px;
  }
}

@media (max-width: 576px){
  .holding-card{
    padding: 44px 22px;
  }
}

/* ================================================
   Methodology Section
   ================================================ */

.methodology-section .section-subtitle{
  max-width: 46ch;
}

.methodology-intro + .methodology-intro{
  margin-top: 1rem;
}

.methodology-list{
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.methodology-item{
  position: relative;
  padding: 0 0 2.25rem 4.75rem;
  border-bottom: 1px solid var(--border-strong);
}

.methodology-item:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.methodology-step{
  position: absolute;
  top: 0;
  left: 0;
  width: 3.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--directiva-warmgray);
}

.methodology-title{
  position: relative;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--directiva-ink);
  margin: 0 0 .85rem;
  padding-bottom: .8rem;
}

.methodology-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: rgba(31, 90, 77, .28);
}

.methodology-text{
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(26, 26, 26, .68);
  margin-bottom: .95rem;
  max-width: 62ch;
}

.methodology-points{
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(26, 26, 26, .68);
}

.methodology-points li{
  margin-bottom: .42rem;
  line-height: 1.72;
}

.methodology-points li:last-child{
  margin-bottom: 0;
}

.methodology-close{
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.methodology-close p{
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--directiva-ink);
}

@media (max-width: 991.98px){
  .methodology-section .section-subtitle{
    max-width: 100%;
  }

  .methodology-list{
    margin-top: .5rem;
    gap: 2rem;
  }

  .methodology-item{
    padding: 0 0 1.85rem 0;
  }

  .methodology-step{
    position: static;
    display: inline-block;
    width: auto;
    margin-bottom: .6rem;
  }

  .methodology-title{
    font-size: 1.25rem;
    padding-bottom: .65rem;
  }

  .methodology-text,
  .methodology-points li{
    line-height: 1.65;
  }

  .methodology-close{
    margin-top: 1.4rem;
    padding-top: 1rem;
  }
}

.footer-credit{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease, opacity .2s ease;
}

.footer-credit:hover{
  color: #ffffff;
  opacity: 0.95;
}

.footer-separator{
  margin: 0 6px;
  color: rgba(255,255,255,0.4);
}

.legal-copy{
  max-width: 78ch;
}

.legal-copy p{
  color: rgba(26,26,26,.72);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.scroll-mt-5{
  scroll-margin-top: 120px;
}