/* Accueco.ai — Final Elegant & Professional Design */
@import url('../fonts/inter.css');

:root {
  --dark-green: #0a1f1a;
  --accent-green: #00c853;
  --gold: #d4af37;
  --gold-gradient: linear-gradient(90deg, #d4af37, #ffd700, #d4af37);
}

body, html {
  overflow-x: hidden !important;
  max-width: 100%;
}

body {
  font-family: "Inter", -apple-system, "BlinkMacSystemFont", "Roboto", "Montserrat", system-ui, sans-serif;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
  background: var(--dark-green);
  color: #eee;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}



/*
//OLD gloabl header rules:

.global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 31, 26, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.global-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
*/

/* ========================================================================= */
/* MASTER FIXED HEADER                                                       */
/* ========================================================================= */
.global-header {
  position: fixed; /* Bypasses the overflow-x bug */
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box; /* Prevents padding from stretching it past 100% */
  z-index: 9999; /* Guaranteed to stay on top of all videos and images */
  
  /* Frosted Glass Effect */
  background: rgba(10, 31, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* CRITICAL for iPhones/iPads */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); /* Slightly deeper shadow for depth */
  
  /* Layout */
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  
  /* Smooth transitions for mobile */
  transition: all 0.3s ease; 
}




.logo { order: 2; } /* Logo on right */
.logo {
  height: 38px;
  max-width: 156px;
  width: auto;
  margin-top:8px;
}



.hamburger { background:none; border:none; font-size:28px; color:white; margin-bottom: 11px; order: 1; } /* Hamburger on left with 11px margin */



.close-btn { float:right; background:none; border:none; color:white; font-size:30px; }
.drawer-links a { display:block; padding:12px; color:white; }


.drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: min(280px, 86vw);
  height: 100%;
  background: #0a1f1a;
  padding: 20px;
  z-index: 10000;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
  box-sizing: border-box;
  border-right: 4px solid #3df93d;
}

.drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.3s ease;
}


.hero {
  background: linear-gradient(rgba(10, 31, 26, 0.05), rgba(10, 31, 26, 0.6)), url('/assets/images/hero/vancouver-skyline.jpg') center/cover no-repeat;
  padding: 100px 20px 70px;
  text-align: center;
  color: white;
  margin-top: 60px;
}
.hero h2 { 
    font-size: 2.2em; margin: 0 0 15px; 
    /* color: #ffc300; */
    font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Montserrat", "Inter", "Helvetica Neue", "Open Sans", sans-serif;
}


.hero-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}
.hero-icons div {
  text-align: center;
  width: 80px;
}
.hero-icons img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: 6px;
}
.hero div.hero-icons span {
  display: block;
  font-size: 0.65em;
  color: white;
  margin-top: -5px;
}


.hero .horizontal-list {
  list-style: none; /* Removes standard browser bullets */
  padding: 0;
  display: flex;
  gap: 8px; /* Space between items */
  justify-content: center; 
}

.hero .horizontal-list li:not(:last-child)::after {
  content: "\00B7"; /* This is the CSS Unicode for the Middle Dot */
  margin-left: 8px; /* Space after the dot */
  color: #888888; /* Making the dot a lighter color than the text looks great */
}



/*ALT HERO for video's parent section*/
.hero-video {
  padding: 100px 20px 70px;
  text-align: center;
  color: white;
}
.hero-video  h2 { font-size: 2.2em; margin: 0 0 15px; }

.hero-video  div.hero-icons span {
  display: block;
  font-size: 0.65em;
  color: white;
  margin-top: -5px;
}


.hero-video  .horizontal-list {
  list-style: none; /* Removes standard browser bullets */
  padding: 0;
  display: flex;
  gap: 8px; /* Space between items */
  justify-content: center; 
}

.hero-video  .horizontal-list li:not(:last-child)::after {
  content: "\00B7"; /* This is the CSS Unicode for the Middle Dot */
  margin-left: 8px; /* Space after the dot */
  color: #888888; /* Making the dot a lighter color than the text looks great */
}







/*call to action button*/

.cta {
    display: inline-block;
  margin: 15px auto;
  background: #035626 !important;
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75em;
  text-align: center;
  text-decoration: none;
}


section, .card {
  padding: 35px 15px;
  background: #46553d94;
  color: #809881;
  border-radius: 20px;
  box-shadow: inset 0px 0px 20px 3px rgb(4 87 1 / 60%);
  margin-bottom: 20px;
}

