@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');
@import url('unsemantic-grid-responsive.css');
@import url('navigation.css');

:root {
  --black: #424242;
  --yellow: #FDC465;
  --lightgray: #FCFCFC;
  --warmgray: #CEC5B7;
  --stonegray: #968986;
  --animate-delay: 0.4s;
}


/* --- reset styles --- */
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,abbr,article,aside,command,details,figcaption,figure,footer,header,hgroup,mark,meter,nav,output,progress,section,summary,time { margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,th,figcaption { /*font-size: 14px;*/ font-weight: normal; font-style: normal; }
fieldset,iframe { border: none; }
caption,th { text-align: left; }
table { border-collapse: collapse; border-spacing: 0; }
article,aside,footer,header,hgroup,nav,section,figure,figcaption { display: block; }

*, a, a img { outline: none !important; }
a img { border: none; outline: none; }

a { color: var(--stonegray); transition: all 0.2s ease-in-out; }
a:hover { color: var(--black); }

.clear { clear: both; }
.clearer { clear: both; display: block; margin: 0; padding: 0; height: 0; line-height: 1px; font-size: 1px; }
.selfclear { zoom:1; }
.selfclear:after { content:'.'; display:block; height:0; clear:both; visibility:hidden; }
.section-separator { display: none; }
.center { text-align: center; }

body {
	font-family: "Work Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	line-height: 26px;
	color: var(--black);
	background: #F2F2F2;
}
.container { width: 1200px; }
.navigation-button {
	position: fixed;
	padding: 20px;
	top: 40vh;
	left: 0;
	z-index: 10000;
	background: rgba(193, 193, 193, 0.2);
	text-align: center;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transition: all 0.2s ease-in-out;
	text-shadow: 1px 1px 0 rgba(251, 251, 251, 0.3);
}
.navigation-button:hover {
	background: rgba(215, 215, 215, 0.8);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	padding: 30px 20px;
	margin-top: -10px;
}
.navigation-button > span { display: block; }

header { position: relative; background: var(--lightgray); max-width: 100vw; overflow-x: hidden; }
.sub header { min-height: 600px; }
.sub h2 { margin-top: 1em; }
.sub header ul { color: var(--stonegray); }
.intro {
	padding-bottom: 7em;
	z-index: 10;
	max-width: 27em;
}
h1 {
	margin-left: -90px;
	position: relative;
	margin-top: 4em;
}
h1 img {
	max-width: 100%;
	height: auto;
}
h2 {
	font-size: 1.8rem;
	line-height: 1.4;
	font-weight: 400;
	margin: 3em 0 2rem 0;
}
.locations {
	list-style: none;
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	line-height: 28px;
	margin: 2em 0;
}
.portrait {
	background: #fff;
	position: absolute;
	left: 50vw;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 50;
	width: 50vw;
	height: 100%;
}
.portrait figure {
	position: relative;
	width: 100%;
	height: 100%;
}
.portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 100%;
	max-height: 1200px;
}

.cta a {
	display: flex;
	align-items: center; 
	justify-content: center;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.1rem;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	color: var(--black);
	background: var(--yellow);
	width: 160px;
	height: 160px;
	border-radius: 80px;
	position: absolute;
	bottom: 7em;
	left: calc(50vw - 80px);
	z-index: 1000 !important;
	transition: all 0.2s ease-in-out;
	background: var(--yellow) url("../graphics/cta-arrow.svg") no-repeat 50% 75%;
}
.cta a:hover {
	transform: scale(1.1);
}

.content {
	padding-bottom: 6em;
}
.content ul {
	list-style: none;
	position: relative;
	margin-top: -4em;
	margin-bottom: 3em;
	z-index: 100;
}
.content ul a, .links a {
	position: relative;
	display: block;
	background: #fff;
	padding: 5em 20%;
	margin: 1em 0;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--black);
	letter-spacing: 0.3rem;
	text-transform: uppercase;
	box-shadow: 0 10px 50px -20px rgba(0,0,0,0.2);
	background: #fff url("../graphics/big-navigation-arrow.svg") no-repeat 90% 50%;
	background-size: auto 36px;
	transition: all 0.2s ease-in-out;
}
.content ul a::before {
	content: "01";
	display: block;
	position: absolute;
	left: 10%;
	font-weight: 100;
	color: var(--warmgray);
	font-size: 3rem;
	animation: fadeIn;
	animation-duration: 8s;
	transition: all 0.2s ease-in-out;
}
.content ul li:nth-child(2) a::before { content: "02"; }
.content ul li:nth-child(3) a::before { content: "03"; }
.content ul a:hover, .links a:hover {
	box-shadow: 0 10px 50px -5px rgba(0,0,0,0.2);
	background-position: 92% 50%;
}
.content ul li:hover a::before {
	color: var(--black);
}

