﻿:root{
  --black:#000000;
  --navy:#002B49;
  --gold:#9c6827;
  --pink:#F9EAEB;
  --grey:#FAFAFA;
  --beige:#faf7ec;
  --white:#fff;
  --text:#2b2b2b;

  --radius-lg:18px;

  --font-serif:'Vidaloka', serif;
  --font-sans:'Lato', sans-serif;

  --container:1200px;

  /* Fixed layer heights */
  --gb-height:36px;
  --header-height:72px;
  --header-height-m:55px;
}

/* =========================
   RESET + BASE
========================= */
*{ box-sizing:border-box; }
html,body{ height:100%; background:#fff; }

body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--text);
  background:#fff;
  line-height:1.55;
  padding-top:calc(var(--gb-height) + var(--header-height)) !important;
}

img{ max-width:100%; display:block; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 15px;
}

/* =========================
   UTILITIES
========================= */
.clamp-2,
.clamp-3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.clamp-2{ -webkit-line-clamp:2; }
.clamp-3{ -webkit-line-clamp:3; }

/* =========================
   SECTION HEADERS 
========================= */
.section-head{ text-align:left; margin-bottom:30px; }
.section-head.center{ text-align:center; }

.section-title{
  font-family:var(--font-serif);
  color:var(--gold);
  font-weight:400;
  font-size:34px;
  line-height:1.15;
  margin:0;
  text-align:center;
}
.section-subtitle{
  margin:0;
  color:#6a6a6a;
  font-size:13px;
  text-align:center;
}


/* =========================
   MAIN HEADER 
========================= */
.sticky-shell{
  position: fixed;
  top: var(--gb-height);
  left: 0;
  right: 0;
  z-index: 10000;
  transform: translateY(0);
  transition: transform .5s cubic-bezier(0.16,1,0.3,1), background-color .3s, box-shadow .3s;
}

.sticky-shell--hidden{
  transform: translateY(calc(-100% - 8px)) !important;
}
.sticky-shell.scrolled{ box-shadow:0 4px 15px rgba(0,0,0,.10); }

.site-header{
  background:#fff;
  border-bottom:1px solid #efefef;
  height:var(--header-height);
}

.site-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:6px 24px;
  gap:20px;
  position:relative;
}

.brand{ flex:0 0 auto; }
.brand img{
  height:60px;
  width:auto;
  flex-shrink:0;
  max-width:none;
}

.nav{
  display:flex;
  align-items:center;
  gap:34px;
}

.nav a{
  text-decoration:none;
  color:#111;
  font-weight:900;
  letter-spacing:.08em;
  font-size:13px;
  text-transform:uppercase;
}
.nav a:hover{ color:var(--gold); }
.nav .nav-home{ display:none; }


/* =========================
   BURGER
========================= */
.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  cursor:pointer;
  border:0;
  background:transparent;
  align-items:center;
  justify-content:center;
  position:relative;
}

.burger .dot{
  width:5px;
  height:5px;
  background:#111;
  border-radius:50%;
  display:block;
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  transition:opacity .2s ease;
}
.burger .dot:nth-child(1){ top:14px; }
.burger .dot:nth-child(2){ top:20px; }
.burger .dot:nth-child(3){ top:26px; }

.burger .icon-close{
  opacity:0;
  transform:scale(.9);
  transition:opacity .2s ease, transform .2s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}
.burger .icon-close svg{ display:block; fill:#111; }

.menu-open .burger .dot{ opacity:0; }
.menu-open .burger .icon-close{ opacity:1; transform:scale(1); }

/* Mobile nav overlay */
@media (max-width:560px){
  .burger{ display:flex; margin-left:auto; }
  .nav{ display:none; }

  .menu-open .nav{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;

    position:fixed;
    top:50px;
    left:0;
    width:100vw;
    height:100vh;
    gap:10px;

    background:#fffffff5;
    border-radius:0;
    border:none;
    padding:0;
    box-shadow:none;
    z-index:10001;
    animation:fadeSlide .25s ease;
  }

  .menu-open .nav a{
    font-size:20px;
    font-weight:700;
    padding:20px;
    width:100%;
    text-align:center;
    text-decoration:none;
    color:#000;
  }

  .menu-open .nav a:hover{ background:rgba(0,0,0,.05); }
}

@keyframes fadeSlide{
  from{ opacity:0; transform:translateY(-8px); }
  to{ opacity:1; transform:translateY(0); }
}

/* =========================
   BUTTON SYSTEM 
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  font-family:inherit;
  font-weight:800;
  letter-spacing:.02em;
  border-radius:999px;
  padding:10px 18px;
  line-height:1;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}

.btn .material-symbols-outlined{
  font-size:18px;
  line-height:1;
}

/* Light pill */
.btn-pill--light{
  position:relative;
  background:rgba(255,255,255,.78);
  color:#111;
  backdrop-filter:blur(10px);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow:
    0 10px 24px rgba(0,0,0,.08),
    inset 0 0 0 1px rgba(255,255,255,.6);
  overflow:hidden;
}

.btn-pill--light:hover{
  background:rgba(255,255,255,.92);
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(0,0,0,.14);
}
.btn-pill--light:active{ transform:translateY(0); }

/* Dark pill */
.btn-pill--dark{
  background:rgba(11,53,81,.92);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 12px 28px rgba(0,0,0,.16);
}
.btn-pill--dark:hover{
  background:rgba(11,53,81,1);
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(0,0,0,.20);
}

/* Outline green pill */
.btn-pill--outline-green{
  background:transparent;
  color:#1a7f3c;
  border:2px solid rgba(26,127,60,.55);
}
.btn-pill--outline-green:hover{
  background:rgba(26,127,60,.08);
  transform:translateY(-1px);
}

/* Focus */
.btn:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(18,104,179,.25), 0 10px 24px rgba(0,0,0,.12);
}