.trust-banner { 
    background:#003322; 
    color:white; 
    text-align:center; 
    padding:12px; 
    font-size:0.9em; }
    
.content-grid { 
    display:flex; 
    gap:20px; 
    flex-wrap:wrap; 
    justify-content:center; 
    margin:40px auto; 
    max-width:1200px; 
    
}


.content-grid .card h3:first-of-type {
  color: ghostwhite; /* 'whitesmoke' is also a great alternative here */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}



/* Device-specific card widths */
@media (max-width: 480px) { .card { width: 100%; } }
@media (min-width: 481px) and (max-width: 1024px) { .card { width: 48%; } }
@media (min-width: 1025px) { .card { width: 31%; } }

/* Perfect Responsiveness */
@media (max-width: 480px) {
  .hero { 
      padding: 70px 15px 50px; 
      margin-top:66px;
  }
  .hero h2 { font-size: 1.7em; 
      /* color: #ffc300; */
      font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Montserrat", "Inter", "Helvetica Neue", "Open Sans", sans-serif;
  }
}
@media (min-width: 768px) {
  .hero { 
      padding: 130px 20px 90px; 
      margin-top:66px; 
  }
  .hero h2 { font-size: 2.8em; 
      /* color: #ffc300; */
      font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Montserrat", "Inter", "Helvetica Neue", "Open Sans", sans-serif;
  }
}











.hamburger { order: 1; }
.auth-widget { order: 2; display: flex; align-items: center; gap: 8px; }
.cta { order: 3; }
.logo { order: 4; }

/* old
.hamburger { order: 1; margin-right: auto; }
.cta { order: 2; margin: 0 auto; }
.logo { order: 3; margin-left: auto; } 
*/

*:has(> .logo) { order: 4; } /* Ensures logo stays extreme right */


@media (min-width: 1024px) {
  .cta { margin: 0 30px; }
}


section, .card {
  padding: 35px 15px;
  background: #46553d94;
  color: #809881;
  border-radius: 20px;
  box-shadow: inset 0px 0px 20px 3px rgb(4 87 1 / 60%);
  margin-bottom: 20px;
}

/* Beautiful Card Background Images */
.content-grid > :nth-child(1 of .card) { background: linear-gradient(rgba(10,31,26,0.7),rgba(10,31,26,0.7)), url("/assets/images/backgroundimg/solar-roof-1.jpg") center/cover no-repeat; }
.content-grid > :nth-child(2 of .card) { background: linear-gradient(rgba(10,31,26,0.7),rgba(10,31,26,0.7)), url("/assets/images/backgroundimg/solar-roof-2.jpg") center/cover no-repeat; }
.content-grid > :nth-child(3 of .card) { background: linear-gradient(rgba(10,31,26,0.7),rgba(10,31,26,0.7)), url("/assets/images/backgroundimg/solar-building.jpg") center/cover no-repeat; }
.content-grid > :nth-child(4 of .card) { background: linear-gradient(rgba(10,31,26,0.7),rgba(10,31,26,0.7)), url("/assets/images/backgroundimg/solar-house.jpg") center/cover no-repeat; }
.content-grid > :nth-child(5 of .card) { background: linear-gradient(rgba(10,31,26,0.7),rgba(10,31,26,0.7)), url("/assets/images/backgroundimg/solar-highrise.jpg") center/cover no-repeat; }
.content-grid > :nth-child(6 of .card) { background: linear-gradient(rgba(10,31,26,0.7),rgba(10,31,26,0.7)), url("/assets/images/backgroundimg/solar-modern.jpg") center/cover no-repeat; }

