/* ============================================================
   ALLVO SITE — WordPress Plugin Stylesheet
   Design: Scandinavian Environmental Modernism
   Palette: 60% Forest green #2D6A4F · 30% Cream #F8F9F4 · 10% Roof-tile orange #D4622A
   ============================================================ */

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

:root {
  --green:       #2D6A4F;
  --green-dark:  #1B4332;
  --green-light: #D8F3DC;
  --green-mid:   #74C69D;
  --cream:       #F8F9F4;
  --cream-dark:  #EEF0E8;
  --charcoal:    #1C2B22;
  --muted:       #5A7262;
  --border:      #D4DDD6;
  --white:       #FFFFFF;
  /* 10% accent — roof-tile orange */
  --orange:      #D4622A;
  --orange-light:#FAE8DF;
  --font-head:   'Barlow Condensed', sans-serif;
  --font-body:   'DM Sans', sans-serif;
}

body { font-family: var(--font-body); color: var(--charcoal); background: var(--cream); }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.allvo-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .allvo-container { padding: 0 1.75rem; } }
@media (min-width: 1024px) { .allvo-container { padding: 0 2.5rem; } }

.allvo-section { padding: 72px 0; }
@media (max-width: 768px) { .allvo-section { padding: 48px 0; } }

.allvo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .allvo-grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

.allvo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .allvo-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .allvo-grid-3 { grid-template-columns: 1fr; } }

.allvo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .allvo-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .allvo-grid-4 { grid-template-columns: 1fr; } }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.allvo-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  /* Orange accent on section labels — the key 10% pop */
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}
.allvo-h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
}
.allvo-h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.allvo-h2-white { color: var(--white); }
.allvo-h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.allvo-p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.allvo-green { color: var(--green-mid); }

/* ── TOPBAR ──────────────────────────────────────────────── */
.allvo-topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 8px 0;
}
.allvo-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.allvo-topbar a { color: rgba(255,255,255,0.75); }
.allvo-topbar a:hover { color: var(--white); }
.allvo-topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.allvo-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(28,43,34,0.06);
}
.allvo-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.allvo-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--charcoal);
  letter-spacing: -0.5px;
}
.allvo-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-head);
  font-weight: 800;
}
.allvo-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.allvo-nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.allvo-nav-links a:hover,
.allvo-nav-links a.active {
  color: var(--green);
  background: var(--green-light);
}
.allvo-nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 9px 18px !important;
  border-radius: 9px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.15s, transform 0.15s !important;
}
.allvo-nav-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
}

/* Mobile nav */
.allvo-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.allvo-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.2s;
}
.allvo-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.allvo-mobile-menu a {
  display: block;
  padding: 10px 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 0;
}
.allvo-mobile-menu a:hover { color: var(--green); background: var(--green-light); }
.allvo-mobile-menu a.allvo-nav-cta {
  margin: 8px 1.25rem 0;
  text-align: center;
  border-radius: 9px !important;
}
@media (max-width: 900px) {
  .allvo-nav-links { display: none; }
  .allvo-hamburger { display: flex; }
}
.allvo-mobile-menu.open { display: flex; }

/* ── HERO (video) ────────────────────────────────────────── */
.allvo-hero {
  position: relative;
  min-height: min(600px, 90vh);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.allvo-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.allvo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(27,67,50,0.88) 0%, rgba(27,67,50,0.55) 55%, rgba(27,67,50,0.2) 100%);
  z-index: 1;
}
.allvo-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 0 80px;
}
.allvo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(216,243,220,0.18);
  border: 1px solid rgba(216,243,220,0.4);
  color: #A7F3C0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.allvo-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.allvo-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Primary CTA uses orange — the highest-contrast 10% accent */
  background: var(--orange);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.allvo-btn-primary:hover { background: #b8501f; transform: translateY(-2px); }
.allvo-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}
.allvo-btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ── TRUST STRIP ─────────────────────────────────────────── */
.allvo-trust {
  background: var(--charcoal);
  padding: 20px 0;
}
.allvo-trust-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.allvo-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.83rem;
  font-weight: 500;
}
.allvo-trust-dot {
  width: 7px;
  height: 7px;
  /* Orange dots in the trust strip for a warm accent */
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── PAGE HERO (image) ───────────────────────────────────── */
.allvo-page-hero {
  position: relative;
  height: min(480px, 70vh);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.allvo-page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.allvo-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(27,67,50,0.88) 0%, rgba(27,67,50,0.55) 60%, rgba(27,67,50,0.2) 100%);
}
.allvo-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

/* ── VIDEO HERO ───────────────────────────────────────── */
/* YouTube iframe fills the hero container as a muted background video */
.allvo-video-hero { background: #111; }
.allvo-yt-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.allvo-yt-bg iframe {
  /* Scale the 16:9 iframe to cover any aspect ratio */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;  /* 16/9 * 100vh */
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw; /* 9/16 * 100vw */
  transform: translate(-50%, -50%);
  border: none;
}

/* ── CARDS ──────────────────────────────────────────────── */
.allvo-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.allvo-card:hover { box-shadow: 0 8px 32px rgba(28,43,34,0.1); transform: translateY(-3px); }
.allvo-card-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.allvo-card-step {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(45,106,79,0.15);
  line-height: 1;
}

/* ── SERVICE CARDS ───────────────────────────────────────── */
.allvo-service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
}
.allvo-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.allvo-service-card:hover img { transform: scale(1.05); }
.allvo-service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,67,50,0.85) 0%, rgba(27,67,50,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.allvo-service-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  /* Orange label on service cards for warmth against dark overlay */
  color: #F4A57A;
  margin-bottom: 6px;
}
.allvo-service-card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
}
.allvo-service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

