/* AFRA V6.9 — professional standalone package, service, country, and booking pages */
:root{font-family:Vazirmatn,Tahoma,sans-serif;--bg:#f4f7fb;--surface:#fff;--ink:#102c4c;--muted:#5e7390;--blue:#154e81;--deep:#0e2d52;--red:#c4203b;--line:#dfebf3;--shadow:0 22px 55px rgba(21,59,98,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse 650px 500px at 95% -10%,#dfeef9,transparent),var(--bg);font:15px/1.95 Vazirmatn,Tahoma,sans-serif;color:var(--ink)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #357bce;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0 0 12px}.skip{position:absolute;top:-100px;background:#fff;z-index:120;padding:12px}.skip:focus{top:0}.tp-container{width:min(1200px,calc(100% - 36px));margin:auto}.tp-topbar{background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.tp-head{min-height:84px;display:flex;align-items:center;gap:22px;justify-content:space-between}.tp-brand{display:flex;gap:11px;align-items:center;min-width:205px}.tp-brand img{width:52px;height:52px;object-fit:contain;border-radius:12px}.tp-brand strong{display:block;font-size:18px}.tp-brand small{font-size:10px;letter-spacing:.6px;direction:ltr;display:block;color:var(--muted)}.tp-nav{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}.tp-nav a{font-weight:700;color:#355774;font-size:13px}.tp-nav a:hover{color:var(--red)}.tp-btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 22px;border-radius:13px;font-weight:800;background:var(--red);color:#fff;transition:transform .15s,filter .15s}.tp-btn:hover{transform:translateY(-2px);filter:brightness(1.06)}.tp-btn-light{background:#eaf2f9;color:var(--blue);border:1px solid #c8ddea}.tp-btn-outline{border:1px solid #d5e3ed;color:var(--blue);background:#fff}.tp-head-action{white-space:nowrap}.tp-breadcrumb{display:flex;gap:10px;align-items:center;padding:27px 0 18px;color:var(--muted);font-size:13px}.tp-breadcrumb a:hover{color:var(--red)}#pageContent{min-height:58vh}.tp-footer{margin-top:75px;background:#0d2848;color:#d7e6f4}.tp-footer-content{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:35px 0;font-size:12px;flex-wrap:wrap}.tp-footer nav{display:flex;gap:20px;flex-wrap:wrap}.tp-loading,.tp-empty{background:#fff;padding:42px;text-align:center;border:1px solid var(--line);border-radius:22px;color:var(--muted)}.tp-kicker{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(31,94,151,.14);padding:6px 13px;border-radius:999px;background:rgba(255,255,255,.9);color:var(--blue);font-weight:800;font-size:12px;margin-bottom:15px}.tp-lead{font-size:clamp(28px,3.9vw,45px);line-height:1.36;letter-spacing:-.3px}.tp-sub{font-size:15px;color:var(--muted);max-width:65ch;line-height:2.15}.tp-section-heading{margin:25px 0 22px;display:flex;justify-content:space-between;align-items:end;gap:15px;flex-wrap:wrap}.tp-section-heading h2{font-size:27px}.tp-section-heading p{color:var(--muted);font-size:13px}
.tp-detail{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:28px;align-items:start}.tp-detail-photo{min-height:530px;position:relative;border-radius:29px;overflow:hidden;background:#d3e5f1;box-shadow:var(--shadow)}.tp-detail-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.tp-photo-chip{position:absolute;right:19px;bottom:19px;background:rgba(10,39,72,.85);color:white;border-radius:15px;padding:11px 17px;font-weight:800;backdrop-filter:blur(16px)}.tp-detail-copy{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:28px;padding:32px}.tp-detail-copy .tp-lead{font-size:clamp(27px,3vw,37px)}.tp-detail-copy>p{white-space:pre-line;color:var(--muted)}.tp-price-box{padding:17px;border-radius:17px;background:linear-gradient(120deg,#f3f8fc,#fff4f5);border:1px solid #e4edf3;display:grid;gap:4px;margin:24px 0}.tp-price-box del{color:#8b9aab}.tp-price-box strong{font-size:28px;color:var(--red)}.tp-included{background:#f5f9fd;border:1px solid var(--line);padding:17px;border-radius:17px;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0}.tp-actions{display:flex;gap:10px;flex-wrap:wrap}.tp-note{font-size:12px;color:var(--muted);margin-top:17px}.tp-discount{padding:5px 10px;background:#fff0f2;color:#b72039;font-weight:900;border-radius:999px;margin-inline-start:8px}
.tp-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tp-package-card,.tp-country-card,.tp-service-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow)}.tp-card-photo{height:200px;position:relative;background:#d9e8f3}.tp-card-photo img{width:100%;height:100%;object-fit:cover}.tp-card-photo span{position:absolute;bottom:12px;right:12px;background:rgba(9,39,76,.82);color:#fff;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:850}.tp-card-body{display:flex;flex:1;flex-direction:column;padding:20px;gap:7px}.tp-card-body h3{font-size:19px;line-height:1.5;margin:0}.tp-card-body p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);margin:0}.tp-card-include{margin-top:8px;background:#f3f8fc;padding:12px;border-radius:12px}.tp-card-price{display:flex;gap:12px;align-items:baseline;margin-top:auto;padding-top:16px}.tp-card-price del{color:#8190a2;font-size:12px}.tp-card-price strong{color:var(--red);font-size:20px}.tp-card-links{display:flex;gap:8px;margin-top:10px}.tp-card-links a{flex:1;padding:9px;border-radius:11px;background:#eaf2f9;font-size:12px;font-weight:800;text-align:center;color:var(--blue)}.tp-card-links a:last-child{background:var(--red);color:#fff}.tp-country-card .tp-card-body{min-height:140px}.tp-service-card .tp-card-photo{height:170px}.tp-chip-list{display:flex;gap:8px;flex-wrap:wrap}.tp-chip-list span{background:#f2f7fb;border:1px solid #dde9f4;border-radius:99px;padding:4px 11px;font-size:11px;color:#43617b}
.tp-filter{display:flex;gap:12px;align-items:center;background:#fff;border-radius:20px;padding:15px;border:1px solid var(--line);margin:24px 0}.tp-filter input,.tp-filter select{flex:1;min-width:0;width:100%;height:46px;border:1px solid #d8e5f1;border-radius:12px;background:#fbfdff;padding:0 14px}.tp-filter label{flex:1;display:grid;gap:2px;font-size:12px;color:var(--muted)}.tp-hero{border:1px solid var(--line);border-radius:29px;background:#fff;box-shadow:var(--shadow);overflow:hidden;display:grid;grid-template-columns:1fr 42%;margin-bottom:24px;min-height:280px}.tp-hero>div:first-child{padding:34px}.tp-hero img{width:100%;height:100%;object-fit:cover}.tp-hero p{color:var(--muted)}.tp-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:25px 0}.tp-step{padding:15px 16px;border-radius:16px;background:#e8f0f7;color:#52738e;font-weight:800;border:1px solid #dce7ef}.tp-step b{display:inline-grid;place-items:center;background:#c7dbe9;width:30px;height:30px;margin-left:7px;border-radius:99px;color:#305873}.tp-step.active{color:#fff;background:#154c7b;border-color:#154c7b}.tp-step.active b{background:#fff;color:#154c7b}.tp-booking-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.tp-form-panel,.tp-summary-panel{border:1px solid var(--line);border-radius:24px;background:#fff;padding:27px;box-shadow:var(--shadow)}.tp-summary-panel{position:sticky;top:105px}.tp-form-panel h2{font-size:24px}.tp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tp-form-grid label{display:grid;gap:7px;font-weight:750;font-size:13px}.tp-form-grid label.wide{grid-column:1/-1}.tp-form-grid input,.tp-form-grid select,.tp-form-grid textarea{background:#fbfdff;border:1px solid #d3e0eb;border-radius:12px;padding:12px 14px;width:100%;min-width:0;outline:none}.tp-form-grid textarea{resize:vertical}.tp-form-actions{display:flex;gap:11px;justify-content:space-between;align-items:center;margin-top:24px}.tp-summary-figure{height:146px;width:100%;border-radius:16px;object-fit:cover;margin-bottom:15px}.tp-summary-panel h3{font-size:18px}.tp-review{display:grid;gap:12px}.tp-review dl{margin:0;display:grid;gap:10px}.tp-review dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:8px}.tp-review dt{color:var(--muted)}.tp-review dd{margin:0;font-weight:750;overflow-wrap:anywhere;text-align:left}.tp-consent{display:flex;align-items:flex-start;gap:9px;font-size:13px;cursor:pointer}.tp-consent input{margin-top:8px}.tp-error{padding:12px;border-radius:12px;background:#ffebee;color:#9d1f31}.tp-success{text-align:center;padding:46px 22px;background:#fff;border:1px solid var(--line);border-radius:24px}.tp-success strong{color:#148361;font-size:18px}.tp-success code{font:800 23px/2 monospace;background:#eff7f6;border-radius:12px;padding:8px 14px;display:inline-block;direction:ltr}.tp-success p{color:var(--muted)}
@media(max-width:1080px){.tp-nav{gap:12px}.tp-detail{grid-template-columns:1fr 1fr}.tp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.tp-head{flex-wrap:wrap;padding:12px 0}.tp-nav{order:4;width:100%;justify-content:start;overflow:auto;white-space:nowrap;flex-wrap:nowrap;padding-bottom:5px}.tp-detail{grid-template-columns:1fr}.tp-detail-photo{min-height:350px}.tp-booking-grid{grid-template-columns:1fr}.tp-summary-panel{position:static}.tp-hero{grid-template-columns:1fr}.tp-hero img{height:230px}.tp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.tp-container{width:min(100% - 24px,1200px)}.tp-head{gap:10px}.tp-brand img{width:40px;height:40px}.tp-brand strong{font-size:14px}.tp-brand small{font-size:8px}.tp-head-action{padding:8px 12px;font-size:11px}.tp-detail-photo{min-height:240px}.tp-detail-copy,.tp-form-panel,.tp-summary-panel{padding:19px}.tp-card-grid,.tp-form-grid{grid-template-columns:1fr}.tp-filter{flex-direction:column;align-items:stretch}.tp-filter label{width:100%}.tp-steps{gap:6px}.tp-step{padding:10px 5px;text-align:center;font-size:11px}.tp-step b{display:block;margin:0 auto 6px}.tp-card-links{flex-wrap:wrap}.tp-form-actions{flex-wrap:wrap}.tp-form-actions button{flex:1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tp-btn{transition:none}}


/* V6.11 — 2026 animated travel pages and package cards */
.tp-topbar{background:rgba(255,255,255,.82);backdrop-filter:blur(18px) saturate(150%);box-shadow:0 10px 28px rgba(13,45,82,.06)}
.tp-head{position:relative}
.tp-brand{transition:transform .24s ease}.tp-brand:hover{transform:translateY(-2px)}
.tp-nav a{position:relative;padding:10px 14px;border-radius:12px;transition:color .22s,background .22s,transform .22s}
.tp-nav a::after{content:"";position:absolute;left:14px;right:14px;bottom:6px;height:2px;border-radius:2px;background:linear-gradient(90deg,#c4203b,#1c6096);transform:scaleX(0);transform-origin:right;transition:transform .22s}
.tp-nav a:hover{transform:translateY(-2px);background:#f4f8fc;color:#10375e}.tp-nav a:hover::after{transform:scaleX(1)}
.tp-btn,.tp-package-card,.tp-country-card,.tp-service-card,.tp-hero,.tp-detail-copy,.tp-form-panel,.tp-summary-panel{transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.tp-hero{min-height:320px;border-radius:34px;background:linear-gradient(135deg,#ffffff,#f8fbff);box-shadow:0 20px 54px rgba(18,58,99,.11)}
.tp-hero>div:first-child{display:flex;flex-direction:column;justify-content:center;padding:40px 38px}
.tp-hero img{min-height:100%;object-position:center}
.tp-lead{font-size:clamp(28px,4.3vw,50px)!important;line-height:1.42!important;letter-spacing:-.7px;word-break:normal;overflow-wrap:anywhere}
.tp-sub,.tp-hero p,.tp-card-body p,.tp-detail-copy>p,.tp-note{overflow-wrap:anywhere}
.tp-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))!important;gap:24px!important}
.tp-package-card,.tp-country-card,.tp-service-card{border-radius:30px;border:1px solid rgba(208,221,233,.95);box-shadow:0 16px 45px rgba(17,55,95,.10);background:linear-gradient(180deg,#fff,#fbfdff)}
.tp-package-card:hover,.tp-country-card:hover,.tp-service-card:hover{transform:translateY(-8px);box-shadow:0 26px 62px rgba(17,55,95,.15);border-color:#b9d2e5}
.tp-card-photo{height:auto;aspect-ratio:16/9;min-height:220px}.tp-service-card .tp-card-photo{min-height:190px}
.tp-card-photo::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(180deg,transparent,rgba(11,35,63,.28))}
.tp-card-photo img{transition:transform .55s ease}.tp-package-card:hover .tp-card-photo img,.tp-country-card:hover .tp-card-photo img,.tp-service-card:hover .tp-card-photo img{transform:scale(1.06)}
.tp-card-photo span{bottom:14px;right:14px;padding:9px 14px;background:rgba(9,39,76,.84);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px);font-size:12px}
.tp-card-body{padding:22px;gap:12px}.tp-card-body h3{font-size:clamp(22px,2vw,28px);line-height:1.55}.tp-card-body p{font-size:14px;line-height:2;color:#667f98}
.tp-card-include{border-radius:16px;background:linear-gradient(180deg,#f4f9fd,#eef5fb);border:1px solid #dfe9f2;padding:14px}.tp-card-include b{display:block;margin-bottom:6px}
.tp-card-price{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:end;margin-top:auto;padding-top:16px;border-top:1px solid rgba(88,121,151,.15)}
.tp-card-price del{font-size:16px}.tp-card-price strong{font-size:clamp(25px,2.4vw,33px)}.tp-discount{justify-self:start}
.tp-card-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tp-card-links a{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:15px;font-size:13px;font-weight:850;transition:transform .22s,box-shadow .22s,background .22s,color .22s}
.tp-card-links a:hover{transform:translateY(-2px)}.tp-card-links a:first-child{border:1px solid #c8dcec;background:#edf5fb;box-shadow:0 8px 18px rgba(21,76,123,.06)}.tp-card-links a:last-child{background:linear-gradient(135deg,#cf2744,#b61e36);box-shadow:0 12px 24px rgba(182,30,54,.22)}
.tp-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;padding:18px;border-radius:24px;background:linear-gradient(135deg,#fff,#f9fbfe)}
.tp-filter label{font-size:12px;font-weight:800;color:#60778e}.tp-filter input,.tp-filter select{height:52px;border-radius:15px;background:#fcfeff;transition:border-color .2s,box-shadow .2s,transform .2s}.tp-filter input:focus,.tp-filter select:focus{border-color:#90b6d6;box-shadow:0 0 0 4px rgba(53,123,206,.10);transform:translateY(-1px)}
.tp-detail{gap:30px}.tp-detail-photo,.tp-detail-copy,.tp-form-panel,.tp-summary-panel{border-radius:30px}.tp-detail-copy{padding:34px;background:linear-gradient(180deg,#fff,#fbfdff)}
.tp-price-box{border-radius:18px;background:linear-gradient(120deg,#f6fbff,#fff4f5)}
.tp-loading,.tp-empty,.tp-success{border-radius:28px;box-shadow:0 16px 40px rgba(18,58,99,.08)}
#pageContent>*{animation:tpFade .75s ease both}
@keyframes tpFade{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@media(max-width:980px){.tp-head{min-height:72px}.tp-nav{gap:12px}.tp-filter{grid-template-columns:1fr}.tp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:800px){.tp-topbar{position:sticky}.tp-head{padding:12px 0}.tp-brand{width:100%;justify-content:space-between}.tp-nav{gap:8px}.tp-nav a{font-size:12px}.tp-hero{min-height:0;border-radius:26px}.tp-hero>div:first-child{padding:24px 18px}.tp-lead{font-size:clamp(24px,8vw,36px)!important}.tp-card-grid{grid-template-columns:1fr!important}.tp-card-links{grid-template-columns:1fr}.tp-card-price{grid-template-columns:1fr}.tp-card-price del{justify-self:start}}
@media(max-width:560px){body{font-size:14px}.tp-head{gap:8px}.tp-brand{min-width:0}.tp-brand span{min-width:0}.tp-brand strong{font-size:15px;overflow-wrap:anywhere}.tp-brand small{font-size:8px}.tp-head-action{width:100%;min-height:44px}.tp-breadcrumb{padding:18px 0 12px;font-size:12px;overflow:auto;white-space:nowrap}.tp-hero img{height:220px}.tp-card-photo{min-height:205px}.tp-card-body{padding:18px}.tp-card-body h3{font-size:22px}.tp-card-body p{font-size:13px}.tp-filter{padding:14px}.tp-filter input,.tp-filter select{height:48px}.tp-detail-photo{min-height:230px}.tp-detail-copy,.tp-form-panel,.tp-summary-panel{padding:18px}.tp-actions{display:grid;grid-template-columns:1fr}.tp-actions .tp-btn{width:100%}.tp-footer-content{justify-content:center;text-align:center}}
html[data-theme="dark"] .tp-topbar{background:rgba(12,31,52,.86)}
html[data-theme="dark"] .tp-hero,html[data-theme="dark"] .tp-package-card,html[data-theme="dark"] .tp-country-card,html[data-theme="dark"] .tp-service-card,html[data-theme="dark"] .tp-detail-copy,html[data-theme="dark"] .tp-form-panel,html[data-theme="dark"] .tp-summary-panel{background:linear-gradient(180deg,#11253d,#182f4a);border-color:#2f4f6f;box-shadow:0 20px 48px rgba(0,0,0,.22)}
html[data-theme="dark"] .tp-card-body h3,html[data-theme="dark"] .tp-lead,html[data-theme="dark"] .tp-section-heading h2,html[data-theme="dark"] .tp-brand strong{color:#eff7ff}
html[data-theme="dark"] .tp-card-body p,html[data-theme="dark"] .tp-hero p,html[data-theme="dark"] .tp-detail-copy>p,html[data-theme="dark"] .tp-note,html[data-theme="dark"] .tp-filter label{color:#afc3d7}
html[data-theme="dark"] .tp-card-include,html[data-theme="dark"] .tp-filter{background:linear-gradient(180deg,rgba(54,126,184,.16),rgba(54,126,184,.09));border-color:#335979}
html[data-theme="dark"] .tp-filter input,html[data-theme="dark"] .tp-filter select{background:#10253e;color:#eff7ff;border-color:#365d81}
html[data-theme="dark"] .tp-nav a:hover,html[data-theme="dark"] .tp-nav a:hover::after{color:#ffd2d9}


/* V6.12 — compact cards on country/service pages */
.tp-card-grid{grid-template-columns:repeat(auto-fit,minmax(280px,340px))!important;justify-content:center!important}
.tp-package-card,.tp-country-card,.tp-service-card{max-width:340px;margin-inline:auto;border-radius:26px}
.tp-card-photo{aspect-ratio:8/5.5;min-height:0!important;position:relative}
.tp-card-photo img{opacity:.95;transition:transform .6s ease,opacity .4s ease,filter .4s ease}
.tp-card-photo::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(10,26,45,.08) 55%,rgba(10,26,45,.22));pointer-events:none}
.tp-package-card:hover .tp-card-photo img,.tp-country-card:hover .tp-card-photo img,.tp-service-card:hover .tp-card-photo img{opacity:1;filter:saturate(1.08)}
.tp-card-photo span{z-index:2}
.tp-card-body{padding:18px;gap:10px}.tp-card-body h3{font-size:24px}.tp-card-body p{font-size:13px;line-height:1.9}
.tp-card-include{padding:12px}.tp-card-price strong{font-size:28px}.tp-card-price del{font-size:15px}.tp-card-links a{min-height:46px;font-size:12px}
@media(max-width:780px){.tp-card-grid{grid-template-columns:1fr!important}.tp-package-card,.tp-country-card,.tp-service-card{max-width:340px}}
