/* GP House — base */
/* ==========================================================================
   GP House — main stylesheet
   Values are taken 1:1 from the Figma UI design (1440px desktop frame).
   ========================================================================== */

/* Tokens ------------------------------------------------------------------ */
:root {
	--gp-primary: #ffc646;
	--gp-primary-hover: #f5b82c;
	--gp-navy: #011041;
	--gp-navy-2: #0b1e5a;
	--gp-black: #1a1a1a;
	--gp-text: #6b6b6b;
	--gp-stroke: #e4e4e4;
	--gp-sand: #e1e0dd;
	--gp-sand-light: #f0efeb;
	--gp-b20: #f5f6f7;
	--gp-b30: #ebedf0;
	--gp-white: #fff;

	--gp-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gp-font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--gp-container: 1280px;
	--gp-shadow-float: drop-shadow(0 82px 24.5px rgba(27, 27, 29, .05)) drop-shadow(0 9px 10px rgba(27, 27, 29, .1));
	--gp-shadow-arrow: drop-shadow(0 2px 24.5px rgba(27, 27, 29, .05)) drop-shadow(0 4px 10px rgba(27, 27, 29, .1));
	--gp-glass-box: linear-gradient(to bottom, #5a6898, rgba(23, 35, 73, .4));
}

/* Base -------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--gp-white);
	color: var(--gp-black);
	font-family: var(--gp-font-body);
	font-size: 16px;
	line-height: 1.5;
	font-variation-settings: "opsz" 14;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg { display: block; max-width: none; }

a { color: inherit; text-decoration: none; }

button,
input,
select { font: inherit; color: inherit; }

button { cursor: pointer; text-transform: inherit; }

p { margin: 0; }

:focus-visible { outline: 2px solid var(--gp-primary); outline-offset: 2px; }

.gp-skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--gp-navy);
	color: #fff;
}
.gp-skip-link:focus { top: 16px; }

/* Figma sets text-case "Capitalize" on the marketing UI. */
.gp-header,
.gp-home,
.gp-stays-page,
.gp-footer-area { text-transform: capitalize; }

.gp-container {
	width: min(var(--gp-container), 100% - 48px);
	margin-inline: auto;
}

.gp-icon { flex: none; }

/* Typography -------------------------------------------------------------- */
.gp-heading { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gp-heading--12 { gap: 12px; }
.gp-heading--center { align-items: center; text-align: center; }

.gp-kicker { font-size: 18px; line-height: 1.6; color: var(--gp-text); }
.gp-kicker--lh15 { line-height: 1.5; }
.gp-kicker--lhn { line-height: normal; }
.gp-kicker--light { color: #fff; }
.gp-kicker--dark { color: var(--gp-black); }

.gp-title {
	margin: 0;
	font-family: var(--gp-font-head);
	font-weight: 600;
	font-size: 49px;
	line-height: 1.2;
	color: var(--gp-navy);
	font-variation-settings: normal;
}
.gp-title--gold { color: var(--gp-primary); }

.gp-text { font-size: 16px; line-height: 1.5; color: var(--gp-text); }

/* Generic pages ----------------------------------------------------------- */
.gp-page { padding: 160px 0 40px; }
.gp-entry + .gp-entry { margin-top: 48px; }
.gp-entry__content { margin-top: 24px; color: var(--gp-text); line-height: 1.6; }

@keyframes gp-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { animation: none !important; transition: none !important; }
	.gp-story { position: relative; top: 0; transform: none !important; }
}
.gp-anim-in { animation: gp-fade .3s ease; }
.gp-no-caps,
.gp-btn.gp-no-caps { text-transform: none; }

/* Visually hidden, still read by screen readers (WordPress convention). */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
.screen-reader-text:focus { width: auto; height: auto; margin: 0; clip: auto; clip-path: none; }

/* Copy that differs between desktop and mobile frames. */
.gp-only-m,
.gp-cta__text.gp-only-m { display: none; }
@media (max-width: 600px) {
	.gp-only-d { display: none !important; }
	.gp-only-m { display: block; }
	.gp-cta__text.gp-only-m { display: flex; }
	.gp-cta__text.gp-only-d { display: none !important; }
}

/* Polish ------------------------------------------------------------------- */
::selection { background: var(--gp-primary); color: var(--gp-navy); }
html { scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a, button { -webkit-tap-highlight-color: transparent; }
/* Keyboard focus: navy on light surfaces, yellow on the dark navy ones. */
:focus-visible { outline-color: var(--gp-navy); }
.gp-footer :focus-visible, .gp-why :focus-visible, .gp-newsletter :focus-visible, .gp-hero :focus-visible, .gp-page-hero :focus-visible, .gp-sc-nfc :focus-visible { outline-color: var(--gp-primary); }

/* Print (booking itinerary): just the open dialog / page content */
@media print {
	.gp-header, .gp-footer-area, .gp-pf__side, .gp-appbar, .gp-mobile-menu, .gp-auth-modal, .gp-chatbot { display: none !important; }
	.gp-it { position: static; width: 100%; max-height: none; box-shadow: none; }
	.gp-it__close, .gp-it__btn { display: none !important; }
}
