/* =====================================================================
   TEHRANCAB — design system
   Deep teal (trust/route) + coral sunset (energy) + warm sand paper.
   Built for a young, active international-tourist audience — not a
   generic corporate-blue travel site.
   ===================================================================== */
:root{
  --ink:#0E2A2A;
  --ink-2:#123935;
  --teal:#0F6E68;
  --teal-soft:#57A79E;
  --coral:#E8542E;
  --coral-soft:#F4956A;
  --sand:#F2A65A;
  --cream:#FBF4EA;
  --paper:#FFFDF8;
  --line:#e9ddc9;
  --maxw:1180px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--cream); color:#2b2a25; font-family:'Inter',sans-serif; font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
h1,h2,h3,h4{font-family:'Space Grotesk',sans-serif; font-weight:700; color:var(--ink); margin:0 0 .5em; letter-spacing:-.3px;}
.mono{font-family:'JetBrains Mono',monospace;}
a{color:inherit; text-decoration:none;}
ul{padding:0; margin:0; list-style:none;}
img{max-width:100%; display:block;}
iframe{max-width:100%;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}

/* Full-bleed fix: whatever theme/page-builder wraps the page content in
   a narrower centered container, these bands still span the entire
   browser width edge-to-edge. Only the inner .wrap stays constrained. */
