/*
Theme Name: Majestic Mamaia
Description: Temă rapidă, mobile-first, pentru Hotel Majestic Mamaia.
Version: 1.9.1
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: majestic
*/

@font-face { font-family: "Bricolage"; src: url(assets/fonts/bricolage.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Bricolage"; src: url(assets/fonts/bricolage-ext.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA,U+1E00-1E9F,U+20A0-20C0; }
@font-face { font-family: "Figtree"; src: url(assets/fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122; }
@font-face { font-family: "Figtree"; src: url(assets/fonts/figtree-ext.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0100-02BA,U+1E00-1E9F,U+20A0-20C0; }

:root {
	--sea: #0A3341;
	--sea-line: #5C8490;
	--lake: #11646B;
	--foam: #E8F2F0;
	--white: #FFFFFF;
	--sun: #F6B91E;
	--sun-2: #FFCB3D;
	--ink: #0A1E26;
	--muted: #3F555D;
	--line: #CBDAD8;
	--on-sea: #DCEAE9;
	--edge: 1px solid var(--line);
	--r: 6px;
	--gut: clamp(16px, 4vw, 48px);
	--head: "Bricolage", "Trebuchet MS", sans-serif;
	--body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-wrap: break-word; padding-bottom: 60px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lake); text-underline-offset: .15em; }
a:hover { color: var(--sea); }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--sea); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 8vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; }
.no-image { display: block; width: 100%; height: 100%; min-height: 200px; background: var(--foam); }

/* Butoane și linkuri */
.btn { display: inline-block; background: var(--sun); color: var(--ink); font: 700 1rem var(--body); padding: .8em 1.4em; border: 0; border-radius: var(--r); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, color .15s; }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn:hover { background: var(--sea); color: var(--white); }
.btn--small { padding: .5em 1.05em; font-size: .95rem; }
.btn--wide { display: block; width: 100%; }
.btn--ghost { background: transparent; color: var(--sea); box-shadow: inset 0 0 0 1px var(--sea); }
.link { font-weight: 700; color: var(--lake); text-decoration-thickness: 2px; text-decoration-color: var(--sun); }
.link:hover { text-decoration-color: currentColor; }

/* Antet */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: var(--edge); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: block; color: var(--sea); font: 700 1.5rem var(--head); text-decoration: none; }
.brand img { height: 60px; max-height: 60px; width: auto; max-width: 62vw; object-fit: contain; object-position: left center; }
.nav-toggle { background: none; border: 1px solid var(--sea); color: var(--sea); border-radius: var(--r); padding: .4em 1em; font: 700 .95rem var(--body); min-height: 44px; cursor: pointer; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); padding: 8px var(--gut) 24px; border-bottom: var(--edge); max-height: calc(100svh - 76px); overflow-y: auto; }
.nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.site-nav li a { display: block; padding: 12px 0; font: 700 1.25rem var(--head); color: var(--sea); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav__tel { display: block; margin-bottom: 16px; font-weight: 700; }
.site-nav .btn { display: block; }

/* Iconițe */
.icon { flex: none; width: 1.1em; height: 1.1em; vertical-align: -.15em; }
.has-icon { display: inline-flex; align-items: center; gap: .5em; }
p.has-icon { display: flex; }
.site-head__in .icon, .contact__data .icon, .room-side .icon, .offer__until .icon { color: var(--lake); }
.site-foot .icon { color: var(--sun); }
.fac strong .icon, .fac-row h2 .icon { color: var(--sun); }
.fac-row h2 .icon { color: var(--lake); }

/* Bară fixă pe mobil */
.quickbar { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--white); box-shadow: 0 -1px 0 var(--line); padding-bottom: env(safe-area-inset-bottom); }
.quickbar a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 58px; color: var(--sea); font-weight: 700; text-decoration: none; }
.quickbar .quickbar__book { background: var(--sun); color: var(--ink); }

