/*!
Theme Name: Notariusz Kutno
Theme URI: http://underscores.me/
Author: HelloDot Bartłomiej Hartuna
Author URI: https://hellodot.pl/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: notariusz-kutno
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* jost-300 - latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/jost-v20-latin-ext-300.woff2') format('woff2');
}

/* jost-regular - latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/jost-v20-latin-ext-regular.woff2') format('woff2');
}

/* jost-500 - latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/jost-v20-latin-ext-500.woff2') format('woff2');
}

/* jost-600 - latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/jost-v20-latin-ext-600.woff2') format('woff2');
}

/* cormorant-garamond-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/cormorant-garamond-v21-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/cormorant-garamond-v21-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/cormorant-garamond-v21-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-infant-500 - latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/cormorant-infant-v22-latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
	
	
	--color-border: rgba(197, 160, 89, .25);
	
	
	--color-very-light: #FEFCF9;
	--color-light: #FDFBF8;
    --color-dark: #222327;
    --color-accent: #2D3748;
	--color-gold: rgb(197, 160, 89);
	--color-gold-light: #D5B069;

	
	--color-light-opacity: rgba(253, 251, 248, .85);
	--color-light-opacity-30: rgba(253, 251, 248, .3);
	--color-light-opacity-05: rgba(253, 251, 248, .05);

}

* {
	box-sizing: border-box;
	font-size: 16px;
	font-weight: 300;
	margin: 0;
	outline: none;
	padding: 0;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

a:focus-visible, 
button:focus-visible {
	outline: 1px solid var(--color-gold-light);
    outline-offset: 2px;
}

::selection {
    background-color: var(--color-gold);
    color: var(--color-light);
}

::-moz-selection {
    background-color: var(--color-gold);
    color: var(--color-light);
}

html {
  	scroll-behavior: smooth;
}

body {
	background-color: var(--color-light);
	overflow-x:hidden;
}








.container, .container-fluid {
	inset: 0;
	margin-left: auto;
	margin-right: auto;
	padding-left: .75rem;
	padding-right: .75rem;
	width: 100%;
}

.container {
	padding-left: 2rem;
	padding-right: 2rem;
}

.container-fluid {
	max-width: 1616px;
}

@media (min-width: 640px) {
	.container {
		max-width: 620px;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 748px;
	}
}

@media (min-width: 1024px) {
	.container {
		max-width: 1004px;
	}
}

@media (min-width: 1280px) {
	.container {
		max-width: 1260px;
	}
}

@media (min-width: 1536px) {
	.container {
		max-width: 1516px;
	}
}

section {
	display: flex;
	flex-direction: column;
	padding: 3rem 0;
	position: relative;
	row-gap: 2.5rem;
	/* margin: auto;
	max-width: 1920px; */
}

@media (min-width: 1024px) {
	section {
		padding: 4.5rem 0;
		row-gap: 3.5rem;
	}
}


@media (min-width: 1280px) {
	section {
		padding: 5.5rem 0;
		row-gap: 4rem;
	}
}

section:first-of-type {
	padding-top: 3rem;
}















h1, h2, h3 {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	letter-spacing: 0;
}

h1 {
	color: var(--color-light);
	font-size: 2rem;
	line-height: 1.15;
}

@media (min-width: 768px) {
	h1 {
		font-size: 3.5rem;
	}
}

@media (min-width: 1280px) {
	h1 {
		font-size: 5rem;
	}
}

h1 > span {
	color: inherit;
	display: block;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
}

h2 {
	font-size: 1.75rem;
}

@media (min-width: 768px) {
	h2 {
		font-size: 3rem;
	}
}

@media (min-width: 1280px) {
	h2 {
		font-size: 4.25rem;
	}
}

h3 {
	font-size: 1.5rem;
}

@media (min-width: 768px) {
	h3 {
		font-size: 2rem;
	}
}

@media (min-width: 1280px) {
	h3 {
		font-size: 2.5rem;
	}
}

p, li {
	font-family: 'Jost', sans-serif;
	letter-spacing: 1px;
	line-height: 1.5;
}

p strong, li strong {
	font-size: inherit;
	font-weight: 400;
}

