:root{
  --green-900:#206B00;
  --green-700:#2D9600;
  --green-500:#3CB450;
  --slate-700:#50555A;
  --sage-600:#73877D;
  --mist-300:#C3CDCD;
  --ink:#2f353a;
  --muted:#50555A;
  --white:#fff;

  /* Header transition palette */
  --header-bg-default: rgba(255,255,255,.72);
  --header-bg-hover: #ffffff;
  --header-text-default: #50555A;
  --header-text-hover: #2f353a;
  --header-line-default: rgba(80,85,90,.18);
  --header-line-hover: rgba(80,85,90,.28);

  --ease: 340ms cubic-bezier(.22,.61,.36,1);
  --container: min(1280px, 92vw);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:#fbfdfc;
  color:var(--ink);
}

/* --- Background hero scene --- */
.page{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(1400px 760px at 78% 40%, #ffffff 0%, #fbfdfb 46%, #f3f8f5 70%, #e8f0eb 88%, #dde8e2 100%);
}
.page::after{
  /* subtle flowing lines */
  content:"";
  position:absolute;
  inset:auto -10% -15% -10%;
  height:58%;
  background:
    repeating-radial-gradient(120% 110% at 70% 110%,
      rgba(115,135,125,.10) 0 1px,
      transparent 1px 16px);
  opacity:.16;
  pointer-events:none;
  transform:translateY(6%);
}

/* --- Header --- */
.site-header{
  position:relative;
  z-index:20;
  color:var(--header-text-default);
  transition:color var(--ease);
  backdrop-filter: blur(2px);
}
.site-header::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--header-bg-default);
  border-bottom:1px solid var(--header-line-default);
  transition:
    background-color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
  z-index:-1;
}

.utility-nav,
.main-nav{
  width:var(--container);
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:2rem;
  transition:color var(--ease), border-color var(--ease);
}

.utility-nav{
  min-height:42px;
  font-size:.82rem;
  font-weight:500;
  letter-spacing:.2px;
  border-bottom:0;
  position:relative;
}

.utility-nav::after{
  content:"";
  position:absolute;
  left:320px;
  right:0;
  bottom:0;
  height:1px;
  background:var(--header-line-default);
  transition:background-color var(--ease);
}

.main-nav{
  min-height:72px;
  justify-content:space-between;
  border-top:0;
}

.brand{
  line-height:1;
  text-decoration:none;
  color:inherit;
  display:flex;
  align-items:center;
  min-width:230px;
  transform:translateY(-16px);
}
.brand__logo{
  width:192px;
  max-width:100%;
  height:auto;
  display:block;
}

.utility-links, .menu{
  display:flex;
  align-items:center;
  gap:1.7rem;
  list-style:none;
  margin:0;
  padding:0;
  white-space:nowrap;
}

a{color:inherit;text-decoration:none}
.menu a, .utility-links a{
  transition:opacity var(--ease), color var(--ease);
}
.menu a:hover, .utility-links a:hover{opacity:.7}

.cta-contact{
  border:0;
  padding:.55rem .95rem;
  border-radius:999px;
  background:linear-gradient(135deg, var(--green-900), var(--green-700));
  color:#fff;
  font-weight:600;
  cursor:pointer;
  font-size:.78rem;
}

.menu-wrap{
  display:flex;
  align-items:center;
  gap:2rem;
}

.search-btn{
  width:33px;height:33px;
  border-radius:50%;
  border:2px solid currentColor;
  background:transparent;
  position:relative;
  cursor:pointer;
  transition:color var(--ease), border-color var(--ease), transform .2s ease;
}
.search-btn::after{
  content:"";
  width:10px;height:2px;
  background:currentColor;
  position:absolute;
  right:-6px;bottom:5px;
  transform:rotate(45deg);
  border-radius:2px;
}
.search-btn:hover{transform:scale(1.05)}

/* Smooth color swap on hover / focus */
.site-header:hover,
.site-header:focus-within{
  color:var(--header-text-hover);
}
.site-header:hover::before,
.site-header:focus-within::before{
  background:var(--header-bg-hover);
  border-color:var(--header-line-hover);
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}
.site-header:hover .utility-nav,
.site-header:focus-within .utility-nav{
  border-bottom-color:transparent;
}
.site-header:hover .utility-nav::after,
.site-header:focus-within .utility-nav::after{
  background:var(--header-line-hover);
}

/* --- Hero --- */
.hero{
  width:var(--container);
  margin-inline:auto;
  min-height:calc(100vh - 114px);
  display:grid;
  grid-template-columns: 1.02fr .98fr;
  align-items:center;
  gap:2rem;
  position:relative;
  z-index:3;
  padding:0.15rem 0 5rem;
}

.hero__content{
  align-self:start;
  padding-top:2.4rem;
}

