/* ============================================================
   New Freedom — For Friends & Family
   styles.css
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
  --navy:      #293241;
  --blue:      #3D5A80;
  --light-blue:#99C1DA;
  --orange:    #FF7F32;
  --pale:      #DDE5ED;
  --white:     #ffffff;
  --text:      #1e2a38;
  --muted:     #4e5e6e;
}

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

html {
  scroll-behavior: smooth;
  font-size: calc(100% + 2pt);
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 66px;
  background: rgba(41, 50, 65, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(153, 193, 218, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-wordmark {
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-wordmark small {
  display: block;
  font-size: 0.52rem;
  font-weight: 500;
  color: var(--light-blue);
  letter-spacing: 0.18em;
  margin-top: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-right a {
  color: rgba(221, 229, 237, 0.72);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-right a:hover {
  color: var(--white);
}

.nav-phone {
  color: var(--light-blue) !important;
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 90vh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 90px 5% 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://newfreedomaz.com/wp-content/uploads/2023/09/giles-3.jpg') center / cover no-repeat;
  opacity: 0.17;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(41, 50, 65, 0.97)  0%,
    rgba(41, 50, 65, 0.85) 55%,
    rgba(61, 90, 128, 0.40) 100%
  );
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  animation: up 0.8s ease both;
}

@keyframes up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--light-blue);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.78;
  margin-bottom: 1.8rem;
  max-width: 490px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.btn-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-orange {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 0.8rem 1.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(255, 127, 50, 0.35);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 26px rgba(255, 127, 50, 0.44);
}

.btn-ghost-light {
  display: inline-block;
  border: 1.5px solid rgba(153, 193, 218, 0.5);
  color: var(--light-blue);
  padding: 0.8rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s;
}

.btn-ghost-light:hover {
  background: rgba(153, 193, 218, 0.1);
  border-color: var(--light-blue);
}

.hero-stats {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(153, 193, 218, 0.16);
}

.hstat strong {
  display: block;
  color: var(--white);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 3px;
}

.hstat strong span {
  color: var(--orange);
}

.hstat p {
  color: var(--light-blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.lbl {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

h2.sh {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

h2.sh.light {
  color: var(--white);
}

.sub {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

section {
  padding: 4.5rem 5%;
}

/* ============================================================
   STRIP
   ============================================================ */
.strip {
  background: var(--blue);
  padding: 2.75rem 5%;
  display: grid;
  flex-wrap: wrap;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.si .num {
  font-size: 0.89rem;
  font-weight: 800;
  color: rgba(220, 226, 233, 0.45);
  letter-spacing: 0.14em;
  text-transform: lowercase;
  margin-bottom: 0.25rem;
}

.si strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.si strong span {
  color: var(--orange);
}

.si p {
  color: var(--light-blue);
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ============================================================
   WHAT THEY GET
   ============================================================ */
.get-section {
  background: var(--pale);
}

.get-intro {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.get-intro .sub {
  margin-top: 0.5rem;
}

.get-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.get-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.6rem;
  border-top: 3px solid var(--blue);
  transition: transform 0.2s, box-shadow 0.2s;
}

.get-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(41, 50, 65, 0.1);
}

.get-card.accent {
  border-top-color: var(--blue);
}

.get-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.get-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

/* ============================================================
   VISITING
   ============================================================ */
.visiting {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.visit-text p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 0.7rem;
}

.visit-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.vcard {
  background: var(--pale);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: start;
  transition: transform 0.2s;
}

.vcard:hover {
  transform: translateY(-2px);
}

.vcard-icon {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.vcard h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.vcard p {
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.vcard .tag {
  display: inline-block;
  margin-top: 0.3rem;
  background: rgba(61, 90, 128, 0.1);
  color: var(--blue);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
}

/* ============================================================
   REUNIFICATION
   ============================================================ */
.reunification {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.reunification::before {
  content: '';
  position: absolute;
  right: -8%;
  top: -20%;
  width: 45%;
  height: 140%;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.12;
}

.reuni-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.reuni-text p {
  color: rgba(221, 229, 237, 0.76);
  font-size: 0.88rem;
  line-height: 1.78;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.video-placeholder {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(61, 90, 128, 0.55) 0%, rgba(41, 50, 65, 0.75) 100%);
  border: 1.5px dashed rgba(153, 193, 218, 0.32);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.video-placeholder:hover {
  border-color: rgba(153, 193, 218, 0.6);
}

.play-btn svg {
  width: 64px;
  height: 64px;
  transition: transform 0.2s;
}

.video-placeholder:hover .play-btn svg {
  transform: scale(1.08);
}

.video-label {
  text-align: center;
  margin-top: 1rem;
}

.video-eyebrow {
  display: block;
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.video-title {
  display: block;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
}

.video-swap-note {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(41, 50, 65, 0.85);
  color: rgba(153, 193, 218, 0.65);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0.5rem;
  text-transform: uppercase;
}

.reuni-timeline {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(153, 193, 218, 0.1);
  position: relative;
  z-index: 2;
}

.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.tl-item {
  flex: 1;
  text-align: center;
  padding: 0 0.4rem;
}

.tl-divider {
  flex-shrink: 0;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 13px;
}

.tl-divider::after {
  content: '→';
  color: rgba(153, 193, 218, 0.3);
  font-size: 0.78rem;
}

.tl-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(153, 193, 218, 0.22);
  color: var(--light-blue);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.55rem;
}

.tl-badge.hi {
  background: rgba(255, 127, 50, 0.18);
  border-color: rgba(255, 127, 50, 0.38);
  color: var(--orange);
}

.tl-item h5 {
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.28rem;
  line-height: 1.3;
}

.tl-item p {
  color: rgba(153, 193, 218, 0.65);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--pale);
}

.faq-intro {
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--blue);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 28px rgba(41, 50, 65, 0.08);
}

.faq-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-item h4::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue);
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item.open h4::after {
  content: '-';
  color: var(--orange);
}

.faq-item p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.75;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-item.open p {
  max-height: 400px;
  opacity: 1;
  margin-top: 0.75rem;
}

.faq-item a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}

/* ============================================================
   GET INVOLVED
   ============================================================ */
.involved {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.involved::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/adopt.jpg') center / cover no-repeat;
  opacity: 0.17;
  z-index: 0;
}

.involved::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(41, 50, 65, 0.97)  0%,
    rgba(41, 50, 65, 0.85) 55%,
    rgba(61, 90, 128, 0.40) 100%
  );
  opacity: 0.3;
  z-index: 1;
}

