/* ==========================================================================
   Sayro Apply — emerald & gold
   ========================================================================== */
:root {
	--emerald-900: #04241f;
	--emerald-800: #06332d;
	--emerald-700: #0a4a42;
	--emerald-600: #0f5f55;
	--gold-300: #f1dcb0;
	--gold-400: #e2c48f;
	--gold-500: #c9a46a;
	--gold-600: #a8834b;
	--ink: #e9e3d4;
	--muted: #a9bfb9;
	--card: rgba(255, 255, 255, 0.035);
	--line: rgba(226, 196, 143, 0.22);
	--radius: 18px;
	--shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
	--font: "Vazirmatn", Tahoma, sans-serif;
	--font-display: "Cormorant Garamond", "Vazirmatn", serif;
	--gold-grad: linear-gradient(135deg, #f6e5bf 0%, #d7b77f 35%, #a8834b 65%, #e9cf9c 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.9;
	color: var(--ink);
	background: var(--emerald-900);
	background-image:
		radial-gradient(1200px 600px at 85% -10%, rgba(15, 95, 85, 0.55), transparent 60%),
		radial-gradient(900px 500px at -10% 30%, rgba(10, 74, 66, 0.5), transparent 60%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-400); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-300); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; color: #fff; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; background: var(--gold-400); color: var(--emerald-900); padding: 8px 14px; top: 8px; right: 8px; }

.gold-text {
	background: var(--gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Geometric asanoha-like pattern, echoing the logo ribbon */
.pattern {
	position: absolute; inset: 0; pointer-events: none; opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cg fill='none' stroke='%23e2c48f' stroke-width='1'%3E%3Cpath d='M30 0v34.6M30 69.3V104M0 17.3l30 17.3 30-17.3M0 86.6l30-17.3 30 17.3M0 17.3v69.3M60 17.3v69.3M30 34.6 0 86.6M30 34.6l30 52M30 69.3 0 17.3M30 69.3l30-52'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .85em 1.8em; border-radius: 999px;
	font-weight: 700; font-family: inherit; font-size: 1rem; cursor: pointer;
	border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, color .25s;
	white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn-gold { background: var(--gold-grad); color: var(--emerald-900); box-shadow: 0 10px 30px -10px rgba(201, 164, 106, .7); }
.btn-gold:hover { color: var(--emerald-900); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(201, 164, 106, .9); }
.btn-ghost { border-color: var(--line); color: var(--gold-300); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--gold-400); background: rgba(226,196,143,.08); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset-inline: 0; top: 0; z-index: 50;
	transition: background .3s, box-shadow .3s, padding .3s;
	padding: 18px 0;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled {
	background: rgba(4, 36, 31, .82);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--line), 0 10px 30px -15px rgba(0,0,0,.6);
	padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img, .brand .custom-logo { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: .08em; line-height: 1; direction: ltr; }
.brand-name small { display: block; font-size: .62em; letter-spacing: .3em; color: var(--gold-400); font-style: italic; font-weight: 500; margin-top: 4px; }

.main-nav ul { list-style: none; margin: 0; padding: 6px; display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(4, 36, 31, .45); backdrop-filter: blur(10px); }
.main-nav a {
	display: block; padding: .5em 1.3em; border-radius: 999px; color: var(--ink); font-weight: 600; position: relative;
}
.main-nav a:hover { color: var(--gold-300); background: rgba(226,196,143,.07); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { background: var(--gold-grad); color: var(--emerald-900); }
.header-cta { white-space: nowrap; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--gold-400); margin: auto; position: relative; transition: .3s; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; align-items: center; padding: 130px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--gold-300);
	padding: .35em 1em; border: 1px solid var(--line); border-radius: 999px; background: rgba(226,196,143,.06); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(226,196,143,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(226,196,143,0); } }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.35; margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-stats { display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.9rem; font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

.hero-visual { position: relative; aspect-ratio: 1; }
.hero-visual .logo-frame {
	position: absolute; inset: 8%; border-radius: 50%; overflow: hidden;
	border: 1px solid var(--line); box-shadow: 0 0 0 14px rgba(226,196,143,.04), 0 0 0 28px rgba(226,196,143,.025), var(--shadow);
	animation: float 7s ease-in-out infinite;
}
.hero-visual .logo-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.orbit { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .plane { transform-origin: center; }
@keyframes spin { to { transform: rotate(-360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }

.flight-path { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; }
.flight-path path { stroke-dasharray: 6 10; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -1000; } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; z-index: 2; width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold-400); animation: scroll 1.8s infinite; }
@keyframes scroll { to { transform: translateY(14px); opacity: 0; } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(6,51,45,.0), rgba(6,51,45,.7) 20%, rgba(6,51,45,.7) 80%, rgba(6,51,45,0)); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head .kicker { font-family: var(--font-display); font-style: italic; letter-spacing: .25em; color: var(--gold-400); font-size: 1.05rem; direction: ltr; display: block; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--muted); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 18px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold-500)); }
.ornament::after { transform: scaleX(-1); }
.ornament i { width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--gold-400); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
	position: relative; padding: 34px 28px; border-radius: var(--radius);
	background: var(--card); border: 1px solid var(--line);
	transition: transform .35s, border-color .35s, background .35s; overflow: hidden;
}
.card::before {
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
	background: var(--gold-grad); opacity: 0; transition: opacity .35s;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-6px); background: rgba(255,255,255,.055); }