/* Hero: poza, panoul de mare și soarele care le unește */
.hero__img { height: 52svh; min-height: 280px; background: var(--foam); border-bottom: 4px solid var(--sun); }
.hero__img picture { display: block; height: 100%; }
.hero__img img, .hero__img .no-image { width: 100%; height: 100%; object-fit: cover; }
.hero__panel { background: var(--sea); color: var(--white); }
.hero__in { padding-block: 36px 52px; }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: .4em; }
.hero p { max-width: 42ch; margin: 0; font-size: 1.125rem; color: var(--on-sea); }

/* Motor de căutare */
.booking-band { position: relative; z-index: 5; margin-top: -44px; }
.booking-band::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 44px; bottom: 0; background: var(--sea); }
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--sea); padding: 1px; border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 30px rgba(10,51,65,.22); }
.booking__field { position: relative; min-width: 0; background: var(--foam); border-radius: 0; padding: 9px 10px 7px 42px; cursor: pointer; transition: background-color .15s; }
.booking__field:hover, .booking__field:focus-within { background: var(--white); }
.booking label { display: block; font-size: .72rem; font-weight: 600; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; cursor: pointer; }
.booking__control { position: static; }
.booking__control .icon { position: absolute; left: 12px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); z-index: 1; color: var(--lake); pointer-events: none; }
.booking input[data-from], .booking input[data-to], .booking select { display: block; position: relative; width: 100%; min-width: 0; height: 30px; padding: 0 !important; font: 500 1.0625rem var(--body); color: var(--ink); background-color: transparent; border: 0; border-radius: 0; -webkit-appearance: none; appearance: none; cursor: pointer; }
.booking select { background-image: linear-gradient(45deg, transparent 50%, var(--sea) 50%), linear-gradient(135deg, var(--sea) 50%, transparent 50%); background-position: calc(100% - 7px) 13px, calc(100% - 2px) 13px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 16px !important; }
.booking input:focus, .booking select:focus { outline: 0; }
.booking__field:focus-within { outline: 2px solid var(--sun); outline-offset: -2px; }
.booking__ages { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.booking__ages .booking__field { padding-left: 12px; }
.booking__ages[hidden], .booking__error[hidden] { display: none; }
.booking .booking__submit { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 56px; padding: 0 22px; border-radius: 0; font-size: 1.0625rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.booking .booking__submit:hover { background: var(--sun-2); color: var(--ink); }
.booking__submit .icon { width: 20px; height: 20px; }
.booking__error { grid-column: 1 / -1; margin: 0; padding: 4px; color: #FFD2D2; font-weight: 600; font-size: .95rem; }
.page-head.page-head--search { background: var(--sea); margin-bottom: 0; padding-bottom: 92px; }
.page-head--search h1 { color: var(--white); }
.head-booking { position: relative; z-index: 5; margin-top: -48px; margin-bottom: clamp(32px, 5vw, 56px); }

/* Calendar */
.cal { position: absolute; z-index: 40; width: 316px; padding: 14px; background: var(--white); border: var(--edge); border-radius: var(--r); box-shadow: 0 14px 40px rgba(10,51,65,.25); }
.cal[hidden] { display: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--sea); }
.cal__head button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--sea); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.cal__head button:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__dow { padding: 4px 0; text-align: center; font-size: .8rem; font-weight: 600; color: var(--muted); }
.cal__grid button { height: 38px; border: 0; border-radius: 4px; background: transparent; color: var(--ink); font: 500 .95rem var(--body); cursor: pointer; }
.cal__grid button:hover:not(:disabled) { background: var(--foam); }
.cal__grid button:disabled { color: #A9B8BC; cursor: default; }
.cal__grid .is-range { background: var(--foam); }
.cal__grid .is-picked { background: var(--sun); color: var(--ink); font-weight: 700; }
.cal__note { margin: 10px 0 0; font-size: .82rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 599px) {
	.cal { position: fixed; left: 50%; top: 50%; width: min(340px, calc(100vw - 24px)); transform: translate(-50%, -50%); box-shadow: 0 0 0 100vmax rgba(6,26,33,.55); }
}

/* Secțiuni */
.band { padding-block: clamp(52px, 8vw, 96px); }
.band--foam { background: var(--foam); }
.band--sun { background: var(--sun); }
.band--sun h2 { color: var(--ink); }
.band--sun .band__head .link { color: var(--ink); text-decoration-color: var(--ink); }
.band--sea { background: var(--sea); color: var(--white); }
.band--sea h2 { color: var(--white); }
.band__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 28px; }
.band__head h2 { margin: 0; }
.band__cta { margin: 32px 0 0; }

/* Povestea */
.story__grid { display: grid; gap: 36px; }
.story__img { padding: 0 10px 10px 0; }
.story__img img, .story__img .no-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; height: auto; min-height: 0; border-radius: var(--r); box-shadow: 10px 10px 0 var(--sun); }

