/* Yas Marina Yacht Rental – header, footer, forms, languages · @author Mohammed Zaki */
.yma-note a { color: var(--yma-turq-d); font-weight: 700; }

/* ---------- top bar ---------- */
.yma-topbar { background: var(--yma-grad); color: rgba(255, 255, 255, .92); font-size: 12.5px; }
.yma-topbar .yma-wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 14px; }
.yma-topbar b { color: #fff; font-weight: 700; }
.yma-topbar i { font-style: normal; color: var(--yma-sun); padding: 0 8px; }
.yma-tb-tabby { font-style: italic; font-weight: 800; background: #3EFFC0; color: #111; padding: 1px 7px; border-radius: 999px; font-size: 11px; }
.yma-tb-right { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.yma-tb-right a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.yma-tb-right svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; }
.yma-tb-open:before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yma-sun); margin-right: 6px; box-shadow: 0 0 0 3px rgba(255, 210, 122, .3); }
@media (max-width: 900px) { .yma-tb-left { display: none; } .yma-topbar .yma-wrap { justify-content: center; } }
@media (max-width: 480px) { .yma-tb-open { display: none; } }

/* ---------- header ---------- */
.yma-header { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); box-shadow: 0 1px 0 var(--yma-line), 0 10px 30px rgba(14, 59, 67, .06); }
.yma-nav { gap: 14px; }
.yma-nav-menu { margin-inline: auto; }
.yma-head-cta { display: flex; align-items: center; gap: 10px; }
.yma-head-call { width: 44px; height: 44px; border-radius: 50%; background: var(--yma-aqua); display: grid; place-items: center; transition: .2s; }
.yma-head-call svg { width: 18px; height: 18px; fill: none; stroke: var(--yma-turq-d); stroke-width: 2; }
.yma-head-call:hover { background: var(--yma-turq); }
.yma-head-call:hover svg { stroke: #fff; }
.yma-head-book { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--yma-grad-sun); color: #fff; font-family: var(--yma-head); font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 8px 20px rgba(255, 111, 89, .35); transition: .2s; white-space: nowrap; }
.yma-head-book:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 12px 26px rgba(255, 111, 89, .45); }
.yma-head-book svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.yma-mob-cta { display: none; }
@media (max-width: 1280px) and (min-width: 901px) {
	.yma-menu a { padding: 8px 9px; font-size: 13.5px; }
	.yma-head-book { font-size: 0; gap: 0; width: 44px; height: 44px; padding: 0; justify-content: center; }
	.yma-head-book svg { width: 19px; height: 19px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
	.yma-menu { gap: 0; }
	.yma-menu a { font-size: 13px; padding: 8px 7px; }
	.yma-lsel-btn span, .yma-lsel-btn .chev { display: none; }
	.yma-logo { font-size: 17px; }
	.yma-logo svg { width: 38px; height: 38px; flex-basis: 38px; }
}
@media (max-width: 960px) {
	.yma-head-cta { display: none; }
	.yma-nav-menu { display: none; }
}

/* ---------- footer ---------- */
.yma-footer { background: transparent; padding: 0; position: relative; }
.yma-fcta { padding: 70px 0 0; background: transparent; position: relative; z-index: 2; margin-bottom: -70px; }
.yma-fcta-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; background: var(--yma-grad); border-radius: 30px; padding: 40px 42px; box-shadow: 0 24px 60px rgba(0, 166, 180, .3); position: relative; overflow: hidden; color: #fff; }
.yma-fcta-box:before { content: ""; position: absolute; right: -70px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE3A6, var(--yma-sun) 60%, transparent 61%); opacity: .7; pointer-events: none; }
.yma-fcta-box:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 26c150 22 300 22 450 4s300-22 450-4 220 24 300 18v16H0z' fill='%23ffffff' fill-opacity='.15'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; pointer-events: none; }
.yma-fcta-box > * { position: relative; z-index: 1; }
@media (max-width: 860px) { .yma-fcta-box { grid-template-columns: 1fr; padding: 30px 22px; } }
.yma-fcta-kicker { font-family: var(--yma-head); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--yma-teal); background: var(--yma-sun); padding: 5px 12px; border-radius: 999px; font-weight: 700; display: inline-block; }
.yma-fcta h2 { font-family: var(--yma-head); font-weight: 800; color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin: 12px 0 8px; letter-spacing: -.4px; }
.yma-fcta p { color: rgba(255, 255, 255, .92); margin: 0 0 20px; }
.yma-fcta-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yma-fcta-stats li { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 18px; padding: 14px 16px; margin: 0; backdrop-filter: blur(4px); }
.yma-fcta-stats b { display: block; font-family: var(--yma-head); font-size: 24px; color: #fff; font-weight: 800; }
.yma-fcta-stats span { font-size: 12px; color: rgba(255, 255, 255, .85); }
.yma-footer .yma-fcta .yma-btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .75); }
.yma-fwave { display: block; width: 100%; height: 80px; margin-top: 0; position: relative; z-index: 1; }
.yma-fwave path { fill: var(--yma-teal); }
.yma-fbody { background: var(--yma-teal); padding: 70px 0 24px; margin-top: -1px; }
.yma-footer .yma-fgrid { grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-top: 40px; }
@media (max-width: 900px) { .yma-footer .yma-fgrid { grid-template-columns: 1fr 1fr; } .yma-fbrand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .yma-footer .yma-fgrid { grid-template-columns: 1fr; } }
.yma-footer h4 { color: var(--yma-turq-l); font-family: var(--yma-head); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 14px; }
.yma-footer .yma-logo { color: #fff; }
.yma-footer .yma-logo small { color: var(--yma-turq-l); }
.yma-fbrand p { margin: 14px 0; line-height: 1.7; max-width: 400px; }
.yma-fbadges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.yma-fbadges li { font-size: 12px; background: rgba(255, 255, 255, .08); color: #fff; padding: 6px 11px; border-radius: 999px; margin: 0; }
.yma-fnote { display: block; padding: 4px 0; }
.yma-fpay { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding: 22px 24px; background: rgba(255, 255, 255, .06); border-radius: 22px; }
.yma-fpay h4 { margin-bottom: 4px; }
.yma-fpay p { margin: 0; font-size: 13px; max-width: 520px; }
.yma-paylogos { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.yma-paylogos li { height: 36px; min-width: 58px; padding: 0 12px; border-radius: 10px; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: 13px; margin: 0; }
.yma-paylogos .card { color: var(--yma-teal); font-weight: 700; }
.yma-paylogos .card svg { width: 18px; height: 18px; fill: none; stroke: var(--yma-turq-d); stroke-width: 2; }
.yma-paylogos .visa { color: #1a1f71; font-style: italic; letter-spacing: .5px; font-size: 15px; }
.yma-paylogos .mc i { width: 18px; height: 18px; border-radius: 50%; display: block; background: #eb001b; }
.yma-paylogos .mc i + i { background: #f79e1b; margin-left: -13px; opacity: .9; }
.yma-paylogos .tabby { background: #3EFFC0; font-style: italic; }
.yma-paylogos .tamara { background: linear-gradient(90deg, #f6a1b3, #c8a2f5 55%, #9fc3ff); color: #fff; }
.yma-footer .yma-copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 0; margin-top: 0; padding-top: 20px; }
.yma-copy-links { display: flex; gap: 16px; }
.yma-footer .yma-copy-links a { display: inline !important; padding: 0 !important; }

/* ---------- contact form (Contact Form 7) ---------- */
.wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; border: 1px solid var(--yma-line); border-radius: 24px; padding: 26px; box-shadow: var(--yma-shadow); }
.wpcf7 form > p { margin: 0; }
.wpcf7 form .yma-full { grid-column: 1 / -1; }
@media (max-width: 620px) { .wpcf7 form { grid-template-columns: 1fr; } }
.wpcf7 label { font-size: 13px; font-weight: 700; color: var(--yma-teal); display: block; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=date], .wpcf7 input[type=number], .wpcf7 select, .wpcf7 textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--yma-line); border-radius: 14px; font-size: 15px; background: #FBFEFE; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--yma-turq); outline: none; }
.wpcf7 textarea { height: 110px; }
.wpcf7 input[type=submit] { background: var(--yma-grad-sun); color: #fff; border: 0; border-radius: 999px; padding: 14px 30px; font-weight: 700; font-size: 15px; cursor: pointer; }
.wpcf7 .wpcf7-response-output { grid-column: 1 / -1; margin: 0; border-radius: 12px; }
.yma-map iframe { display: block; }
.yma-map > div { border-radius: 24px !important; box-shadow: var(--yma-shadow); }

/* ---------- language switchers (Polylang) ---------- */
.yma-langs { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--yma-line); border-radius: 999px; padding: 3px; background: #fff; }
.yma-langs a { display: inline-flex; align-items: center; gap: 6px; color: var(--yma-teal) !important; font-weight: 700; font-size: 12px; padding: 5px 11px; border-radius: 999px; text-decoration: none; line-height: 1.2; }
.yma-langs a.on { background: var(--yma-turq); color: #fff !important; }
.yma-langs .yma-flag { width: 16px; height: 16px; flex-basis: 16px; }
.yma-lsel { position: relative; margin-inline-start: auto; }
.yma-lsel-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--yma-line); background: #fff; color: var(--yma-teal); font: 700 13px Inter, sans-serif; transition: .2s; }
.yma-lsel-btn:hover, .yma-lsel.open .yma-lsel-btn { border-color: var(--yma-turq); background: var(--yma-aqua); }
.yma-lsel-btn svg { width: 17px; height: 17px; fill: none; stroke: var(--yma-turq-d); stroke-width: 1.8; stroke-linecap: round; }
.yma-lsel-btn .chev { width: 14px; height: 14px; transition: transform .2s; }
.yma-lsel.open .chev { transform: rotate(180deg); }
.yma-lsel-list { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 200px; margin: 0; padding: 8px; list-style: none; z-index: 60; background: #fff; border: 1px solid var(--yma-line); border-radius: 18px; box-shadow: var(--yma-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; }
.yma-lsel.open .yma-lsel-list { opacity: 1; visibility: visible; transform: none; }
.yma-lsel-list li { margin: 0; }
.yma-lsel-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; color: var(--yma-teal); text-decoration: none; font-size: 14px; font-weight: 600; }
.yma-lsel-list a:hover, .yma-lsel-list a.on { background: var(--yma-aqua); }
.yma-lsel-list a i { margin-inline-start: auto; font-style: normal; color: var(--yma-turq-d); }
.yma-flag { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); stroke: none !important; }
.yma-lsel-list a .yma-flag { width: 24px; height: 24px; flex-basis: 24px; }
.yma-lsel-list a.on .yma-flag { box-shadow: 0 0 0 2px var(--yma-turq); }
@media (max-width: 900px) {
	.yma-lsel { margin-inline-end: 8px; }
	.yma-lsel-btn { height: 44px; padding: 0 10px; border-radius: 14px; }
	.yma-lsel-btn .chev { display: none; }
}
.yma-drawer .yma-langs { display: flex; flex-wrap: wrap; }

/* ---------- Arabic (Tajawal) ---------- */
html[lang^="ar"] { --yma-head: "Tajawal", "DM Sans", sans-serif; --yma-body: "Tajawal", Inter, sans-serif; }
html[lang^="ar"] body, html[lang^="ar"] button, html[lang^="ar"] input, html[lang^="ar"] textarea { font-family: "Tajawal", Inter, system-ui, sans-serif; }
html[lang^="ar"] .yma-tabby b, html[lang^="ar"] .yma-tamara b, html[lang^="ar"] .yma-paylogos, html[lang^="ar"] .yma-paybadge b { font-family: Inter, sans-serif; }
html[lang^="ar"] .yma-section h2, html[lang^="ar"] .yma-hero h1, html[lang^="ar"] .yma-section h3, html[lang^="ar"] .entry-title, html[lang^="ar"] .entry-content h2, html[lang^="ar"] .entry-content h3, html[lang^="ar"] .yma-bp-head h1 { line-height: 1.35; letter-spacing: 0; }
html[lang^="ar"] .yma-kicker, html[lang^="ar"] .yma-fcta-kicker, html[lang^="ar"] .yma-specs span, html[lang^="ar"] .yma-bp-facts span { letter-spacing: 0; }
html[lang^="ar"] .yma-hero h1 { font-size: clamp(32px, 4.6vw, 56px); }
html[lang^="ar"] .yma-logo span { font-size: 21px; letter-spacing: 0; }
html[lang^="ar"] .yma-logo small { letter-spacing: .5px; font-size: 12px; }
[dir="rtl"] .yma-tb-open:before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .yma-card-media, [dir="rtl"] .yma-gal-stage, [dir="rtl"] .yma-gal-thumbs, [dir="rtl"] .yma-lightbox { direction: ltr; }
[dir="rtl"] .yma-steps li { padding: 0 66px 22px 0; }
[dir="rtl"] .yma-steps li:before { left: auto; right: 0; }
[dir="rtl"] .yma-steps li:after { left: auto; right: 23px; }
[dir="rtl"] .yma-inc li { padding: 10px 34px 10px 0; }
[dir="rtl"] .yma-inc li:before { left: auto; right: 0; }
[dir="rtl"] .yma-check li { padding: 7px 32px 7px 0; }
[dir="rtl"] .yma-check li:before { left: auto; right: 0; }
[dir="rtl"] .yma-panel-trust li { padding: 4px 22px 4px 0; }
[dir="rtl"] .yma-panel-trust li:before { left: auto; right: 0; }
[dir="rtl"] .yma-crumbs span { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .yma-table th, [dir="rtl"] .yma-table td { text-align: right; }
[dir="rtl"] .yma-hero-badge { left: auto; right: -22px; }
[dir="rtl"] .yma-hero-price { right: auto; left: 18px; }
[dir="rtl"] .yma-hero-sun { right: auto; left: -30px; }
[dir="rtl"] .yma-hero-photo { border-radius: 36px 36px 120px 36px; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] .yma-fnote { unicode-bidi: plaintext; }
[dir="rtl"] a[href^="tel:"] { direction: ltr; }
[dir="rtl"] .yma-card-title, [dir="rtl"] .yma-bp-head h1, [dir="rtl"] .yma-crumbs b { unicode-bidi: plaintext; }

/* ---------- Russian: DM Sans has no Cyrillic, use Inter for headings ---------- */
html[lang^="ru"] { --yma-head: Inter, system-ui, sans-serif; }
html[lang^="ru"] .yma-section h2, html[lang^="ru"] .yma-hero h1 { letter-spacing: -.3px; }
html[lang^="ru"] .yma-menu a { font-size: 13.5px; padding: 8px 9px; }

/* Chinese */
html[lang^="zh"] body, html[lang^="zh"] button { font-family: "Noto Sans SC", Inter, system-ui, sans-serif; }
html[lang^="zh"] { --yma-head: "Noto Sans SC", "DM Sans", sans-serif; }
.yma-footer.is-home { margin-top: 10px; }
