@import url("/assets/fonts/fonts.css");

:root {
    --cream: #f4efe4;
    --stone: #d6c8b2;
    --green: #28392d;
    --bronze: #9a7047;
    --paper: #faf7f0;
    --line: #b5a78f;
    --muted: #576053;
    --body: "DM Sans", Arial, sans-serif;
    --display: "Cormorant Garamond", Georgia, serif;
    color: var(--green);
    background: var(--cream);
    font: 16px/1.55 var(--body);
    font-synthesis: none;
}

[dir="rtl"] { --body: "Noto Sans Arabic", Tahoma, sans-serif; --display: "Noto Sans Arabic", Tahoma, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: .97; letter-spacing: -.035em; }
[dir="rtl"] h1, [dir="rtl"] h2 { line-height: 1.25; letter-spacing: normal; }
h1 { font-size: clamp(2.8rem, 5.2vw, 5.4rem); text-wrap: balance; }
h2 { font-size: clamp(2.45rem, 3.9vw, 4.1rem); text-wrap: balance; }
.wrap { width: min(100% - 104px, 1264px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 16px; top: 8px; z-index: 10; background: var(--cream); padding: 10px 16px; transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { background: var(--cream); position: relative; z-index: 5; }
.header-inner { min-height: 82px; width: min(100% - 104px, 1360px); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { width: 176px; flex: 0 0 auto; display: inline-block; }
.logo img { width: 100%; height: auto; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: clamp(16px, 2.65vw, 40px); }
.desktop-nav a { font-size: .91rem; text-decoration: none; font-weight: 500; white-space: nowrap; }
.desktop-nav a:hover, nav a[aria-current] { text-decoration: underline; }
.header-actions { gap: 17px; }
.button { min-height: 47px; padding: 11px 19px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; border: 1px solid var(--green); color: var(--cream); background: var(--green); font-size: .9rem; font-weight: 500; line-height: 1.35; text-decoration: none; text-align: center; }
.button:hover { background: #384c3e; text-decoration: none; }
.button-cream { background: var(--cream); color: var(--green); border-color: var(--cream); }
.button-cream:hover { background: #fffaf1; }
.button-outline { background: transparent; color: var(--cream); border-color: #f4efe4aa; }
.button-outline:hover { background: #f4efe423; }
.flow-arrow { display: inline-block; opacity: .9; }
[dir="rtl"] .flow-arrow { transform: scaleX(-1); }

.language-menu, .mobile-nav { position: relative; }
.language-menu summary, .mobile-nav summary { display: flex; align-items: center; justify-content: center; gap: 6px; list-style: none; padding: 6px; min-height: 44px; min-width: 44px; font-size: .83rem; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
.language-menu ul, .mobile-nav nav { margin: 0; position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 155px; background: var(--paper); border: 1px solid var(--line); padding: 7px; list-style: none; box-shadow: 0 12px 24px #15201723; }
.language-menu a, .mobile-nav nav a { display: block; text-decoration: none; padding: 8px 12px; }
.language-menu a:hover, .language-menu a[aria-current], .mobile-nav nav a:hover { background: var(--cream); }
.mobile-nav { display: none; }
.mobile-nav summary { font-size: 1.35rem; }

.hero { position: relative; display: flex; align-items: center; min-height: clamp(500px, 47vw, 680px); color: var(--cream); isolation: isolate; background: var(--green); overflow: hidden; }
.photo { width: 100%; object-fit: cover; background: var(--stone); }
.photo-hero, .hero-veil { position: absolute; width: 100%; height: 100%; inset: 0; z-index: -1; }
.photo-hero { object-position: 55% 52%; }
.hero-veil { background: linear-gradient(90deg, #0d170ff5 0%, #142116c9 31%, #17251768 56%, #18281a05 100%), linear-gradient(0deg, #1622186a, transparent 44%); }
[dir="rtl"] .hero-veil { transform: scaleX(-1); }
.hero-content { padding-block: 78px 84px; }
.hero .eyebrow { margin-bottom: 23px; }
.eyebrow { font-family: var(--body); font-size: .73rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; line-height: 1.6; }
[dir="rtl"] .eyebrow { letter-spacing: normal; }
.hero-location { display: flex; align-items: center; gap: 11px; }
.hero-location span { width: 27px; height: 1px; background: var(--stone); }
.hero h1 { font-size: clamp(3.1rem, 6.05vw, 6.1rem); max-width: 12.4ch; text-wrap: initial; }
:lang(en) .hero h1, :lang(de) .hero h1, :lang(fr) .hero h1, :lang(ru) .hero h1 { max-width: 17ch; font-size: clamp(3rem, 4.9vw, 5.7rem); }
[dir="rtl"] .hero h1 { font-size: clamp(2.6rem, 4.7vw, 5.2rem); max-width: 19ch; }
.hero h1 em { color: #e9dfc9; font-style: normal; }
.hero-intro { color: #f3ecdf; max-width: 36ch; margin-top: 24px; }
.action-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }

.stats { border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-block: 24px; margin-block: 0; }
.stat-grid > div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 0 24px; border-inline-end: 1px solid var(--line); }
.stat-grid > div:first-child { padding-inline-start: 0; }
.stat-grid > div:last-child { border: 0; }
.stat-grid dd { margin: 0; font: 500 clamp(2rem, 3.4vw, 3.5rem)/1.04 var(--display); }
[dir="rtl"] .stat-grid dd { font-family: "DM Sans", Arial, sans-serif; font-size: clamp(1.5rem, 2.9vw, 2.75rem); }
.stat-grid dt { color: var(--muted); font-size: .86rem; }

.section { padding-block: clamp(52px, 7vw, 104px); }
.editorial { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(35px, 8vw, 132px); }
.editorial-copy p:not(.eyebrow), .page-heading p:not(.eyebrow) { color: var(--muted); max-width: 55ch; margin-top: 22px; }
.editorial-copy .eyebrow, .section-heading .eyebrow, .page-heading .eyebrow { margin-bottom: 13px; }
.editorial-copy .button, .editorial-copy .text-link, .page-heading .text-link { margin-top: 27px; }
.photo-balanced { aspect-ratio: 4/3; height: auto; }
.photo-card { aspect-ratio: 4/3; height: auto; }
.photo-contact { margin-top: 26px; aspect-ratio: 16/9; height: auto; }
.text-link { text-decoration: none; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--bronze); padding-bottom: 4px; width: fit-content; }
.text-link:hover { border-bottom-color: currentColor; text-decoration: none; }
.feature-band { background: #e9dfce; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 27px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.picture-link { text-decoration: none; }
.picture-link span { display: block; margin-top: 8px; font-size: .89rem; }
.location-teaser { grid-template-columns: 1.12fr .88fr; }
.visit-band { background: var(--stone); padding-block: clamp(32px, 5vw, 65px); }
.visit-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.visit-band h2 { margin-top: 9px; font-size: clamp(2rem, 3.3vw, 3.8rem); }
.visit-band .button { flex-shrink: 0; }
.site-footer { padding-block: 44px; color: var(--cream); background: var(--green); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; }
.footer-inner p, .footer-inner small { font-size: .83rem; color: #e2ddcf; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 11px 20px; }
.footer-inner nav a { font-size: .87rem; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

.page-section { min-height: 49vh; }
.page-heading { margin-bottom: 32px; }
.narrow { max-width: 780px; }
.film { margin-top: 55px; }
.film h2 { margin-bottom: 20px; }
.film video { width: 100%; max-height: 610px; background: var(--green); }
.lightbox { background: var(--green); border: 0; padding: 12px; max-width: min(94vw, 1280px); }
.lightbox::backdrop { background: #101911e6; }
.lightbox img { max-height: 80vh; object-fit: contain; }
.lightbox form { position: absolute; inset-inline-end: 16px; top: 16px; }
.lightbox button { min-width: 44px; padding: 5px; font-size: 1.5rem; }
.villa-details .stat-grid { border-bottom: 1px solid var(--line); padding-top: 0; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 32px; padding: 0; margin: 30px 0 0; list-style: none; }
.feature-list li { padding-inline-start: 17px; border-inline-start: 2px solid var(--bronze); }

.contact-grid { display: grid; grid-template-columns: 1fr .91fr; gap: clamp(29px, 8vw, 122px); align-items: start; }
.contact-card { border: 1px solid var(--line); background: var(--paper); padding: clamp(20px, 3.4vw, 43px); }
.contact-card h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: 19px; }
form label { display: block; font-size: .92rem; font-weight: 500; }
form label + label { margin-top: 13px; }
form input:not([type="hidden"]), form textarea, form select { background: var(--paper); color: var(--green); border: 1px solid var(--line); border-radius: 0; width: 100%; display: block; min-height: 44px; padding: 8px 10px; margin-top: 4px; }
form textarea { resize: vertical; }
.form-meta { font-size: .82rem; margin-block: 14px; }
.notice { padding: 12px 14px; border-inline-start: 3px solid var(--green); background: var(--cream); margin-bottom: 15px; }
.notice.error { color: #82252a; border-color: #82252a; }

@media (max-width: 1010px) {
    .wrap, .header-inner { width: calc(100% - 70px); }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; }
}
@media (max-width: 700px) {
    .wrap, .header-inner { width: calc(100% - 36px); }
    .header-inner { min-height: 65px; gap: 12px; }
    .logo { width: 160px; }
    .header-actions { gap: 5px; }
    .top-cta { display: none; }
    .hero { min-height: 555px; }
    .photo-hero { object-position: 58% 67%; }
    .hero-veil { background: linear-gradient(0deg, #0d170ff2 0%, #122015c5 36%, #17251758 73%, #18281a15 100%); }
    .hero-content { align-self: flex-end; padding-block: 54px 48px; }
    .hero .eyebrow { margin-bottom: 15px; }
    .hero-intro { margin-top: 16px; }
    .action-row { margin-top: 21px; }
    .stat-grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 0; padding-block: 19px; }
    .stat-grid > div { padding-inline: 13px; }
    .stat-grid > div:nth-child(odd) { padding-inline-start: 0; }
    .stat-grid > div:nth-child(even) { border: 0; }
    .editorial, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 15px 13px; }
    .home-gallery { grid-template-columns: 1fr; }
    .section-heading, .visit-band .wrap { align-items: flex-start; flex-direction: column; gap: 15px; }
    .footer-inner { grid-template-columns: 1fr; gap: 18px; }
    .feature-list { grid-template-columns: 1fr; }
}

.direct-contact { display: grid; gap: 5px; margin-top: 23px; padding-inline-start: 15px; border-inline-start: 1px solid var(--bronze); }
.direct-contact .text-link { margin-top: 4px; }
.direct-contact div { display: flex; flex-wrap: wrap; gap: 5px 10px; }
.narrow.page-heading p { max-width: 68ch; }

.footer-knowledge a { color: var(--cream); font-size: .92rem; font-weight: 600; }
.footer-knowledge { margin-top: 12px; }

.villa-availability { margin-block: 24px; padding: 16px 20px; background: var(--paper); border-inline-start: 2px solid var(--bronze); }
.villa-availability .eyebrow { margin-bottom: 5px; }
.villa-availability ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.villa-availability li { font-weight: 500; }

.knowledge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 500px)); gap: 24px; }
.knowledge-card { background: var(--paper); border: 1px solid var(--line); }
.knowledge-card a { display: block; text-decoration: none; }
.knowledge-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.knowledge-card-copy { padding: clamp(18px, 3vw, 28px); }
.knowledge-card h2 { font-size: clamp(2rem, 4vw, 3rem); text-wrap: initial; }
.knowledge-card p { margin-block: 12px 16px; color: var(--muted); }
.knowledge-card a:hover .text-link { border-bottom-color: currentColor; }

.article-header { max-width: 790px; margin-bottom: 28px; }
.article-header h1 { margin-top: 16px; text-wrap: initial; }
.article-header p { margin-top: 14px; color: var(--muted); }
.article-layout { max-width: 790px; }
.article-layout.with-contents { max-width: none; display: grid; grid-template-columns: minmax(0, 790px) minmax(235px, 300px); gap: clamp(24px, 5vw, 78px); align-items: start; }
.article-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 25px; }
.article-copy p + p { margin-top: 14px; }
.article-section { margin-top: 38px; scroll-margin-top: 24px; }
.article-section h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); text-wrap: initial; }
.article-section > p { margin-top: 13px; }
.article-layout.with-contents > .article-copy { grid-column: 1; grid-row: 1; }
.article-sidebar { grid-column: 2; grid-row: 1; position: sticky; top: 24px; max-height: calc(100dvh - 48px); overflow-y: auto; }

.article-toc-disclosure { background: var(--paper); border: 1px solid var(--line); }
.article-toc-disclosure > summary { display: none; }
.article-toc { padding: 17px; }
.article-toc h2 { font: 600 1rem/1.5 var(--body); letter-spacing: normal; margin-bottom: 9px; }
.article-toc ul { list-style: none; padding: 0; margin: 0; }
.article-toc a { display: block; padding: 7px 9px; border-inline-start: 2px solid transparent; font-size: .88rem; line-height: 1.35; text-decoration: none; transition: background-color .16s, border-color .16s; }
.article-toc a:hover { background: var(--cream); }
.article-toc a[aria-current="location"] { border-inline-start-color: var(--bronze); background: var(--stone); font-weight: 600; }
.article-questions { margin-top: 16px; border-top: 1px solid var(--line); }
.article-questions details { padding: 13px 0; border-bottom: 1px solid var(--line); }
.article-questions summary { font-weight: 600; }
.article-questions p { margin-block: 8px 3px; }
.article-contact .contact-card { margin-top: 20px; }
.article-contact .contact-card h3 { font: 600 1.15rem/1.35 var(--body); margin: 0 0 16px; }

@media (prefers-reduced-motion: no-preference) {
    html:has(.article-toc) { scroll-behavior: smooth; }
}
@media (max-width: 860px) {
    .article-layout.with-contents { display: flex; flex-direction: column; gap: 20px; }
    .article-sidebar { position: static; max-height: none; overflow: visible; width: 100%; }
    .article-toc-disclosure > summary { display: list-item; padding: 12px 17px; font-weight: 600; }
    .article-toc-disclosure > summary::-webkit-details-marker { display: inline; }
    .article-toc h2 { display: none; }
    .article-toc { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .article-toc a { transition: none; }
}

.quick-contact { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 8; max-width: calc(100vw - 32px); }
.quick-contact summary { background: var(--green); color: var(--cream); border: 1px solid var(--stone); min-height: 46px; padding: 9px 15px; display: flex; gap: 13px; align-items: center; list-style: none; font-weight: 600; box-shadow: 0 4px 18px #0003; }
.quick-contact summary:focus-visible { outline-color: var(--bronze); }
.quick-contact summary span { width: 11px; height: 11px; background: linear-gradient(currentColor,currentColor) center/100% 1px no-repeat, linear-gradient(currentColor,currentColor) center/1px 100% no-repeat; }
.quick-contact[open] summary span { background-size: 100% 1px, 1px 0; }
.quick-contact-actions { position: absolute; left: 0; bottom: calc(100% + 8px); width: max-content; max-width: calc(100vw - 32px); display: grid; gap: 5px; list-style: none; margin: 0; padding: 5px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 5px 18px #0002; }
.quick-contact-actions a { display: flex; align-items: center; min-height: 42px; padding: 7px 12px; font-size: .91rem; font-weight: 500; text-decoration: none; }
.quick-contact-actions a:hover, .quick-contact-actions a:focus-visible { background: var(--stone); }
@media (max-width: 700px) { .site-footer { padding-bottom: 76px; } }