.topbar, header.site, .hero, section, footer{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
section{padding:96px 0;}
.section-head{max-width:640px; margin:0 auto 50px; text-align:center;}
.section-head.left{margin:0 0 44px; text-align:left;}
.eyebrow{font-family:'JetBrains Mono',monospace; font-size:12.5px; letter-spacing:3px; text-transform:uppercase; color:var(--coral); font-weight:600; display:inline-flex; align-items:center; gap:10px;}
.eyebrow::before{content:""; width:22px; height:1px; background:var(--coral);}
.btn{display:inline-flex; align-items:center; gap:10px; padding:15px 30px; border-radius:100px; font-weight:600; font-size:15px; letter-spacing:.2px; cursor:pointer; border:1px solid transparent; transition:all .25s ease;}
.btn-coral{background:var(--coral); color:#fff;}
.btn-coral:hover{background:#cf4522; transform:translateY(-1px);}
.btn-outline{background:transparent; border:1.5px solid var(--paper); color:var(--paper);}
.btn-outline:hover{background:rgba(255,255,255,.12);}
.btn-dark{background:var(--ink); color:var(--paper);}
.tag{display:inline-block; padding:5px 14px; border-radius:100px; font-family:'JetBrains Mono'; font-size:12px; letter-spacing:.5px; background:rgba(15,110,104,.1); color:var(--teal); font-weight:600;}

/* ===== topbar / header ===== */
.topbar{background:var(--ink); color:#bfe3de; font-size:13px; font-family:'JetBrains Mono',monospace;}
.topbar .wrap{display:flex; justify-content:space-between; align-items:center; height:38px;}
.topbar a:hover{color:var(--sand);}
.topbar-right{display:flex; gap:22px;}
header.site{background:var(--paper); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50;}
.nav{display:flex; align-items:center; justify-content:space-between; height:84px;}
.logo{font-family:'Space Grotesk',sans-serif; font-size:24px; font-weight:700; color:var(--ink); letter-spacing:-.5px;}
.logo span{color:var(--coral);}
.navlinks{display:flex; gap:28px; align-items:center;}
.navlinks > a{color:#3a3a35; font-size:14.5px; font-weight:500; padding:8px 0;}
.navlinks > a:hover, .navlinks > a.active{color:var(--coral);}
.menu-toggle{display:none; background:none; border:0; cursor:pointer; color:var(--ink); font-size:22px;}

/* mobile drawer (toggled by a small, unconditionally-loaded script —
   loads on every template, unlike the reveal-animation issue found on
   a previous project, so it can't silently fail on any one page type) */
.mobile-drawer{position:fixed; inset:0 0 0 auto; width:82%; max-width:340px; background:var(--paper); z-index:100; padding:28px 26px; display:flex; flex-direction:column; gap:6px; transform:translateX(100%); transition:transform .3s ease; box-shadow:-10px 0 30px rgba(0,0,0,.15);}
.mobile-drawer.open{transform:translateX(0);}
.mobile-drawer a{padding:14px 4px; font-size:16px; font-weight:600; color:var(--ink); border-bottom:1px solid var(--line);}
.close-drawer{align-self:flex-end; background:none; border:0; font-size:26px; cursor:pointer; color:var(--ink); margin-bottom:10px;}
.drawer-overlay{position:fixed; inset:0; background:rgba(14,42,42,.4); z-index:99; opacity:0; pointer-events:none; transition:opacity .3s ease;}
.drawer-overlay.open{opacity:1; pointer-events:auto;}

/* ===== HERO with animated route map (pure SVG + CSS, zero JS) ===== */
.hero{position:relative; overflow:hidden; background:radial-gradient(900px 500px at 15% 10%, rgba(232,84,46,.18), transparent 60%), linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); padding:80px 0 64px; color:var(--paper);}
.hero-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;}
.hero h1{color:var(--paper); font-size:clamp(36px,5.2vw,60px); line-height:1.05; margin-bottom:20px;}
.hero h1 em{font-style:normal; color:var(--sand);}
.hero p.lead{color:#c9d6d4; font-size:18px; max-width:480px; margin-bottom:30px;}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px;}
.hero-stats{display:flex; gap:34px; flex-wrap:wrap;}
.hero-stats div b{display:block; font-family:'Space Grotesk'; font-size:25px; color:var(--paper);}
.hero-stats div span{font-size:12.5px; color:#9fb3b0;}

.route-map{position:relative; aspect-ratio:600/620;}
.route-map svg{width:100%; height:100%; overflow:visible;}
.rm-path{fill:none; stroke:var(--coral); stroke-width:2; stroke-linecap:round; stroke-dasharray:6 7; opacity:.8; animation:dashflow 9s linear infinite;}
.rm-path.rm-2{stroke:var(--sand); animation-duration:11s; animation-direction:reverse;}
.rm-path.rm-3{stroke:var(--teal-soft); animation-duration:13s;}
.rm-path.rm-4{stroke:var(--coral-soft); animation-duration:8s; opacity:.6;}
.rm-path.rm-5{stroke:var(--sand); animation-duration:15s; opacity:.6;}
@keyframes dashflow{to{stroke-dashoffset:-400;}}
.rm-node{fill:var(--paper); stroke:var(--coral); stroke-width:2;}
.rm-label{font-family:'JetBrains Mono'; font-size:12px; font-weight:600; fill:#f4f8f7; paint-order:stroke; stroke:var(--ink); stroke-width:3;}
.rm-bed{stroke:var(--paper); opacity:.6;}

/* Tehran hub — a beating heart instead of a plain dot */
.rm-heart{fill:var(--coral); stroke:var(--paper); stroke-width:1.5; transform-origin:247px 180px; transform-box:view-box; animation:heartbeat 1.3s ease-in-out infinite;}
@keyframes heartbeat{0%{transform:scale(1);} 14%{transform:scale(1.22);} 28%{transform:scale(1);} 42%{transform:scale(1.22);} 70%{transform:scale(1);} 100%{transform:scale(1);}}
circle.rm-pulse{fill:none; stroke:var(--coral); stroke-width:2; opacity:0; transform-origin:247px 180px; transform-box:view-box; animation:pulse 1.3s ease-out infinite;}
@keyframes pulse{0%{opacity:.75; transform:scale(.6);} 100%{opacity:0; transform:scale(2.6);}}

/* three real, multi-shape vehicle icons riding their own routes */
.rm-vehicle{color:var(--paper);}
.rm-vehicle-train{offset-path:path('M247,178 Q247,210 247,240 Q250,265 254,287 Q265,340 275,396'); offset-rotate:auto; animation:flyalong 9s linear infinite;}
.rm-vehicle-train .rm-v-body{fill:var(--teal-soft);}
.rm-vehicle-bus{offset-path:path('M247,178 Q180,130 118,92'); offset-rotate:auto; animation:flyalong 6s linear infinite;}
.rm-vehicle-bus .rm-v-body{fill:var(--sand);}
.rm-vehicle-plane{offset-path:path('M247,178 Q290,300 300,400 Q305,460 312,505'); offset-rotate:auto; animation:flyalong 8s linear infinite;}
.rm-vehicle-plane .rm-v-body{fill:var(--coral);}
.rm-v-wheel{fill:var(--ink);}
@keyframes flyalong{0%{offset-distance:0%;} 100%{offset-distance:100%;}}
@media (prefers-reduced-motion: reduce){ .rm-path, .rm-vehicle-plane, .rm-vehicle-train, .rm-vehicle-bus, circle.rm-pulse, .rm-heart{animation:none !important;} }

/* ===== grids ===== */
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}

/* ===== service cards ===== */
.svc-card{background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:30px 26px; transition:transform .25s ease, box-shadow .25s ease;}
.svc-card:hover{transform:translateY(-4px); box-shadow:0 16px 40px rgba(14,42,42,.08);}
.svc-icon{width:50px; height:50px; border-radius:12px; background:rgba(232,84,46,.1); display:flex; align-items:center; justify-content:center; margin-bottom:16px; color:var(--coral);}
.svc-icon svg{width:24px; height:24px;}
.svc-card h3{font-size:18.5px; margin-bottom:8px;}
.svc-card p{color:#5b5a52; font-size:14.5px; margin-bottom:14px;}
.svc-card a.more{font-size:13.5px; font-weight:600; color:var(--teal);}

/* ===== tour / stay cards ===== */
.tour-card, .stay-card{background:var(--paper); border:1px solid var(--line); border-radius:14px; overflow:hidden;}
.tour-thumb, .stay-thumb{height:170px; background:linear-gradient(135deg, var(--teal), var(--ink)); display:flex; align-items:end; padding:16px; color:rgba(255,255,255,.85); font-family:'JetBrains Mono'; font-size:12px; letter-spacing:1.5px; text-transform:uppercase;}
.stay-thumb{background:linear-gradient(135deg, var(--coral), var(--sand));}
.tour-body, .stay-body{padding:22px 24px;}
.tour-body h3, .stay-body h3{font-size:17.5px; margin-bottom:6px;}
.tour-meta, .stay-meta{display:flex; gap:14px; flex-wrap:wrap; font-family:'JetBrains Mono'; font-size:12.5px; color:#7a7a72; margin-bottom:10px;}
.tour-price, .stay-price{font-family:'Space Grotesk'; font-weight:700; color:var(--coral); font-size:16.5px;}

/* ===== booking form ===== */
.booking-panel{background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:40px; max-width:760px; margin:0 auto;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px;}
label{display:block; font-size:13.5px; font-weight:600; color:var(--ink); margin-bottom:7px;}
input, select, textarea{width:100%; padding:13px 15px; border:1px solid var(--line); border-radius:8px; background:var(--cream); font-family:'Inter'; font-size:15px; color:#2b2a25;}
textarea{min-height:110px; resize:vertical;}
input:focus, select:focus, textarea:focus{outline:2px solid var(--teal); outline-offset:1px;}
.pay-choice{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:8px;}
.pay-radio{border:1.5px solid var(--line); border-radius:10px; padding:16px; cursor:pointer; display:block; transition:border-color .2s ease, background .2s ease;}
.pay-radio.checked{border-color:var(--coral); background:rgba(232,84,46,.06);}
.pay-radio input{width:auto; margin-bottom:6px; accent-color:var(--coral);}
.pay-radio b{display:block; font-size:14.5px; color:var(--ink);}
.pay-radio span{font-size:12.5px; color:#7a7a72;}
.form-note{background:rgba(15,110,104,.08); border-radius:8px; padding:14px 16px; font-size:13.5px; color:var(--ink); margin:18px 0 24px;}
#tc-book-msg{display:none; border-radius:10px; padding:16px 18px; margin-bottom:22px; font-size:14.5px;}
#tc-book-msg.ok{background:rgba(15,110,104,.12); border:1px solid var(--teal); color:var(--ink); display:block;}
#tc-book-msg.err{background:rgba(232,84,46,.12); border:1px solid var(--coral); color:var(--ink); display:block;}

[data-reveal]{opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease;}
[data-reveal].in{opacity:1; transform:translateY(0);}

/* ===== page banner (inner pages + single posts) ===== */
.pv-pageheader{background:linear-gradient(180deg, var(--ink), var(--ink-2)); color:var(--paper); padding:64px 0 50px;}
.breadcrumb{font-family:'JetBrains Mono'; font-size:12.5px; color:#9fb3b0; margin-bottom:12px;}
.breadcrumb a:hover{color:var(--sand);}
.pv-pageheader h1{color:var(--paper); font-size:clamp(30px,4vw,46px); margin-bottom:12px;}
.pv-pageheader p{color:#c9d6d4; max-width:620px;}

/* ===== about / two-col ===== */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.about-grid p{color:#5b5a52;}
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
.map-box{width:100%; height:320px; border-radius:12px; overflow:hidden; background:var(--line); display:flex; align-items:center; justify-content:center; color:#7a7a72; font-family:'JetBrains Mono'; font-size:13px;}
.map-box iframe{width:100%; height:100%; border:0;}

/* ===== blog cards ===== */
.blog-card{background:var(--paper); border:1px solid var(--line); border-radius:14px; overflow:hidden;}
.blog-thumb{height:150px; background:linear-gradient(135deg, var(--coral), var(--sand)); display:flex; align-items:end; padding:14px;}
.blog-thumb span{font-family:'JetBrains Mono'; font-size:11px; letter-spacing:1.5px; color:#fff; background:rgba(0,0,0,.25); padding:4px 10px; border-radius:100px;}
.blog-body{padding:20px 22px;}
.blog-cat{font-family:'JetBrains Mono'; font-size:11.5px; color:var(--teal); font-weight:600; margin-bottom:6px;}
.blog-body h3{font-size:17px; margin-bottom:6px;}
.blog-meta, .blog-meta-row{font-family:'JetBrains Mono'; font-size:12px; color:#9a9a90; display:flex; gap:8px; align-items:center;}
.article-body{max-width:760px; margin:0 auto; color:#3a3a35; font-size:17px;}
.article-body h2{margin-top:1.4em;}
.article-body img{border-radius:10px; margin:1.2em 0;}
.article-body a{color:var(--teal); text-decoration:underline;}

/* ===== CTA band ===== */
.cta-band{background:linear-gradient(135deg, var(--coral), var(--sand)); color:#fff; text-align:center; padding:80px 0;}
.cta-band .eyebrow{color:#fff;} .cta-band .eyebrow::before{background:#fff;}
.cta-band h2{color:#fff; font-size:clamp(26px,3.4vw,38px); max-width:680px; margin:16px auto 28px;}
.cta-band .btn-dark{background:var(--ink);}

/* ===== footer ===== */
footer{background:var(--ink); color:#9fb3b0; padding:64px 0 28px; font-size:14.5px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:44px;}
.foot-grid h4{color:var(--paper); font-size:13px; letter-spacing:1px; text-transform:uppercase; font-family:'Inter'; margin-bottom:16px;}
.foot-grid a{display:block; margin-bottom:9px; color:#9fb3b0;}
.foot-grid a:hover{color:var(--sand);}
.foot-logo{font-family:'Space Grotesk'; font-size:22px; color:var(--paper); margin-bottom:12px;}
.foot-logo span{color:var(--coral);}
.foot-social{display:flex; gap:12px; margin-top:16px;}
.foot-social a{display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.08); font-family:'JetBrains Mono'; font-size:11px; margin-bottom:0;}
.foot-social a:hover{background:var(--coral); color:#fff;}
.foot-bottom{border-top:1px solid rgba(255,255,255,.08); padding-top:22px; display:flex; justify-content:space-between; font-size:12.5px; color:#6c8380; flex-wrap:wrap; gap:10px;}

/* ===== responsive ===== */
@media (max-width:980px){
  .hero-grid, .about-grid, .contact-grid{grid-template-columns:1fr !important;}
  .grid-3, .grid-4{grid-template-columns:repeat(2,1fr) !important;}
  .form-row, .pay-choice{grid-template-columns:1fr !important;}
  .navlinks{display:none;}
  .menu-toggle{display:block;}
  .foot-grid{grid-template-columns:1fr 1fr !important;}
}
@media (max-width:560px){
  section{padding:60px 0;}
  .grid-3, .grid-4, .foot-grid{grid-template-columns:1fr !important;}
  .hero{padding:56px 0 46px;}
  .hero-stats{gap:22px;}
  .booking-panel{padding:26px 20px;}
}
