/* Casa Palma review edition. Retains the existing coastal visual direction. */
:root { font-size: 16px; }
body { line-height: 1.65; }
h1,h2,h3 { text-wrap: balance; }
h2,h3 { font-family: 'Palatino Linotype','Book Antiqua',Palatino,Georgia,serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
h2 { font-size: clamp(2rem,4vw,3.75rem); }
h3 { font-size: 2rem; margin: 18px 0; }
.review-notice { padding: 9px 22px; background: var(--deep); color: white; font-size: .875rem; text-align: center; }
.site-header { height: auto; min-height: 106px; grid-template-columns: auto 1fr auto; gap: 24px; padding: 18px clamp(20px,3vw,50px); }
.site-header nav { justify-content: center; flex-wrap: wrap; gap: 12px 22px; }
.site-header nav a,.header-action { font-size: .875rem; letter-spacing: .025em; text-transform: none; }
.site-header nav a[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.header-action { gap: 12px; }
.menu-toggle { display: none; font: inherit; border: 1px solid var(--navy); color: var(--navy); background: var(--paper); padding: 10px 14px; min-height: 44px; cursor: pointer; }
.button { font-size: .875rem; letter-spacing: .04em; white-space: nowrap; gap: 20px; text-transform: none; font-family: inherit; cursor: pointer; }
.button-dark { background: var(--navy); color: white; border: 1px solid var(--navy); }
.button-dark:hover { background: var(--deep); }
.button-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.eyebrow { font-size: .875rem; letter-spacing: .12em; line-height: 1.6; }
.hero-visual { min-height: 630px; height: min(740px,85svh); }
.hero h1 { font-size: clamp(4rem,7.5vw,7rem); letter-spacing: -.035em; line-height: 1.02; }
.hero-description { font-size: 1.125rem; max-width: 500px; }
.hero-rail { grid-template-columns: 1fr auto auto; }
.hero-rail p { display: block; }
.hero-rail a { font-size: .875rem; letter-spacing: .02em; text-transform: none; }
.hero-edge { font-size: .75rem; }
.content-section { padding: clamp(70px,7vw,115px) clamp(24px,7vw,115px); max-width: 1550px; margin: auto; }
.content-section.compact { padding-top: 30px; }
.section-intro { max-width: 790px; margin-bottom: 40px; }
.section-intro h2 { margin: 16px 0 24px; }
.section-intro p:not(.eyebrow) { color: #405b6c; font-size: 1.125rem; margin-top: 16px; }
.stay-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.stay-card { display: flex; flex-direction: column; padding: clamp(24px,3vw,40px); border: 1px solid #c5cbd0; background: var(--paper); }
.stay-card .eyebrow { color: var(--navy); font-size: .8125rem; }
.stay-card p { color: #405b6c; }
.stay-card .underlined-link { margin-top: auto; padding-top: 32px; font-size: .875rem; letter-spacing: .025em; text-transform: none; align-self: flex-start; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; max-width: 1550px; margin: 0 auto; padding: 0 clamp(24px,7vw,115px) 70px; gap: clamp(32px,5vw,80px); align-items: center; }
.split-section > img { width: 100%; height: 520px; object-fit: cover; }
.split-section h2 { margin: 18px 0 26px; }
.split-section p:not(.eyebrow) { margin: 16px 0; color: #405b6c; font-size: 1.125rem; }
.split-section .button { margin-top: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.feature-grid article { border-top: 1px solid #9eaeba; padding-top: 26px; }
.feature-grid article > span { color: var(--navy); font-size: .875rem; }
.feature-grid article h2 { font-size: 2rem; margin: 0 0 24px; }
.feature-grid article p { color: #405b6c; }
.small-cta { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 65px clamp(24px,7vw,115px); background: var(--deep); color: white; }
.small-cta > div { max-width: 720px; }
.small-cta h2 { font-size: clamp(2rem,3vw,3rem); margin: 15px 0 20px; }
.small-cta .button { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.page-heading { max-width: 1550px; margin: auto; padding: 45px clamp(24px,7vw,115px) 55px; }
.page-heading .eyebrow, .content-section .eyebrow, .split-section .eyebrow { color: var(--navy); }
.page-heading h1 { max-width: 1000px; font-family: 'Palatino Linotype','Book Antiqua',Palatino,Georgia,serif; font-weight: 400; font-size: clamp(2.7rem,5.5vw,5.5rem); line-height: 1.04; letter-spacing: -.035em; margin: 24px 0; }
.lede { font-size: 1.25rem; color: #405b6c; max-width: 800px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .875rem; margin-bottom: 38px; }
.breadcrumbs a { text-underline-offset: 4px; }
.wide-photo { max-width: 1550px; margin: 0 auto 35px; padding: 0 clamp(24px,7vw,115px); }
.wide-photo img { width: 100%; max-height: 560px; object-fit: cover; }
figcaption { padding-top: 12px; font-size: .875rem; color: #405b6c; }
.fact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; padding: 0; margin: 35px 0; }
.fact-grid > div { border-top: 1px solid #9eaeba; padding: 22px 0; }
dt { font-size: .875rem; font-weight: bold; }
dd { margin: 12px 0 0; font-size: 1.125rem; }
.subheading { margin: 65px 0 24px; }
.check-list { margin: 0; padding-left: 23px; max-width: 840px; }
.check-list li { margin-bottom: 12px; }
.comparison { margin-top: 70px; }
.comparison h2 { margin-bottom: 24px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; min-width: 640px; }
caption { text-align: left; padding: 0 0 20px; font-size: .875rem; }
th,td { border-bottom: 1px solid #c5cbd0; padding: 20px 18px; }
thead { background: var(--navy); color: white; }
.faq { max-width: 950px; margin: 25px 0 36px; }
.faq details { border-bottom: 1px solid #aebac3; padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 1.125rem; font-weight: bold; padding: 4px 0; }
.faq p { margin-top: 16px; max-width: 800px; color: #405b6c; }
.policy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 50px; }
.policy-grid article { border-top: 1px solid #aebac3; padding-top: 25px; }
.policy-grid h2 { font-size: 2rem; margin-bottom: 18px; }
.important-note { padding: 32px; background: var(--paper); border-left: 4px solid var(--navy); margin: 50px 0 0; }
.important-note h2 { font-size: 2rem; margin-bottom: 18px; }
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 55px; align-items: start; }
.contact-layout h2 { font-size: 2rem; margin-bottom: 22px; }
.contact-layout .contact-card { margin: 0; padding: 32px; }
.form-note { color: #405b6c; font-size: .875rem; margin: 14px 0 25px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
label { display: block; font-size: 1rem; margin-bottom: 9px; font-weight: bold; }
label span { font-weight: normal; font-size: .875rem; }
input,select,textarea { width: 100%; min-width: 0; min-height: 49px; padding: 12px; border: 1px solid #879aa8; border-radius: 2px; background: var(--paper); color: var(--ink); font: inherit; }
input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
textarea { resize: vertical; }
.form-error { color: #8a2132; font-weight: bold; margin: 14px 0; }
.form-error:empty { display: none; }
.message-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 25px; }
.contact-details .detail-label { font-size: .875rem; letter-spacing: .07em; }
.contact-details a { font-size: 1.375rem; }
.site-footer { font-size: .875rem; flex-wrap: wrap; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer div p + p { margin-top: 5px; }
@media(max-width:1100px) {
 .site-header { grid-template-columns: auto auto 1fr; position: relative; }
 .menu-toggle { display: block; }
 .site-header nav { display: none; position: absolute; z-index: 10; top: 100%; left: 0; right: 0; background: var(--paper); padding: 22px; border-bottom: 1px solid #aebac3; box-shadow: 0 12px 25px #123d5620; }
 .site-header nav.is-open { display: flex; }
 .header-action { justify-self: end; }
 .stay-grid { gap: 16px; }
 .stay-card { padding: 26px; }
 .contact-layout { gap: 30px; }
 .small-cta { align-items: flex-start; flex-direction: column; }
}
@media(max-width:760px) {
 .site-header { display: grid; min-height: 90px; gap: 12px; padding: 15px 20px; grid-template-columns: 1fr auto; }
 .brand,.brand img { width: 125px; }
 .header-action { grid-column: 1/-1; justify-self: stretch; justify-content: center; font-size: .875rem; }
 .site-header nav.is-open { flex-direction: column; align-items: stretch; gap: 12px; }
 .site-header nav a { padding: 8px 0; min-height: 44px; }
 .hero-visual { min-height: 580px; height: 75svh; max-height: 800px; }
 .hero-copy { left: 24px; right: 24px; bottom: 40px; }
 .hero h1 { font-size: clamp(3.4rem,11vw,5rem); }
 .hero-description { font-size: 1rem; }
 .hero .eyebrow { font-size: .875rem; }
 .hero-rail { display: flex; flex-wrap: wrap; gap: 15px 22px; padding: 22px 24px; }
 .hero-rail p { flex-basis: 100%; font-size: 1.25rem; }
 .hero-rail a { font-size: .875rem; max-width: none; white-space: nowrap; }
 .stay-grid,.feature-grid,.fact-grid,.policy-grid,.contact-layout { grid-template-columns: 1fr; }
 .split-section { grid-template-columns: 1fr; padding-bottom: 30px; }
 .split-section > img { height: 350px; }
 .guide-teaser > img { grid-row: 1; }
 .page-heading { padding-top: 32px; padding-bottom: 35px; }
 .lede { font-size: 1.125rem; }
 .contact-layout .contact-card { margin-top: 14px; }
 .site-footer { display: flex; gap: 24px; }
 .agency-credit { margin: 0; }
 .contact-layout .button { justify-content: center; }
 .message-actions { flex-direction: column; align-items: stretch; }
}
@media(max-width:400px) { .form-grid { grid-template-columns: 1fr; } .review-notice { text-align: left; } }

.room-description { max-width: 840px; font-size: 1.125rem; color: #405b6c; }
.room-description p + p { margin-top: 22px; }

.suite-gallery { max-width: 1550px; margin: 0 auto; padding: 10px clamp(24px,7vw,115px) 80px; }
.suite-gallery h2 { margin-bottom: 20px; }
.photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
.photo-grid figure { min-width: 0; }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: var(--sand); }
.suite-lead-photo img { max-height: 640px; height: auto; object-fit: contain; background: var(--sand); }
.stay-card-photo { margin: 0 0 24px; }
.stay-card-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.stay-category-card { padding: 0; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.stay-category-photo { display: block; overflow: hidden; }
.stay-category-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.stay-category-card:focus-within { transform: translateY(-6px); border-color: var(--navy); box-shadow: 0 14px 30px rgba(24,57,79,.16); }
.stay-category-card:focus-within .stay-category-photo img { transform: scale(1.035); }
@media (hover: hover) and (pointer: fine) {
 .stay-category-card:hover { transform: translateY(-6px); border-color: var(--navy); box-shadow: 0 14px 30px rgba(24,57,79,.16); }
 .stay-category-card:hover .stay-category-photo img { transform: scale(1.035); }
}
.stay-category-photo:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; }
.stay-category-copy { padding: clamp(24px,3vw,40px); display: flex; flex-direction: column; flex: 1; }
@media (prefers-reduced-motion: reduce) { .stay-category-card, .stay-category-photo img { transition: none; } .stay-category-card:hover, .stay-category-card:focus-within, .stay-category-card:hover .stay-category-photo img, .stay-category-card:focus-within .stay-category-photo img { transform: none; } }
@media(max-width:760px) { .photo-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (min-width: 761px) { .stay-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.setting-explorer { padding-bottom: 95px; }
.setting-explorer h2 em,.placencia-story h2 em { font-weight: 400; }
.setting-tabs { display: flex; gap: 14px; margin: 0 0 24px; }
.setting-tab { display: flex; gap: 18px; align-items: center; flex: 1; padding: 12px; border: 1px solid #a9b9c3; background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.setting-tab img { width: 92px; height: 64px; object-fit: cover; }
.setting-tab span { font-size: 1.25rem; font-weight: 700; }
.setting-tab small { display: block; font-size: .875rem; font-weight: 400; }
.setting-tab[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: white; }
.setting-panel { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--deep); color: white; margin-bottom: 24px; }
.setting-panel[hidden] { display: none; }
.setting-scene { position: relative; min-height: 570px; }
.setting-scene img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.scene-label { position: absolute; bottom: 24px; left: 24px; padding: 8px 14px; background: rgba(12,43,56,.88); color: white; font-size: .875rem; letter-spacing: .1em; }
.setting-story { padding: clamp(28px,4vw,60px); display: flex; flex-direction: column; align-items: flex-start; }
.setting-story .eyebrow { color: #d9e8e7; }
.setting-story h3 { font-size: clamp(2.25rem,3.3vw,3.5rem); margin: 22px 0; }
.setting-story p { color: #e1eaf0; }
.setting-essential { padding: 20px 0; font-size: .9375rem; }
.setting-story .button { margin: 6px 0 26px; }
.setting-suite-links { display: flex; flex-wrap: wrap; gap: 9px 18px; padding-top: 20px; border-top: 1px solid #6d899b; width: 100%; }
.setting-suite-links a { font-size: .875rem; text-underline-offset: 5px; }
.setting-panel.is-entering { animation: setting-enter .35s ease both; }
@keyframes setting-enter { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.placencia-story { max-width: 1550px; margin: 0 auto 85px; padding: 80px clamp(24px,7vw,115px); display: grid; grid-template-columns: 1fr 1.3fr; gap: 42px 60px; background: #123d56; color: white; }
.story-heading { grid-column: 1; align-self: center; }
.story-heading h2 { margin: 20px 0 26px; }
.story-heading .eyebrow { color: #d9e8e7; }
.story-heading p:not(.eyebrow) { max-width: 410px; margin-bottom: 26px; color: #e1eaf0; font-size: 1.125rem; }
.story-wide { grid-column: 2; grid-row: 1 / span 2; margin-top: 45px; }
.story-wide img { width: 100%; height: 610px; object-fit: cover; }
.story-detail { grid-column: 1; max-width: 370px; margin-top: 10px; }
.story-detail img { width: 100%; height: 255px; object-fit: cover; }
.placencia-story figcaption { color: #d9e8e7; font-size: .875rem; margin-top: 14px; }
.gallery-open { position: relative; display: block; overflow: hidden; }
.gallery-open img { transition: transform .3s ease; }
.gallery-open:hover img { transform: scale(1.025); }
.gallery-hint { position: absolute; bottom: 14px; right: 14px; background: var(--paper); color: var(--ink); padding: 8px 14px; font-size: .875rem; }
.photo-viewer { border: 0; padding: 0; width: min(1100px,94vw); max-height: 94svh; background: #102d40; color: white; }
.photo-viewer::backdrop { background: rgba(7,24,35,.9); }
.viewer-toolbar,.viewer-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 22px; }
.viewer-toolbar p { font-size: 1.125rem; }
.photo-viewer button { background: transparent; color: white; border: 1px solid #93a8b7; padding: 10px 16px; font: inherit; min-height: 44px; cursor: pointer; }
.photo-viewer button:hover { background: #204c75; }
.viewer-image { display: block; width: 100%; height: min(65svh,680px); object-fit: contain; }
.viewer-footer div { display: flex; gap: 10px; }
.viewer-caption { color: #e1eaf0; }
.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }
@media(max-width:900px) { .setting-panel { grid-template-columns: 1fr; } .setting-scene { min-height: 370px; } .placencia-story { gap: 30px; } .story-wide img { height: 510px; } }
@media(max-width:760px) { .setting-tabs { gap: 10px; } .setting-tab { flex-direction: column; gap: 10px; align-items: flex-start; } .setting-tab img { width: 100%; height: 90px; } .setting-tab span { font-size: 1rem; } .setting-tab small { font-size: .875rem; line-height: 1.4; margin-top: 5px; } .setting-scene { min-height: 290px; } .setting-story { padding: 28px; } .placencia-story { grid-template-columns: 1fr; padding-top: 55px; padding-bottom: 55px; } .story-heading,.story-wide,.story-detail { grid-column: auto; grid-row: auto; } .story-wide { margin-top: 0; } .story-wide img { height: 350px; } .story-detail { max-width: 80%; margin-top: 0; justify-self: end; } .story-detail img { height: 230px; } .viewer-toolbar,.viewer-footer { padding: 12px; gap: 12px; } .viewer-footer { flex-wrap: wrap; } .viewer-image { height: 55svh; } }
@media(prefers-reduced-motion:reduce) { .reveal-ready { opacity: 1; transform: none; transition: none; } .setting-panel.is-entering { animation: none; } .setting-tab,.gallery-open img { transition: none; } .gallery-open:hover img { transform: none; } html { scroll-behavior: auto; } }
.map-frame{overflow:hidden;border:1px solid #cbd3d4;background:#e8ece7}
.map-frame iframe{display:block;width:100%;height:460px;border:0}
.map-actions{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-top:1.5rem}
.map-actions p{font-size:.9rem;color:#52636b;margin:0}
@media(max-width:760px){.map-frame iframe{height:360px}.map-actions{align-items:flex-start;flex-direction:column;gap:1rem}}
