:root {
	--color-primary: #736B6B;
	--color-secondary: #F5E8CF;
	--color-tertiary: #EFEFE8;
	--color-quaternary: #403836;
	--color-light: #f5f5f3;
	--color-accent: #E3B23C;
	--color-text: #181818;
	--color-text-soft: #737373;
	--color-white: #ffffff;
}

html, body {
	margin: 0;
	padding: 0;
	background-color: var(--color-primary);
	font-family: "din-2014", sans-serif;
	font-weight: 400;
	font-style: normal;
	overflow-x: hidden;
}

* {
	box-sizing: border-box;
}

/* HEADER */
:root {
	--color-primary: #736B6B;
	--color-secondary: #F5E8CF;
	--color-tertiary: #EFEFE8;
	--color-quaternary: #403836;
	--color-light: #f5f5f3;
	--color-accent: #E3B23C;
	--color-text: #181818;
	--color-text-soft: #737373;
	--color-white: #ffffff;
}

html,
body {
	margin: 0;
	padding: 0;
	background-color: var(--color-primary);
	font-family: "din-2014", sans-serif;
	font-weight: 400;
	font-style: normal;
	overflow-x: hidden;
}

* {
	box-sizing: border-box;
}

/* HEADER */
.custom-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 14px 40px;
	z-index: 999;
	background-color: transparent;
	transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}

.header-scrolled {
	backdrop-filter: blur(10px);
	background-color: rgba(230, 230, 230, 0.8);
	-webkit-backdrop-filter: blur(10px);
}

.header-scrolled img,
.header-scrolled span {
	filter: brightness(0) saturate(100%) invert(20%) sepia(3%) saturate(1659%) hue-rotate(323deg) brightness(96%) contrast(91%);
}

.logo-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.logo-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 1;
	gap: 48px;
}

.logo-item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	text-decoration: none;
}

.logo-img {
	height: 34px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
}

.logo-white {
	filter: brightness(0) invert(1);
    height: 40px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-left: 32px;
	flex-shrink: 0;
}

.language-icon {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
}