p > a {
	color: inherit;
	font-size: inherit;
	font-weight: 400;
	text-decoration: underline;
}

a {
	font-family: 'Jost', sans-serif;
	letter-spacing: 1px;
	line-height: 1.5;	
	transition: all 250ms ease-in-out;
}

a:hover {
	color: var(--color-gold);
}

section p, section a, section li {
	font-size: 1.125rem;
}

@media (min-width: 1024px) {
	section p, section a, section li {
		font-size: 1.25rem;
	}
}

/* text */
.text-flex {
	align-items: left;
	display: flex;
	flex-direction: column;
	margin: auto;
	max-width: 1024px;
	row-gap: 2.5rem;
}

@media (min-width: 1024px) {
	.text-flex {
		align-items: center;
		row-gap: 4rem;
	}
}

.text-flex h2 {
	text-align: left;
}

@media (min-width: 1024px) {
	.text-flex h2 {
		text-align: center;
	}
}

.text-flex p {
	font-size: 1.125rem;
	text-align: left;
}

@media (min-width: 1024px) {	
	.text-flex p {
		font-size: 1.25rem;
		text-align: center;
	}
}

.text-flex h2.center, .text-flex p.center {
	text-align: center;
}




.hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.btn-primary {
	background: radial-gradient(circle at left bottom, var(--color-gold), var(--color-gold-light));
	color: var(--color-light);
	display: inline-block;
	padding: .75rem 1.5rem;
	width: fit-content;
}

.btn-primary:hover {
	color: var(--color-light);
	cursor: pointer;
	filter: brightness(1.1);
}

.btn-secondary {
	align-items: center;
	border: 1px solid var(--color-gold-light);
	color: var(--color-gold-light);
	display: flex;
	column-gap: .5rem;
	padding: .75rem 1.5rem;
	width: fit-content;
}

.btn-secondary:hover {
	background-color: var(--color-light-opacity-05);
	color: var(--color-gold-light);
	cursor: pointer;
}

.btn-secondary svg {
	fill: var(--color-gold-light);
	height: 1.5rem;
	width: 1.5rem;
}











