:root {
  --ink: #173338;
  --ink-soft: #587075;
  --deep: #083f46;
  --deep-2: #0b5961;
  --sea: #1f8b91;
  --aqua: #d9f2ee;
  --foam: #f4fbf9;
  --sand: #f5ead8;
  --sun: #e7b668;
  --coral: #d8755f;
  --white: #fff;
  --line: #dce8e5;
  --shadow: 0 20px 60px rgba(9, 61, 68, .14);
  --shadow-soft: 0 12px 36px rgba(9, 61, 68, .1);
  --radius: 22px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 40px));
  --transition: 180ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 10px 16px; background: var(--white); border-radius: 8px; box-shadow: var(--shadow); transition: top var(--transition); }
.skip-link:focus { top: 16px; }
.announcement-bar { height: 36px; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; background: var(--deep); color: rgba(255,255,255,.86); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.announcement-bar a { color: white; font-weight: 800; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 1000; height: 74px; background: rgba(255,255,255,.93); border-bottom: 1px solid rgba(9,63,70,.08); backdrop-filter: blur(18px); }
.nav-shell { width: var(--shell); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 176px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50% 50% 50% 16%; background: linear-gradient(145deg, var(--deep), var(--sea)); color: white; font-family: Georgia, serif; font-weight: 800; letter-spacing: -.04em; box-shadow: 0 7px 20px rgba(8,63,70,.24); }
.brand span:last-child { display: grid; line-height: 1; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; letter-spacing: -.02em; }
.brand small { margin-top: 4px; color: var(--sea); font-size: .69rem; letter-spacing: .24em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 20px; flex: 1; }
.primary-nav a, .text-link { position: relative; color: var(--ink-soft); font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--sea); transition: right var(--transition); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--deep); border-radius: 10px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 800; font-size: .9rem; text-decoration: none; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition); }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(31,139,145,.3); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 10px 18px; font-size: .82rem; }
.button-primary { color: white; background: linear-gradient(135deg, var(--deep), var(--deep-2)); box-shadow: 0 10px 24px rgba(8,63,70,.22); }
.button-primary:hover { box-shadow: 0 14px 30px rgba(8,63,70,.28); }
.button-secondary { color: var(--deep); background: var(--white); border-color: rgba(8,63,70,.22); box-shadow: 0 8px 22px rgba(8,63,70,.08); }
.button-secondary:hover { border-color: var(--sea); }
.button-ghost { color: white; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255,255,255,.18); }
.button-light { color: var(--deep); background: white; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.55); background: transparent; }
.button-full { width: 100%; }
.arrow-link { display: inline-flex; align-items: center; gap: 9px; color: var(--deep); font-size: .9rem; font-weight: 800; text-decoration: none; }
.arrow-link span { transition: transform var(--transition); }
.arrow-link:hover span { transform: translateX(4px); }
.hero { min-height: 720px; position: relative; display: grid; align-items: center; overflow: hidden; color: white; }
.hero-media { position: absolute; inset: 0; background-image: url("https://media.vrbo.com/lodging/99000000/98520000/98515300/98515258/919e5d89.jpg?impolicy=resizecrop&ra=fill&rw=1800&rh=1040"), url("../images/property-hot-tub.jpg"); background-size: cover, cover; background-position: center, center; transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,32,37,.88) 0%, rgba(5,44,49,.68) 43%, rgba(5,38,43,.26) 70%, rgba(5,38,43,.46) 100%), linear-gradient(0deg, rgba(5,43,48,.5), transparent 45%); }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: clamp(40px, 7vw, 96px); align-items: center; padding-block: 80px; }
.hero-copy { max-width: 690px; }
.eyebrow { margin: 0 0 13px; color: var(--sea); font-size: .74rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow, .cta-section .eyebrow { color: #9ee4d9; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.15rem, 4vw, 3.8rem); }
h3 { line-height: 1.25; }
.hero-lead { max-width: 650px; margin-bottom: 30px; color: rgba(255,255,255,.88); font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.hero-buttons, .inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 0; margin-top: 38px; color: rgba(255,255,255,.82); }
.hero-trust span { padding: 0 18px; border-right: 1px solid rgba(255,255,255,.22); font-size: .82rem; }
.hero-trust span:first-child { padding-left: 0; }
.hero-trust span:last-child { border-right: 0; }
.hero-trust strong { color: white; font-size: 1.02rem; }
.quick-search { align-self: center; padding: 27px; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.25); backdrop-filter: blur(18px); }
.quick-search-heading { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; margin-bottom: 17px; border-bottom: 1px solid var(--line); }
.quick-search-heading div { display: grid; }
.quick-search-heading small { color: var(--ink-soft); font-size: .75rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #37ac7b; box-shadow: 0 0 0 6px rgba(55,172,123,.13); }
label { display: grid; gap: 6px; color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .02em; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 13px; color: var(--ink); background: white; border: 1px solid #ccdcd9; border-radius: 10px; transition: border-color var(--transition), box-shadow var(--transition); }
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #96b8b3; }
.quick-search label { margin-bottom: 12px; }
.form-note { margin: 12px 0 0; color: var(--ink-soft); font-size: .72rem; text-align: center; }
.form-note.success { color: #247753; }
.form-note.error { color: #a73c33; }
.trust-strip { position: relative; z-index: 2; background: white; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { min-height: 126px; display: flex; align-items: center; gap: 13px; padding: 26px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { border-left: 1px solid var(--line); }
.mini-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; color: var(--deep); background: var(--aqua); border-radius: 50%; font-size: 1.05rem; }
.trust-grid p { display: grid; margin: 0; line-height: 1.3; }
.trust-grid strong { font-size: .88rem; }
.trust-grid small { margin-top: 5px; color: var(--ink-soft); font-size: .72rem; }
.section { padding: 112px 0; }
.section-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow), .centered > p:not(.eyebrow) { color: var(--ink-soft); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.section-copy p { font-size: 1.02rem; }
.feature-photo { position: relative; padding: 0 0 45px 45px; }
.feature-photo::before { content: ""; position: absolute; inset: 44px 44px 0 0; z-index: -1; border-radius: var(--radius); background: var(--aqua) url("../images/coastal-pattern-2.png") center/cover; opacity: .62; }
.feature-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-note { position: absolute; left: 0; bottom: 0; max-width: 220px; padding: 18px 22px; color: white; background: var(--deep); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
.photo-note span { display: block; font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.photo-note small { display: block; margin-top: 6px; color: rgba(255,255,255,.8); }
.section-gallery { background: var(--foam); }
.row-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.row-heading h2 { margin-bottom: 0; }
.gallery-mosaic { height: 580px; display: grid; grid-template-columns: 1.65fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.gallery-item { position: relative; padding: 0; overflow: hidden; background: #cfdedb; border: 0; border-radius: 14px; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease, filter var(--transition); }
.gallery-item:hover img { transform: scale(1.045); filter: brightness(.93); }
.gallery-featured { grid-row: 1 / 3; }
.gallery-item span { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; color: white; background: rgba(5,48,54,.78); border-radius: 999px; font-size: .78rem; font-weight: 800; backdrop-filter: blur(8px); }
.gallery-video { cursor: pointer; }
.play-badge { left: 50% !important; bottom: 50% !important; transform: translate(-50%, 50%); font-size: .85rem !important; }
.section-amenities { position: relative; overflow: hidden; }
.section-amenities::before { content: ""; position: absolute; width: 520px; height: 520px; left: -280px; top: 120px; border-radius: 50%; background: var(--aqua); filter: blur(2px); opacity: .35; }
.section-heading.centered { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amenity-grid article { min-height: 245px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 8px 26px rgba(9,61,68,.05); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.amenity-grid article:hover { transform: translateY(-5px); border-color: #badbd6; box-shadow: var(--shadow-soft); }
.amenity-grid article > span { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 24px; color: var(--deep); background: var(--aqua); border-radius: 50%; font-size: 1.25rem; }
.amenity-grid h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 1.25rem; }
.amenity-grid p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.amenity-details { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--foam); overflow: hidden; }
.amenity-details summary { padding: 18px 22px; cursor: pointer; font-weight: 800; }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.room-grid div { display: grid; padding: 22px; background: white; }
.room-grid span { margin-top: 5px; color: var(--ink-soft); font-size: .82rem; }
.section-calendar { color: white; background: var(--deep); }
.section-calendar .eyebrow { color: #92ded3; }
.calendar-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(44px, 7vw, 90px); align-items: start; }
.calendar-copy > p:not(.eyebrow) { color: rgba(255,255,255,.73); }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; font-size: .77rem; }
.calendar-legend span { display: flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 13px; height: 13px; border-radius: 4px; }
.legend-available { background: white; }
.legend-unavailable { background: #719096; }
.legend-selected { background: var(--sun); }
.policy-card { margin-top: 34px; padding: 25px; color: var(--ink); background: var(--sand); border-radius: var(--radius-sm); }
.policy-card ul { margin: 12px 0 0; padding-left: 20px; color: #5d5a4f; }
.booking-card { padding: 28px; color: var(--ink); background: white; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.booking-card-top, .calendar-toolbar { display: flex; align-items: center; justify-content: space-between; }
.booking-card-top { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.booking-card-top div { display: grid; }
.booking-card-top small { color: var(--ink-soft); }
.icon-button, .calendar-toolbar button, .carousel-controls button, .gallery-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; transition: background var(--transition), border-color var(--transition), transform var(--transition); }
.icon-button:hover, .calendar-toolbar button:hover, .carousel-controls button:hover { background: var(--aqua); border-color: #afd8d2; }
.calendar-toolbar { padding: 19px 0 13px; }
.calendar-toolbar h3 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays { padding-bottom: 7px; color: var(--ink-soft); font-size: .68rem; font-weight: 900; text-align: center; text-transform: uppercase; }
.calendar-grid { gap: 5px; min-height: 325px; }
.calendar-day { min-height: 43px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; background: var(--foam); cursor: pointer; font-size: .78rem; font-weight: 800; transition: background var(--transition), color var(--transition), transform var(--transition); }
.calendar-day:hover:not(:disabled) { transform: translateY(-1px); background: var(--aqua); }
.calendar-day.outside { color: #b7c4c2; background: transparent; }
.calendar-day.unavailable, .calendar-day:disabled { color: #8fa3a5; background: #e6eeed; cursor: not-allowed; text-decoration: line-through; }
.calendar-day.past { opacity: .45; }
.calendar-day.selected, .calendar-day.in-range { color: #533e1e; background: #f0c47d; }
.calendar-day.range-start, .calendar-day.range-end { color: white; background: var(--deep); }
.booking-form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.date-summary { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px; margin-bottom: 16px; background: var(--foam); border-radius: 12px; }
.date-summary div { display: grid; }
.date-summary small { color: var(--ink-soft); font-size: .68rem; }
.date-summary strong { font-size: .84rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 13px; }
.booking-form > label { margin-bottom: 14px; }
.section-reviews { background: var(--sand); }
.review-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; margin-bottom: 44px; }
.score-ring { width: 128px; height: 128px; display: grid; place-content: center; text-align: center; color: white; background: var(--deep); border: 8px solid rgba(255,255,255,.7); border-radius: 50%; box-shadow: 0 0 0 1px rgba(8,63,70,.14), var(--shadow-soft); }
.score-ring strong { font-family: Georgia, serif; font-size: 2.7rem; line-height: .9; }
.score-ring small { margin-top: 7px; font-size: .66rem; }
.review-summary h2 { margin-bottom: 10px; }
.review-summary p:last-child { margin-bottom: 0; color: #6d675d; }
.stars { color: #bd7d21; letter-spacing: .1em; }
.review-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow: hidden; scroll-behavior: smooth; }
.review-card { min-height: 300px; display: flex; flex-direction: column; padding: 28px; background: white; border-radius: var(--radius-sm); box-shadow: 0 8px 28px rgba(70,54,29,.08); }
.review-card .stars { font-size: .8rem; }
.review-card blockquote { margin: 18px 0 24px; color: #4c5554; font-family: Georgia, serif; font-size: 1.08rem; line-height: 1.65; }
.review-author { display: grid; margin-top: auto; }
.review-author small { color: var(--ink-soft); }
.review-source { margin-top: 14px; color: var(--ink-soft); font-size: .68rem; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.carousel-controls span { min-width: 58px; text-align: center; font-size: .78rem; font-weight: 800; }
.section-location { background: var(--foam); }
.location-layout { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 560px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.location-card { padding: clamp(38px, 6vw, 74px); }
.nearby-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.nearby-list div { display: grid; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.nearby-list strong { color: var(--sea); font-size: 1.03rem; }
.nearby-list span { color: var(--ink-soft); font-size: .8rem; }
.location-note { margin-top: 28px; color: var(--ink-soft); font-size: .74rem; }
.map-frame iframe { width: 100%; height: 100%; min-height: 560px; border: 0; filter: saturate(.75) contrast(.95); }
.cta-section { padding: 0 0 90px; background: var(--foam); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 54px 60px; color: white; background: var(--deep) url("../images/coastal-pattern-1.png") center/cover; background-blend-mode: soft-light; border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-card h2 { max-width: 700px; margin-bottom: 10px; }
.cta-card p:last-child { margin-bottom: 0; color: rgba(255,255,255,.75); }
.cta-card > div:last-child { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { padding: 74px 0 26px; color: rgba(255,255,255,.74); background: #052f35; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr .85fr 1fr; gap: 60px; padding-bottom: 54px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid > div:first-child p { max-width: 260px; margin-top: 14px; }
.footer-grid strong { color: white; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-brand { color: white; }
.footer-brand small { color: #92ded3; }
.admin-link { margin-top: 8px; opacity: .55; font-size: .72rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; }
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,23,27,.88); backdrop-filter: blur(12px); }
.modal-dialog { position: relative; z-index: 1; width: min(1100px, 100%); border-radius: var(--radius-sm); }
.modal-video video { width: 100%; max-height: 80vh; background: black; border-radius: var(--radius-sm); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.modal-close { position: absolute; z-index: 4; right: -13px; top: -13px; width: 44px; height: 44px; display: grid; place-items: center; color: white; background: var(--deep); border: 2px solid white; border-radius: 50%; cursor: pointer; font-size: 1.45rem; }
.modal-gallery { display: grid; place-items: center; min-height: 80vh; }
.modal-gallery img { max-height: 78vh; border-radius: var(--radius-sm); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.modal-gallery p { margin-top: 14px; color: white; }
.gallery-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); color: white; background: rgba(5,48,54,.8); border-color: rgba(255,255,255,.2); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 3000; display: grid; gap: 10px; }
.toast { max-width: 360px; padding: 15px 18px; color: white; background: var(--deep); border-radius: 12px; box-shadow: var(--shadow); animation: toast-in 220ms ease; }
.toast.error { background: #8e3b35; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Shared portal pages */
.portal-page { min-height: 100vh; background: var(--foam); }
.portal-header { position: sticky; top: 0; z-index: 100; background: white; border-bottom: 1px solid var(--line); }
.portal-header-inner { width: var(--shell); min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-inline: auto; }
.portal-header-actions { display: flex; gap: 10px; align-items: center; }
.portal-shell { width: var(--shell); margin-inline: auto; padding: 54px 0 90px; }
.portal-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.portal-hero h1 { margin: 0; color: var(--deep); font-size: clamp(2.2rem, 5vw, 4rem); }
.portal-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 24px; }
.portal-sidebar { align-self: start; position: sticky; top: 96px; display: grid; gap: 6px; padding: 13px; background: white; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
.portal-nav-button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; color: var(--ink-soft); background: transparent; border: 0; border-radius: 10px; text-align: left; cursor: pointer; font-weight: 800; }
.portal-nav-button:hover, .portal-nav-button.active { color: var(--deep); background: var(--aqua); }
.portal-panel { display: none; }
.portal-panel.active { display: block; }
.panel-card { padding: 28px; margin-bottom: 20px; background: white; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(9,61,68,.06); }
.panel-card h2 { margin-bottom: 10px; font-size: 2rem; }
.panel-card h3 { margin-bottom: 16px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.panel-header h2, .panel-header h3 { margin: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.metric-card { padding: 22px; background: white; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.metric-card small { color: var(--ink-soft); }
.metric-card strong { display: block; margin-top: 7px; color: var(--deep); font-family: Georgia, serif; font-size: 2rem; }
.data-list { display: grid; gap: 11px; }
.data-item { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 14px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 11px; }
.data-item p { margin: 0; }
.data-item small { color: var(--ink-soft); }
.badge { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 999px; font-size: .67rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.badge.pending { color: #7b5a1c; background: #fff1ce; }
.badge.confirmed, .badge.published, .badge.active { color: #256448; background: #dff4e9; }
.badge.cancelled, .badge.rejected { color: #873d38; background: #f9dfdc; }
.badge.completed { color: #305b7d; background: #dfedf8; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .83rem; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--ink-soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.table-actions { display: flex; gap: 6px; }
.small-action { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; font-size: .7rem; font-weight: 800; }
.small-action:hover { background: var(--aqua); }
.small-action.danger:hover { color: white; background: #9a453e; border-color: #9a453e; }
.auth-shell { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { position: relative; min-height: 680px; background: var(--deep) url("../media/tour-poster.jpg") center/cover; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,45,51,.86), rgba(5,45,51,.08)); }
.auth-visual-copy { position: absolute; z-index: 1; left: 8%; right: 8%; bottom: 8%; color: white; }
.auth-visual-copy h1 { font-size: clamp(2.6rem, 5vw, 5rem); }
.auth-panel { display: grid; place-items: center; padding: 50px; background: white; }
.auth-card { width: min(460px, 100%); }
.auth-card h2 { font-size: 2.4rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 24px; background: var(--foam); border-radius: 12px; }
.auth-tab { padding: 10px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; font-weight: 800; }
.auth-tab.active { background: white; box-shadow: 0 4px 14px rgba(9,61,68,.1); }
.auth-form { display: none; gap: 14px; }
.auth-form.active { display: grid; }
.portal-empty { padding: 30px; color: var(--ink-soft); background: var(--foam); border: 1px dashed #b9cfcb; border-radius: 12px; text-align: center; }
.content-editor textarea { min-height: 180px; }
.gallery-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-admin-item { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.gallery-admin-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-admin-item div { padding: 10px; }


.section-contact { background: linear-gradient(180deg, var(--white), var(--foam)); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 90px); align-items: start; }
.contact-points { display: grid; gap: 12px; margin-top: 26px; }
.contact-points span { display: grid; padding: 15px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.contact-points small { color: var(--ink-soft); }

/* Full gallery */
.gallery-page-main { padding: 58px 0 90px; background: var(--foam); }
.gallery-page-heading { max-width: 720px; margin-bottom: 36px; }
.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.gallery-filter button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; font-weight: 800; font-size: .75rem; }
.gallery-filter button.active { color: white; background: var(--deep); border-color: var(--deep); }
.full-gallery-grid { columns: 3 300px; column-gap: 14px; }
.full-gallery-item { width: 100%; margin: 0 0 14px; padding: 0; overflow: hidden; background: white; border: 0; border-radius: 12px; break-inside: avoid; cursor: zoom-in; }
.full-gallery-item img { width: 100%; transition: transform 400ms ease; }
.full-gallery-item:hover img { transform: scale(1.03); }

@media (max-width: 1080px) {
  .primary-nav { gap: 13px; }
  .primary-nav a { font-size: .78rem; }
  .text-link { display: none; }
  .hero-content { grid-template-columns: 1.15fr .85fr; gap: 42px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(3) { border-left: 1px solid var(--line); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .review-carousel { grid-auto-columns: calc((100% - 20px) / 2); }
  .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); gap: 35px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  .announcement-bar { display: none; }
  .site-header { height: 70px; }
  .nav-shell { justify-content: space-between; }
  .nav-toggle { display: block; order: 3; }
  .primary-nav { position: fixed; left: 20px; right: 20px; top: 80px; display: none; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .primary-nav.open { display: grid; }
  .primary-nav a { padding: 10px; font-size: .9rem; }
  .primary-nav a::after { display: none; }
  .nav-actions { margin-left: auto; }
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; padding-block: 90px 70px; }
  .hero-copy { max-width: 760px; }
  .quick-search { max-width: 620px; }
  .split-layout, .calendar-layout, .location-layout, .contact-layout { grid-template-columns: 1fr; }
  .gallery-mosaic { height: 700px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr 1fr; }
  .gallery-featured { grid-column: 1 / 3; grid-row: auto; }
  .review-summary { grid-template-columns: auto 1fr; }
  .review-summary .button { grid-column: 1 / 3; width: fit-content; }
  .map-frame iframe { min-height: 420px; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portal-layout { grid-template-columns: 1fr; }
  .portal-sidebar { position: static; display: flex; overflow-x: auto; }
  .portal-nav-button { width: auto; white-space: nowrap; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-visual { min-height: 380px; }
}
@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1180px); --radius: 18px; }
  .nav-actions .button { display: none; }
  h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero { min-height: 810px; align-items: end; }
  .hero-overlay { background: linear-gradient(0deg, rgba(4,32,37,.94) 5%, rgba(5,44,49,.68) 60%, rgba(5,38,43,.2) 100%); }
  .hero-content { padding: 72px 0 34px; gap: 32px; }
  .hero-buttons { align-items: stretch; flex-direction: column; }
  .hero-buttons .button { width: 100%; }
  .hero-trust span { width: 50%; padding: 0 10px; border: 0; }
  .quick-search { padding: 20px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div, .trust-grid > div:first-child, .trust-grid > div:nth-child(3) { min-height: auto; padding: 19px 12px; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .feature-photo { padding: 0 0 32px 25px; }
  .row-heading { align-items: flex-start; flex-direction: column; }
  .gallery-mosaic { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .gallery-item { min-height: 160px; }
  .gallery-featured { min-height: 320px; }
  .amenity-grid { grid-template-columns: 1fr; }
  .amenity-grid article { min-height: 0; }
  .room-grid { grid-template-columns: 1fr; }
  .booking-card { padding: 18px; }
  .calendar-grid { gap: 3px; min-height: 285px; }
  .calendar-day { min-height: 38px; font-size: .7rem; }
  .form-grid { grid-template-columns: 1fr; }
  .review-summary { grid-template-columns: 1fr; text-align: center; }
  .score-ring { margin-inline: auto; }
  .review-summary .button { grid-column: auto; margin-inline: auto; }
  .review-carousel { grid-auto-columns: 100%; }
  .nearby-list { grid-template-columns: 1fr; }
  .cta-card { padding: 38px 25px; }
  .cta-card > div:last-child, .cta-card .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .modal { padding: 12px; }
  .gallery-arrow { top: auto; bottom: 18px; transform: none; }
  .portal-shell { padding-top: 34px; }
  .portal-hero { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr; }
  .panel-card { padding: 20px; }
  .data-item { grid-template-columns: 1fr; }
  .auth-panel { padding: 36px 20px; }
  .gallery-admin-grid { grid-template-columns: 1fr 1fr; }
  .full-gallery-grid { columns: 2 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ========================================================================== 
   Sea Hag Signature Redesign — v1.2.0
   ========================================================================== */
:root {
  --ink: #143239;
  --ink-soft: #60777b;
  --deep: #063f47;
  --deep-2: #075965;
  --sea: #0f8894;
  --sea-bright: #22a6ae;
  --aqua: #dff5f1;
  --foam: #f5fbfa;
  --sand: #f7efe2;
  --sand-deep: #ead8bc;
  --sun: #e8b66b;
  --coral: #d97059;
  --line: #d9e7e4;
  --shadow: 0 26px 80px rgba(5, 53, 60, .16);
  --shadow-soft: 0 14px 42px rgba(5, 53, 60, .1);
  --radius: 28px;
  --radius-sm: 16px;
  --shell: min(1260px, calc(100% - 48px));
}
body {
  background:
    radial-gradient(circle at 9% 12%, rgba(34,166,174,.055), transparent 24rem),
    radial-gradient(circle at 92% 42%, rgba(232,182,107,.07), transparent 26rem),
    #fff;
}
.announcement-bar {
  height: 40px;
  background: linear-gradient(90deg, #063a42, #075966 52%, #063a42);
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-weight: 650;
  letter-spacing: .09em;
}
.announcement-bar a {
  padding: 3px 0;
  text-decoration-thickness: 2px;
}
.site-header {
  height: 86px;
  background: rgba(255,255,255,.91);
  border-bottom: 1px solid rgba(6,63,71,.08);
  box-shadow: 0 8px 28px rgba(5,53,60,.045);
}
.nav-shell { gap: 30px; }
.brand { min-width: 198px; }
.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px 18px 18px 7px;
  background: linear-gradient(145deg, #053b43, #0d7c87);
  box-shadow: 0 12px 26px rgba(6,63,71,.24), inset 0 1px rgba(255,255,255,.22);
  font-size: 1.18rem;
}
.brand strong { font-size: 1.42rem; }
.brand small { color: #168995; font-weight: 800; letter-spacing: .28em; }
.primary-nav { gap: clamp(14px, 1.8vw, 28px); }
.primary-nav a, .text-link { font-size: .88rem; font-weight: 760; }
.nav-actions .button-primary { padding-inline: 23px; }
.button {
  min-height: 52px;
  padding: 14px 24px;
  letter-spacing: .005em;
}
.button-primary {
  background: linear-gradient(135deg, #075964, #046a75);
  box-shadow: 0 13px 30px rgba(6,81,91,.24);
}
.button-primary:hover { background: linear-gradient(135deg, #064b55, #087985); }
.button-secondary { background: rgba(255,255,255,.96); }
.hero {
  min-height: 790px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto auto 5% -6%;
  width: 340px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255,255,255,.025), 0 0 0 108px rgba(255,255,255,.018);
  pointer-events: none;
}
.hero-media {
  background-image: url("https://media.vrbo.com/lodging/99000000/98520000/98515300/98515258/919e5d89.jpg?impolicy=resizecrop&ra=fill&rw=1800&rh=1040"), url("../images/property-hot-tub.jpg");
  background-size: cover, cover;
  background-position: center 48%, center;
  transform: scale(1.01);
  filter: saturate(.94) contrast(1.04);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3,29,34,.94) 0%, rgba(4,42,48,.82) 39%, rgba(4,42,48,.40) 66%, rgba(3,29,34,.55) 100%),
    linear-gradient(0deg, rgba(3,29,34,.62), transparent 46%);
}
.hero-content {
  grid-template-columns: minmax(0, 1.36fr) minmax(350px, .64fr);
  gap: clamp(54px, 8vw, 116px);
  padding-block: 88px 92px;
}
.hero-copy { max-width: 860px; }
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 13px 8px 9px;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
}
.hero-rating span {
  padding: 4px 9px;
  border-radius: 999px;
  background: #f3c46f;
  color: #4d3915;
  font-weight: 900;
  font-size: .76rem;
}
.hero-rating small { color: rgba(255,255,255,.88); font-weight: 700; }
.hero .eyebrow { color: #a8efe8; letter-spacing: .18em; }
.hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 6.8vw, 7.2rem);
  line-height: .91;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 10px 34px rgba(0,0,0,.18);
}
.hero-lead {
  max-width: 720px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.08rem, 1.65vw, 1.34rem);
  line-height: 1.72;
}
.hero-buttons { margin-top: 34px; }
.hero-trust {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.17);
}
.hero-trust span { color: rgba(255,255,255,.72); }
.hero-trust strong { color: #fff; font-size: 1.02rem; }
.quick-search {
  padding: 32px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 30px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 34px 95px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.quick-search::before {
  content: "Live availability";
  position: absolute;
  top: -14px;
  right: 26px;
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  background: #0e8791;
  box-shadow: 0 8px 20px rgba(6,92,101,.26);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quick-search { position: relative; }
.quick-search-heading { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.quick-search-heading strong { font-size: 1.12rem; }
.quick-search-heading small { color: var(--ink-soft); }
.status-dot { box-shadow: 0 0 0 8px rgba(49,182,143,.12); }
.quick-search label { margin-top: 14px; color: #17383e; font-size: .79rem; font-weight: 860; }
.quick-search input, .quick-search select {
  min-height: 58px;
  margin-top: 8px;
  border-color: #cfdfdc;
  background: #fbfdfd;
}
.quick-search .button { margin-top: 16px; }
.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -26px;
  background: transparent;
  border: 0;
}
.trust-grid {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow-soft);
}
.trust-grid > div { min-height: 118px; padding: 25px 24px; }
.mini-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #075964;
  background: linear-gradient(145deg, #e8f8f5, #d7efea);
  font-size: 1.22rem;
}
.trust-grid strong { font-size: .91rem; }
.trust-grid small { line-height: 1.45; }
.section { padding: 110px 0; }
.section .eyebrow { color: #0f8490; }
.section h2 {
  letter-spacing: -.045em;
  text-wrap: balance;
}
.section-intro { position: relative; overflow: hidden; }
.section-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -260px;
  top: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,155,164,.10), transparent 68%);
}
.split-layout { gap: clamp(60px, 8vw, 126px); }
.section-copy p { font-size: 1.03rem; }
.feature-photo {
  padding: 0 0 42px 42px;
}
.feature-photo::before {
  border-radius: 34px 34px 12px 34px;
  background: linear-gradient(145deg, #dff3ef, #b8ddd7);
}
.feature-photo img {
  min-height: 570px;
  border-radius: 30px 30px 10px 30px;
  box-shadow: 0 30px 80px rgba(5,53,60,.20);
}
.photo-note {
  right: -18px;
  bottom: 0;
  max-width: 245px;
  padding: 20px 22px;
  border: 1px solid rgba(6,63,71,.08);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.photo-note span { font-size: 1.8rem; }
.section-gallery {
  position: relative;
  background:
    linear-gradient(180deg, rgba(241,249,247,.98), rgba(249,252,251,.98)),
    url("../images/coastal-pattern-1.png");
}
.gallery-mosaic {
  height: 650px;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
}
.gallery-item { border-radius: 18px; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2,31,35,.30), transparent 45%);
  opacity: .45;
  transition: opacity .25s ease;
}
.gallery-item:hover::after { opacity: .16; }
.gallery-item span { z-index: 2; }
.section-amenities { background: #fff; }
.amenity-grid { gap: 18px; }
.amenity-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid #dce9e7;
  border-radius: 22px;
  background: linear-gradient(160deg, #fff, #f8fcfb);
  box-shadow: 0 10px 28px rgba(5,53,60,.055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.amenity-grid article:hover {
  transform: translateY(-7px);
  border-color: #a9d6d0;
  box-shadow: 0 24px 50px rgba(5,53,60,.11);
}
.amenity-grid article > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #e3f6f2, #cceae5);
  color: #086570;
}
.amenity-details {
  margin-top: 26px;
  border-radius: 20px;
  background: var(--sand);
  border-color: #eadcc8;
}
.section-calendar {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(74,195,194,.16), transparent 30rem),
    radial-gradient(circle at 92% 92%, rgba(232,182,107,.12), transparent 28rem),
    linear-gradient(135deg, #042f36, #064c55 55%, #063f47);
}
.section-calendar::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: url("../images/coastal-pattern-2.png");
  background-size: 540px;
}
.calendar-layout { position: relative; z-index: 1; gap: clamp(55px, 8vw, 110px); }
.calendar-copy h2 { color: white; font-size: clamp(3rem, 5vw, 5rem); }
.policy-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.booking-card {
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
}
.calendar-day { border-radius: 11px; }
.calendar-day.unavailable, .calendar-day:disabled { background: #e4ecea; }
.calendar-day.range-start, .calendar-day.range-end { background: #075c67; }
.section-reviews {
  background: linear-gradient(180deg, #fffaf2, #f8efe2);
}
.score-ring {
  border: 7px solid rgba(15,136,148,.14);
  box-shadow: inset 0 0 0 1px rgba(15,136,148,.08);
}
.review-card {
  border: 1px solid #e9ddca;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(76,52,21,.07);
}
.section-location { background: #fff; }
.location-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, #f8fcfb, #eff8f6);
}
.map-frame {
  border: 10px solid white;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.section-contact {
  background:
    radial-gradient(circle at 90% 30%, rgba(15,136,148,.08), transparent 26rem),
    linear-gradient(180deg, #fff, #f5fbfa);
}
.contact-points span {
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(5,53,60,.045);
}
.cta-section { padding: 40px 0 96px; }
.cta-card {
  overflow: hidden;
  position: relative;
  padding: 58px 64px;
  border-radius: 30px;
  background: linear-gradient(135deg, #06434b, #087581);
  box-shadow: 0 30px 75px rgba(5,53,60,.22);
}
.cta-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -105px;
  top: -150px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.04), 0 0 0 96px rgba(255,255,255,.025);
}
.cta-card > * { position: relative; z-index: 1; }
.site-footer {
  background: #032d34;
  color: rgba(255,255,255,.72);
}
.site-footer .brand strong, .site-footer > * strong { color: white; }
.site-footer a:hover { color: #a6eee7; }
.footer-bottom { border-top-color: rgba(255,255,255,.11); }

/* Portal refinements */
.portal-page { background: linear-gradient(180deg, #f4faf8, #eef6f4); }
.portal-header {
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 30px rgba(5,53,60,.06);
  backdrop-filter: blur(16px);
}
.portal-sidebar, .panel-card, .metric-card, .auth-card {
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(5,53,60,.07);
}
.portal-sidebar { border: 1px solid var(--line); background: rgba(255,255,255,.94); }
.portal-nav-button { border-radius: 12px; }
.portal-nav-button.active { background: linear-gradient(135deg, #075965, #0b7883); }
.panel-card { border: 1px solid var(--line); }
.auth-visual {
  background-image: linear-gradient(0deg, rgba(3,38,44,.82), rgba(3,38,44,.14)), url("../media/tour-poster.jpg");
  background-size: cover;
  background-position: center;
}
.auth-visual::after { display: none; }
.gallery-page-main {
  background:
    radial-gradient(circle at 85% 5%, rgba(15,136,148,.10), transparent 25rem),
    linear-gradient(180deg, #f7fbfa, #eef7f5);
}
.full-gallery-item { box-shadow: 0 12px 30px rgba(5,53,60,.09); }

@media (max-width: 1080px) {
  .hero-content { grid-template-columns: 1.1fr .9fr; gap: 42px; }
  .hero h1 { font-size: clamp(3.8rem, 7.4vw, 6rem); }
}
@media (max-width: 900px) {
  .site-header { height: 74px; }
  .hero { min-height: auto; }
  .hero-content { padding-block: 92px 74px; }
  .quick-search { max-width: 650px; }
  .trust-strip { margin-top: 0; padding-top: 18px; }
  .gallery-mosaic { height: 730px; }
  .feature-photo img { min-height: 480px; }
}
@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1260px); }
  .hero { min-height: 860px; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 4.6rem); }
  .hero-rating small { display: none; }
  .hero-content { padding-top: 74px; }
  .quick-search { padding: 23px 19px 20px; border-radius: 22px; }
  .quick-search::before { right: 18px; }
  .trust-grid { border-radius: 18px; }
  .section { padding: 82px 0; }
  .feature-photo { padding-left: 22px; }
  .feature-photo img { min-height: 390px; }
  .photo-note { right: 0; }
  .gallery-mosaic { padding: 8px; border-radius: 20px; }
  .amenity-grid article { padding: 24px; }
  .location-card { padding: 28px 22px; }
  .cta-card { padding: 40px 24px; }
}

/* v1.4.0 — portal state, media manager, and mobile hardening */
[hidden] { display: none !important; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
input, select, textarea, button { min-width: 0; }
.muted { color: var(--ink-soft); }
.break-all { overflow-wrap: anywhere; word-break: break-word; }
.compact-control { width: auto; min-width: 150px; }
.form-actions, .account-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.account-toolbar { justify-content: space-between; margin: 20px 0; }
.account-toolbar input { width: min(380px, 100%); }
.account-editor { scroll-margin-top: 96px; }
.portal-content-column { min-width: 0; }
.portal-signed-out .portal-header #adminLogout,
.portal-signed-out .portal-header #logoutButton { display: none !important; }
.portal-signed-in .auth-shell { display: none !important; }
.auth-visual {
  background-image: linear-gradient(0deg, rgba(3,38,44,.84), rgba(3,38,44,.16)), var(--portal-auth-image, url("../media/tour-poster.jpg"));
  background-size: cover;
  background-position: center;
}
.portal-page input, .portal-page select, .portal-page textarea { font-size: 16px; }

.media-assignment-grid { margin-top: 22px; }
.gallery-hierarchy { display: grid; gap: 20px; }
.gallery-category {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fcfb;
}
.gallery-category-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #edf8f5, #f9fcfb);
}
.gallery-category-header > div { display: flex; align-items: center; gap: 10px; }
.gallery-category-header small { color: var(--ink-soft); }
.drag-grip, .drag-handle { color: #6f918e; font-weight: 900; letter-spacing: -3px; cursor: grab; user-select: none; }
.gallery-category-list {
  min-height: 120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  transition: background .2s ease, outline-color .2s ease;
}
.gallery-category-list.drag-over { background: #e6f6f2; outline: 2px dashed #0b7e87; outline-offset: -8px; }
.gallery-drop-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 90px; color: var(--ink-soft); border: 1px dashed #aacbc6; border-radius: 12px; }
.gallery-admin-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: white;
  box-shadow: 0 10px 26px rgba(5,53,60,.07);
}
.gallery-admin-item.is-dragging { opacity: .45; transform: scale(.98); }
.gallery-admin-item.is-unpublished { opacity: .67; }
.gallery-card-preview { position: relative; }
.gallery-card-preview img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-card-preview .drag-handle {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: white;
  background: rgba(3,47,54,.82);
  backdrop-filter: blur(8px);
}
.gallery-role-badges { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.gallery-role-badges span { padding: 4px 7px; color: white; background: rgba(6,84,94,.9); border-radius: 999px; font-size: .64rem; font-weight: 850; }
.gallery-card-body { flex: 1; padding: 13px !important; }
.gallery-card-body > strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.gallery-inline-editor { display: grid; gap: 10px; padding: 14px; border-top: 1px solid var(--line); background: #f6fbfa; }
.gallery-inline-editor label { font-size: .72rem; }
.gallery-inline-editor input { min-height: 43px; padding: 9px 10px; }
.checkbox-row { display: flex !important; align-items: center; gap: 9px; }
.checkbox-row input { width: 18px; min-height: 18px; margin: 0; }
.needs-save { box-shadow: 0 0 0 3px rgba(15,136,148,.2); }

@media (max-width: 1000px) {
  .gallery-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .announcement-bar { min-height: 40px; height: auto; padding: 8px 14px; gap: 10px; text-align: center; line-height: 1.3; }
  .site-header { height: 70px; }
  .nav-shell { gap: 10px; }
  .brand { min-width: 0; }
  .brand-mark { width: 43px; height: 43px; border-radius: 15px 15px 15px 6px; }
  .brand strong { font-size: 1.15rem; }
  .brand small { font-size: .58rem; }
  .nav-actions .text-link { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding-block: 66px 34px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.25rem); line-height: .94; }
  .hero-lead { font-size: 1rem; line-height: 1.58; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-trust span { width: auto; padding: 0; }
  .quick-search { width: 100%; }
  .quick-search::before { position: static; display: inline-flex; margin: -3px 0 15px auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .gallery-mosaic { grid-template-columns: 1fr; }
  .gallery-item { min-height: 230px; }
  .gallery-item:not(.gallery-featured):nth-of-type(n+4) { display: none; }

  .portal-header { padding-top: env(safe-area-inset-top); }
  .portal-header-inner { width: min(100% - 24px, 1260px); min-height: 68px; gap: 10px; }
  .portal-header .brand small { letter-spacing: .13em; }
  .portal-header-actions { width: auto; flex-wrap: wrap; justify-content: flex-end; }
  .portal-header-actions .text-link { display: none; }
  .portal-header-actions .button { min-height: 42px; padding: 9px 12px; font-size: .75rem; }
  .portal-shell { width: min(100% - 24px, 1260px); padding: 28px 0 calc(65px + env(safe-area-inset-bottom)); }
  .portal-hero { gap: 18px; }
  .portal-hero .portal-header-actions { width: 100%; justify-content: stretch; }
  .portal-hero .portal-header-actions > * { flex: 1; text-align: center; }
  .portal-sidebar { margin-inline: -12px; padding-inline: 12px; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; scrollbar-width: none; }
  .portal-sidebar::-webkit-scrollbar { display: none; }
  .portal-nav-button { min-height: 45px; }
  .panel-card { padding: 20px 16px; }
  .panel-header { align-items: flex-start; flex-direction: column; }
  .panel-header > .portal-header-actions { width: 100%; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .data-item { grid-template-columns: 1fr; gap: 12px; }
  .table-wrap { overflow: visible; }
  .table-wrap table, .table-wrap thead, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tbody { display: grid; gap: 12px; }
  .table-wrap tr { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(5,53,60,.05); }
  .table-wrap td { display: grid; grid-template-columns: minmax(88px, .38fr) minmax(0, 1fr); gap: 10px; padding: 7px 0; border: 0; text-align: right; overflow-wrap: anywhere; }
  .table-wrap td::before { content: attr(data-label); color: var(--ink-soft); font-size: .72rem; font-weight: 800; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
  .table-wrap td[colspan] { display: block; text-align: center; }
  .table-wrap td[colspan]::before { display: none; }
  .table-actions { justify-content: flex-end; }
  .auth-shell { min-height: calc(100svh - 68px); }
  .auth-visual { min-height: 330px; padding: 38px 24px; }
  .auth-visual-copy h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .auth-panel { padding: 36px 18px calc(40px + env(safe-area-inset-bottom)); }
  .auth-card { width: 100%; padding: 26px 20px; }
  .account-toolbar { align-items: stretch; flex-direction: column; }
  .account-toolbar input, .account-toolbar select { width: 100%; }
  .gallery-category-list { grid-template-columns: 1fr; }
  .media-assignment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  :root { --shell: min(100% - 22px, 1260px); }
  .announcement-bar span { display: none; }
  .announcement-bar a { margin-inline: auto; }
  .hero-content { padding-top: 54px; }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 3.55rem); }
  .hero-rating { margin-bottom: 16px; }
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .quick-search { padding: 20px 16px; }
  .metric-grid { grid-template-columns: 1fr; }
  .portal-header .brand-mark { width: 39px; height: 39px; }
  .portal-header .brand strong { font-size: 1rem; }
  .portal-header-actions .button { padding-inline: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .table-wrap td { grid-template-columns: 80px minmax(0, 1fr); }
}

/* v1.4.0 — account permissions, private messaging, security, and responsive fixes */
.policy-card,
.policy-card strong,
.policy-card li { color: #fff !important; }
.policy-card strong { display: block; margin-bottom: 10px; font-size: 1rem; }
.policy-card ul { margin: 0; padding-left: 1.25rem; }
.policy-card li { margin: 7px 0; opacity: .96; }

.booking-account-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid #d7e7e4;
  border-radius: 14px;
  background: #f2f9f7;
}
.booking-account-status.signed-in { border-color: #9dd6c8; background: #ecfaf5; }
.booking-account-status strong,
.booking-account-status small { display: block; }
.booking-account-status small { margin-top: 2px; color: var(--ink-soft); }

.nav-notification {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  margin-left: auto;
  padding: 0 6px;
  color: #fff;
  background: #cf584d;
  border-radius: 999px;
  font-size: .68rem;
  line-height: 1;
}
.portal-nav-button.active .nav-notification { background: #fff; color: #9c352f; }

.permission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.toggle-setting {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7fbfa;
}
.toggle-setting input { width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; accent-color: #087984; }
.toggle-setting strong, .toggle-setting small { display: block; }
.toggle-setting small { margin-top: 4px; color: var(--ink-soft); font-weight: 500; line-height: 1.45; }
.guest-notes-editor { margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.guest-notes-editor legend { padding: 0 8px; color: var(--deep); font-weight: 850; }
.account-security-summary { display: grid; gap: 7px; margin: 18px 0; padding: 15px; border-left: 4px solid #0b7d87; background: #eef8f6; border-radius: 10px; }
.account-security-summary span { color: var(--ink-soft); font-size: .82rem; }
.danger-button { color: #fff; background: #b63c35; border: 1px solid #b63c35; }
.danger-button:hover { background: #942f2a; }
.danger-outline { color: #a63530; border-color: #d99b96; }

.guest-additional-note { margin: 18px 0 0; padding: 16px; color: var(--deep); background: #edf8f5; border-left: 4px solid #0b7d87; border-radius: 10px; white-space: pre-wrap; }
.review-readonly { grid-template-columns: minmax(0, 1fr) auto; }

.message-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f5faf9;
  overscroll-behavior: contain;
}
.message-bubble { width: min(78%, 680px); padding: 13px 15px; border-radius: 16px; box-shadow: 0 6px 18px rgba(5,53,60,.06); }
.message-bubble p { margin: 5px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-bubble small { opacity: .7; }
.message-bubble.from-guest { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #075965, #087985); border-bottom-right-radius: 5px; }
.message-bubble.from-host { align-self: flex-start; color: var(--ink); background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.message-compose { display: grid; gap: 12px; margin-top: 18px; }
.admin-message-layout { display: grid; grid-template-columns: minmax(220px, .36fr) minmax(0, 1fr); gap: 18px; margin-top: 22px; }
.message-thread-list { display: grid; align-content: start; gap: 8px; max-height: 680px; overflow-y: auto; }
.message-thread-button { width: 100%; padding: 13px; text-align: left; color: var(--ink); background: #f7fbfa; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.message-thread-button.active { border-color: #0b7d87; box-shadow: 0 0 0 2px rgba(11,125,135,.13); background: #edf8f6; }
.message-thread-button > span { display: grid; }
.message-thread-button small { color: var(--ink-soft); }
.message-thread-button b { float: right; padding: 3px 7px; color: #fff; background: #c84a41; border-radius: 999px; font-size: .68rem; }
.message-thread-button p { margin: 8px 0 0; overflow: hidden; color: var(--ink-soft); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.message-thread-panel { min-width: 0; }
.admin-thread { min-height: 300px; max-height: 500px; }

.confirm-dialog { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; }
.confirm-dialog-backdrop { position: absolute; inset: 0; background: rgba(3,29,34,.72); backdrop-filter: blur(7px); }
.confirm-dialog-card { position: relative; width: min(100%, 520px); padding: 30px; background: #fff; border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.confirm-dialog-card h2 { margin-top: 0; }

.admin-metric-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1180px) {
  .admin-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* The later desktop hero rule previously overrode the earlier mobile rule. */
@media (max-width: 900px) {
  .hero { min-height: auto !important; }
  .hero-content { grid-template-columns: minmax(0, 1fr) !important; gap: 34px !important; }
  .hero-copy { max-width: 760px; }
  .quick-search { width: min(100%, 650px); max-width: 100%; justify-self: stretch; }
  .calendar-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 34px; }
  .admin-message-layout { grid-template-columns: 1fr; }
  .message-thread-list { max-height: 280px; }
}

@media (max-width: 760px) {
  .hero-content { padding-top: 44px !important; padding-bottom: 36px !important; }
  .hero h1 { max-width: 100%; font-size: clamp(2.65rem, 13vw, 4rem) !important; line-height: .95 !important; overflow-wrap: normal; word-break: normal; }
  .hero-lead { max-width: 100%; }
  .quick-search { padding: 22px 17px !important; }
  .quick-search input, .quick-search select { min-height: 52px; }
  .booking-account-status { grid-template-columns: auto minmax(0, 1fr); }
  .booking-account-status .small-action { grid-column: 1 / -1; width: 100%; text-align: center; }

  .portal-layout { display: block; }
  .portal-sidebar {
    position: static;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 18px !important;
    padding: 10px !important;
    overflow: visible !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-soft) !important;
  }
  .portal-nav-button {
    flex: 0 0 auto;
    width: 100% !important;
    min-width: 0;
    padding: 11px 10px;
    white-space: normal !important;
    overflow-wrap: anywhere;
    font-size: .76rem;
    line-height: 1.2;
  }
  .portal-nav-button span { min-width: 0; }
  .portal-content-column { width: 100%; }
  .permission-grid { grid-template-columns: 1fr; }
  .admin-metric-grid { grid-template-columns: 1fr 1fr; }
  .message-bubble { width: 92%; }
  .message-thread { padding: 11px; }
  .guest-notes-grid { grid-template-columns: 1fr !important; }
  .confirm-dialog-card { padding: 24px 19px; }
  .form-actions > .button { width: 100%; }
}

@media (max-width: 430px) {
  .portal-sidebar { grid-template-columns: 1fr 1fr; }
  .portal-nav-button { font-size: .7rem; }
  .admin-metric-grid { grid-template-columns: 1fr; }
  .message-bubble { width: 96%; }
  .booking-card { padding-inline: 14px; }
  .calendar-grid { gap: 4px; }
  .calendar-day { min-height: 44px; padding: 4px; }
}
