/*
Theme Name: PawsBridge Alliance
Theme URI: https://pawsbridgealliance.org
Author: PawsBridge Alliance
Author URI: https://pawsbridgealliance.org
Description: A landing page theme for PawsBridge Alliance — mobile veterinary care for rural communities. Features a waitlist signup, illustrated hero, feature grid, and route planner dashboard preview.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pawsbridge
Tags: one-page, landing-page, custom-colors, custom-logo, featured-images, full-width-template
*/

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

:root {
  --sage:        #6b9178;
  --sage-dark:   #4a6655;
  --sage-deep:   #2a3a30;
  --sage-light:  #9dbdaa;
  --sage-pale:   #d5e8df;
  --terra:       #c95614;
  --terra-dark:  #8f3b0d;
  --terra-light: #e08e63;
  --cream:       #F5E6C8;
  --cream-dark:  #dfc99e;
  --amber:       #ec9e11;
  --amber-light: #f4c265;
  --brown:       #7A4F35;
  --brown-light: #a07050;
  --white:       #fefcf8;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--brown);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--brown);
}

p {
  line-height: 1.75;
}

/* ─── UTILITY ─── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--terra);
  margin-bottom: 0.6rem;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.section-lead {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--brown-light);
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ─── NAVIGATION ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 252, 248, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 143, 113, 0.12);
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(122, 79, 53, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
}

.nav-logo {

  align-items: center;
  gap: 0.65rem;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--sage-dark);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg {
  width: 20px;
  height: 20px;
}

.nav-logo-text-wrap .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sage-deep);
  display: block;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.nav-logo-text-wrap .brand-sub {
  font-size: 0.7rem;
  color: var(--sage);
  font-weight: 300;
  display: block;
  letter-spacing: 0.04em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.875rem;
  color: var(--sage-deep);
  font-weight: 400;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--terra);
}

.nav-cta-btn {
  background: transparent;
  border: 1.5px solid var(--terra);
  color: var(--terra) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s !important;
  cursor: pointer;
}

.nav-cta-btn:hover {
  background: var(--terra) !important;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sage-deep);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.hero-landscape-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(245, 230, 180, 0.1) 0%,
    rgba(60, 100, 60, 0.2) 55%,
    rgba(40, 75, 45, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 3rem;
  min-height: 88vh;
  gap: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 230, 200, 0.88);
  border: 1px solid rgba(212, 131, 42, 0.35);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--sage-deep);
  letter-spacing: -0.025em;
  max-width: 820px;
  text-shadow: 0 2px 20px rgba(245, 230, 200, 0.6);
}

.hero-heading em {
  font-style: italic;
  color: var(--terra);
}

.hero-subtext {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--sage-deep);
  max-width: 560px;
  text-shadow: 0 1px 6px rgba(245, 230, 200, 0.5);
}

/* Role selector */
.hero-role-label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sage-deep);
  margin-bottom: 0;
}

.role-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.role-tab {
  padding: 0.42rem 0.9rem;
  border-radius: 100px;
  border: 1.5px solid rgba(46, 74, 52, 0.25);
  background: rgba(245, 230, 200, 0.65);
  backdrop-filter: blur(4px);
  color: var(--sage-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.18s;
}

.role-tab:hover,
.role-tab.active {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--cream);
}

/* Email form */
.hero-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 480px;
}

.email-group {
  display: flex;
  width: 100%;
  background: rgba(254, 252, 248, 0.93);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1.5px solid rgba(107, 143, 113, 0.3);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(46, 74, 52, 0.15);
}

.email-group input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--brown);
  outline: none;
}

.email-group input[type="email"]::placeholder {
  color: #b8a478;
}

.join-btn {
  background: var(--terra);
  color: white;
  border: none;
  padding: 0.85rem 1.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.join-btn:hover {
  background: var(--terra-dark);
}

.hero-privacy-note {
  font-size: 0.75rem;
  color: var(--sage-dark);
  opacity: 0.75;
  font-style: italic;
}

/* Success state */
.success-message {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: rgba(234, 242, 235, 0.92);
  border: 1px solid rgba(107, 143, 113, 0.4);
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  color: var(--sage-dark);
  font-size: 0.88rem;
  font-weight: 500;
  width: 100%;
  justify-content: center;
}

.success-message.show {
  display: flex;
}

.check-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── PILLARS STRIP ─── */
.pillars-section {
  background: white;
  border-top: 1px solid rgba(107, 143, 113, 0.1);
  position: relative;
  z-index: 10;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(107, 143, 113, 0.1);
  transition: background 0.2s;
}

.pillar-item:last-child {
  border-right: none;
}

.pillar-item:hover {
  background: #faf8f4;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--terra);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--brown-light);
}

/* ─── FEATURES SECTION ─── */
.features-section {
  background: var(--cream);
  padding: 6rem 0;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0;
}

.feat-card {
  background: white;
  border-radius: 14px;
  padding: 1.75rem;
  border: 1px solid rgba(122, 79, 53, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--sage-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(122, 79, 53, 0.1);
}

.feat-card:hover::after {
  transform: scaleX(1);
}

.feat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
}

.feat-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.feat-body {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--brown-light);
}