.trust-banner { background:#003322; color:white; text-align:center; padding:12px; font-size:0.9em; }
.content-grid { display:flex; gap:20px; flex-wrap:wrap; justify-content:center; margin:40px auto; max-width:1200px; }

/* Responsiveness */
@media (max-width: 480px) { .card { width: 100%; } }
@media (min-width: 481px) and (max-width: 1024px) { .card { width: 48%; } }
@media (min-width: 1025px) { .card { width: 31%; } }



/* footer css below */

.global-footer {
  background: #0a1f1a;
  color: #aaa;
  padding: 40px 20px 20px;
  margin-top: 60px;
  border-top: 3px solid #334; /* Subtle demarcation line */
}




.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid h4 { color: var(--gold); margin-bottom: 15px; }
.footer-grid a { color: #aaa; text-decoration: none; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold); }
.utility-bar {
  border-top: 1px solid #334; 
  padding-top: 15px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.85em;
}
.trust-badges img { height: 28px; margin: 0 8px; }


/*log in log out amd avatar*/
/* ========================================================================= */
/* AUTH WIDGET — SERVER-CONFIRMED STATE                                      */
/* ========================================================================= */

.auth-widget {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 58px;
}

.auth-widget.logged-in,
.auth-widget.logged-out {
  display: flex;
}

.user-icon,
.auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;

  background: none;
  border: none;
  padding: 0;
  margin: 0;

  color: #ccc;
  font-family: inherit;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  text-shadow: none !important;

  cursor: pointer;
}

.auth-link:hover,
.user-icon:hover {
  color: var(--gold);
}

.user-icon:focus-visible,
.auth-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.filtered-emoji {
  font-size: 18px;
}

.auth-widget.logged-in {
  color: var(--accent-green);
}

.auth-widget.logged-out {
  color: #888;
}

.auth-widget.logged-in .filtered-emoji {
  color: var(--accent-green);
  filter: grayscale(20%) sepia(100%) hue-rotate(80deg) saturate(400%) brightness(1.1);
}

.auth-widget.logged-out .filtered-emoji {
  color: #888;
  filter: grayscale(100%) brightness(0.7);
}








/* main span on homepage in first section*/
.hero h2 span {
  /* color: #3df93d; */
  color: #ffc300;
  font-size: xxx-large;
  font-weight: 900;
  font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Montserrat", "Inter", "Helvetica Neue", "Open Sans", sans-serif;
}



/* about us page */
.history-section {
  margin-bottom: 30px;
  background: #46553d94;
  color: #809881;
  padding: 25px;
  border-radius: 20px;
}
.leadership-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}
.leadership-grid .card {
  flex: 1;
  min-width: 320px;
  padding: 30px;
  background: #003322;
  color: white;
}
.bottom-note {
  text-align: center;
  margin-top: 30px;
}

.leadership-grid img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto 20px;
}

section, .card, .history-section, .leadership-grid {
  max-width: 100%;
  box-sizing: border-box;
}


/* First top-most H1 on any page */
body > h1:nth-child(1) {
  font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Montserrat", "Inter", "Helvetica Neue", "Open Sans", sans-serif;
  margin: 40px 0 25px 0;
  padding: 0 10px;
  text-align: center;
  line-height: 1.2;
  margin-top:70px;
}

body > h1:first-of-type {
      font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Montserrat", "Inter", "Helvetica Neue", "Open Sans", sans-serif;
  margin: 40px 0 25px 0;
  padding: 0 10px;
  text-align: center;
  line-height: 1.2;
  margin-top:70px;
}

/* First top-most P on any page */
body > p:nth-child(1){
      
  margin: 40px 0 25px 0;
  padding: 0 10px;
  text-align: justify !important;
  line-height: 1.2;
}
body > p:first-of-type {
      
  margin: 40px 0 25px 0;
  padding: 0 10px;
  text-align: justify !important;
  line-height: 1.2;
}




/* Footer Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px !important;
  margin-bottom: 18px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #aaa;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  color: var(--gold);
  transform: scale(1.15);
}
.social-icons svg {
 
  display: block;
}

/* Optional subtle hover glow */
.social-icons a:hover svg {
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
}



.social-icons a:hover {
  color: var(--gold);
  transform: scale(1.15);
}




/* Footer Social Icons - Stronger & Specific */
.utility-bar .social-icons {
  display: flex !important;
  justify-content: center !important;
  gap: 18px !important;           /* Increased spacing */
  margin-bottom: 18px !important;
}

.utility-bar .social-icons a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 21px !important;
  height: 21px !important;
  color: white !important;        /* White color */
  transition: all 0.3s ease !important;
}

.utility-bar .social-icons a:hover {
  color: #ffd700 !important;
  transform: scale(1.15) !important;
}

.utility-bar .social-icons svg {
  width: 19px !important;         /* Smaller icons */
  height: 19px !important;
}

/* Smaller legal text */
.utility-bar p:last-child {
  font-size: 0.65em !important;
}


/* co-founders */
div.co-founders div.founder {
  margin-top: 18px;
  font-size: 0.92em;
  line-height: 1.5;
}