.cta-alt a {
	font-weight: 600;
}
p { margin: 0 0 1em 0; }

footer {
	background: var(--lightgray) url("../graphics/symbol.svg") no-repeat 50% calc(100% - 3em);
	padding: 5em 0 12em 0;
	font-weight: 300;
 }
footer .grid-30 {
	 color: var(--stonegray);
	 /* padding-bottom: 1em;
	 border-bottom: 1px solid var(--warmgray); */
	 margin-bottom: 3rem;
}
footer .grid-30 strong {
	 color: var(--black);
	 display: block;
	 font-size: 1.3rem;
	 font-weight: 600;
	 position: relative;
	 padding-bottom: 1em;
	 border-bottom: 1px solid var(--warmgray);
}
footer .grid-30 strong::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -1px;
  left: 0;
  background-color: var(--black);
  transform-origin: bottom right;
  transition: transform 0.25s ease-in-out;
}
footer .grid-30 strong:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
footer .grid-30 a {
	 color: var(--black);
	 text-decoration: none;
}
footer .grid-60 { margin-top: 6em; }
footer .grid-60 span {
	color: var(--warmgray);
	display: inline-block;
	margin: auto 0.3rem;
	font-size: 0.8rem;
}
footer .cta-alt { margin-top: 3em; }


.services {
	margin-top: -150px;
}
.services .cta a {
	bottom: unset;
	left: unset;
	position: absolute;
	right: calc(-10%);
	top: 100px;
}
.services .services-menu {
	background: #fff;
	box-shadow: 0 10px 50px -20px rgba(0,0,0,0.2);
	padding: 0 10%;
	padding-bottom: 6em;
	padding-top: 4em;
	position: relative;
	z-index: 1000;
}
.services .grid-33 {
	position: relative;
	z-index: 1000;
	padding: 0 5%;
	top: 300px;
}
cite p {
	font-weight: 200;
	font-size: 1.8rem;
	line-height: 2.7rem;
	padding-bottom: 1em;
	border-bottom: 1px solid var(--warmgray);
}
h3 {
	font-weight: 600;
	margin: 2em auto;
}
.acc_section h3 {
	padding: 0 4em;
	position: relative;
}
.acc_section h3:hover::before {
	left: 10px;
	transition: all 0.2s ease-in-out;
}
.acc_section h3::before {
	content: "";
	width: 22px;
	height: 22px;
	display: inline-block;
	background: url("../graphics/cta-arrow.svg") no-repeat 50% 50%;
	background-size: contain;
	position: absolute;
	left: 0;
}
.acc_section h3::before, .acc_active h3::before {
	transition: all 0.2s ease-in-out;
}
.acc_content { margin-bottom: 4em; }
.acc_active h3::before {
	transform: rotate(90deg);
}
.acc_active h3:hover::before {
	left: 0;
	transform: rotate(90deg) scaleX(0.8);
}
#law, .topics { margin-top: 5em; }
#law div p, .topics li {
	list-style: none;
	border: 1px solid #EEEDEB;
	margin-bottom: 0.5em;
	padding: 3em 4em;
}
.topics li {
	padding: 1.5em 4em;
}
.pricelist { width: 100%; margin: 20px 0; line-height: 130%; }
.pricelist th { font-weight: 600; padding: 2rem 1rem; vertical-align: top; }
.pricelist td { font-weight: 400; padding: 2rem 1rem; text-align: right; vertical-align: top; width: 30%; }