/* header */
header {
	/* background-color: var(--color-accent); */
	/* padding: 1.5rem 0; */
	align-items: center;
	display: flex;
	height: 6rem;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

@media (min-width: 1024px) {
	header {
		height: 7rem;
	}
}

header::before {
	background: linear-gradient(45deg, var(--color-dark), var(--color-accent));
	border-bottom: 2px solid var(--color-accent);
	content: '';
	height: 100%;
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transition: all 500ms ease-in-out;
	width: 100%;
	z-index: 990;
}

header.is-sticky::before {
	opacity: 1;
}

header .header-grid {
	align-items: center;
	column-gap: 1rem;
	display: grid;
	grid-template-columns: auto auto 1fr;
	grid-template-rows: 1fr;
	position: relative;
	z-index: 1000;
}

@media (min-width: 1024px) {
	header .header-grid {
		column-gap: 2rem;
	}
}

header .header-grid > div:nth-last-of-type(2) > img {
	height: auto;
	width: 2.5rem;
}

@media (min-width: 1024px) {
	header .header-grid > div:nth-last-of-type(2) > img {
		width: 3rem;
	}
}

header .logo-wrapper {
	align-items: center;
	display: flex;
	height: auto;
	width: 7rem;
}

@media (min-width: 1024px) {
	header .logo-wrapper {
		width: 9rem;
	}
}

.logo-wrapper a {
	display: block;
    height: auto;
    line-height: 0;
    width: 100%;
}

.logo-wrapper a img {
    display: block;
    height: auto;
    object-fit: contain;
	width: 100%;
}

header nav {
	display: none;
	justify-content: end;
	width: 100%;
}

@media (min-width: 1280px) {
	header nav {
		display: flex;
	}
}

header .menu-toggle-wrapper {
	align-items: center;
	display: flex;
	justify-content: end;
}

@media (min-width: 1280px) {
	header .menu-toggle-wrapper {
		display: none;
	}
}

header .menu-toggle-open {
	cursor: pointer;
	height: 2.5rem;
	padding: .25rem;
	width: 2.5rem;
}

header .menu-toggle-open svg {
	fill: var(--color-light);
	height: 100%;
	width: 100%;
}

header nav ul {
	column-gap: 2rem;
	display: flex;
	list-style-type: none;
}

header nav ul li a {
	color: var(--color-light);
	font-family: 'Jost', serif;
	font-size: 1.25rem;
	font-weight: 300;
}

.current-menu-item a {
	position: relative;
}

.current-menu-item a::after {
	background-color: var(--color-gold);
	bottom: -0.5rem;
	content: '';
	height: 1px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	transition: all 250ms ease-in-out;
	width: 2rem;
}

.background-menu-mobile {
	background-color: var(--color-light-opacity);
	height: 100lvh;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	transition: all 150ms ease-in-out;
	visibility: hidden;
	width: 100lvw;
	z-index: 1090;
}

.background-menu-mobile.is-visible {
	opacity: 1;
	visibility: visible;
}

@media (min-width: 1280px) {
	.background-menu-mobile {
		display: none;
	}
}

.menu-mobile-flex {
	align-items: center;
	background: linear-gradient(45deg, var(--color-dark), var(--color-accent));
	border-left: 2px solid var(--color-accent);
	display: flex;
	flex-direction: column;
	justify-content: center;
	row-gap: 4rem;
	left: 5%;
	height: 100%;
	position: fixed;
	top: 0;
	transform: translateX(100lvw);
	transition: all 250ms ease-in-out;
	visibility: hidden;
	width: 95%;
	z-index: 1100;
}

.menu-mobile-flex .menu-toggle-close {
	cursor: pointer;
	height: 2.5rem;
	padding: .25rem;
	position: absolute;
	right: 2rem;
	top: 2rem;
	width: 2.5rem;
}

.menu-mobile-flex .menu-toggle-close svg {
	fill: var(--color-light-opacity);
	height: 100%;
	width: 100%;
}

.menu-mobile-flex.is-visible {
	transform: translateX(0);
	visibility: visible;
}

@media (min-width: 1280px) {
	.menu-mobile-flex {
		display: none;
	}
}

.menu-mobile-flex .logo-wrapper a {
	width: 15rem;
}

.menu-mobile-flex nav ul {
	align-items: center;
	display: flex;
	flex-direction: column;
	list-style-type: none;
	height: 100%;
	justify-content: center;
	row-gap: 2rem;	
}

@media (orientation: landscape) {
	.menu-mobile-flex nav ul {
		column-gap: 2rem;
		flex-direction: row;
		flex-wrap: wrap;
		row-gap: 1rem;	
	}
}

.menu-mobile-flex nav ul li a {
	color: var(--color-light);
	font-family: 'Jost', serif;
	font-size: 1.25rem;
	font-weight: 300;
}









section.hero-section {
	/* background-color: var(--color-dark); */
	display: flex;
    align-items: center;
	/* min-height: 80lvh; */
	margin: auto;
	max-width: 2560px;
	padding: 0;
	position: relative;
}

.hero-section .hero-image-wrapper {
	inset: 0;
	position: absolute;
	z-index: 880;
}

.hero-section .hero-image-wrapper img {
	height: 100%;
	object-fit: cover;
	object-position: bottom;
	width: 100%;
}

.hero-section .hero-image-wrapper img.center {
	object-position: center;
}

.hero-section .overlay {
	background: radial-gradient(circle at left center, var(--color-dark), var(--color-accent));
	inset: 0;
	opacity: 1;
	position: absolute;
	transition: opacity 600ms ease-in-out;
	z-index: 890;
}

.hero-section .overlay.is-loaded {
    opacity: 0.9;
}

.hero-section .container {
	inset: 0;
	position: relative;
	z-index: 900;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 6rem 1fr auto;
	height: 85svh;
	max-height: 1080px;
	min-height: 750px;
	row-gap: 2rem;
}

@media (min-width: 1024px) {
	.hero-grid {
		grid-template-rows: 7rem 1fr auto;
		height: 80svh;
		min-height: 640px;
	}
}

.front-page .hero-grid {
	height: 100svh;
}

.hero-grid > div:first-of-type {
	display: flex;
	flex-direction: column;
	justify-content: start;
}

.hero-grid > div:nth-of-type(2) {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 1024px;
	row-gap: 1.5rem;
}

.hero-grid > div:nth-of-type(2) > * {
	color: var(--color-light-opacity);
}

.hero-grid > div:last-of-type {
	/* align-items: end; */
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: end;
}

.hero-grid > div:last-of-type > div:first-of-type {
	border-top: 1px solid var(--color-light-opacity);
	column-gap: 2rem;
	display: grid;
	grid-template-columns: 1fr;
	justify-content: center;
	row-gap: 1.25rem;
	padding: 1rem .5rem;
	width: 100%;
}

@media (min-width: 768px) {
	.hero-grid > div:last-of-type > div:first-of-type {
		grid-template-columns: repeat(2, auto);
	}
}

@media (min-width: 1024px) {
	.hero-grid > div:last-of-type > div:first-of-type {
		/* width: fit-content */
		width: 100%;
	}
}

@media (min-width: 1280px) {
	.hero-grid > div:last-of-type > div:first-of-type {
		grid-template-columns: repeat(4, auto);
	}
}

.hero-grid > div:last-of-type > div:first-of-type > div {
	align-items: center;
	column-gap: .5rem;
	display: flex;
}

.hero-grid > div:last-of-type > div:first-of-type > div > p, .hero-grid > div:last-of-type > div:first-of-type > div > a {
	color: var(--color-light-opacity);
	font-size: 1rem;
	transition: all 250ms ease-in-out;
}

.hero-grid > div:last-of-type > div:first-of-type > div > a:hover {
	color: var(--color-gold);
}

.hero-grid > div:last-of-type > div:first-of-type > div > svg {
	fill: var(--color-gold);
	height: 1.5rem;
	width: 1.5rem;
}

.hero-grid > div:last-of-type > div:last-of-type {
	background-color: var(--color-light);
	height: 0rem;
	width: 100%;
}

@media (min-width: 1024px) {
	.hero-grid > div:last-of-type > div:last-of-type {
		height: 0rem;
	}
}






















/* benefits */
.image-background-wrapper {
	position: absolute;
	inset: 0;
	height: 50%;
	z-index: -2;
	margin: 10% auto;
	width: 90%;
}

@media (min-width: 1280px) {
	.image-background-wrapper {
		height: 60%;
		z-index: -2;
		margin: auto;
		width: 60%;
	}
}

.image-background-wrapper:after {
	background: 
		linear-gradient(0deg, var(--color-light) 10%, var(--color-light-opacity-30) 50%, var(--color-light) 90%),
		linear-gradient(90deg, var(--color-light) 10%, var(--color-light-opacity-30) 50%, var(--color-light) 90%);
		/* radial-gradient(circle at center, var(--color-light-opacity-50), var(--color-light) 50%); */
	content: "";
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
}

.image-background-wrapper img {
	height: 100%;
	object-position: center;
	object-fit: cover;
	width: 100%;
}

.benefits-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto auto;
	row-gap: 3rem;
}

