  :root{
    --navy:#0F1B22;
    --navy-2:#152631;
    --green:#4E9F3D;
    --green-light:#66BF52;
    --paper:#F5F6F3;
    --ink:#182420;
    --muted:#6B7A75;
    --muted-2:#9DA9A4;
    --line:#E4E7E2;
    --line-dark:rgba(255,255,255,.12);
    --amber:#E0A93A;
    --red:#D9603B;
    --radius:10px;
    --ease:cubic-bezier(.22,.8,.32,1);
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} *{animation-duration:.001ms !important;transition-duration:.001ms !important;} }
  body{font-family:'Vazirmatn',sans-serif;background:var(--paper);color:var(--ink);line-height:1.7;}
  img{display:block;width:100%;height:100%;object-fit:cover;}
  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}
  button{font-family:inherit;cursor:pointer;border:none;background:none;}
  .mono{font-family:'JetBrains Mono',monospace;direction:ltr;unicode-bidi:isolate;}
  .wrap{max-width:1240px;margin:0 auto;padding:0 32px;}
  :focus-visible{outline:2px solid var(--green);outline-offset:3px;}
  .kicker{
    display:flex;align-items:center;gap:10px;
    font-size:13px;font-weight:600;color:var(--green);
    margin-bottom:10px;
  }
  .kicker::before{content:"";width:22px;height:2px;background:var(--green);border-radius:2px;}
  .section-top{
    display:flex;justify-content:space-between;align-items:flex-end;
    margin-bottom:40px;flex-wrap:wrap;gap:16px;
  }
  .section-top h2{font-size:clamp(24px,3vw,34px);font-weight:800;}
  .see-all{
    font-size:14px;font-weight:600;color:var(--ink);
    display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--ink);
    padding-bottom:3px;transition:color .2s,border-color .2s;
  }
  .see-all:hover{color:var(--green);border-color:var(--green);}
  section{padding:90px 0;}
  .reveal{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .7s var(--ease);}
  .reveal.in{opacity:1;transform:translateY(0);}
  .reveal.in:nth-child(1){transition-delay:0s;}
  .reveal.in:nth-child(2){transition-delay:.08s;}
  .reveal.in:nth-child(3){transition-delay:.16s;}
  .reveal.in:nth-child(4){transition-delay:.24s;}
  .reveal.in:nth-child(5){transition-delay:.32s;}
  .reveal.in:nth-child(6){transition-delay:.4s;}

  /* ===== SCROLL PROGRESS ===== */
  .scroll-progress{
    position:fixed;top:0;right:0;left:0;height:3px;z-index:300;
    background:linear-gradient(90deg,var(--green),var(--green-light));
    transform-origin:right;transform:scaleX(0);
    transition:transform .1s linear;
  }

  /* ===== MARQUEE TICKER ===== */
  .ticker{
    background:var(--navy);overflow:hidden;padding:16px 0;
    border-bottom:1px solid var(--line-dark);position:relative;z-index:15;
  }
  .ticker-track{
    display:flex;gap:0;width:max-content;
    animation:tickerScroll 32s linear infinite;
  }
  .ticker:hover .ticker-track{animation-play-state:paused;}
  .ticker-item{
    display:flex;align-items:center;gap:14px;padding:0 32px;
    font-family:'JetBrains Mono',monospace;font-size:13px;color:var(--muted-2);
    white-space:nowrap;
  }
  .ticker-item b{color:var(--green-light);font-weight:600;}
  .ticker-item .dot{width:4px;height:4px;border-radius:50%;background:var(--muted-2);}
  @keyframes tickerScroll{ from{transform:translateX(0);} to{transform:translateX(-50%);} }

  /* ===== CARD TILT (JS-driven) ===== */
  .route-card, .tour-card, .guide-card{ will-change:transform; transform-style:preserve-3d; }
  .route-card{ transition:transform .35s var(--ease), box-shadow .35s; }
  .tour-card{ transition:transform .35s var(--ease), box-shadow .35s !important; }
  .guide-photo{ will-change:transform; }

  /* ===== HERO ACCENT ===== */
  .hero h1 span{
    background:linear-gradient(90deg, var(--green-light), #a8e08f, var(--green-light));
    background-size:200% auto;
    -webkit-background-clip:text; background-clip:text; color:transparent;
    animation:shimmer 4s linear infinite;
  }
  @keyframes shimmer{ to{ background-position:200% center; } }
  .hero-content{ opacity:0; transform:translateY(18px); animation:heroIn 1s var(--ease) .2s forwards; }
  @keyframes heroIn{ to{ opacity:1; transform:translateY(0); } }
  .hero-spotlight{
    position:absolute;inset:0;z-index:4;pointer-events:none;
    background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(102,191,82,.15), transparent 60%);
    opacity:0;transition:opacity .4s;
  }
  .hero:hover .hero-spotlight{opacity:1;}
  @media (max-width:820px){ .hero-spotlight{display:none;} }

  /* ===== MAGNETIC BUTTON ===== */
  .btn-solid, .btn-outline{ will-change:transform; }

  /* ===== TESTIMONIAL CAROUSEL ===== */
  .testi-viewport{ overflow:hidden; }
  .testi-grid{ transition:transform .55s var(--ease); }
  @media (max-width:900px){
    .testi-grid{ display:flex; }
    .testi-card{ flex:0 0 100%; }
  }

  @media (prefers-reduced-motion:reduce){
    .ticker-track{animation:none;}
    .hero h1 span{animation:none;}
    .hero-content{animation:none;opacity:1;transform:none;}
  }

  /* ===== HEADER ===== */
  header{
    position:fixed;top:0;left:0;right:0;z-index:200;
    background: rgba(15,27,34,.94);padding:10px 0 15px 0;
    transition:background .35s var(--ease), padding .35s var(--ease), box-shadow .35s;
  }
  header.scrolled{background:rgba(15,27,34,.94);backdrop-filter:blur(8px);padding:14px 0;box-shadow:0 6px 24px rgba(0,0,0,.18);}
  header .wrap{display:flex;align-items:center;justify-content:space-between;}
  .logo{display:flex;align-items:center;gap:9px;color:#fff;font-weight:800;font-size:20px;}
  .logo svg{flex-shrink:0;}
  nav.mainnav ul{display:flex;align-items:center;gap:30px;}
  nav.mainnav a{color:#EAEFEC;font-size:14.5px;opacity:.9;transition:opacity .2s,color .2s;}
  nav.mainnav a:hover{opacity:1;}
  .nav-contact{
    background:var(--green);color:#fff !important;padding:10px 22px;border-radius:6px;
    opacity:1 !important;font-weight:600;transition:background .2s;
  }
  .nav-contact:hover{background:var(--green-light);color:#fff !important;}
  .menu-btn{
    display:none;color:#fff;background:none;border:0;
    position:relative;z-index:210;
    width:40px;height:40px;
    align-items:center;justify-content:center;
  }
  .menu-btn .icon-burger,.menu-btn .icon-close{ grid-area:1/1; transition:opacity .2s, transform .3s var(--ease); }
  .menu-btn .icon-wrap{ display:grid; }
  .menu-btn .icon-close{ opacity:0; transform:rotate(-90deg) scale(.6); }
  .menu-btn.open .icon-burger{ opacity:0; transform:rotate(90deg) scale(.6); }
  .menu-btn.open .icon-close{ opacity:1; transform:rotate(0) scale(1); }
  nav.mainnav{
    display: flex;
    gap: 23px;
  }
  @media (max-width:960px){
    nav.mainnav{
      position:fixed;inset:0;background:var(--navy);
      display:flex;align-items:center;justify-content:center;
      transform:translateY(-100%);transition:transform .4s var(--ease);
      z-index:150;
      overflow-y:auto;-webkit-overflow-scrolling:touch;
      padding:100px 24px 40px;
      flex-direction: column;
    }
    nav.mainnav.open{transform:translateY(0);}
    nav.mainnav ul{flex-direction:column;gap:26px;}
    nav.mainnav a{font-size:20px;}
    .menu-btn{display:flex;}
  }
  html.nav-locked{ overflow:hidden; }
  body.nav-locked{ overflow:hidden; position:fixed; left:0; right:0; width:100%; }

    .nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: .25s ease;
    background: var(--green);
 }

 .nav-login:hover{
  background: var(--green-light);color: white; }

  /* ===== HERO ===== */
  .hero{
    position:relative;min-height:100svh;display:flex;flex-direction:column;
    overflow:hidden;background:var(--navy);
  }
  .hero-slides{position:absolute;inset:0;}
  .hero-slide{
    position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;
  }
  .hero-slide.active{opacity:1;}
  .hero-slide::after{
    content:"";position:absolute;inset:0;
    background:linear-gradient(100deg, rgba(10,17,22,.92) 0%, rgba(10,17,22,.65) 42%, rgba(10,17,22,.2) 70%);
  }
  .hero-content{position:relative;z-index:5;flex:1 1 auto;display:flex;align-items:center;justify-content:flex-end;padding-top:120px;}
  .hero-content .wrap{max-width:680px;margin:0;}
  .hero h1{
    font-size:clamp(36px,5.4vw,64px);font-weight:800;line-height:1.18;color:#fff;
    margin-top:14px;
  }
  .hero h1 span{color:var(--green-light);}
  .hero p{margin-top:22px;color:#D6DEDA;font-size:16.5px;max-width:520px;}
  .hero-actions{margin-top:36px;display:flex;gap:16px;flex-wrap:wrap;}
  .btn-solid{
    background:var(--green);color:#fff;padding:15px 28px;border-radius:6px;font-weight:700;font-size:15px;
    display:inline-flex;align-items:center;gap:8px;transition:background .25s,transform .25s;
  }
  .btn-solid:hover{background:var(--green-light);transform:translateY(-2px);}
  .btn-outline{
    border:1px solid rgba(255,255,255,.35);color:#fff;padding:15px 24px;border-radius:6px;font-size:15px;
    display:inline-flex;align-items:center;gap:10px;transition:background .25s,border-color .25s;
  }
  .btn-outline:hover{background:rgba(255,255,255,.08);border-color:#fff;}
  .btn-outline .playdot{
    width:26px;height:26px;border-radius:50%;background:var(--green);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
  }


  /* ===== hero controls band — a full-width row pinned below the text, never overlapping it ===== */
  .hero-controls{
    position:relative;z-index:6;flex:0 0 auto;
    display:flex;align-items:center;justify-content:center;
    padding:0 24px calc(28px + env(safe-area-inset-bottom,0px));
    gap: 20px;
  }
  .hero-dots{ display:flex;align-items:center;gap:10px; }
  @media (max-width:960px){ .hero-dots{gap:14px;} }
  @media (max-width:520px){ .hero-dots{gap:16px;} }
  .hero-dots button{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.35);transition:background .25s,width .25s;flex-shrink:0;}
  .hero-dots button.active{background:var(--green-light);width:22px;border-radius:5px;}
  @media (max-width:960px){
    .hero-dots button{width:10px;height:10px;padding:0;position:relative;}
    .hero-dots button::before{content:"";position:absolute;inset:-10px;}
    .hero-dots button.active{width:26px;}
  }

  /* hero prev/next arrows — pinned to the left/right edges of the bottom band, clear of the text above */
  .hero-arrow{
    bottom:0;z-index:6;
    width:44px;height:44px;border-radius:50%;
    background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.28);
    display:flex;align-items:center;justify-content:center;color:#fff;
    backdrop-filter:blur(6px);
    transition:background .25s,border-color .25s,transform .25s;
  }
  .hero-arrow.prev{right:24px;}
  .hero-arrow.next{left:24px;}
  .hero-arrow:hover{background:var(--green);border-color:var(--green);}
  .hero-arrow svg{transition:transform .25s;}
  .hero-arrow.prev:hover svg{transform:translateX(3px);}
  .hero-arrow.next:hover svg{transform:translateX(-3px);}
  @media (max-width:820px){
    .hero-arrow{width:40px;height:40px;}
    .hero-arrow.prev{right:14px;}
    .hero-arrow.next{left:14px;}
  }
  @media (max-width:520px){
    .hero-arrow{width:36px;height:36px;}
    .hero-arrow.prev{right:8px;}
    .hero-arrow.next{left:8px;}
  }

  /* ===== STATS BAR (overlaps hero) ===== */
  .stats-bar-wrap{position:relative;z-index:20;}
  .stats-bar{
    background:#fff;border-radius:var(--radius);
    box-shadow:0 20px 50px rgba(15,27,34,.18);
    margin-top:50px;
    display:grid;grid-template-columns:repeat(4,1fr);
    position:relative;
  }
  .stat-item{
    display:flex;align-items:center;gap:16px;padding:30px 26px;
    border-left:1px solid var(--line);
  }
  .stat-item:last-child{border-left:0;}
  .stat-item .ic{
    width:46px;height:46px;border-radius:50%;background:#EEF6EC;color:var(--green);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
  }
  .stat-item b{font-size:26px;font-weight:800;display:block;}
  .stat-item span{font-size:13px;color:var(--muted);}
  @media (max-width:820px){
    .stats-bar{grid-template-columns:repeat(2,1fr);}
    .stat-item:nth-child(2){border-left:0;}
    .stat-item:nth-child(3){border-top:1px solid var(--line);}
    .stat-item:nth-child(4){border-top:1px solid var(--line);}
  }

  /* ===== ROUTES ===== */
  .routes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
  .route-card{
    position:relative;border-radius:var(--radius);overflow:hidden;height:360px;
    box-shadow:0 10px 30px rgba(15,27,34,.1);
  }
  .route-card img{transition:transform .6s var(--ease);}
  .route-card:hover img{transform:scale(1.06);}
  .route-card::after{
    content:"";position:absolute;inset:0;
    background:linear-gradient(0deg, rgba(10,17,22,.85) 0%, rgba(10,17,22,.1) 55%, transparent 75%);
  }
  .route-badge{
    position:absolute;top:18px;right:18px;z-index:3;
    padding:6px 14px;border-radius:20px;font-size:12.5px;font-weight:700;color:#fff;
  }
  .badge-easy{background:var(--green);}
  .badge-mid{background:var(--amber);}
  .badge-hard{background:var(--red);}
  .route-info{position:absolute;bottom:22px;right:22px;left:22px;z-index:3;color:#fff;}
  .route-info h3{font-size:20px;font-weight:700;margin-bottom:8px;}
  .route-info .meta{display:flex;gap:14px;font-size:12.5px;color:#D6DEDA;}
  @media (max-width:900px){ .routes-grid{grid-template-columns:1fr;} }

  /* ===== TOURS ===== */
  .tours{background:#fff;}
  .tours-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
  .tour-card{
    border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
    transition:box-shadow .3s,transform .3s;background:#fff;
  }
  .tour-card:hover{box-shadow:0 16px 34px rgba(15,27,34,.12);transform:translateY(-4px);}
  .tour-img{height:190px;position:relative;overflow:hidden;}
  .tour-img img{transition:transform .6s var(--ease);}
  .tour-card:hover .tour-img img{transform:scale(1.08);}
  .tour-save{
    position:absolute;top:12px;left:12px;width:34px;height:34px;border-radius:50%;
    background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:var(--ink);
  }
  .tour-body{padding:20px 20px 22px;}
  .tour-body h3{font-size:17px;font-weight:700;margin-bottom:12px;}
  .tour-meta{display:flex;justify-content:space-between;font-size:12.5px;color:var(--muted);margin-bottom:16px;}
  .tour-meta span{display:flex;align-items:center;gap:6px;}
  .tour-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:14px;}
  .tour-price{font-weight:800;font-size:16px;color:var(--ink);}
  .tour-price small{font-size:11.5px;font-weight:400;color:var(--muted);margin-right:4px;}
  .tour-cap{font-size:12px;color:var(--green);font-weight:600;}
  @media (max-width:900px){ .tours-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:600px){ .tours-grid{grid-template-columns:1fr;} }

  /* ===== WHY US ===== */
  .why{background:var(--paper);}
  .why-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:20px;text-align:center;}
  .why-item .ic{
    width:60px;height:60px;border-radius:50%;background:#fff;border:1px solid var(--line);
    display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:var(--green);
    transition:background .25s,color .25s,border-color .25s;
  }
  .why-item:hover .ic{background:var(--green);color:#fff;border-color:var(--green);}
  .why-item h4{font-size:14.5px;font-weight:700;margin-bottom:6px;}
  .why-item p{font-size:12.5px;color:var(--muted);}
  @media (max-width:960px){ .why-grid{grid-template-columns:repeat(3,1fr);row-gap:36px;} }
  @media (max-width:560px){ .why-grid{grid-template-columns:repeat(2,1fr);} }

  /* ===== GUIDES ===== */
  .guides{background:#fff;}
  .guides-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:22px;}
  .guide-card{text-align:center;}
  .guide-photo{
    border-radius:var(--radius);overflow:hidden;aspect-ratio:3/4;margin-bottom:14px;
    position:relative;
  }
  .guide-photo img{transition:transform .5s var(--ease);}
  .guide-card:hover .guide-photo img{transform:scale(1.07);}
  .guide-card h4{font-size:15px;font-weight:700;}
  .guide-card .role{font-size:12.5px;color:var(--muted);margin:4px 0 10px;}
  .guide-social{display:flex;justify-content:center;gap:10px;}
  .guide-social a{
    width:28px;height:28px;border-radius:50%;border:1px solid var(--line);
    display:flex;align-items:center;justify-content:center;color:var(--muted);
    transition:background .2s,color .2s,border-color .2s;
  }
  .guide-social a:hover{background:var(--green);border-color:var(--green);color:#fff;}
  @media (max-width:960px){ .guides-grid{grid-template-columns:repeat(3,1fr);row-gap:34px;} }
  @media (max-width:560px){ .guides-grid{grid-template-columns:repeat(2,1fr);} }

  /* ===== GALLERY ===== */
  .gallery-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;}
  .gallery-grid a{aspect-ratio:1/1;border-radius:8px;overflow:hidden;position:relative;display:block;}
  .gallery-grid img{transition:transform .5s var(--ease);}
  .gallery-grid a:hover img{transform:scale(1.1);}
  @media (max-width:900px){ .gallery-grid{grid-template-columns:repeat(3,1fr);} }
  @media (max-width:560px){ .gallery-grid{grid-template-columns:repeat(2,1fr);} }

  /* ===== TESTIMONIALS ===== */
  .testimonials{background:var(--navy);color:#fff;}
  .testimonials .section-top{justify-content:center;text-align:center;}
  .testimonials .kicker{justify-content:center;}
  .testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  .testi-card{
    background:var(--navy-2);border-radius:var(--radius);padding:30px;border:1px solid var(--line-dark);
  }
  .stars{color:var(--amber);font-size:14px;margin-bottom:16px;letter-spacing:2px;}
  .testi-card p{color:#D6DEDA;font-size:14.5px;margin-bottom:22px;}
  .testi-who{display:flex;align-items:center;gap:12px;}
  .testi-who .ava{width:42px;height:42px;border-radius:50%;overflow:hidden;flex-shrink:0;}
  .testi-who .name{font-size:14px;font-weight:700;}
  .testi-who .route{font-size:12px;color:var(--muted-2);}
  .testi-dots{display:flex;justify-content:center;gap:8px;margin-top:36px;}
  .testi-dots span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.25);}
  .testi-dots span.active{background:var(--green-light);}
  @media (max-width:900px){ .testi-grid{grid-template-columns:1fr;} }

  /* ===== NEWSLETTER ===== */
  .newsletter{
    background:#0A1116;color:#fff;position:relative;overflow:hidden;
  }
  .newsletter .wrap{position:relative;z-index:2;text-align:center;}
  .newsletter h2{font-size:clamp(24px,3.4vw,36px);font-weight:800;margin-bottom:12px;}
  .newsletter p{color:var(--muted-2);margin-bottom:32px;}
  .nl-form{display:flex;max-width:460px;margin:0 auto;gap:0;border-radius:8px;overflow:hidden;border:1px solid rgba(255,255,255,.18);}
  .nl-form input{
    flex:1;background:transparent;border:0;padding:16px 18px;color:#fff;font-family:inherit;font-size:14.5px;
  }
  .nl-form input::placeholder{color:var(--muted-2);}
  .nl-form button{background:var(--green);color:#fff;padding:0 26px;font-weight:700;font-size:14.5px;transition:background .2s;}
  .nl-form button:hover{background:var(--green-light);}
  .nl-msg{margin-top:14px;font-size:13px;color:var(--green-light);min-height:18px;}
  @media (max-width:520px){ .nl-form{flex-direction:column;border-radius:8px;} .nl-form button{padding:14px;} }

  /* ===== FOOTER ===== */
  footer{background:var(--navy);color:#D6DEDA;padding:70px 0 0;}
  .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:50px;border-bottom:1px solid var(--line-dark);}
  .footer-grid .logo{margin-bottom:16px;}
  .footer-grid p{font-size:13.5px;color:var(--muted-2);max-width:280px;margin-bottom:18px;}
  .footer-social{display:flex;gap:10px;}
  .footer-social a{
    width:32px;height:32px;border-radius:50%;border:1px solid var(--line-dark);
    display:flex;align-items:center;justify-content:center;transition:background .2s,border-color .2s;
  }
  .footer-social a:hover{background:var(--green);border-color:var(--green);}
  .footer-col h5{font-size:14px;font-weight:700;color:#fff;margin-bottom:18px;}
  .footer-col a{display:block;font-size:13.5px;color:var(--muted-2);margin-bottom:12px;transition:color .2s;}
  .footer-col a:hover{color:var(--green-light);}
  .contact-row{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--muted-2);margin-bottom:14px;}
  .footer-bottom{
    display:flex;justify-content:space-between;align-items:center;padding:24px 0;font-size:12.5px;color:var(--muted-2);flex-wrap:wrap;gap:10px;
  }
  @media (max-width:900px){ .footer-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:560px){ .footer-grid{grid-template-columns:1fr;} }
  /* ===== MODERN ANIMATION LAYER ===== */
  .scroll-progress{
    position:fixed;top:0;right:0;left:0;height:3px;z-index:300;
    background:transparent;pointer-events:none;
  }
  .scroll-progress .bar{
    height:100%;width:0%;
    background:linear-gradient(90deg, var(--green), var(--green-light));
    box-shadow:0 0 10px rgba(78,159,61,.6);
    transition:width .1s linear;
  }

  /* hero entrance */
  @keyframes fadeUpIn{ from{opacity:0;transform:translateY(26px);} to{opacity:1;transform:translateY(0);} }
  .hero-content .kicker{animation:fadeUpIn .8s var(--ease) .15s both;}
  .hero h1{animation:fadeUpIn .9s var(--ease) .3s both;}
  .hero p{animation:fadeUpIn .9s var(--ease) .48s both;}
  .hero-actions{animation:fadeUpIn .9s var(--ease) .64s both;}
  .hero-dots{animation:fadeUpIn 1s var(--ease) .8s both;}

  /* ken burns background pan/zoom */
  @keyframes kenburns{
    0%{transform:scale(1) translate(0,0);}
    100%{transform:scale(1.12) translate(-1.5%,-1%);}
  }
  .hero-slide{background-size:cover !important;}
  .hero-slide.active{animation:kenburns 7s ease-out forwards;}

  /* staggered reveal — delay driven by --i custom property */
  .reveal{transition-delay:calc(var(--i, 0) * 90ms);}

  /* tilt-lift on interactive cards */
  .route-card, .tour-card, .guide-card .guide-photo, .testi-card{
    transition:transform .45s var(--ease), box-shadow .45s var(--ease);
  }
  .route-card:hover{transform:translateY(-8px);box-shadow:0 24px 50px rgba(15,27,34,.32);}
  .tour-card:hover{box-shadow:0 20px 40px rgba(78,159,61,.18);}
  .guide-card:hover .guide-photo{transform:translateY(-6px);box-shadow:0 18px 34px rgba(15,27,34,.2);}
  .testi-card{transition:transform .4s var(--ease), border-color .4s var(--ease);}
  .testi-card:hover{transform:translateY(-6px);border-color:var(--green);}

  /* button micro-interaction */
  .btn-solid, .nl-form button{position:relative;overflow:hidden;}
  .btn-solid::after, .nl-form button::after{
    content:"";position:absolute;inset:0;border-radius:inherit;
    background:radial-gradient(circle, rgba(255,255,255,.35) 0%, transparent 60%);
    opacity:0;transform:scale(0.4);transition:opacity .5s, transform .5s;
  }
  .btn-solid:hover::after, .nl-form button:hover::after{opacity:1;transform:scale(1);}
  .btn-solid, .btn-outline{transition:transform .3s var(--ease), background .25s, border-color .25s, box-shadow .3s;}
  .btn-solid:hover{box-shadow:0 12px 26px rgba(78,159,61,.35);}
  .btn-outline:hover{transform:translateY(-2px);}

  /* image shimmer skeleton while loading */
  .img-lazy{position:relative;background:linear-gradient(100deg,#e6e8e4 20%,#f2f3f0 40%,#e6e8e4 60%);background-size:200% 100%;animation:shimmer 1.6s ease-in-out infinite;}
  @keyframes shimmer{0%{background-position:150% 0;}100%{background-position:-50% 0;}}
  .img-lazy img{opacity:0;transition:opacity .5s var(--ease);}
  .img-lazy.loaded{animation:none;background:none;}
  .img-lazy.loaded img{opacity:1;}

  /* nav underline scrollspy indicator */
  nav.mainnav a.navlink{position:relative;padding-bottom:4px;}
  nav.mainnav a.navlink::after{
    content:"";position:absolute;bottom:0;right:0;width:0;height:2px;
    background:var(--green-light);transition:width .3s var(--ease);
  }
  nav.mainnav a.navlink:hover::after, nav.mainnav a.navlink.active::after{width:100%;}
  nav.mainnav a.navlink.active{color:#fff;opacity:1;}

  /* stats count-up number pop */
  .stat-item b{transition:transform .3s var(--ease);}
  .stats-bar.in .stat-item b{animation:popIn .5s var(--ease) both;}
  @keyframes popIn{ from{transform:scale(.7);opacity:0;} to{transform:scale(1);opacity:1;} }

  /* back to top button */
  .back-to-top{
    position:fixed;bottom:28px;left:28px;z-index:150;
    width:48px;height:48px;border-radius:50%;
    background:var(--navy);color:#fff;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 10px 26px rgba(15,27,34,.3);
    opacity:0;visibility:hidden;transform:translateY(12px);
    transition:opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .25s;
  }
  .back-to-top.show{opacity:1;visibility:visible;transform:translateY(0);}
  .back-to-top:hover{background:var(--green);}
  .back-to-top svg{transition:transform .3s var(--ease);}
  .back-to-top:hover svg{transform:translateY(-2px);}

  /* gallery hover zoom+fade caption */
  .gallery-grid a{position:relative;}
  .gallery-grid a::before{
    content:"";position:absolute;inset:0;z-index:2;
    background:linear-gradient(0deg, rgba(15,27,34,.55), transparent 60%);
    opacity:0;transition:opacity .35s var(--ease);
  }
  .gallery-grid a:hover::before{opacity:1;}

  @media (prefers-reduced-motion:reduce){
    .hero-content .kicker, .hero h1, .hero p, .hero-actions, .hero-dots{animation:none !important;}
    .hero-slide.active{animation:none !important;}
  }

  /* =========================
   USER PROFILE
========================= */

.header-actions {
    display: flex;
    align-items: center;
    position: relative;
}

.user-menu {
    position: relative;
    direction: rtl;
}

.user-profile-btn {
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 8px;
    cursor: pointer;
    color: #fff;
    border-radius: 14px;
    transition: .2s ease;
     background: #646e64;
}

.user-profile-btn:hover {
    background: #9bbe9b;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.25;
}

.user-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.user-role {
    font-size: 11px;
    color: #fff;
    margin-top: 2px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    position: relative;
    flex-shrink: 0;
}

.user-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.online-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    background: #4E9F3D;
    border: 2px solid #fff;
    border-radius: 50%;
    bottom: 1px;
    left: 1px;
}

.user-arrow {
    color: #fff;
    transition: transform .25s ease;
}

.user-menu.active .user-arrow {
    transform: rotate(180deg);
}


/* =========================
   DROPDOWN
========================= */

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 270px;

    background: rgba(255,255,255,.98);
    border: 1px solid #eeeeee;
    border-radius: 18px;

    box-shadow:
        0 15px 45px rgba(0,0,0,.12),
        0 3px 10px rgba(0,0,0,.04);

    padding: 8px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    z-index: 9999;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}


/* User information */

.dropdown-user {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px;
}

.dropdown-avatar {
    position: relative;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.dropdown-avatar img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dropdown-user-info strong {
    font-size: 14px;
    color: #222;
    margin-bottom: 3px;
}

.dropdown-user-info span {
    font-size: 11px;
    color: #888;
    direction: ltr;
    text-align: right;
}


/* Divider */

.dropdown-divider {
    height: 1px;
    background: #eeeeee;
    margin: 6px 4px;
}


/* Menu item */

.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 11px;

    width: 100%;
    padding: 10px 11px;

    border-radius: 11px;

    text-decoration: none !important;

    color: #333 !important;
    font-size: 13px;
    font-weight: 500;

    transition: .18s ease;
}

.dropdown-item:hover {
    background: #f3f7f2;
    color: #4E9F3D !important;
}

.dropdown-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #f5f7f5;
    color: #666;

    transition: .18s ease;
}

.dropdown-item:hover .dropdown-icon {
    background: #e8f2e5;
    color: #4E9F3D;
}


/* Logout */

.logout-item {
    color: #d9534f !important;
}

.logout-item:hover {
    background: #fff3f2 !important;
    color: #d9534f !important;
}

.logout-item:hover .dropdown-icon {
    background: #ffe5e3;
    color: #d9534f;
}


/* Login button */

.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    text-decoration: none;

    padding: 9px 17px;

    border-radius: 11px;

    background: #4E9F3D;
    color: #fff !important;

    font-size: 13px;
    font-weight: 600;

    transition: .2s ease;
}

.nav-login:hover {
    background: #3e8530;
    transform: translateY(-1px);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .user-info {
        display: none;
    }

    .user-profile-btn {
        padding: 3px;
    }

    .user-arrow {
        display: none;
    }

    .user-dropdown {
        left: -10px;
        right: auto;
        width: 260px;
    }

}