.card:hover::before { opacity: 1; }
.card .icon {
	width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
	background: linear-gradient(145deg, rgba(226,196,143,.18), rgba(226,196,143,.04)); border: 1px solid var(--line);
}
.card .icon svg { width: 28px; height: 28px; stroke: var(--gold-400); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Destinations */
.dest {
	position: relative; border-radius: var(--radius); padding: 28px 24px; min-height: 220px;
	display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
	border: 1px solid var(--line); background: linear-gradient(160deg, var(--emerald-600), var(--emerald-800));
	transition: transform .35s;
}
.dest:hover { transform: translateY(-6px) rotate(-.4deg); }
.dest .flag { position: absolute; top: 18px; inset-inline-start: 22px; font-size: 2.3rem; line-height: 1; }
.dest .code { position: absolute; top: 6px; inset-inline-end: 16px; font-family: var(--font-display); font-size: 4.4rem; font-weight: 700; opacity: .12; color: var(--gold-300); direction: ltr; }
.dest h3 { margin-bottom: .2em; }
.dest p { color: var(--muted); margin: 0; font-size: .92rem; }

/* Steps / timeline */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; inset-inline: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); }
.step { text-align: center; position: relative; }
.step::before {
	counter-increment: step; content: counter(step, persian);
	width: 68px; height: 68px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%;
	font-size: 1.6rem; font-weight: 800; color: var(--emerald-900); background: var(--gold-grad);
	box-shadow: 0 0 0 8px var(--emerald-900), 0 0 0 9px var(--line); position: relative;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .94rem; }

/* Testimonials */
.quote { padding: 32px; }
.quote blockquote { margin: 0 0 20px; font-size: 1.02rem; color: var(--ink); }
.quote blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--gold-500); margin-bottom: 10px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--gold-300); }
.quote cite small { display: block; color: var(--muted); font-weight: 400; }

/* CTA band */
.cta-band {
	position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: center;
	background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800)); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: var(--muted); max-width: 600px; margin: 0 auto 28px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: 170px 0 80px; text-align: center; overflow: hidden; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumbs { color: var(--muted); font-size: .92rem; }
.breadcrumbs a { color: var(--gold-400); }