@media (min-width: 1280px) {
	.benefits-grid {
		column-gap: 6rem;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: auto;
	}	
}

.benefit {
	align-items: center;
	display: flex;
	flex-direction: column;
	padding: 2rem 0;
	row-gap: 1rem;
}

.benefit h3, .benefit p {
	text-align: center;
}

.benefit p {
	position: relative;
	inset: 0;
}

.benefit p:after {
	bottom: -2rem;
	content: "";
	height: 1px;
	left: 35%;
	width: 30%;
	background-color: var(--color-gold-light);
	position: absolute;
}

.benefit svg {
	fill: var(--color-gold);
	height: 3.5rem;
	width: 3.5rem;
}




/* for customers */
#for-customers {
	/* background: radial-gradient(circle at center, var(--color-accent), var(--color-dark)); */
	background: linear-gradient(45deg, var(--color-dark), var(--color-accent));
}

.for-customers-grid {
	align-items: center;
	display: grid;
	gap: 3rem;
	/* grid-template-columns: 1fr;
	grid-template-rows: auto auto auto; */
	grid-template-columns: 1fr;
	grid-template-rows: auto;
}

@media (min-width: 1024px) {
	.for-customers-grid {
		/* grid-template-columns: auto auto 1fr;
		grid-template-rows: auto; */
	}
}