.language-icon img {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

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

.menu-icon {
	font-size: 24px;
	cursor: pointer;
	color: var(--color-white);
	line-height: 1;
}

.dropdown-menu {
	position: absolute;
	top: 120%;
	right: 0;
	background: #eff0e9;
	border: 1px solid #ccc;
	padding: 10px 20px;
	display: none;
	flex-direction: column;
	gap: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	min-width: 150px;
	z-index: 1000;
}

.dropdown-menu.active {
	display: flex;
}

.dropdown-link {
	text-decoration: none;
	color: #333;
	font-weight: 500;
}

/* HERO */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 140px 6vw 80px;
	background-image: url('./imgs/architect-checking-blueprint.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	color: var(--color-white);
}

.hero-title {
	margin: 0;
	font-size: clamp(3rem, 7vw, 5.5rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.03em;
}

.hero-subtitle {
	margin: 18px 0 20px;
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 400;
	line-height: 1;
}

.hero-description {
	margin: 0;
	max-width: 760px;
	font-size: clamp(1rem, 1.8vw, 1.95rem);
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.9);
}

/* ABOUT */
.about-section {
	background: var(--color-light);
	padding: 110px 0;
}

.about-container {
	max-width: 1360px;
}

.about-image-wrapper {
	position: relative;
	padding-bottom: 34px;
}

.about-image-shadow {
	position: absolute;
	left: 18px;
	bottom: 18px;
	width: calc(100% - 36px);
	height: calc(100% - 20px);
	background: rgba(227, 178, 60, 0.18);
	border-radius: 10px;
	z-index: 0;
}

.about-image {
	position: relative;
	z-index: 1;
	width: 100%;
	display: block;
	border-radius: 10px;
	object-fit: cover;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.experience-card {
	position: absolute;
	right: -20px;
	bottom: 0;
	z-index: 3;
	background: var(--color-accent);
	color: var(--color-white);
	padding: 28px 32px;
	border-radius: 10px;
	min-width: 200px;
	box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

.experience-number {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
}

.experience-text {
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.about-text {
	padding-left: 24px;
}

.section-tag {
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 12px;
}

.section-tag-line {
	width: 80px;
	height: 4px;
	background: var(--color-accent);
	margin-bottom: 28px;
}

.about-title {
	margin: 0 0 26px;
	font-size: clamp(2.3rem, 4vw, 4rem);
	line-height: 1.02;
	font-weight: 700;
	color: var(--color-text);
}

.about-title .highlight {
	color: var(--color-accent);
}

.about-paragraph {
	font-size: 1.15rem;
	line-height: 1.7;
	color: var(--color-text-soft);
	margin-bottom: 22px;
	max-width: 680px;
}

.stats-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 60px;
	margin-top: 42px;
}

.stat-item {
	min-width: 180px;
}

.stat-number {
	font-size: 2.35rem;
	font-weight: 700;
	line-height: 1;
	color: var(--color-accent);
	margin-bottom: 10px;
}

.stat-label {
	font-size: 1.1rem;
	color: var(--color-text-soft);
	line-height: 1.4;
}

/* FOOTER */
.footer {
	background-color: #231f1f;
	text-align: center;
	padding: 20px 15px;
}

.footer .row {
	align-items: center;
	margin: 0;
}

.footer-logo img {
	width: 60%;
	padding: 10% 0;
}

.footer-social {
	display: flex;
	justify-content: space-evenly;
	margin: auto;
}

.footer-social img {
	width: 35px;
}

.footer-about,
.footer-contact {
	margin: auto;
	padding-top: 1rem;
}

.footer-about a,
.footer-contact a {
	color: white;
	text-decoration: none;
}

.contact {
	padding: 10dvh 15dvw;
	background-color: var(--color-tertiary);
	color: white;
	text-align: right;
}

.contact-instagram img {
	width: 30px;
}

.contact-site {
	color: var(--color-tertiary);
	background-color: var(--color-quaternary);
	padding: 10px 50px;
	border-radius: 20px;
	margin-left: 20px;
	text-decoration: none;
}

.contact-site:hover {
	color: var(--color-secondary);
}

.email-wrapper {
  position: relative;
  display: inline-block;
}

.copy-feedback {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  background: #000;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.copy-feedback.show {
  opacity: 1;
}

/* RESPONSIVO */
@media screen and (max-width: 991px) {
	.about-text {
		padding-left: 0;
		margin-top: 30px;
	}

	.experience-card {
		right: 15px;
		bottom: -20px;
	}
}

@media screen and (max-width: 768px) {
	.hide-on-mobile {
		display: none !important;
	}

	.custom-header {
		padding: 12px 16px;
	}

	.logo-grid {
		gap: 10px;
	}

	.logo-group {
		gap: 0;
	}

	.logo-item {
		flex: unset;
	}

	.logo-img {
		height: 28px;
	}

	.header-actions {
		margin-left: 12px;
		gap: 12px;
	}

	.hero-section {
		padding: 130px 20px 70px;
		min-height: 90vh;
	}

	.hero-title {
		line-height: 1;
	}

	.hero-subtitle {
		margin-top: 14px;
		margin-bottom: 18px;
	}

	.hero-description {
		max-width: 100%;
	}

	.about-section {
		padding: 80px 0;
	}

	.about-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.experience-card {
		position: relative;
		right: auto;
		bottom: auto;
		margin: -30px 0 0 auto;
		width: fit-content;
	}

	.stats-grid {
		gap: 30px;
		flex-direction: column;
	}

	.footer-social {
		padding: 20px 0;
	}

	.footer-about,
	.footer-contact {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}
}

@media screen and (max-width: 575px) {
	.hero-title {
		font-size: 2.8rem;
	}

	.hero-subtitle {
		font-size: 2rem;
	}

	.experience-number {
		font-size: 2.5rem;
	}

	.experience-text {
		font-size: 0.9rem;
	}

	.about-title {
		font-size: 2.2rem;
	}

	.about-paragraph {
		font-size: 1.02rem;
	}

	.stat-number {
		font-size: 2rem;
	}

	.stat-label {
		font-size: 1rem;
	}
}