/* ===== Sayr Trip - design tokens ===== */
:root{
  --brand-dark:#081b6e;
  --brand:#2450ff;
  --brand-light:#e8edff;
  --accent:#ffb020;
  --accent-dark:#e89400;
  --ink:#131a33;
  --muted:#666f92;
  --bg:#f6f7fc;
  --card:#ffffff;
  --border:#e5e8f5;
  --radius-lg:22px;
  --radius-md:16px;
  --radius-sm:10px;
  --shadow-soft:0 10px 30px rgba(8,27,110,.10);
  --shadow-hover:0 18px 40px rgba(8,27,110,.16);
  --font-head:'Poppins',sans-serif;
  --font-body:'Manrope',sans-serif;
}

@view-transition{
  navigation:auto;
}
::view-transition-old(root),
::view-transition-new(root){
  animation-duration:.28s;
  animation-timing-function:ease;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  overflow-x:hidden;
}
h1,h2,h3,h4,h5,.font-head{font-family:var(--font-head); font-weight:700; color:var(--brand-dark);}
a{text-decoration:none; color:inherit;}
img{display:block; max-width:100%;}
::selection{background:var(--accent); color:#fff;}

.container{max-width:1220px;}

/* ===== Topbar ===== */
.topbar{
  background:var(--brand-dark);
  color:#cfe8e1;
  font-size:.85rem;
  padding:8px 0;
}
.topbar a{color:#cfe8e1; margin-right:18px; opacity:.9;}
.topbar a:hover{opacity:1; color:#fff;}
.topbar-social a{margin-right:0; margin-left:14px;}

/* ===== Header / Nav ===== */
.site-header{
  background:rgba(251,249,246,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
  z-index:1030;
}
.navbar-brand{
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.5rem;
  text-transform:lowercase;
  letter-spacing:-.02em;
  color:var(--brand) !important;
  display:flex; align-items:center; gap:8px;
}
.navbar-brand i{color:var(--accent);}
.brand-logo{height:34px; width:34px; border-radius:8px; object-fit:cover;}
.footer-brand{display:flex; align-items:center; gap:8px;}
.footer-brand .brand-logo{height:30px; width:30px;}
.nav-link{
  font-weight:600;
  color:var(--ink) !important;
  padding:.5rem 1rem !important;
  border-radius:30px;
  transition:.2s;
}
.nav-link:hover{color:var(--brand) !important; background:var(--brand-light);}

.btn-brand{
  background:var(--accent);
  color:#fff !important;
  font-weight:700;
  border:none;
  border-radius:30px;
  padding:.55rem 1.4rem;
  transition:.2s;
  white-space:nowrap;
}
.btn-brand:hover{background:var(--accent-dark); color:#fff; transform:translateY(-1px);}

.btn-lang{
  border:1px solid var(--border);
  background:#fff;
  border-radius:30px;
  font-weight:700;
  padding:.5rem 1rem;
  color:var(--ink);
}
.lang-form{margin:0;}
.lang-form button{width:100%; text-align:left; border:none; background:none;}
.dropdown-item.active{background:var(--brand-light); color:var(--brand-dark);}

/* ===== Buttons ===== */
.btn-primary-brand{
  background:var(--brand);
  border:none;
  color:#fff;
  font-weight:700;
  padding:.85rem 1.8rem;
  border-radius:30px;
  transition:.25s;
  box-shadow:var(--shadow-soft);
}
.btn-primary-brand:hover{background:var(--brand-dark); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow-hover);}
.btn-outline-brand{
  border:2px solid #fff;
  color:#fff;
  font-weight:700;
  padding:.8rem 1.8rem;
  border-radius:30px;
  transition:.25s;
  background:transparent;
}
.btn-outline-brand:hover{background:#fff; color:var(--brand-dark);}
.btn-accent{
  background:var(--accent);
  border:none;
  color:#fff;
  font-weight:700;
  padding:.85rem 1.8rem;
  border-radius:30px;
  transition:.25s;
  box-shadow:0 10px 24px rgba(255,176,32,.35);
}
.btn-accent:hover{background:var(--accent-dark); color:#fff; transform:translateY(-2px);}

/* ===== Hero ===== */
.hero{
  position:relative;
  background:linear-gradient(160deg,var(--brand-dark) 0%, var(--brand) 60%, #5b82ff 100%);
  color:#fff;
  padding:150px 0 110px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background-image:radial-gradient(circle at 85% 20%, rgba(255,176,32,.25), transparent 45%),
                    radial-gradient(circle at 10% 90%, rgba(255,255,255,.08), transparent 40%);
}
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  padding:.45rem 1rem;
  border-radius:30px;
  font-size:.85rem;
  font-weight:600;
  margin-bottom:22px;
}
.hero h1{
  color:#fff;
  font-size:clamp(2.1rem, 4.2vw, 3.4rem);
  line-height:1.15;
  margin-bottom:20px;
}
.hero h1 span{color:var(--accent);}
.hero p.lead{
  color:rgba(255,255,255,.88);
  font-size:1.1rem;
  max-width:560px;
  margin-bottom:34px;
}
.hero-stats{
  position:relative;
  margin-top:60px;
  padding-top:34px;
  border-top:1px solid rgba(255,255,255,.2);
}
.hero-stat h3{color:#fff; font-size:2rem; margin-bottom:2px;}
.hero-stat span{color:rgba(255,255,255,.75); font-size:.88rem; font-weight:600;}
.hero-visual{
  position:relative;
  aspect-ratio:4/5;
  display:flex; align-items:center; justify-content:center;
}
.hero-visual-blob{
  position:absolute; inset:6%;
  background:linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,176,32,.35));
  border-radius:42% 58% 61% 39% / 45% 40% 60% 55%;
  border:1px solid rgba(255,255,255,.25);
  animation:float-blob 8s ease-in-out infinite;
}
@keyframes float-blob{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-14px) rotate(4deg); }
}
.hero-visual-center{
  position:relative; z-index:2;
  width:150px; height:150px;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.3);
  display:flex; align-items:center; justify-content:center;
  font-size:3.2rem;
  color:#fff;
}
.hero-visual-badge{
  position:absolute;
  background:#fff;
  color:var(--ink);
  border-radius:var(--radius-md);
  padding:14px 18px;
  display:flex; align-items:center; gap:12px;
  box-shadow:var(--shadow-soft);
  z-index:3;
}
.hero-visual-badge i{color:var(--accent); font-size:1.6rem;}
.hero-visual-badge.b1{top:8%; left:0;}
.hero-visual-badge.b2{bottom:14%; right:0;}
.hero-visual-badge.b3{top:46%; left:-4%;}
.hero-visual-badge strong{display:block; font-size:1rem; color:var(--brand-dark);}
.hero-visual-badge small{color:var(--muted); font-size:.75rem;}

/* ===== Section basics ===== */
.section{padding:90px 0;}
.section-sm{padding:60px 0;}
.section-head{max-width:640px; margin:0 auto 50px; text-align:center;}
.eyebrow{
  display:inline-block;
  color:var(--accent);
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.8rem;
  margin-bottom:10px;
}
.section-head h2{font-size:clamp(1.6rem,3vw,2.3rem); margin-bottom:12px;}
.section-head p{color:var(--muted); font-size:1.05rem;}

/* ===== Categories ===== */
.cat-card{
  background:var(--card);
  border-radius:var(--radius-md);
  padding:30px 22px;
  text-align:center;
  border:1px solid var(--border);
  transition:.25s;
  height:100%;
}
.cat-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-hover); border-color:transparent;}
.cat-icon{
  width:64px; height:64px;
  border-radius:50%;
  background:var(--brand-light);
  color:var(--brand);
  display:flex; align-items:center; justify-content:center;
  font-size:1.6rem;
  margin:0 auto 16px;
  transition:.25s;
}
.cat-card:hover .cat-icon{background:var(--accent); color:#fff;}
.cat-card h5{font-size:1.02rem; margin:0;}

/* ===== Tour cards ===== */
.tour-card{
  position:relative;
  background:var(--card);
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--border);
  transition:.25s;
  height:100%;
  display:flex; flex-direction:column;
}
.tour-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-hover);}
.tour-card-img{position:relative; aspect-ratio:4/3; overflow:hidden;}
.tour-card-img img{width:100%; height:100%; object-fit:cover; transition:.4s;}
.tour-card:hover .tour-card-img img{transform:scale(1.08);}
.tour-badge{
  position:absolute; top:14px; left:14px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  font-size:.75rem;
  padding:.35rem .7rem;
  border-radius:30px;
}
.tour-badge-days{
  position:absolute; top:14px; right:14px;
  background:rgba(8,27,110,.85);
  color:#fff;
  font-weight:600;
  font-size:.75rem;
  padding:.35rem .7rem;
  border-radius:30px;
  backdrop-filter:blur(4px);
}
.tour-card-body{padding:22px; display:flex; flex-direction:column; flex:1;}
.tour-loc{color:var(--muted); font-size:.85rem; font-weight:600; margin-bottom:6px; display:flex; align-items:center; gap:6px;}
.tour-loc i{color:var(--accent);}
.tour-card-body h5{font-size:1.12rem; margin-bottom:14px;}
.tour-card-footer{
  margin-top:auto;
  padding-top:16px;
  border-top:1px dashed var(--border);
  display:flex; justify-content:space-between; align-items:center;
}
.tour-price{font-family:var(--font-head); font-weight:800; color:var(--brand); font-size:1.15rem;}
.tour-price small{display:block; color:var(--muted); font-weight:500; font-size:.72rem;}
.tour-old-price{color:var(--muted); text-decoration:line-through; font-size:.85rem; margin-right:6px;}
.btn-tour{
  color:var(--brand);
  font-weight:700;
  font-size:.9rem;
  display:inline-flex; align-items:center; gap:6px;
}
.btn-tour:hover{color:var(--accent-dark);}

