/* ==========================================================================
   ENVOL — Shared site-wide styles (nav, buttons, footer/contact, base reset)
   Loaded once and cached by the browser across all pages.
   ========================================================================== */

:root {
    --blue: #065A82;
    --teal: #028090;
    --gold: #C4974A;
    --gold-light: #D4A85C;
    --cream: #F5EFE6;
    --light: #F0F4F8;
    --white: #FFFFFF;
    --dark: #0D1B2A;
    --mid: #2E4057;
    --footer-green: #9FD8A0;
  }

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

html { scroll-behavior: smooth; }

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

#top { position: relative; }

/* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--dark);
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 3rem; flex-wrap: wrap; gap: 1.2rem 2rem;
  }

.nav-brand {
    display: flex; align-items: center; gap: 1.4rem;
    text-decoration: none; color: inherit;
  }

@keyframes flyHigh {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(-3deg); }
  }

.nav-brand img {
    height: 150px;
    animation: flyHigh 3s ease-in-out infinite;
  }

.nav-brand-text { line-height: 1.05; }

.nav-brand-text .brand-sub {
    font-size: 1.5rem; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase;
    font-weight: 400;
  }

.nav-menu { display: flex; gap: 2rem 2.5rem; list-style: none; flex-wrap: wrap; row-gap: 0.5rem; }

.nav-menu a {
    color: rgba(255,255,255,0.85); text-decoration: none;
    font-size: 1.75rem; font-weight: 500; transition: background 0.25s, color 0.25s;
    border: none; padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.08); display: inline-block;
  }

.nav-menu a:hover { color: var(--gold); background: rgba(255,255,255,0.14); }

.nav-cta {
    background: var(--gold); color: var(--dark);
    padding: 0.65rem 1.5rem;
    font-size: 1.6rem; font-weight: 700; text-decoration: none;
    transition: background 0.25s;
  }

.nav-cta:hover { background: var(--gold-light); }

/* LANGUAGE SWITCHER */
  .lang-switcher {
    display: flex; gap: 0.6rem; margin-left: auto;
  }

.lang-btn {
    width: 40px; height: 40px; border: none;
    background: rgba(255,255,255,0.1); cursor: pointer;
    border-radius: 4px; font-size: 1.5rem;
    transition: all 0.25s; display: flex; align-items: center; justify-content: center;
  }

.lang-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }

.lang-btn.active { background: var(--gold); }

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

.hero-left {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    position: relative; z-index: 2; max-width: 1100px;
  }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(196,151,74,0.15); border: 1px solid rgba(196,151,74,0.35);
    padding: 0.4rem 1rem; margin-bottom: 1.8rem;
    color: var(--gold); font-size: 1.08rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; width: fit-content;
  }

.hero h1 .accent { color: var(--gold); font-style: italic; }

.hero-desc {
    font-size: 1.575rem; color: rgba(255,255,255,0.65);
    line-height: 1.35; max-width: 900px; margin-bottom: 2.5rem;
    font-weight: 300;
  }

.section-eyebrow {
    font-size: 1.05rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; line-height: 1.3;
  }

/* CONTACT */
  .contact {
    background: var(--dark); padding: 5rem 5rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  }

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem; font-weight: 700; color: #fff; line-height: 1.2;
    margin-bottom: 1rem;
  }

.contact p { color: rgba(255,255,255,0.6); font-size: 1.425rem; line-height: 1.35; font-weight: 300; }

.contact-cards {
    display: flex; flex-direction: column; gap: 1rem;
  }

.ccard {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.2rem 1.5rem;
    display: flex; align-items: center; gap: 1rem;
    transition: border-color 0.25s;
  }

.ccard:hover { border-color: var(--gold); }

.ccard-icon {
    width: 40px; height: 40px;
    background: rgba(196,151,74,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
  }

.ccard > div { min-width: 0; }

.ccard-label { font-size: 1.02rem; color: var(--gold); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

.ccard-value { color: #fff; font-size: 1.38rem; font-weight: 500; overflow-wrap: break-word; word-break: break-word; }

.ccard a { color: #fff; text-decoration: none; }

.ccard a:hover { color: var(--gold); }

footer {
    background: #060F17; padding: 0;
  }

.footer-main {
    max-width: 1200px; margin: 0 auto;
    padding: 3.5rem 5rem 2.5rem;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  }

.footer-brand-col p { color: rgba(255,255,255,0.45); font-size: 1.05rem; line-height: 1.6; max-width: 320px; margin-top: 0.6rem; }

.footer-col-title {
    color: var(--gold); font-size: 0.95rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem;
  }

.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-links a {
    color: rgba(255,255,255,0.55); text-decoration: none; font-size: 1.05rem;
    transition: color 0.2s;
  }

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.6rem 5rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem 2rem;
  }

footer p { font-size: 1.08rem; }

.footer-copy { color: var(--footer-green); font-weight: 600; }

.footer-contact { color: rgba(255,255,255,0.3); }

.lb.open { display: flex; }

@media(max-width:900px) {
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { padding: 1.4rem 1.5rem; flex-direction: column; text-align: center; }
}

/* Scroll-reveal animations (progressive enhancement — only active once the
   'js' class is added by script.js, so content stays visible if JS fails) */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Subtle fabric/grain texture on the dark navy sections, so they read less
   flat. Pure CSS (SVG noise filter), no image request. */
.contact, footer, .about-strip {
  position: relative;
}
.hero { position: relative; }
nav::before, .hero::before, .contact::before, footer::before, .about-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url(%23n)%22/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
nav > *, .hero > *, .contact > *, footer > *, .about-strip > * {
  position: relative; z-index: 1;
}

/* Angled section dividers — a soft diagonal cut between sections instead of
   a hard horizontal edge. Two solid layers (from/to colors) guarantee no
   gap shows through the clipped corner, regardless of what's behind. */
.divider-angle {
  height: 56px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.divider-angle::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--divider-from, transparent);
}
.divider-angle::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--divider-to, transparent);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
@media(max-width:760px) {
  .divider-angle { height: 34px; }
}

/* "How it works" 3-step process section */
.how-we-work {
  background: var(--light);
  padding: 5rem 5rem;
}
.hww-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.hww-header h2 {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--dark); margin-top: 0.8rem;
}
.hww-steps {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}
.hww-step { text-align: center; position: relative; padding: 1rem; }
.hww-num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: #fff; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}
.hww-icon { font-size: 2.4rem; margin: 1.8rem 0 1rem; }
.hww-step h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 0.6rem; }
.hww-step p { color: #4B5563; font-size: 1rem; line-height: 1.55; }

@media(max-width:900px) {
  .how-we-work { padding: 3.5rem 1.5rem; }
  .hww-steps { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Copy-to-clipboard button next to email links — works regardless of which
   mail app (if any) a visitor has set as their system default. */
.copy-email-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-left: 0.5rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px; cursor: pointer; vertical-align: middle;
  color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.copy-email-btn:hover { background: rgba(255,255,255,0.16); color: var(--gold); border-color: var(--gold); }
.copy-email-btn.copied { background: var(--gold); color: var(--dark); border-color: var(--gold); }