.for-customers-grid > div:nth-of-type(1) {
	display: flex;
	flex-direction: column;
	order: 3;
	row-gap: 1.75rem;
} 

@media (min-width: 1024px) {
	.for-customers-grid > div:nth-of-type(1) {
		order: 1;
	}
}

.for-customers-grid > div:nth-of-type(1) > div > p:first-of-type {
	color: var(--color-gold);
	font-family: 'Cormorant Infant', serif;
	font-size: 2.5rem;
	font-weight: 500;
}

.for-customers-grid > div:nth-of-type(1) > div > p:last-of-type {
	color: var(--color-light-opacity);
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.25rem;
	font-weight: 300;
	text-transform: uppercase;
}

.for-customers-grid > div:nth-of-type(2) {
	background-color: var(--color-light-opacity);
	height: 1px;
	order: 2;
	width: 100%;
}

@media (min-width: 1024px) {
	.for-customers-grid > div:nth-of-type(2) {
		height: 100%;
		width: 1px;
	}
}

.for-customers-grid > div:nth-of-type(3) {
	display: flex;
	flex-direction: column;
	order: 1;
	row-gap: 1.75rem;
}

@media (min-width: 1024px) {
	.for-customers-grid > div:nth-of-type(3) {
		order: 3;
	}
}

.for-customers-grid > div:nth-of-type(3) > * {
	color: var(--color-light-opacity);
}

.for-customers-grid > div:nth-of-type(1) > * {
	color: var(--color-light-opacity);
}