/* Oferte */
.offers { display: grid; gap: 20px; }
.offer { background: var(--white); color: var(--ink); display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; }
.offer__img { display: block; }
.offer__img img, .offer__img .no-image { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; min-height: 0; }
.offer__body { padding: 20px; }
.offer__body h3 a { color: var(--sea); text-decoration: none; }
.offer__badge { display: inline-block; font: 700 1.125rem/1.1 var(--head); color: var(--ink); background: var(--sun); border-radius: var(--r); padding: .35em .8em; margin-bottom: .7em; }
.offer__until { font-size: .95rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.offers-page { padding-bottom: 72px; }
.offers-rows { display: grid; gap: 40px; margin-top: 32px; }
.offers-rows .offer { grid-template-rows: auto; gap: 16px; padding-bottom: 40px; border-bottom: var(--edge); border-radius: 0; overflow: visible; }
.offers-rows .offer:last-child { padding-bottom: 0; border-bottom: 0; }
.offers-rows .offer__img { border-radius: var(--r); overflow: hidden; }
.offers-rows .offer__body { padding: 0; }
.offers-rows h3 { font-size: clamp(1.625rem, 4vw, 2.25rem); }

/* Pe prima pagină, pe mobil: mai multe oferte în slide, ca la camere */
@media (max-width: 899px) {
	.band--sun .offers--many { grid-auto-flow: column; grid-auto-columns: min(82vw, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); padding-bottom: 8px; }
	.band--sun .offers--many .offer { scroll-snap-align: start; }
}

/* Camere */
.rooms-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gut); scroll-padding-inline: var(--gut); padding-bottom: 8px; }
.rooms-scroll .room { scroll-snap-align: start; }
.rooms-grid { display: grid; gap: 28px 24px; padding-bottom: 72px; }
.room { overflow: hidden; border-radius: var(--r); display: flex; flex-direction: column; background: var(--white); border: var(--edge); transition: box-shadow .15s; }
.room:hover { box-shadow: 0 8px 24px rgba(10,51,65,.14); }
.room__img { display: block; }
.room__img img, .room__img .no-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; min-height: 0; height: auto; }
.room h3 { margin: 16px 16px 10px; }
.room h3 a { color: var(--sea); text-decoration: none; }
.room h3 a:hover { text-decoration: underline; }
.room .specs { margin-inline: 16px; }
.room__more { margin: auto 16px 16px; padding-top: 14px; }
.specs { margin: 0; font-size: .975rem; }
.specs div { display: grid; grid-template-columns: 7.6em 1fr; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.specs dt { display: flex; align-items: flex-start; gap: .45em; color: var(--muted); font-weight: 600; }
.specs dt .icon { margin-top: .22em; color: var(--lake); }
.specs dd { margin: 0; }

/* Facilități */
.fac-list { display: grid; gap: 20px; margin-top: 28px; }
.fac { display: block; color: var(--on-sea); text-decoration: none; }
.fac:hover { color: var(--white); }
.fac:hover strong { color: var(--sun); }
.fac__img { display: block; border-radius: var(--r); overflow: hidden; }
.fac__text { display: grid; gap: 4px; padding-top: 14px; }
.fac__more { justify-self: start; margin-top: 10px; font-weight: 700; color: var(--white); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: .15em; }
.fac:hover .fac__more { color: var(--sun); }
.fac strong { font: 700 1.5rem/1.15 var(--head); color: var(--white); }
.fac__img img, .fac__img .no-image { width: 100%; aspect-ratio: 16/10; object-fit: cover; min-height: 0; height: auto; }
.fac-rows { display: grid; gap: 48px; padding-bottom: 72px; }
.fac-row { display: grid; gap: 16px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.fac-row:last-child { border-bottom: 0; padding-bottom: 0; }
.fac-row img { border-radius: var(--r); width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* Testimoniale */
.reviews__head { margin-bottom: 28px; }
.reviews__head p { margin: 0 0 .3em; font-weight: 700; color: var(--lake); }
.reviews__head h2 { margin: 0; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; margin: 0; padding: 24px; background: var(--white); border: var(--edge); border-radius: var(--r); }
.review__stars { display: flex; gap: 2px; margin-bottom: 14px; }
.review__stars svg { fill: var(--line); }
.review__stars svg.on { fill: var(--sun); }
.review blockquote { flex: 1; margin: 0 0 20px; color: var(--ink); }
.review blockquote p:last-child { margin-bottom: 0; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: var(--edge); }
.review__avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sea); color: var(--white); font: 700 1.125rem var(--head); }
.review figcaption strong { display: block; line-height: 1.25; color: var(--sea); }
.review figcaption small { display: block; color: var(--muted); font-size: .875rem; }

/* Galerie */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mosaic a { display: block; border-radius: var(--r); overflow: hidden; }
.mosaic a:first-child { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6,26,33,.94); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; bottom: 50%; }
.lb-next { right: 12px; bottom: 50%; }