/* ─── WHO WE SERVE ─── */
.who-section {
  background: white;
  padding: 6rem 0;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.who-map-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(212, 131, 42, 0.2);
}

.who-map-card svg {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.map-stop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: white;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(122, 79, 53, 0.06);
}

.map-stop:last-child {
  margin-bottom: 0;
}

.map-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stop-label {
  font-size: 0.82rem;
  color: var(--brown);
  flex: 1;
}

.stop-badge {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.who-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.who-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.who-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.who-icon svg {
  width: 20px;
  height: 20px;
}

.who-item-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 0.2rem;
}

.who-item-desc {
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--brown-light);
}

/* ─── QUOTE SECTION ─── */
.quote-section {
  background: var(--sage-deep);
  padding: 5.5rem 2rem;
  text-align: center;
}

.quote-inner {
  max-width: 740px;
  margin: 0 auto;
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  line-height: 0.4;
  color: var(--sage-light);
  opacity: 0.4;
  display: block;
  margin-bottom: 1.75rem;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: var(--cream);
  margin-bottom: 2rem;
}

.quote-attr {
  font-size: 0.85rem;
  color: var(--sage-light);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.quote-attr strong {
  color: var(--cream);
}

/* ─── FINAL CTA SECTION ─── */
.cta-section {
  background: var(--cream);
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--brown);
  max-width: 640px;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.cta-heading em {
  font-style: italic;
  color: var(--sage-dark);
}

.cta-subtext {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--brown-light);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.cta-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(107, 143, 113, 0.15);
  box-shadow: 0 20px 60px rgba(122, 79, 53, 0.1);
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-form-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
  font-weight: 500;
  text-align: left;
}

.cta-input {
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(107, 143, 113, 0.2);
  border-radius: 8px;
  background: #faf8f4;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--brown);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.cta-input::placeholder {
  color: #c0a882;
}

.cta-input:focus {
  border-color: var(--sage);
}

.cta-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cta-role-btn {
  padding: 0.6rem;
  border-radius: 7px;
  border: 1.5px solid rgba(107, 143, 113, 0.2);
  background: transparent;
  color: var(--brown-light);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
}

.cta-role-btn:hover,
.cta-role-btn.active {
  border-color: var(--sage);
  background: var(--sage-pale);
  color: var(--sage-dark);
}

.cta-submit-btn {
  background: var(--terra);
  color: white;
  border: none;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.4;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.cta-submit-btn:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
}

.cta-privacy-note {
  font-size: 0.72rem;
  color: #c0a882;
  font-style: italic;
  text-align: center;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--brown);
  padding: 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  opacity: 0.85;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(245, 230, 200, 0.4);
  font-weight: 300;
  font-style: italic;
}

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

.footer-links a {
  font-size: 0.8rem;
  color: rgba(245, 230, 200, 0.45);
  font-weight: 300;
  transition: color 0.2s;
}

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

.footer-copy {
  width: 100%;
  font-size: 0.75rem;
  color: rgba(245, 230, 200, 0.25);
  text-align: center;
  margin-top: 0.5rem;
}

/* ─── ADMIN BAR OFFSET ─── */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .who-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 1rem 1.5rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(254, 252, 248, 0.97);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(107, 143, 113, 0.12);
    box-shadow: 0 8px 24px rgba(122, 79, 53, 0.08);
  }

  .nav-menu.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

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

  .pillar-item {
    border-right: none;
    border-bottom: 1px solid rgba(107, 143, 113, 0.1);
  }

  .pillar-item:last-child {
    border-bottom: none;
  }

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

  .features-section,
  .who-section,
  .cta-section {
    padding: 4rem 0;
  }

  .features-section .container,
  .who-section .container,
  .cta-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .email-group {
    flex-direction: column;
  }

  .join-btn {
    border-radius: 0 0 8px 8px;
    padding: 1rem;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .role-tabs {
    gap: 0.35rem;
  }

  .role-tab {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .cta-role-grid {
    grid-template-columns: 1fr;
  }
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;	
	 max-width: 640px;   /* controls the video width */
  margin: 0 auto;     /* centers it */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