/* opinions */
.opinions-grid {
	column-gap: 1.5rem;
	display: grid;
	grid-template-columns: repeat(3, 80%);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

@media (min-width: 1024px) {
	.opinions-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.opinion {
	background-color: var(--color-very-light);
	border: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	padding: 2rem;
	row-gap: 1.5rem;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.opinion p, .opinion strong {
	font-size: 1rem;
}

@media (min-width: 1024px) {
	.opinion p, .opinion strong {
		font-size: 1.125rem;
	}
}

.opinion > div {
	display: flex;
	height: 100%;
	flex-direction: column;
	justify-content: end;
	row-gap: 1.5rem;
}

.opinion-author {
	align-items: center;
	column-gap: .5rem;
	display: flex;
}

.opinion-author svg {
	fill: var(--color-border);
	height: 1.5rem;
	width: 1.5rem;
}

.opinion-stars {
	column-gap: .25rem;
	display: flex;
}

.opinion-stars svg {
	fill: var(--color-gold);
	height: 1rem;
	width: 1rem;
}










/* czynności notarialne */
section:has(.every-activity-wrapper) {
	background: linear-gradient(45deg, var(--color-dark), var(--color-accent));
}

.every-activity-grid {
	align-items: center;
	display: grid;
	gap: 3rem;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto auto;
}

@media (min-width: 1024px) {
	.every-activity-grid {
		grid-template-columns: 22rem auto 1fr;
		grid-template-rows: auto;
	}
}

@media (min-width: 1536px) {
	.every-activity-grid {
		grid-template-columns: 30rem auto 1fr;
		grid-template-rows: auto;
	}
}

.every-activity-grid > div:nth-of-type(1) {
	display: flex;
	flex-direction: column;
	row-gap: 1.75rem;
} 

.every-activity-grid > div:nth-of-type(1) > p {
	color: var(--color-gold);
	font-family: 'Cormorant Infant', serif;
	font-size: 1.25rem;
	font-weight: 500;
}

@media (min-width: 1024px) {
	.every-activity-grid > div:nth-of-type(1) > p {
		font-size: 1.75rem;
	}
}

.every-activity-grid > div:nth-of-type(2) {
	background-color: var(--color-light-opacity);
	height: 1px;
	width: 100%;
}
@media (min-width: 1024px) {
	.every-activity-grid > div:nth-of-type(2) {
		height: 100%;
		width: 1px;
	}
}

.every-activity-grid > div:nth-of-type(3) {
	display: flex;
	flex-direction: column;
	row-gap: 1.75rem;
}

.every-activity-grid > div:nth-of-type(3) > * {
	color: var(--color-light-opacity);
}

.legal-basis-flex {
	background-color: var(--color-very-light);
	border: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	padding: 2rem;
	row-gap: 1.5rem;
}



















/* documents */
#contents-wrapper {
	/* background: radial-gradient(circle at center, var(--color-accent), var(--color-dark)); */
	background: linear-gradient(45deg, var(--color-dark), var(--color-accent));
}

.contents-flex {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contents-flex h3, .contents-flex p {
	color: var(--color-light-opacity);
}

section:has(.documents-flex) {
	padding-bottom: 0;
}

.documents-flex {
	display: flex;
	flex-direction: column;
	row-gap: 3rem;
}

.document {
	display: flex;
	flex-direction: column;
	row-gap: 1.5rem;
	scroll-margin-top: 8rem;
}

.document h3 span {
	color: var(--color-gold);
	font-family: 'Cormorant Infant', serif;
	font-size: inherit;
	font-weight: 500;
}

.document .document-description {
	background-color: var(--color-very-light);
	border: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	padding: 2rem;
	row-gap: 1rem;	
}

.document .document-description > ul, .document .document-description > ul > li > ul {
	display: flex;
	flex-direction: column;
	list-style-type: none;
	padding: 0 0 0 1.75rem;
	row-gap: 1rem;
}

.document .document-description > ul > li > ul {
	margin-top: 1rem;
}

.document .document-description > ul > li, .document .document-description > ul > li > ul > li {
	position: relative;
}

.document .document-description > ul > li:after {
	background-color: var(--color-gold-light);
	border-radius: 50%;
	content: "";
	height: .375rem;
	left: -1rem;
	position: absolute;
	top: .75rem;
	width: .375rem;
}

.document .document-description > ul > li > ul > li:after {
	border: 1px solid var(--color-gold-light);
	border-radius: 50%;
	content: "";
	height: .25rem;
	left: -1rem;
	position: absolute;
	top: .75rem;
	width: .25rem;	
}














/* opłaty */
section:has(.notary-fee-wrapper) {
	background: linear-gradient(45deg, var(--color-dark), var(--color-accent));
}

.notary-fee-grid {
	align-items: center;
	display: grid;
	gap: 3rem;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto auto;
}

@media (min-width: 1024px) {
	.notary-fee-grid {
		grid-template-columns: 29rem auto 1fr;
		grid-template-rows: auto;
	}
}

@media (min-width: 1280px) {
	.notary-fee-grid {
		grid-template-columns: 41rem auto 1fr;
		grid-template-rows: auto;
	}
}

@media (min-width: 1536px) {
	.notary-fee-grid {
		grid-template-columns: 46rem auto 1fr;
		grid-template-rows: auto;
	}
}

.notary-fee-grid > div:nth-of-type(1) {
	display: flex;
	flex-direction: column;
	row-gap: 1.75rem;
} 

.notary-fee-grid > div:nth-of-type(1) > * {
	color: var(--color-light-opacity);
}

.notary-fee-grid > div:nth-of-type(1) > p:first-of-type {
	color: var(--color-gold);
	font-family: 'Cormorant Infant', serif;
	font-size: 1.25rem;
	font-weight: 500;
}

@media (min-width: 1024px) {
	.notary-fee-grid > div:nth-of-type(1) > p:first-of-type {
		font-size: 1.75rem;
	}
}

.notary-fee-grid > div:nth-of-type(2) {
	background-color: var(--color-light-opacity);
	height: 1px;
	width: 100%;
}
@media (min-width: 1024px) {
	.notary-fee-grid > div:nth-of-type(2) {
		height: 100%;
		width: 1px;
	}
}

.notary-fee-grid > div:nth-of-type(3) {
	display: flex;
	flex-direction: column;
	row-gap: 1.75rem;
}

.notary-fee-grid > div:nth-of-type(3) > * {
	color: var(--color-light-opacity);
}































/* faq */
.faq-flex {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

.faq-position {
	column-gap: .75rem;
	cursor: pointer;
	display: grid;
	grid-template-columns: 1.5rem 1fr 2.25rem;
	grid-template-rows: auto 0fr;
	transition: all 500ms ease-in-out;	
	-webkit-tap-highlight-color: transparent;
}

@media (min-width: 1024px) {
	.faq-position {
		column-gap: 2rem;
	}
}

.faq-position.open {
	grid-template-rows: auto 1fr;
	row-gap: 1rem;
}

.faq-position .question {
	/* align-items: center; */
	display: flex;
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.25rem;
	font-weight: 600;
}

@media (min-width: 1024px) {
	.faq-position .question {
		font-size: 1.75rem; 
	}
}

.faq-position > p:not(.question) {
	/* align-items: center; */
	color: var(--color-gold);
	display: flex;
	font-family: 'Cormorant Infant', serif;
	font-size: 2.25rem;
	transform: translateY(-12px);
	font-weight: 500;
}

@media (min-width: 1024px) {
	.faq-position > p:not(.question) {
		transform: translateY(-6px);
	}
}

.faq-position > div:has(svg) {
	/* align-items: center; */
	display: flex;
}

.faq-position svg {
	fill: var(--color-gold);
	height: 2.25rem;
	width: 2.25rem;
	transform: translateY(-3px);
	transition: all 500ms ease-in-out;
}

@media (min-width: 1024px) {
	.faq-position svg {
		transform: translateY(3px);
	}
}

.faq-position.open svg {
	transform: rotate(180deg);
}

.faq-position .answer {
	/* background: radial-gradient(circle at center, var(--color-accent), var(--color-dark)); */

	background-color: var(--color-very-light);
	border: 1px solid var(--color-border);
	/* padding: 2rem;
	row-gap: 1.5rem; */

	/* border: 1px solid var(--color-border); */
	display: flex;
	flex-direction: column;
	grid-column: 1 / span 3;
	grid-row: 2 / span 1;
	opacity: 0;
	overflow: hidden;
	padding: 0rem 2rem;
	row-gap: 1rem;
	transition: all 500ms ease-in-out;
}

.faq-position.open .answer {
	opacity: 1;
	/* overflow: visible; */
	padding: 2rem 2rem;
}

.faq-position .answer > p {
	/* color: var(--color-light); */
}

























/* footer */
footer {
	scroll-margin-top: 8rem;
}

footer h3, footer p, footer a {
	color: var(--color-light);
}

.map-wrapper {
	background: linear-gradient(180deg, var(--color-light) 50%, var(--color-dark) 50%);
}

.map-wrapper iframe {
	border: none;
	filter: grayscale(80%) brightness(1) contrast(1);
	height: 20rem;
	width: 100%;
}

.footer-info-wrapper {
	background-color: var(--color-dark);
	padding: 4rem 0;
}

.footer-info-grid {
	display: grid;
	gap: 4rem;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto;
	margin: auto;
	max-width: 1024px;
}

@media (min-width: 1024px) {
	.footer-info-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
	}
}

.footer-info-grid > div {
	display: flex;
	flex-direction: column;
	row-gap: 1rem;
}

.footer-info-grid .footer-line {
	background-color: var(--color-light);
	height: 1px;
	width: 100%;
}

.footer-info-grid > div:first-of-type > div:not(.footer-line) {
	column-gap: 1rem;
	display: flex;
}

.footer-info-grid > div:first-of-type svg {
	fill: var(--color-gold);
	height: 1.5rem;
	width: 1.5rem;
}

.footer-info-grid > div:last-of-type > div:not(.footer-line) {
	display: flex;
	justify-content: space-between;
}

.copyright-wrapper {
	background-color: var(--color-accent);
	padding: 1rem 0;
}

.copyright-wrapper .container {
	display: flex;
	flex-direction: column;
	row-gap: .5rem;
}

.copyright-wrapper .container > div:last-of-type p, .copyright-wrapper .container > div:last-of-type a {
	font-size: 1rem;
	text-align: center;
}

@media (min-width: 768px) {
	.copyright-wrapper .container > div:last-of-type p, .copyright-wrapper .container > div:last-of-type a {
		text-align: left;
	}
}

.copyright-flex {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	justify-content: start;
}

@media (min-width: 768px) {
	.copyright-flex {
		flex-direction: row;
		justify-content: space-between;
	}
}

.copyright-flex a {
	text-align: right;
}




#first-section {
	scroll-margin-top: 6rem;
}