div.co-founders {
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.co-founders img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}



.co-founders-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.co-founders-photo {
  flex: 1 1 100%;
  text-align: center;
}
.co-founders-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.co-founder {
  flex: 1 1 300px;
  background: #46553d94;
  padding: 20px;
  border-radius: 12px;
  color: #809881;
}
@media (min-width: 768px) {
  .co-founders-photo { flex: 1 1 35%; }
  .co-founder { flex: 1 1 21%; }
}


/* 1. Base Grid Setup */
.co-founders-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile default: 1 single column */
  gap: 24px; /* Clean, consistent 24px spacing between all boxes */
  margin-top: 32px;
}

/* 2. Photo Styling */
.co-founders-photo {
  display: flex;
  border-radius: 12px;
  overflow: hidden; /* Ensures the image doesn't break the rounded corners */
  background-color: rgba(70, 85, 61, 0.3); /* Subtle background matching your theme */
}

.co-founders-photo img {
  width: 96%;
  height: 92%;
  object-fit: cover; /* Makes the photo fill the box elegantly without stretching */
  margin: 5px;
  padding:3px;
  padding-top:6px;
}

/* 3. Bio Box Styling */
.co-founder {
  background: #46553d94;
  padding: 32px; /* Increased padding slightly for a more premium, breathable feel */
  border-radius: 12px;
  display: flex;
  flex-direction: column; /* Stacks the text vertically */
  gap: 12px; /* Creates perfectly even space between name, title, and paragraph */
}

/* 4. Typography Adjustments for Readability */
.co-founder h4 {
  margin: 0;
  color: #ffffff; /* Bright white for high contrast */
  font-size: 1.25rem;
}

.co-founder .role {
  color: #a4c4a5; /* A brighter, more legible green for the job titles */
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.co-founder p {
  margin: 0;
  color: #b0c2b1; /* Slightly lighter than your original for better readability */
  line-height: 1.6;
}

/* 5. Responsive Design: iPad & Tablets */
@media (min-width: 768px) {
  .co-founders-grid {
    grid-template-columns: repeat(2, 1fr); /* Creates a perfectly symmetrical 2x2 Grid */
  }
}

/* 6. Responsive Design: Large Desktop Monitors (Optional) */
@media (min-width: 1200px) {
  .co-founders-grid {
    grid-template-columns: repeat(4, 1fr); /* Places all 4 items in a single horizontal row */
  }
}



/* VIDEO on ABOUT US*/

.video-hero {
  position: relative;
  padding: 120px 20px 80px;
  color: white;
  text-align: center;}

.video-hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;}
  
  
  
  
  /* top H1 heading */
/* ========================================================================= */
/* (Screen Reader Only)                          */
/* ========================================================================= */
main.top_heading,
main h1.top_heading,
main img.accueco {
     /*OFF-SCREEN (SR-ONLY) - Classic accessibility pattern */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0); /* Legacy clip for max compatibility */
  white-space: nowrap;
  border: 0;
  /* Notice we DO NOT change the font-size or scale, preventing mobile penalties */
}



/* ========================================================================= */
/* BACK TO TOP FLOATING ACTION BUTTON                                         */
/* ========================================================================= */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 9998; /* Above content, below header/drawer */
  
  width: 54px;
  height: 54px;
  min-width: 44px;
  min-height: 44px;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 999px;
  background: var(--accent-green);
  color: var(--dark-green);
  
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-shadow: none !important;
  
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(0, 200, 83, 0.28);
  
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0s linear 0.22s,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top:hover {
  background: #3df93d;
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(61, 249, 61, 0.38);
  transform: translateY(-2px) scale(1.02);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.back-to-top span {
  display: block;
  transform: translateY(-1px);
}

/* Mobile sizing and safe-area positioning */
@media (max-width: 768px) {
  .back-to-top {
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.45rem;
  }
}

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top.is-visible,
  .back-to-top:hover {
    transition: none;
    transform: none;
  }
}




/* ========================================================================= */
/* PUBLIC PASSWORDLESS LOGIN MODAL                                           */
/* ========================================================================= */

.public-auth-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: 520px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 28px;
  padding: 0;
  background: transparent;
  color: #f5faf7;
  box-shadow: none;
}