/* Mobile sizing */
@media (max-width:520px){
  .btn{ padding:11px 16px; }
  .btn .material-symbols-outlined{ font-size:18px; }
}

/* Gradient BORDER hover (border only) */
.btn-pill--light::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  padding:2px;
  background:linear-gradient(90deg,#4EB857,#1268B3,#4EB857);
  background-size:200% 100%;
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  opacity:0;
  transition:opacity .25s ease;
}

@media (hover:hover) and (pointer:fine){
  .btn-pill--light:hover::before{
    opacity:1;
    animation:gradientShift 1.8s linear infinite;
  }
}
.btn-pill--light:focus-visible::before{
  opacity:1;
  animation:gradientShift 1.8s linear infinite;
}

@keyframes gradientShift{
  0%{ background-position:0% 50%; }
  100%{ background-position:200% 50%; }
}

@media (prefers-reduced-motion: reduce){
  .btn-pill--light:hover::before,
  .btn-pill--light:focus-visible::before{ animation:none; }
}

/* =========================
   FOOTER 
========================= */
.main-footer{
  background:#111;
  color:#d9d9d9;
  padding:50px 0 30px;
  /* margin-top: 50px; */
}

.footer-top{
  display:flex;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}

.footer-logo{
  height:60px;
  width:auto;
}

.footer-message{
  max-width:400px;
  color:#ccc;
  font-size:14px;
  line-height:1.5;
}

.footer-divider{
  border:0;
  border-top:1px solid #333;
  margin:40px 0;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  font-size:13px;
  color:#aaa;
}

.footer-copy{ margin:0; }

.footer-nav{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  gap:24px;
}

.footer-nav a{
  color:#aaa;
  text-decoration:none;
  transition:opacity .2s ease;
}
.footer-nav a:hover{ opacity:.7; }

@media (max-width:767px){
  .footer-nav, .footer-copy{ margin:0 auto; }
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }
  .footer-top{
    flex-wrap:nowrap;
    gap:15px;
  }
  .footer-logo{
    height:50px;
    flex-shrink:0;
  }
  .footer-message{
    font-size:12px;
    line-height:1.3;
    max-width:100%;
  }
  .footer-copy{
    text-align:center;
    font-size:12px;
  }
  .footer-nav a{
    display:block;
    font-size:12px;
  }
  .footer-divider{ margin:10px auto; }
  .main-footer{ padding:10px 0 20px; }
}

/* =========================
   VIEWPORT / SCROLL
========================= */
.vh-section{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:140px 0 80px !important;
}

/*html{
  scroll-snap-type:y mandatory;
  scroll-behavior:smooth;
}*/

/* =========================
   GLOBAL RESPONSIVE RULES
========================= */

@media (max-width:1328px){
     .sticky-shell{top:0;}
}

@media (max-width:1020px){
  .hero-title{ font-size:34px; }
  .section-title{ font-size:30px; }
}

@media (max-width:560px){
  .nav .nav-home{ display:block; }
  .smg55-global-bar{ background:#000; height:36px; }
}

@media (max-width:767px){
  .site-header{ height:var(--header-height-m); }
  .brand img{ height:40px; }



  body{
    padding-top:calc(var(--gb-height) + var(--header-height-m)) !important;
  }

  section[id]{
    scroll-margin-top:calc(var(--gb-height) + var(--header-height-m) + 16px);
  }
}