.pricelist tr th, .pricelist tr td {
  border-top: 1px solid #EEEDEB;
  border-bottom: 1px solid #EEEDEB;
}
.pricelist tr:hover th, .pricelist tr:hover td {
  background: var(--lightgray);
}
.pricelist small { font-weight: 400; display: block; margin-top: 0.5rem; color: #999; }


h4 {
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.2;
	padding: 0 calc(4em + 20px);
	margin: 4em 0 2em 0;
}
.others { padding: 4em 0; }
.links li { list-style: none; }
.links a { padding: 4em calc(4em + 50px); }

.contacts { position: relative; margin-top: -300px; }
.contacts figure img { border-bottom: 1px solid var(--warmgray); }
.contacts h2 { font-size: 1.5rem; }
.contacts .grid-container > div {
	background: #fff;
	box-shadow: 0 10px 50px -20px rgba(0,0,0,0.2);
	padding-bottom: 4em;
	padding-top: 4em;
	position: relative;
	z-index: 1000;
}
.contacts figure img {
	display: inline-block;
	width: 100%;
}
.offices { margin: 4em 0; }
.office {
	background: #fff;
	box-shadow: 0 10px 50px -20px rgba(0,0,0,0.2);
	margin-bottom: 4em;
}
.office .grid-60 { position: relative; padding-left: 0; }
.office .grid-40 { position: relative; padding-left: 0; }
.office iframe { width: 100%; float: left;  }
.office h3 { margin-top: 8em; }

@media (min-width: 2000px) {
	.portrait img {
		object-fit: contain;
		object-position: 20% 100%;
	}
}

/* tablet */
@media (max-width: 1024px) {
	h1 { margin-left: 0; }
	.navigation-button {
		position: fixed;
		padding: 15px;
		top: 0;
		right: 0;
		left: auto;
		z-index: 10000;
	}
	.navigation-button:hover {
		padding: 30px 15px;
		margin-top: -10px;
	}
	.content ul a { font-size: 1rem; }
	.services { margin-top: -4em; } 
	.services .services-menu { padding-left: 5%; padding-right: 5%; }
	.services .grid-33 { top: 150px; }
	cite p { font-size: 1.5rem; line-height: 1.5; }
	h4, .others ul a { padding-left: 5%; padding-right: 5%; }
	#law div p { padding: 2em 3em }
	.acc_section h3 { padding: 0 3em }
	.services .cta a {
		bottom: unset;
		left: unset;
		position: absolute;
		right: 10%;
		top: -80px;
	}
}


@media (max-width: 767px) {
	.grid-container {
		padding-left: 30px;
		padding-right: 30px;
	}
	.services .services-menu { padding-top: 1em !important; }
	.services .grid-33 { top: 0; margin-top: 4em;}
	.intro { padding-bottom: 0; max-width: 100%; }
	h1 { margin: 4em auto 1em auto; }
	h1 img { width: 90%; height: auto; margin: 0 auto; max-width: 330px; }
	header { background: #fff; }
	.portrait {
		position: relative;
		width: 100%;
		left: 0;
	}
	#contacts .portrait { display: none; }
	.offices { width: 100%; overflow-x: hidden; }
	.office .grid-60 { padding-right: 0; }
	.office .grid-40 { padding-bottom: 2em; }
	.office h3 { margin-top: 2em; }
	.links a { font-size: 0.9rem; }
	footer .grid-30 strong { font-size: 1.2rem; } 
}

/* mobile */
@media (max-width: 550px) {
	body { font-size: 14px; line-height: 1.7; }
	.grid-container {
		padding-left: 30px;
		padding-right: 30px;
	}
	
	.cta a {
		top: unset;
		bottom: 100vw;
		bottom: 1.5em;
		left: calc(100vw - 180px);
		transform: scale(0.8);
	}
	.content { padding-bottom: 3em; }
	.content ul { margin-top: -1em; }
	.content ul a { padding: 3em 10%; background-size: auto 20px; margin: 0 0 1em 0; font-size: 1rem; letter-spacing: 0.1rem; }
	.content ul a::before { content: "" !important; }
	.grid-container {
		padding-left: 10px;
		padding-right: 10px;
	}
	#law div p { padding: 2em 2em }
	.acc_section h3 { padding: 0 2em }
	
}