.public-auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.public-auth-panel {
  position: relative;
  padding: clamp(26px, 5vw, 38px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(0, 200, 83, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(6, 23, 18, 0.98), rgba(10, 31, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    inset 0 0 24px rgba(0, 200, 83, 0.07);
  text-align: center;
  text-shadow: none !important;
}

.public-auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.public-auth-close:hover,
.public-auth-close:focus-visible {
  background: rgba(0, 200, 83, 0.18);
  outline: 3px solid rgba(212, 175, 55, 0.65);
  outline-offset: 3px;
}

.public-auth-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.16);
  color: var(--accent-green);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(0, 200, 83, 0.18);
}

.public-auth-dialog h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  line-height: 1.15;
  text-shadow: none !important;
}

.public-auth-dialog p {
  text-shadow: none !important;
}

#publicAuthDescription {
  margin: 0 auto 24px;
  max-width: 380px;
  color: #b8c5bd;
  font-size: 0.98rem;
}

.public-auth-form {
  display: grid;
  gap: 12px;
  text-align: left;
}

.public-auth-form label {
  color: #d7e5dd;
  font-weight: 800;
  font-size: 0.92rem;
}

.public-auth-form input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: #fff;
  color: #102019;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  box-sizing: border-box;
}

.public-auth-form input:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(0, 200, 83, 0.18);
}

.public-auth-form input[aria-invalid="true"] {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14);
}