.involved > * {
  position: relative;
  z-index: 2;
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.inv-card {
  background: rgba(41, 50, 65, 0.85);
  border: 1.5px solid rgba(153, 193, 218, 0.35);
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: block;
  backdrop-filter: blur(8px);
}

.inv-card:hover {
  background: rgba(41, 50, 65, 0.95);
  transform: translateY(-3px);
}

.inv-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.9rem;
}

.inv-card h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.inv-card p {
  color: rgba(153, 193, 218, 0.72);
  font-size: 0.78rem;
  line-height: 1.6;
}

.inv-card .arr {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 0.75rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta {
  background: var(--blue);
  text-align: center;
}

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--white);
  margin-bottom: 0.8rem;
}

.cta p {
  color: var(--pale);
  font-size: 0.92rem;
  max-width: 480px;
  margin: 0 auto 1.9rem;
  line-height: 1.75;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  padding: 0.82rem 1.9rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
}

.btn-ghost-white {
  display: inline-block;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  padding: 0.82rem 1.9rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.2s;
}

.btn-ghost-white:hover {
  border-color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  padding: 2.25rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-brand img {
  height: 34px;
  width: auto;
}

.footer-brand span {
  color: rgba(221, 229, 237, 0.5);
  font-size: 0.74rem;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(221, 229, 237, 0.45);
  text-decoration: none;
  font-size: 0.72rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

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

.footer-bottom p {
  color: rgba(221, 229, 237, 0.28);
  font-size: 0.67rem;
}

.social {
  display: flex;
  gap: 0.55rem;
}

.social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(153, 193, 218, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(221, 229, 237, 0.4);
  text-decoration: none;
  font-size: 0.67rem;
  font-weight: 700;
  transition: all 0.2s;
}

.social a:hover {
  border-color: var(--light-blue);
  color: var(--light-blue);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .visiting,
  .reuni-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .get-grid,
  .faq-grid,
  .involved-grid {
    grid-template-columns: 1fr 1fr;
  }

  .strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .get-grid,
  .faq-grid,
  .involved-grid {
    grid-template-columns: 1fr;
  }

  .strip {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 5%;
  }

  .timeline-track {
    flex-direction: column;
    gap: 1rem;
  }

  .tl-divider {
    display: none;
  }

  .tl-item {
    text-align: left;
    padding: 0;
  }

  .nav-right .hide-sm {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3.5rem;
  }
}