/* Pagini */
.page-head { background: var(--foam); padding-block: clamp(32px, 7vw, 72px) clamp(24px, 4vw, 40px); margin-bottom: clamp(24px, 5vw, 48px); }
.page-head h1 { margin: 0; }
.page-head--sun { background: var(--sun); }
.page-head--sun h1 { color: var(--ink); }
.page-head--sun .offer__badge { background: var(--white); }
.page-head--sun p:last-child { margin: .6em 0 0; }
.prose { padding-bottom: 56px; }
.prose > :not(.wp-block-gallery):not(details) { max-width: 70ch; }
.prose h2:first-child { margin-top: 0; }
.prose--flush { padding-bottom: 0; }
.single-accommodation .prose ul, .single-oferta .prose ul { list-style: none; padding-left: 0; }
.single-accommodation .prose li, .single-oferta .prose li { position: relative; padding-left: 1.6em; margin-bottom: .25em; }
.single-accommodation .prose li::before, .single-oferta .prose li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1em; height: 1em; background: var(--lake); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.prose h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 1.5em; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; text-align: left; }
.notice { border-radius: var(--r); background: var(--foam); padding: 12px 16px; border-left: 3px solid var(--sun); }
.offer-img { border-radius: var(--r); width: 100%; margin-bottom: 24px; }
.info { border-radius: var(--r); margin-top: 32px; border: var(--edge); padding: 4px 16px; }
.info summary { cursor: pointer; font: 700 1.25rem var(--head); color: var(--sea); padding: 10px 0; }
.info h2 { font-size: 1.25rem; }
.info h3 { font-size: 1.0625rem; margin-top: 1.25em; }
.info p { max-width: 70ch; }
.info .wp-block-table { margin: 0 0 1em; overflow-x: auto; }
.info table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.info th { background: var(--foam); color: var(--sea); }
.info td, .info th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.info .notice { font-weight: 600; }
.room-page > * { min-width: 0; }
@media (max-width: 599px) {
	.info { padding-inline: 12px; }
	.info table.is-stacking, .info .is-stacking tbody, .info .is-stacking tr, .info .is-stacking td { display: block; width: 100%; }
	.info .is-stacking thead { display: none; }
	.info .is-stacking tr { margin-bottom: 10px; padding: 12px; background: var(--foam); border-radius: var(--r); }
	.info .is-stacking tr:last-child { margin-bottom: 0; }
	.info .is-stacking td { padding: 6px 0 0; border: 0; font-size: 1rem; }
	.info .is-stacking td:first-child { padding-top: 0; }
	.info .is-stacking td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
	.info .is-stacking td.is-title { font-size: 1.0625rem; color: var(--sea); }
	.info .is-stacking td.is-title::before { content: none; }
}
.single-accommodation .prose .info ul { list-style: disc; padding-left: 1.25em; }
.single-accommodation .prose .info li { padding-left: 0; }
.single-accommodation .prose .info li::before { content: none; }