.public-auth-submit {
  min-height: 50px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #035626;
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.public-auth-submit:hover,
.public-auth-submit:focus-visible {
  background: var(--accent-green);
  color: #061b15;
  outline: 3px solid rgba(212, 175, 55, 0.65);
  outline-offset: 3px;
}

.public-auth-submit[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.public-auth-note {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  text-align: center;
}

.public-auth-status {
  min-height: 22px;
  margin-top: 6px;
  color: #b8c5bd;
  font-size: 0.88rem;
  text-align: center;
}

.public-auth-status.is-error {
  color: #ffb4b4;
}

.public-auth-status.is-success {
  color: #a8ffb7;
}

/* Make avatar feel like the public login trigger */
.user-icon {
  border-radius: 8px;
}

.user-icon[aria-haspopup="dialog"] {
  min-width: 44px;
  min-height: 44px;
}

.user-icon[aria-haspopup="dialog"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (max-width: 520px) {
  .public-auth-panel {
    padding: 28px 20px 24px;
  }

  .public-auth-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-auth-dialog,
  .public-auth-panel,
  .public-auth-close,
  .public-auth-submit {
    transition: none !important;
  }
}




/* ========================================================================= */
/* PUBLIC ACCOUNT AVATAR + DROPDOWN MENU                                     */
/* ========================================================================= */

.auth-widget {
  position: relative;
}

/* Keep the key for internal CMS; avatar is now public-user login/account state */
.auth-widget .user-icon {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.auth-widget .user-icon:hover {
  transform: translateY(-1px);
}

.auth-widget.public-logged-out .user-icon {
  color: #9aa4a0;
  background: rgba(255, 255, 255, 0.04);
}

.auth-widget.public-logged-in .user-icon {
  color: var(--accent-green);
  background: rgba(0, 200, 83, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 200, 83, 0.18),
    0 0 16px rgba(0, 200, 83, 0.28);
}

.auth-widget.public-logged-in .user-icon:hover,
.auth-widget.public-logged-in .user-icon:focus-visible {
  background: rgba(0, 200, 83, 0.2);
}

/* CMS key should reflect CMS session, not public-user session */
.auth-widget.cms-logged-in .auth-link {
  color: var(--accent-green);
  filter: grayscale(20%) sepia(100%) hue-rotate(80deg) saturate(400%) brightness(1.1);
}

.auth-widget.cms-logged-out .auth-link {
  color: #888;
  filter: grayscale(100%) brightness(0.7);
}

.public-account-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: min(280px, calc(100vw - 24px));
  z-index: 10001;
  padding: 10px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(0, 200, 83, 0.14), transparent 36%),
    rgba(8, 26, 21, 0.98);
  color: #f5faf7;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.52),
    inset 0 0 18px rgba(0, 200, 83, 0.06);
  text-shadow: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.public-account-menu[hidden] {
  display: none !important;
}

.public-account-menu-header {
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  margin-bottom: 8px;
  text-shadow: none !important;
}

.public-account-menu-header span,
.public-account-menu-header em {
  display: block;
  color: #a9bbb2;
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.35;
  text-shadow: none !important;
}

.public-account-menu-header strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.35;
  word-break: break-word;
  text-shadow: none !important;
}

.public-account-menu-item {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #eaf3ee;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  text-shadow: none !important;
  cursor: pointer;
}

.public-account-menu-item:hover,
.public-account-menu-item:focus-visible {
  background: rgba(0, 200, 83, 0.14);
  color: #ffffff;
  outline: 2px solid rgba(212, 175, 55, 0.45);
  outline-offset: 2px;
}

.public-account-menu-logout {
  margin-top: 6px;
  color: #ffd7d7;
}

.public-account-menu-logout:hover,
.public-account-menu-logout:focus-visible {
  background: rgba(255, 107, 107, 0.14);
}

.public-account-menu-item[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.public-account-menu-status {
  min-height: 18px;
  padding: 7px 12px 3px;
  color: #a8ffb7;
  font-size: 0.76rem;
  line-height: 1.35;
  text-shadow: none !important;
}

/* Mobile: keep the menu inside the viewport */
@media (max-width: 520px) {
  .public-account-menu {
    left: 50%;
    transform: translateX(-35%);
    width: min(280px, calc(100vw - 20px));
  }
}

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .auth-widget .user-icon,
  .public-account-menu-item {
    transition: none !important;
    transform: none !important;
  }
}





/* ========================================================================= */
/* PUBLIC ACCOUNT AVATAR + DROPDOWN MENU                                     */
/* ========================================================================= */

.auth-widget,
.auth-widget.logged-in,
.auth-widget.logged-out,
.auth-widget.public-logged-in,
.auth-widget.public-logged-out,
.auth-widget.cms-logged-in,
.auth-widget.cms-logged-out {
  display: flex !important;
}

.auth-widget {
  position: relative;
}

/* Avatar is public-user login/account state */
.auth-widget .user-icon {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.auth-widget .user-icon:hover {
  transform: translateY(-1px);
}

.auth-widget.public-logged-out .user-icon {
  color: #9aa4a0;
  background: rgba(255, 255, 255, 0.04);
}

.auth-widget.public-logged-in .user-icon {
  color: var(--accent-green);
  background: rgba(0, 200, 83, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 200, 83, 0.18),
    0 0 16px rgba(0, 200, 83, 0.28);
}

.auth-widget.public-logged-in .user-icon:hover,
.auth-widget.public-logged-in .user-icon:focus-visible {
  background: rgba(0, 200, 83, 0.2);
}

/* Key icon remains internal CMS access state */
.auth-widget.cms-logged-in .auth-link {
  color: var(--accent-green);
  filter: grayscale(20%) sepia(100%) hue-rotate(80deg) saturate(400%) brightness(1.1);
}

.auth-widget.cms-logged-out .auth-link {
  color: #888;
  filter: grayscale(100%) brightness(0.7);
}

.public-account-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: min(280px, calc(100vw - 24px));
  z-index: 10001;
  padding: 10px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(0, 200, 83, 0.14), transparent 36%),
    rgba(8, 26, 21, 0.98);
  color: #f5faf7;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.52),
    inset 0 0 18px rgba(0, 200, 83, 0.06);
  text-shadow: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.public-account-menu[hidden] {
  display: none !important;
}

.public-account-menu-header {
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  margin-bottom: 8px;
  text-shadow: none !important;
}

.public-account-menu-header span,
.public-account-menu-header em {
  display: block;
  color: #a9bbb2;
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.35;
  text-shadow: none !important;
}

.public-account-menu-header strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.35;
  word-break: break-word;
  text-shadow: none !important;
}

.public-account-menu-item {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #eaf3ee;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  text-shadow: none !important;
  cursor: pointer;
}

.public-account-menu-item:hover,
.public-account-menu-item:focus-visible {
  background: rgba(0, 200, 83, 0.14);
  color: #ffffff;
  outline: 2px solid rgba(212, 175, 55, 0.45);
  outline-offset: 2px;
}

.public-account-menu-logout {
  margin-top: 6px;
  color: #ffd7d7;
}

.public-account-menu-logout:hover,
.public-account-menu-logout:focus-visible {
  background: rgba(255, 107, 107, 0.14);
}

.public-account-menu-item[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.public-account-menu-status {
  min-height: 18px;
  padding: 7px 12px 3px;
  color: #a8ffb7;
  font-size: 0.76rem;
  line-height: 1.35;
  text-shadow: none !important;
}

/* Mobile: keep the account menu inside the viewport */
@media (max-width: 520px) {
  .public-account-menu {
    left: 50%;
    transform: translateX(-35%);
    width: min(280px, calc(100vw - 20px));
  }
}

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .auth-widget .user-icon,
  .public-account-menu-item {
    transition: none !important;
    transform: none !important;
  }
}

/* Step 47A: scoped header and post-reorder homepage layout corrections. */
.accueco-home .global-header,
.about-trust-page .global-header {
  align-items: center;
  height: 64px;
  max-height: 72px;
  min-height: 64px;
  padding: 8px 16px;
  gap: 12px;
}

.accueco-home .global-header .hamburger,
.about-trust-page .global-header .hamburger {
  margin-bottom: 0;
}

.accueco-home .global-header .accueco-sr-only,
.about-trust-page .global-header .accueco-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.accueco-home .global-header .logo,
.about-trust-page .global-header .logo {
  height: 34px;
  margin-top: 0;
}

.accueco-home .global-header > a.cta,
.about-trust-page .global-header > a.cta {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  height: 44px;
  line-height: 1.15;
  margin: 0;
  max-height: 48px;
  min-height: 44px;
  padding: 8px 16px;
  text-align: center;
}

.accueco-home .accueco-cinematic-hero .accueco-lead-review-cta {
  background: #f8d35f;
  border: 2px solid #fff1a8;
  color: #08261e;
  display: inline-flex;
  line-height: 1.18;
  padding: 12px 18px;
  text-align: center;
  text-shadow: none;
  white-space: normal;
}

.accueco-home .content-grid {
  margin: clamp(24px, 4vw, 42px) auto 0;
}

.accueco-home .hero-video.video-hero {
  margin: 0 auto clamp(24px, 5vw, 48px);
  min-height: clamp(280px, 42vw, 520px);
  overflow: hidden;
}

.accueco-home .hero-video.video-hero h2,
.accueco-home .hero-video.video-hero p {
  position: relative;
  z-index: 1;
}

@media (max-width: 560px) {
  .accueco-home .global-header {
    flex-wrap: nowrap;
    gap: 6px;
    min-height: 64px;
    padding: 8px;
  }

  .accueco-home .global-header .hamburger {
    flex: 0 0 44px;
  }

  .accueco-home .global-header .auth-widget {
    flex: 0 0 auto;
    gap: 4px;
    min-width: 92px;
  }

  .accueco-home .global-header .user-icon,
  .accueco-home .global-header #cmsAdminKey {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .accueco-home .global-header > a.cta {
    flex: 0 1 86px;
    max-width: 86px;
    min-width: 76px;
    padding: 8px;
    font-size: 0.72rem;
  }

  .accueco-home .global-header a[href="/"] {
    display: inline-flex;
    flex: 0 1 70px;
    justify-content: flex-end;
    min-width: 44px;
  }

  .accueco-home .global-header .logo {
    height: 28px;
    max-width: 70px;
  }

  .accueco-home .content-grid {
    margin: 24px auto -4px;
  }
}