/* ── STEPS (dark bg) ─────────────────────────────────────── */
.allvo-steps {
  background: var(--green-dark);
  padding: 72px 0;
}
@media (max-width: 768px) { .allvo-steps { padding: 48px 0; } }
.allvo-step-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 24px;
}
.allvo-step-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(116,198,157,0.3);
  line-height: 1;
  margin-bottom: 8px;
}
.allvo-step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}
.allvo-step-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ── QUOTE / REVIEW ──────────────────────────────────────── */
.allvo-quote {
  background: var(--green);
  border-radius: 16px;
  padding: 28px 24px;
  color: var(--white);
}
.allvo-quote-text {
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.9);
}
.allvo-quote-cite {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--green-mid);
}
.allvo-review-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid var(--border);
}
/* Stars use orange — warm and attention-grabbing */
.allvo-stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--orange); font-size: 0.9rem; }
.allvo-review-text { font-size: 0.88rem; color: var(--muted); line-height: 1.75; font-style: italic; margin-bottom: 14px; }
.allvo-review-name { font-size: 0.83rem; font-weight: 600; color: var(--charcoal); }

/* ── CHECKLIST ───────────────────────────────────────────── */
.allvo-check-list { display: flex; flex-direction: column; gap: 12px; }
.allvo-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 500;
}
/* Check icons use orange for a warm, confident feel */
.allvo-check-icon { color: var(--orange); flex-shrink: 0; font-size: 1rem; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.allvo-cta-banner {
  background: var(--green);
  padding: 56px 0;
  text-align: center;
}
.allvo-cta-banner .allvo-h2 { color: var(--white); margin-bottom: 12px; }
.allvo-cta-banner p { font-size: 1rem; color: rgba(255,255,255,0.8); margin: 0 auto 28px; max-width: 480px; }
.allvo-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.allvo-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ── CONTACT SECTION ─────────────────────────────────────── */
.allvo-contact { background: var(--cream-dark); padding: 72px 0; }
@media (max-width: 768px) { .allvo-contact { padding: 48px 0; } }
.allvo-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .allvo-contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.allvo-faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.allvo-faq-q {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.allvo-faq-a {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 10px;
  display: none;
}
.allvo-faq-item.open .allvo-faq-a { display: block; }
.allvo-faq-item.open .allvo-faq-arrow { transform: rotate(180deg); }
.allvo-faq-arrow { transition: transform 0.2s; flex-shrink: 0; }
.allvo-contact-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.allvo-contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.allvo-form { display: flex; flex-direction: column; gap: 14px; }
.allvo-form label { font-size: 0.82rem; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; display: block; }
.allvo-form input,
.allvo-form select,
.allvo-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}
.allvo-form input:focus,
.allvo-form select:focus,
.allvo-form textarea:focus { border-color: var(--orange); }
.allvo-form textarea { resize: vertical; min-height: 100px; }
.allvo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .allvo-form-row { grid-template-columns: 1fr; } }

/* ── FOOTER ──────────────────────────────────────────────── */
.allvo-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 40px 0 24px;
  font-size: 0.83rem;
}
.allvo-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.allvo-footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 6px;
}
.allvo-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.allvo-footer-links a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.allvo-footer-links a:hover { color: var(--white); }
.allvo-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ── IMAGES ──────────────────────────────────────────────── */
.allvo-img-rounded {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(28,43,34,0.12);
}
.allvo-img-rounded img {
  width: 100%;
  height: clamp(280px, 40vw, 440px);
  object-fit: cover;
}

/* ── BEFORE/AFTER DRAG SLIDER ───────────────────────────── */
.allvo-ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(28,43,34,0.12);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.allvo-ba-slider .ba-after-img {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 440px);
  object-fit: cover;
  pointer-events: none;
}
.allvo-ba-slider .ba-before-wrap {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  overflow: hidden;
  width: 50%;
}
.allvo-ba-slider .ba-before-wrap img {
  display: block;
  /* Width must equal the full slider width so the image is not zoomed vs the after image */
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
}
.allvo-ba-slider .ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.allvo-ba-slider .ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}
.allvo-ba-label {
  position: absolute;
  bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  color: var(--white);
  pointer-events: none;
  background: rgba(0,0,0,0.6);
  z-index: 5;
}
.allvo-ba-label.ba-label-before { left: 12px; }
.allvo-ba-label.ba-label-after  { right: 12px; }

/* ── UTILITIES ───────────────────────────────────────────── */
.allvo-text-center { text-align: center; }
.allvo-mb-48 { margin-bottom: 48px; }
.allvo-mb-28 { margin-bottom: 28px; }
.allvo-mb-20 { margin-bottom: 20px; }
.allvo-mb-16 { margin-bottom: 16px; }
.allvo-mb-12 { margin-bottom: 12px; }
.allvo-bg-white { background: var(--white); }
.allvo-bg-cream { background: var(--cream); }
.allvo-bg-cream-dark { background: var(--cream-dark); }
.allvo-bg-green { background: var(--green); }
.allvo-bg-green-dark { background: var(--green-dark); }