.entry-content { font-size: 1.05rem; }
.entry-content > * + * { margin-top: 1em; }
.entry-content img { border-radius: var(--radius); }
.content-narrow { max-width: 820px; margin-inline: auto; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-media .badge {
	position: absolute; bottom: -24px; inset-inline-end: -24px; padding: 20px 26px; border-radius: 20px;
	background: var(--gold-grad); color: var(--emerald-900); box-shadow: var(--shadow); text-align: center;
}
.about-media .badge strong { display: block; font-size: 2rem; line-height: 1; }
.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: "✦"; color: var(--gold-400); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; }
.contact-info .card { display: flex; gap: 18px; align-items: center; padding: 22px 24px; margin-bottom: 16px; }
.contact-info .card .icon { margin: 0; flex: none; }
.contact-info .card h3 { font-size: 1rem; margin: 0; color: var(--muted); font-weight: 500; }
.contact-info .card p, .contact-info .card a { color: #fff; font-weight: 700; direction: ltr; unicode-bidi: plaintext; }
.form-card { padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .92rem; color: var(--gold-300); margin-bottom: 6px; }
.field input, .field textarea, .field select {
	width: 100%; font: inherit; color: #fff; padding: .85em 1em; border-radius: 12px;
	background: rgba(4, 36, 31, .6); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s;
}
.field select option { background: var(--emerald-800); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(226,196,143,.12); }
.field textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; border: 1px solid; }
.notice.success { border-color: #5fb89a; background: rgba(95,184,154,.1); color: #bff0dd; }
.notice.error { border-color: #d98080; background: rgba(217,128,128,.1); color: #ffd1d1; }

.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); transition: .25s; }
.socials a:hover { background: var(--gold-grad); }
.socials a:hover svg { stroke: var(--emerald-900); }
.socials svg { width: 20px; height: 20px; stroke: var(--gold-400); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Blog / index */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-list .card h2 { font-size: 1.2rem; }
.post-list .card h2 a { color: #fff; }
.pagination { margin-top: 40px; display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: .4em .9em; border: 1px solid var(--line); border-radius: 10px; }
.pagination .current { background: var(--gold-grad); color: var(--emerald-900); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 60px; padding: 70px 0 28px; border-top: 1px solid var(--line); background: rgba(3, 26, 22, .7); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; position: relative; }
.site-footer h4 { color: var(--gold-300); font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold-300); }
.site-footer p { color: var(--muted); }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(226,196,143,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .88rem; position: relative; }

.to-top {
	position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
	border: none; background: var(--gold-grad); color: var(--emerald-900); cursor: pointer; box-shadow: var(--shadow);
	opacity: 0; pointer-events: none; transform: translateY(10px); transition: .3s; font-size: 1.2rem;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Elementor full width template */
.elementor-full .site-main { padding-top: 90px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
	.steps::before { display: none; }
	.header-cta { display: none; }
}
@media (max-width: 860px) {
	.hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
	.hero { padding-top: 120px; text-align: center; }
	.hero p.lead { margin-inline: auto; }
	.hero-actions, .hero-stats { justify-content: center; }
	.hero-visual { width: 100%; max-width: 340px; margin: 0 auto; order: -1; }
	.grid-3 { grid-template-columns: 1fr; }
	.nav-toggle { display: grid; place-items: center; }
	.main-nav {
		position: fixed; inset: 0; top: 0; z-index: -1; background: rgba(4, 36, 31, .97);
		display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s;
	}
	.nav-open .main-nav { opacity: 1; pointer-events: auto; }
	.main-nav ul { flex-direction: column; border: none; background: none; text-align: center; gap: 14px; }
	.main-nav a { font-size: 1.4rem; padding: .5em 2em; }
	.about-media .badge { inset-inline-end: 12px; }
	.section { padding: 80px 0; }
	.cta-band { padding: 48px 22px; }
	.form-card { padding: 26px 20px; }
}
@media (max-width: 560px) {
	.grid-4, .steps, .form-row { grid-template-columns: 1fr; }
	.brand-name { font-size: 1.25rem; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}