/* ===== Why us ===== */
.why-section{background:var(--brand-dark); color:#fff; position:relative; overflow:hidden;}
.why-section::before{
  content:""; position:absolute; inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 90% 10%, rgba(255,176,32,.18), transparent 50%);
}
.why-section .eyebrow{color:var(--accent);}
.why-section .section-head h2{color:#fff;}
.why-section .section-head p{color:rgba(255,255,255,.75);}
.why-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-md);
  padding:30px 24px;
  height:100%;
  transition:.25s;
}
.why-card:hover{background:rgba(255,255,255,.12); transform:translateY(-4px);}
.why-icon{
  width:56px; height:56px;
  border-radius:14px;
  background:var(--accent);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem;
  margin-bottom:18px;
}
.why-card h5{color:#fff; margin-bottom:10px;}
.why-card p{color:rgba(255,255,255,.72); font-size:.94rem; margin:0;}

/* ===== Testimonials ===== */
.testi-card{
  background:var(--card);
  border-radius:var(--radius-md);
  padding:28px;
  border:1px solid var(--border);
  height:100%;
}
.testi-stars{color:#ffb648; margin-bottom:14px; font-size:.9rem;}
.testi-text{color:var(--ink); font-size:.98rem; margin-bottom:20px; font-style:italic;}
.testi-person{display:flex; align-items:center; gap:12px;}
.testi-avatar{
  width:46px; height:46px; border-radius:50%;
  background:var(--brand-light); color:var(--brand);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; overflow:hidden; flex-shrink:0;
}
.testi-avatar img{width:100%; height:100%; object-fit:cover;}
.testi-person h6{margin:0; font-size:.95rem;}
.testi-person span{color:var(--muted); font-size:.8rem;}

/* ===== Founder ===== */
.founder-photo-wrap{
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:4/5;
  box-shadow:var(--shadow-hover);
}
.founder-photo{width:100%; height:100%; object-fit:cover;}
.founder-name{margin-top:6px; margin-bottom:2px;}
.founder-role{color:var(--brand); font-weight:700; margin-bottom:16px;}
.founder-bio{color:var(--muted); margin-bottom:28px;}
.founder-stats{max-width:460px;}
.founder-stat{
  background:var(--brand-light);
  border-radius:var(--radius-md);
  padding:16px 10px;
  text-align:center;
}
.founder-stat h3{color:var(--brand); font-size:1.4rem; margin-bottom:2px;}
.founder-stat span{color:var(--muted); font-size:.78rem; font-weight:600; display:block; line-height:1.3;}

/* ===== CTA banner ===== */
.cta-banner{
  background:linear-gradient(120deg,var(--accent),var(--accent-dark));
  border-radius:var(--radius-lg);
  padding:56px;
  color:#fff;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px;
}
.cta-banner h3{color:#fff; font-size:1.7rem; margin-bottom:8px;}
.cta-banner p{color:rgba(255,255,255,.9); margin:0;}
.cta-banner .btn-primary-brand{background:#fff; color:var(--accent-dark); box-shadow:none;}
.cta-banner .btn-primary-brand:hover{background:var(--brand-dark); color:#fff;}

/* ===== Contact ===== */
.contact-info-card{
  background:var(--brand-dark);
  color:#fff;
  border-radius:var(--radius-lg);
  padding:40px;
  height:100%;
}
.contact-info-card h3{color:#fff;}
.contact-info-card p{color:rgba(255,255,255,.75);}
.contact-info-item{display:flex; gap:16px; margin-top:26px; align-items:flex-start;}
.contact-info-item i{
  width:44px; height:44px; flex-shrink:0;
  background:rgba(255,255,255,.12);
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  color:var(--accent); font-size:1.1rem;
}
.contact-info-item h6{color:#fff; margin-bottom:2px; font-size:.85rem; text-transform:uppercase; letter-spacing:.04em; opacity:.7;}
.contact-info-item div p{margin:0; color:#fff; font-weight:600;}
.contact-form-card{
  background:var(--card);
  border-radius:var(--radius-lg);
  padding:40px;
  border:1px solid var(--border);
  height:100%;
}
.form-control, .form-select{
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  padding:.75rem 1rem;
  font-size:.95rem;
}
.form-control:focus, .form-select:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 .2rem rgba(36,80,255,.14);
}
label{font-weight:600; font-size:.88rem; margin-bottom:6px; color:var(--ink);}

/* ===== Footer ===== */
.site-footer{background:#050f4a; color:rgba(255,255,255,.75); padding:70px 0 24px; margin-top:0;}
.footer-brand{
  font-family:var(--font-head); font-weight:800; font-size:1.5rem;
  text-transform:lowercase; letter-spacing:-.02em;
  color:#fff; display:flex; align-items:center; gap:8px; margin-bottom:16px;
}
.footer-brand i{color:var(--accent);}
.footer-about{font-size:.92rem; line-height:1.7; max-width:340px;}
.footer-title{color:#fff; font-weight:700; margin-bottom:18px; font-size:.95rem;}
.footer-links{list-style:none; padding:0; margin:0;}
.footer-links li{margin-bottom:12px; font-size:.9rem; display:flex; gap:8px; align-items:flex-start;}
.footer-links a{color:rgba(255,255,255,.75); transition:.2s;}
.footer-links a:hover{color:var(--accent);}
.footer-social a{
  width:38px; height:38px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  margin-right:8px;
  transition:.2s;
}
.footer-social a:hover{background:var(--accent);}
.site-footer hr{border-color:rgba(255,255,255,.12); margin:36px 0 20px;}
.footer-bottom{font-size:.85rem; text-align:center;}

.back-to-top{
  position:fixed; right:22px; bottom:22px;
  width:46px; height:46px;
  border-radius:50%;
  background:var(--accent);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-hover);
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:.25s;
  z-index:1040;
}
.back-to-top.show{opacity:1; visibility:visible; transform:translateY(0);}
.back-to-top:hover{background:var(--accent-dark); color:#fff;}

/* ===== Page hero (inner pages) ===== */
.page-hero{
  background:linear-gradient(135deg,var(--brand-dark), var(--brand));
  color:#fff;
  padding:120px 0 60px;
  text-align:center;
}
.page-hero h1{color:#fff; margin-bottom:10px;}
.breadcrumb-nav{color:rgba(255,255,255,.8); font-size:.9rem;}
.breadcrumb-nav a{color:rgba(255,255,255,.8);}
.breadcrumb-nav a:hover{color:#fff;}

/* ===== Tour list filters ===== */
.filter-pills{display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:44px;}
.filter-pill{
  padding:.55rem 1.3rem;
  border-radius:30px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:600;
  font-size:.9rem;
  color:var(--ink);
  transition:.2s;
}
.filter-pill:hover{border-color:var(--brand);}
.filter-pill.active{background:var(--brand); border-color:var(--brand); color:#fff;}

/* ===== Tour detail ===== */
.tour-hero-img{
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:16/8;
  box-shadow:var(--shadow-soft);
}
.tour-hero-img img{width:100%; height:100%; object-fit:cover;}
.tour-meta-strip{
  display:flex; flex-wrap:wrap; gap:28px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:24px 28px;
  margin-top:-56px;
  position:relative;
  z-index:2;
  box-shadow:var(--shadow-soft);
}
.tour-meta-item{display:flex; align-items:center; gap:12px;}
.tour-meta-item i{
  width:44px; height:44px; border-radius:12px;
  background:var(--brand-light); color:var(--brand);
  display:flex; align-items:center; justify-content:center; font-size:1.15rem; flex-shrink:0;
}
.tour-meta-item span{display:block; color:var(--muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.03em;}
.tour-meta-item strong{display:block; font-size:.98rem;}

.tour-gallery-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px;}
.tour-gallery-grid a{border-radius:var(--radius-sm); overflow:hidden; aspect-ratio:1/1; display:block;}
.tour-gallery-grid img{width:100%; height:100%; object-fit:cover; transition:.3s;}
.tour-gallery-grid a:hover img{transform:scale(1.08);}

.content-block h3{font-size:1.35rem; margin:40px 0 16px;}
.content-block h3:first-child{margin-top:0;}
.content-block p{color:var(--muted); line-height:1.8;}

.itinerary-item{
  display:flex; gap:18px;
  padding:22px 0;
  border-bottom:1px solid var(--border);
}
.itinerary-item:last-child{border-bottom:none;}
.itinerary-day{
  width:52px; height:52px; flex-shrink:0;
  border-radius:14px;
  background:var(--brand);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-family:var(--font-head);
}
.itinerary-item h6{margin-bottom:6px;}
.itinerary-item p{color:var(--muted); margin:0; font-size:.92rem;}

.include-list{list-style:none; padding:0; margin:0;}
.include-list li{display:flex; gap:10px; padding:8px 0; color:var(--ink); font-size:.94rem;}
.include-list li i{color:#22a06b;}
.exclude-list li i{color:#e35d5d;}

.booking-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:30px;
  box-shadow:var(--shadow-soft);
  position:sticky;
  top:100px;
}
.booking-price{
  display:flex; align-items:baseline; gap:8px;
  margin-bottom:22px;
  padding-bottom:22px;
  border-bottom:1px dashed var(--border);
}
.booking-price .amount{font-family:var(--font-head); font-weight:800; font-size:1.9rem; color:var(--brand);}
.booking-price .unit{color:var(--muted); font-size:.85rem;}

.is-invalid{border-color:#e35d5d !important;}
.invalid-feedback{display:block; font-size:.8rem; color:#e35d5d; margin-top:4px;}

/* ===== Order pages ===== */
.order-page{padding:150px 0 90px; min-height:70vh;}
.order-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:40px;
  box-shadow:var(--shadow-soft);
}
.order-row{display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--border); font-size:.95rem;}
.order-row:last-child{border-bottom:none;}
.order-row span:first-child{color:var(--muted);}
.order-row span:last-child{font-weight:700;}
.status-badge{padding:.4rem 1rem; border-radius:30px; font-weight:700; font-size:.85rem; display:inline-block;}
.status-pending{background:#fff4e5; color:#c9820a;}
.status-paid{background:#e5f8ef; color:#1a9c5c;}
.status-cancelled, .status-failed{background:#fdeaea; color:#d34545;}
.status-icon{font-size:3.4rem; margin-bottom:18px;}

/* ===== Empty state ===== */
.empty-state{text-align:center; padding:70px 20px; color:var(--muted);}
.empty-state i{font-size:3rem; color:var(--brand); margin-bottom:16px;}

/* ===== Responsive ===== */
@media (max-width:991px){
  .hero{padding:130px 0 70px;}
  .hero-visual{margin-top:40px;}
  .booking-card{position:static; margin-top:40px;}
  .tour-meta-strip{margin-top:20px; flex-direction:column; gap:16px;}
  .cta-banner{padding:36px; text-align:center; justify-content:center;}
  .tour-gallery-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:576px){
  .section{padding:60px 0;}
  .order-card, .contact-form-card, .contact-info-card, .booking-card{padding:24px;}
}