/* Galeria blocurilor WordPress */
.wp-block-gallery.wp-block-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 32px 0; }
.wp-block-gallery.wp-block-gallery .wp-block-image { width: auto !important; margin: 0 !important; border-radius: var(--r); overflow: hidden; }
.wp-block-gallery .wp-block-image a, .wp-block-gallery .wp-block-image img { display: block; width: 100%; height: 100%; }
.wp-block-gallery .wp-block-image img { aspect-ratio: 4/3; object-fit: cover; }

/* Cameră și ofertă */
.room-hero { border-bottom: 4px solid var(--sun); }
.room-hero img { width: 100%; height: 44svh; min-height: 240px; object-fit: cover; }
.room-page { display: grid; gap: 32px; padding-block: 32px 64px; }
.room-side { display: grid; gap: 16px; align-content: start; }
.room-side .specs div:last-child { border-bottom: 1px solid var(--line); }
.room-side .booking { box-shadow: none; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 4px 0; }

/* Contact */
.contact { display: grid; gap: 40px; padding-bottom: 72px; }
.contact__data { border-radius: var(--r); align-self: start; background: var(--foam); padding: 24px; }
.contact__data h2 { font-size: 1.5rem; }
.contact__data ul { list-style: none; margin: 0 0 24px; padding: 0; }
.contact__data li { padding: 4px 0; }
.map { display: grid; gap: 12px; justify-items: start; }
.map iframe { border-radius: var(--r); width: 100%; height: 320px; border: var(--edge); }
.wpcf7 { margin-top: 24px; }
.wpcf7 label { display: block; font-weight: 700; color: var(--sea); margin-bottom: 16px; }
.wpcf7 input:not([type=checkbox]):not([type=submit]), .wpcf7 textarea { display: block; width: 100%; margin-top: 4px; padding: 12px; font: inherit; font-weight: 400; color: var(--ink); background: var(--white); border: 1px solid var(--sea-line); border-radius: var(--r); min-height: 48px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--sun); outline-offset: 1px; }
.wpcf7 input[type=submit] { background: var(--sun); color: var(--ink); border: 0; border-radius: var(--r); padding: .85em 1.6em; font: 700 1rem var(--body); cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: var(--sea); color: var(--white); }
.form-consent { margin-bottom: 20px; font-size: .95rem; }
.form-consent label { font-weight: 400; margin: 0; display: inline; color: var(--ink); }
.wpcf7-not-valid-tip { display: block; color: #A32020; font-weight: 600; font-size: .95rem; margin-top: 4px; }
.wpcf7-response-output { border-radius: var(--r); margin: 16px 0 0 !important; padding: 12px 16px !important; border: var(--edge) !important; }
.wpcf7-spinner { display: none; }
/* Reguli de bază ale Contact Form 7, necesare fiindcă stilurile pluginului nu se încarcă */
.wpcf7 fieldset { display: none; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); word-wrap: normal; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2E7D4F !important; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #A32020 !important; }
.wpcf7 .wpcf7-list-item { display: inline; margin: 0; }

/* Subsol */
.site-foot { background: var(--sea); color: var(--on-sea); padding-top: 56px; border-top: 4px solid var(--sun); }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot h2 { color: var(--white); font-size: 1.125rem; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: 4px 0; }
.site-foot__grid { display: grid; gap: 32px; }
.site-foot__name { font: 700 1.5rem var(--head); color: var(--white); margin-bottom: .25em; }
.site-foot__legal { padding-block: 28px 24px; margin: 32px auto 0; font-size: .9rem; }

@media (max-width: 400px) {
	.booking__field { padding-left: 36px; padding-right: 6px; }
	.booking__control .icon { left: 9px; width: 20px; height: 20px; }
	.booking input[data-from], .booking input[data-to] { font-size: .95rem; }
}

@media (min-width: 600px) {
	.wp-block-gallery.wp-block-gallery { grid-template-columns: repeat(3, 1fr); }
	.mosaic { grid-template-columns: repeat(3, 1fr); }
	.mosaic a:first-child { grid-column: span 3; }
	.mosaic a:first-child img { aspect-ratio: 21/9; }
	.booking__ages { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
	body { padding-bottom: 0; }
	.quickbar { display: none; }
	.nav-toggle { display: none; }
	.brand img { height: 76px; max-height: 76px; max-width: 320px; }
	.site-head__in { min-height: 92px; }
	.site-nav { display: flex; align-items: center; gap: 22px; position: static; padding: 0; border: 0; overflow: visible; max-height: none; }
	.site-nav ul { display: flex; gap: 20px; margin: 0; }
	.site-nav li a { padding: 8px 0; font: 600 1rem var(--body); border: 0; }
	.site-nav li a:hover, .site-nav .current-menu-item a { box-shadow: 0 3px 0 var(--sun); }
	.site-nav__tel { margin: 0; white-space: nowrap; }
	.site-nav .btn { display: inline-block; white-space: nowrap; }

	.hero__img { height: 60svh; }
	.hero__in { padding-block: 44px 64px; }
	.hero h1 { max-width: 17ch; }

	.booking-band { margin-top: -56px; }
	.booking-band::before { top: 56px; }
	.booking { grid-template-columns: 1.2fr 1.2fr .8fr .8fr auto; }
	.booking__ages { grid-row: 2; }
	.booking .booking__submit { grid-column: auto; padding-inline: 34px; }
	.booking__error { grid-row: 3; }
	.booking--stack { grid-template-columns: 1fr 1fr; }
	.booking.booking--stack .booking__submit { grid-column: 1 / -1; grid-row: auto; }
	.booking--stack .booking__error { grid-row: auto; }
	.booking--stack .booking__ages { grid-template-columns: 1fr 1fr; grid-row: auto; }

	.story__grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
	.offers--many { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
	.offers--one .offer { grid-template-columns: 3fr 2fr; grid-template-rows: auto; }
	.offers--one .offer__img img, .offers--one .offer__img .no-image { height: 100%; }
	.offers--one .offer__body { padding: 40px; align-self: center; }
	.rooms-scroll { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: 1240px; margin-inline: auto; gap: 24px; }
	.rooms-grid { grid-template-columns: repeat(3, 1fr); }
	.fac-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.offers-rows { gap: 48px; }
	.offers-rows .offer { grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; padding-bottom: 48px; }
	.offers-rows .offer:nth-child(even) { grid-template-columns: 5fr 7fr; }
	.offers-rows .offer:nth-child(even) .offer__img { order: 2; }
	.fac-row { grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
	.fac-row:nth-child(even) > :first-child { order: 2; }
	.fac-row:nth-child(even) { grid-template-columns: 5fr 7fr; }
	.mosaic { grid-template-columns: repeat(4, 1fr); }
	.mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
	.mosaic a:first-child img { aspect-ratio: auto; }
	.mosaic a:nth-child(n+6) { display: none; }
	.wp-block-gallery.wp-block-gallery { grid-template-columns: repeat(4, 1fr); }
	.room-hero img { height: 56svh; }
	.room-page { grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 64px; padding-block: 48px 80px; }
	.room-page h1 { font-size: 3rem; }
	.room-side { position: sticky; top: 112px; }
	.contact { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 72px; }
	.site-foot__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