/* Step 47B: uniform shared drawer order, active state and social controls. */
body.accueco-drawer-lock {
  overflow: hidden;
}

.drawer.accueco-site-drawer,
.drawer.accueco-site-drawer * {
  box-sizing: border-box;
}

.drawer.accueco-site-drawer {
  background: #08261e;
  border-right: 4px solid #c5ad57;
  box-shadow: 18px 0 44px rgba(2, 13, 9, 0.34);
  color: #f8f3df;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100dvh;
  max-width: 92vw;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px;
  width: min(380px, 92vw);
}

.drawer.accueco-site-drawer .drawer-links,
.drawer.accueco-site-drawer .accueco-drawer-menu,
.drawer.accueco-site-drawer .accueco-drawer-cta,
.drawer.accueco-site-drawer .accueco-drawer-social,
.drawer.accueco-site-drawer .accueco-drawer-social__controls {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.drawer.accueco-site-drawer .close-btn {
  align-self: flex-end;
  border: 1px solid rgba(248, 243, 223, 0.28);
  border-radius: 999px;
  color: #f8f3df;
  float: none;
  font-size: 1.7rem;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
}

.drawer.accueco-site-drawer .drawer-links {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.drawer.accueco-site-drawer .accueco-drawer-menu {
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer.accueco-site-drawer .drawer-links a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #f8f3df;
  display: flex;
  font-size: 1rem;
  font-weight: 650;
  justify-content: flex-start;
  line-height: 1.22;
  min-height: 44px;
  padding: 11px 14px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.drawer.accueco-site-drawer .drawer-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(248, 243, 223, 0.18);
}

.drawer.accueco-site-drawer .drawer-links a.is-current {
  background: rgba(242, 196, 107, 0.18);
  border-color: #f2c46b;
  color: #ffffff;
  font-weight: 800;
  padding-left: 18px;
  position: relative;
}

.drawer.accueco-site-drawer .drawer-links a.is-current::before {
  background: #f2c46b;
  border-radius: 999px;
  content: "";
  height: calc(100% - 16px);
  left: 6px;
  position: absolute;
  top: 8px;
  width: 4px;
}

.drawer.accueco-site-drawer .accueco-drawer-cta {
  background: #0aa84f;
  border-color: rgba(248, 243, 223, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  color: #ffffff;
  justify-content: center;
  margin: 2px 0 0;
}

.drawer.accueco-site-drawer .accueco-drawer-social {
  border-top: 1px solid rgba(248, 243, 223, 0.18);
  margin-top: auto;
  padding-top: 16px;
}

.drawer.accueco-site-drawer .accueco-drawer-social__label {
  color: #cdbb79;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.drawer.accueco-site-drawer .accueco-drawer-social__controls {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.drawer.accueco-site-drawer .accueco-drawer-social__control {
  align-items: center;
  border: 1px solid rgba(248, 243, 223, 0.2);
  border-radius: 10px;
  color: #f8f3df;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  min-height: 44px;
  padding: 9px 12px;
  text-decoration: none;
}

.drawer.accueco-site-drawer .accueco-drawer-social__control > span:first-child {
  align-items: center;
  background: rgba(242, 196, 107, 0.16);
  border: 1px solid rgba(242, 196, 107, 0.36);
  border-radius: 999px;
  color: #f2c46b;
  display: inline-flex;
  flex: 0 0 30px;
  font-size: 0.9rem;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  line-height: 1;
  width: 30px;
}

.drawer.accueco-site-drawer .accueco-drawer-social__name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.drawer.accueco-site-drawer .accueco-drawer-social__control.is-disabled {
  color: rgba(248, 243, 223, 0.72);
  cursor: not-allowed;
}

.drawer.accueco-site-drawer .accueco-drawer-social__control.is-disabled > span:first-child {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(248, 243, 223, 0.18);
  color: rgba(248, 243, 223, 0.66);
}

.drawer.accueco-site-drawer .close-btn:focus,
.drawer.accueco-site-drawer .drawer-links a:focus,
.drawer.accueco-site-drawer .accueco-drawer-social__control:focus,
.drawer.accueco-site-drawer .close-btn:focus-visible,
.drawer.accueco-site-drawer .drawer-links a:focus-visible,
.drawer.accueco-site-drawer .accueco-drawer-social__control:focus-visible {
  outline: 3px solid #f2c46b;
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .drawer.accueco-site-drawer {
    gap: 12px;
    padding: 14px;
  }

  .drawer.accueco-site-drawer .accueco-drawer-menu {
    gap: 5px;
  }

  .drawer.accueco-site-drawer .drawer-links a,
  .drawer.accueco-site-drawer .accueco-drawer-social__control {
    font-size: 0.94rem;
    padding: 9px 11px;
  }

  .drawer.accueco-site-drawer .accueco-drawer-social {
    padding-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drawer.accueco-site-drawer {
    transition: none;
  }
}

@media (forced-colors: active) {
  .drawer.accueco-site-drawer {
    background: Canvas;
    border-right-color: CanvasText;
    color: CanvasText;
  }

  .drawer.accueco-site-drawer .drawer-links a,
  .drawer.accueco-site-drawer .accueco-drawer-social__control,
  .drawer.accueco-site-drawer .close-btn {
    border-color: ButtonText;
    color: LinkText;
  }

  .drawer.accueco-site-drawer .drawer-links a.is-current {
    background: Highlight;
    border-color: HighlightText;
    color: HighlightText;
  }

  .drawer.accueco-site-drawer .drawer-links a.is-current::before {
    background: HighlightText;
  }

  .drawer.accueco-site-drawer .accueco-drawer-social__control.is-disabled {
    color: GrayText;
  }
}
