/* ============================================================
   VINES SUPPORT SERVICES — GLOBAL STYLES
   Shared across all pages: reset, nav, footer, utilities
   ============================================================ */

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

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── SECTION PADDING ────────────────────────────────────────── */
.section { padding-block: var(--space-2xl); }
.section--sm { padding-block: var(--space-xl); }

/* ── SECTION LABELS & HEADINGS ──────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-mid);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.8;
}

.section-subtitle--white { color: rgba(255,255,255,0.76); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--text-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-green {
  background: var(--green-mid);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-green {
  border: 1.5px solid var(--green-mid);
  color: var(--green-mid);
  background: transparent;
}
.btn-outline-green:hover {
  background: var(--green-pale);
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── PHOTO UTILITIES ────────────────────────────────────────── */
.img-cover {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

/* ── BADGE ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}
.badge-green {
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid rgba(46,125,82,0.2);
}
.badge-gold {
  background: var(--gold-pale);
  color: #8a5e00;
  border: 1px solid rgba(240,165,0,0.3);
}

/* ── DIVIDER ────────────────────────────────────────────────── */
.divider {
  width: 52px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--green-dark);
  height: 72px;
  transition: box-shadow var(--trans-med);
}

.nav.scrolled {
  box-shadow: 0 3px 20px rgba(0,0,0,0.3);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav__logo-icon svg { width: 24px; height: 24px; fill: white; }

.nav__logo-text {
  line-height: 1.25;
}

.nav__logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.nav__logo-tagline {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 400;
  transition: color var(--trans-fast), background var(--trans-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav__cta {
  background: var(--gold);
  color: var(--text-dark) !important;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.88rem;
  transition: background var(--trans-fast) !important;
}

.nav__cta:hover {
  background: var(--gold-light) !important;
  color: var(--text-dark) !important;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--trans-fast);
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--trans-fast);
  z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-body) !important;
  font-size: 0.9rem;
  background: transparent;
  border-radius: 0 !important;
  transition: background var(--trans-fast) !important;
}

.nav__dropdown-link:hover {
  background: var(--green-pale) !important;
  color: var(--green-dark) !important;
}

/* ── ANNOUNCEMENT BAR ───────────────────────────────────────── */
.announcement-bar {
  background: var(--green-mid);
  color: white;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.announcement-bar a {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0f3520;
  color: rgba(255,255,255,0.72);
}

.footer__main {
  padding-block: var(--space-xl);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: var(--space-sm);
  color: rgba(255,255,255,0.6);
  max-width: 300px;
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-sm);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--trans-fast);
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}

.footer__contact-icon {
  width: 18px; height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--trans-fast);
}

.footer__bottom a:hover { color: rgba(255,255,255,0.85); }

.footer__social {
  display: flex;
  gap: 0.5rem;
}

.footer__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--trans-fast);
}

.footer__social a:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
}

.footer__social svg {
  width: 15px; height: 15px;
  fill: rgba(255,255,255,0.6);
}

/* ── PAGE HERO (used on inner pages) ───────────────────────── */
.page-hero {
  background: var(--green-dark);
  padding-block: 7rem 3.5rem;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,92,56,0.95) 50%, rgba(46,125,82,0.7));
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: 0.25;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-hero__breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero__breadcrumb a:hover { color: white; }
.page-hero__breadcrumb span { color: rgba(255,255,255,0.3); }

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.page-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.74);
  max-width: 560px;
  line-height: 1.75;
}

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  background: var(--green-pale);
  border-top: 1px solid rgba(46,125,82,0.15);
  border-bottom: 1px solid rgba(46,125,82,0.15);
  padding-block: 1rem;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--green-dark);
  font-weight: 500;
}

.trust-item svg {
  width: 16px; height: 16px;
  fill: var(--green-mid);
  flex-shrink: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--green-dark);
    padding: 1rem 1.5rem 2rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    align-items: stretch;
  }

  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    margin-top: 0.25rem;
    padding: 0.5rem;
  }

  .nav__dropdown-link { color: rgba(255,255,255,0.8) !important; }
  .nav__dropdown-link:hover { background: rgba(255,255,255,0.1) !important; color: white !important; }

  .footer__main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .footer__main { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .nav__logo-tagline { display: none; }
}

/* ── CTA BANNER (shared across all pages) ───────────────────── */
.cta-banner {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
  padding-block: var(--space-xl);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-banner__text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 500px;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
}