.hero__content h1{
  margin:.4rem 0 1rem;
  font-size:clamp(1.6rem, 3.8vw, 3.8rem);
  line-height:1.07;
  font-weight:800;
  max-width:12ch;
  letter-spacing:.2px;
  text-wrap:balance;
}
.hero__content p{
  margin:0 0 2.8rem;
  font-size:clamp(1rem,1.7vw,2rem);
  font-weight:600;
  max-width:28ch;
  color:rgba(80,85,90,.95);
}
.btn-primary{
  border:0;
  border-radius:999px;
  padding:1rem 2rem;
  font-size:1.1rem;
  font-weight:600;
  color:#fff;
  background:linear-gradient(135deg,var(--green-900),var(--green-500));
  box-shadow:0 10px 24px rgba(45,150,0,.28);
  cursor:pointer;
  transition:transform .2s ease, filter .2s ease;
}
.btn-primary:hover{transform:translateY(-2px);filter:brightness(1.03)}

/* Right visual mock */
.hero__visual{
  position:relative;
  min-height:520px;
  display:grid;
  place-items:center;
  overflow:visible;
  align-self:center;
}

.ring{
  width:min(760px, 118%);
  aspect-ratio:1/1;
  border-radius:0;
  background:transparent;
  position:relative;
  filter:none;
  overflow:visible;
}

.hero__photo{
  position:absolute;
  left:4.00%;
  top:-2.50%;
  width:84.80%;
  height:84.80%;
  display:block;
  border:0;
  pointer-events:none;
}

.tile{
  position:absolute;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 26px rgba(80,85,90,.20);
}
.tile--orange{
  background:linear-gradient(135deg,var(--green-900),var(--green-700));
  width:56%;
  height:27%;
  top:15%;
  left:20%;
  border-radius:0;
  clip-path:polygon(0 0, 100% 0, 85% 100%, 0 100%);
}
.tile--person-1{
  width:38%;
  height:46%;
  left:28%; top:31%;
  background:
    linear-gradient(180deg,#73877d 0%,#50555A 100%),
    radial-gradient(circle at 50% 20%,#c3cdcd 0 16%,transparent 17%);
}
.tile--person-2{
  width:33%;
  height:44%;
  right:17%; top:34%;
  background:
    linear-gradient(180deg,#73877d 0%,#50555A 70%);
  outline:10px solid rgba(60,180,80,.45);
  outline-offset:-10px;
}
.tile--ship{
  width:62%;
  height:22%;
  left:18%;
  bottom:13%;
  background:linear-gradient(180deg,#3CB450,#206B00);
  border-radius:18px 18px 30px 30px;
}

.dot-grid{
  position:absolute;
  right:18%;
  top:32%;
  width:21%;
  aspect-ratio:1;
  background:
    radial-gradient(circle, rgba(45,150,0,.88) 2px, transparent 2.5px);
  background-size:14px 14px;
  opacity:.85;
  border-radius:18px;
}

.spark{
  position:absolute;
  right:14%;
  bottom:34%;
  width:52px;
  aspect-ratio:1;
  background:
    conic-gradient(from 0deg, #9bd28b, #2D9600, #C3CDCD, #3CB450, #9bd28b);
  clip-path:polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter:drop-shadow(0 3px 8px rgba(45,150,0,.45));
}

/* Slider indicator */
.hero__progress{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:30px;
  width:min(440px,58vw);
  height:8px;
  border-radius:999px;
  background:rgba(80,85,90,.20);
  overflow:hidden;
}
.hero__progress::after{
  content:"";
  display:block;
  width:24%;
  height:100%;
  background:linear-gradient(90deg,var(--green-900),var(--green-500));
  border-radius:999px;
  margin-left:40%;
}

/* Chat FAB */
.chat-fab{
  position:fixed;
  right:26px;
  bottom:24px;
  width:66px;height:66px;
  border:none;
  border-radius:50%;
  background:linear-gradient(135deg,var(--green-900),var(--green-500));
  box-shadow:0 16px 28px rgba(45,150,0,.30);
  cursor:pointer;
  z-index:25;
}
.chat-fab::before{
  content:"";
  position:absolute;
  inset:18px 16px 20px 16px;
  border:3px solid #fff;
  border-radius:8px;
}
.chat-fab::after{
  content:"";
  position:absolute;
  width:11px;height:11px;
  border-left:3px solid #fff;
  border-bottom:3px solid #fff;
  left:26px; bottom:18px;
  transform:skewX(-18deg) rotate(-10deg);
  border-radius:0 0 0 2px;
}

/* --- Responsive --- */
@media (max-width: 1120px){
  .utility-links{display:none}
  .main-nav{min-height:68px}
  .hero{grid-template-columns:1fr; gap:1rem; padding-top:1.5rem}
  .hero__content{order:2; text-align:left}
  .hero__visual{order:1; min-height:420px}
  .hero__content h1{max-width:16ch}
  .hero__content p{max-width:38ch}
  .hero__progress{bottom:16px}
}

@media (max-width: 760px){
  .brand{min-width:auto; transform:translateY(-8px)}
  .brand__logo{width:148px}
  .menu{display:none}
  .menu-wrap{gap:.8rem}
  .utility-nav{display:none}
  .hero{
    min-height:calc(100vh - 68px);
    padding:1rem 0 4.6rem;
  }
  .hero__visual{min-height:320px}
  .btn-primary{font-size:1rem}
  .chat-fab{width:58px;height:58px;right:16px;bottom:16px}
}

@media (prefers-reduced-motion: reduce){
  *{transition:none !important}
}
