﻿/* Privacy surfaces share the resort's warm ivory and deep green palette. */
.cookie-banner[hidden], [data-cookie-settings][hidden] { display: none; }
.cookie-banner {
  position: fixed;
  inset: auto auto 24px 24px;
  z-index: 1100;
  width: min(440px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  background: #f7f3ea;
  color: #20241f;
  border: 1px solid #dbd6c9;
  border-top: 3px solid #1f4a4c;
  border-radius: 4px;
  box-shadow: 0 12px 48px #0f22262b;
  font-size: 13px;
  line-height: 1.75;
}
.cookie-banner .eyebrow, .privacy-dialog .eyebrow { font-size: 10px; letter-spacing: .18em; color: #1f4a4c; }
.cookie-banner h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 31px; line-height: 1.15; margin: 10px 0 14px; }
.cookie-copy > p:not(.eyebrow) { color: #535c54; }
.cookie-policy-links { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 11px; }
.cookie-policy-links span { color: #aba99d; }
.cookie-banner a, .privacy-dialog a, .legal-page a, .inquiry-privacy a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #9ca99e; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.cookie-actions button { min-width: 0; min-height: 44px; padding: 12px; border: 1px solid #1f4a4c; border-radius: 2px; color: #f7f3ea; background: #1f4a4c; font-size: 12px; font-weight: 500; line-height: 1.4; transition: background .2s, color .2s; }
.cookie-actions button:hover { background: #0f3032; }
.cookie-actions [data-settings] { grid-column: 1 / -1; min-height: 36px; padding: 6px; border-color: transparent; color: #1f4a4c; background: transparent; font-size: 11px; }
.cookie-actions [data-settings] span { margin-left: 8px; }
.cookie-actions [data-settings]:hover { background: #ece1cb; }
.cookie-actions button:focus-visible, .privacy-option input:focus-visible { outline: 3px solid #3e7c82; outline-offset: 3px; }
.privacy-dialog { margin: auto; width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 36px; border: 1px solid #dbd6c9; border-top: 3px solid #1f4a4c; border-radius: 4px; background: #f7f3ea; color: #535c54; font-size: 13px; line-height: 1.75; box-shadow: 0 24px 100px #0003; }
.privacy-dialog::backdrop { background: #0f2226ad; backdrop-filter: blur(4px); }
.privacy-dialog h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 38px; line-height: 1.15; margin: 10px 0 14px; }
.privacy-option { position: relative; display: block; padding: 18px; margin: 18px 0; background: #eeece2; border: 1px solid #dcded1; border-radius: 3px; }
.privacy-option strong { color: #1f3938; font-weight: 500; }
.privacy-option .privacy-badge { display: inline-block; margin: 6px 0 0; padding: 2px 8px; border-radius: 20px; color: #315649; background: #dfe7d9; font-size: 10px; font-weight: 500; }
.privacy-option input { width: 20px; height: 20px; accent-color: #1f4a4c; vertical-align: middle; margin-right: 8px; cursor: pointer; }
label.privacy-option { cursor: pointer; }
label.privacy-option:hover { border-color: #789084; }
.privacy-option p { margin-top: 8px; font-size: 12px; }
.privacy-dialog .cookie-actions button[type='submit'] { color: #1f4a4c; background: transparent; border-color: #acb7ac; }
.privacy-dialog .cookie-actions button[type='submit']:hover { background: #ece1cb; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; padding: 18px 0; border-top: 1px solid #f3efe729; font-size: 11px; letter-spacing: .03em; }
.footer-legal a, .footer-legal button { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal button { font-size: inherit; font-weight: inherit; letter-spacing: inherit; }
.footer-legal a:hover, .footer-legal button:hover { text-decoration: underline; text-underline-offset: 4px; }
.inquiry-privacy { font-size: 12px; line-height: 1.8; margin: 0 0 24px; padding-left: 16px; border-left: 2px solid #94a79a; color: #535c54; }
.legal-header { padding: 24px 6vw; border-bottom: 1px solid var(--line); display: flex; align-items: center; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.legal-header > a:first-child { font-family: Georgia, serif; letter-spacing: .1em; font-size: 14px; color: #1f4a4c; }
.legal-header > a:last-child { font-size: 12px; color: #1f4a4c; }
.legal-page { max-width: 800px; margin: 0 auto; padding: 72px 28px 88px; font-family: 'Inter', Arial, sans-serif; font-size: 15px; line-height: 1.9; color: #535c54; }
.legal-page h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(42px, 6vw, 66px); line-height: 1.1; margin: 16px 0 20px; color: #1f3938; }
.legal-page h1 + p { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #d7d9cd; font-size: 11px; letter-spacing: .04em; }
.legal-page h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; line-height: 1.25; margin-top: 38px; color: #1f3938; }
.legal-page p { margin: 14px 0; }
.legal-page a { color: #1f4a4c; overflow-wrap: anywhere; }
.legal-footer { padding: 24px 6vw; }
.legal-footer::before { display: none; }
.legal-footer > p { font-size: 11px; opacity: .75; }
.legal-footer .footer-legal { border-top: 0; padding-top: 0; }
@media (max-width: 600px) {
  .cookie-banner { inset: auto 12px 12px; width: auto; max-height: min(70dvh, 540px); padding: 22px; }
  .cookie-banner h2 { font-size: 28px; }
  .cookie-actions { margin-top: 18px; }
  .privacy-dialog { padding: 24px; }
  .privacy-dialog h2 { font-size: 32px; }
  .legal-header { padding: 20px 24px; }
  .legal-page { padding: 44px 24px 60px; font-size: 14px; }
  .footer-legal { gap: 0 20px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-actions button { transition: none; } }
